/* ===================== PALETA DE MARCA ===================== */
:root {
  --morado-oscuro: #5E0C88;
  --crema:         #FFFDE4;
  --verde-lima:    #D8FD7C;
  --lavanda:       #AB83FE;
  --naranja:       #FC5C04;
  --morado-medio:  #875BBD;

  --texto:         #2b0a3d;
  --texto-suave:   #6b4a86;

  --serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans:  'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radio:   18px;
  --sombra:  0 18px 40px -18px rgba(94, 12, 136, 0.45);
  --max:     1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: .5px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 228, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(94, 12, 136, 0.08);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__logo { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  text-decoration: none;
  color: var(--morado-oscuro);
  font-weight: 500;
  font-size: .96rem;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--naranja); }
.nav__cta {
  background: var(--morado-oscuro);
  color: var(--crema) !important;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.nav__cta:hover { background: var(--naranja); transform: translateY(-2px); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% -10%, var(--lavanda) 0%, var(--morado-medio) 45%, var(--morado-oscuro) 100%);
  color: var(--crema);
  text-align: center;
  padding: 88px 24px 96px;
}
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 20% 25%, rgba(216, 253, 124, 0.28), transparent 70%),
    radial-gradient(closest-side at 82% 70%, rgba(252, 92, 4, 0.30), transparent 70%);
  pointer-events: none;
}
.hero__content { position: relative; max-width: 760px; margin: 0 auto; }
.hero__logo {
  height: 220px;
  width: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25));
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--verde-lima);
  margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: rgba(255, 253, 228, 0.92);
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== BOTONES ===================== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--naranja);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(252, 92, 4, 0.7);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(252, 92, 4, 0.8); }
.btn--ghost {
  background: transparent;
  color: var(--crema);
  border: 2px solid rgba(255, 253, 228, 0.7);
}
.btn--ghost:hover { background: var(--crema); color: var(--morado-oscuro); transform: translateY(-3px); }

/* ===================== TIRA DECORATIVA ===================== */
.strip {
  background: var(--verde-lima);
  color: var(--morado-oscuro);
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px 24px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: .82rem;
}

/* ===================== SECCIONES ===================== */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--morado-oscuro);
  margin-bottom: 10px;
}
.section-head p { color: var(--texto-suave); font-size: 1.05rem; }

.contact { max-width: var(--max); margin: 0 auto; padding: 80px 24px; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid rgba(94, 12, 136, 0.08);
  border-radius: var(--radio);
  padding: 30px 26px;
  text-decoration: none;
  color: var(--texto);
  box-shadow: var(--sombra);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card:not(.card--static):hover {
  transform: translateY(-6px);
  border-color: var(--lavanda);
  box-shadow: 0 26px 48px -20px rgba(94, 12, 136, 0.55);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lavanda), var(--morado-medio));
  color: #fff;
  margin-bottom: 10px;
}
.card h3 { font-size: 1.2rem; color: var(--morado-oscuro); }
.card p { color: var(--texto-suave); font-size: .98rem; }
.card__link { margin-top: 8px; font-weight: 600; color: var(--naranja); font-size: .92rem; }
.card__link--muted { color: var(--texto-suave); font-weight: 500; }

.hours { list-style: none; margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: .9rem;
  color: var(--texto-suave);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(94, 12, 136, 0.07);
}
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.hours li b { color: var(--morado-oscuro); font-weight: 600; white-space: nowrap; }
.hours__off span, .hours__off b { color: var(--naranja); }

/* ===================== UBICACIÓN / MAPA ===================== */
.location {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--morado-oscuro);
  color: var(--crema);
}
.location__info { position: relative; padding: 70px 48px 170px; display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; }
.location__eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--verde-lima);
}
.location__info h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.location__address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 253, 228, 0.92);
  margin-bottom: 8px;
}
.location__info .btn { align-self: flex-start; }
.location__map { min-height: 420px; }
.location__map iframe { width: 100%; height: 100%; min-height: 420px; display: block; filter: saturate(1.05); }

/* ===================== FOOTER ===================== */
.footer {
  background: linear-gradient(180deg, var(--morado-medio), var(--morado-oscuro));
  color: var(--crema);
  text-align: center;
  padding: 54px 24px 40px;
}
.footer__logo { height: 64px; width: auto; margin: 0 auto 16px; }
.footer__tag { color: var(--verde-lima); font-size: .9rem; letter-spacing: 1px; margin-bottom: 18px; }
.footer__socials { display: flex; gap: 14px; justify-content: center; align-items: center; margin-bottom: 22px; }
.footer__socials a { color: var(--crema); text-decoration: none; font-weight: 500; transition: color .2s ease; }
.footer__socials a:hover { color: var(--naranja); }
.footer__socials span { opacity: .5; }
.footer__copy { font-size: .85rem; opacity: .8; }
.footer__disclaimer { font-size: .72rem; opacity: .55; max-width: 620px; margin: 10px auto 0; }

/* ===================== PERSONAJES DECORATIVOS ===================== */
body { overflow-x: hidden; }

/* Mantener el contenido por encima de las mascotas */
.hero__content { position: relative; z-index: 2; }
.contact { position: relative; overflow: hidden; }
.location { position: relative; overflow: hidden; }
.footer { position: relative; overflow: hidden; }
.contact > :not(.deco),
.location > :not(.deco),
.footer  > :not(.deco) { position: relative; z-index: 2; }

.deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 18px rgba(46, 6, 66, 0.28));
  will-change: transform;
}

/* Hero: dos mascotas asomándose por las esquinas inferiores */
.deco--hero-left  { left: 12px;  bottom: -22px; width: 190px; animation: floaty 6s ease-in-out infinite; }
.deco--hero-right { right: 12px; bottom: -22px; width: 205px; animation: floaty 6.8s ease-in-out infinite .8s; }

/* Contacto */
.deco--contact-right { right: -5px; top: 4px;     width: 155px; animation: floaty 7s ease-in-out infinite .3s; }
.deco--contact-left  { left: -40px;  bottom: -24px; width: 150px; animation: floaty 6.4s ease-in-out infinite 1s; }

/* Ubicación: expentor en la esquina inferior izquierda del panel, debajo del botón */
.deco--location { left: 24px; bottom: 8px; width: 150px; z-index: 0; animation: floaty 6.6s ease-in-out infinite .5s; }

/* Footer */
.deco--footer { right: 5%; bottom: -10px; width: 135px; animation: floaty 6.2s ease-in-out infinite .2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .deco { animation: none !important; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .deco--hero-left  { width: 140px; }
  .deco--hero-right { width: 150px; }
  .deco--contact-right, .deco--contact-left { width: 115px; }
  .deco--location { width: 120px; }
  .deco--footer { width: 105px; }
}
@media (max-width: 860px) {
  .location { grid-template-columns: 1fr; }
  .location__info { padding: 52px 30px 150px; }
  .location__map { min-height: 340px; }
}
@media (max-width: 760px) {
  /* En móvil ocultamos las mascotas para no saturar la lectura */
  .deco { display: none; }
}
@media (max-width: 620px) {
  .nav__links { gap: 14px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .hero__logo { height: 160px; }
  .hero { padding: 60px 20px 70px; }
  .contact { padding: 56px 20px; }
}
