/* Fuentes autoalojadas: Nunito variable y Pacifico, subset latin. */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/css/fonts/nunito-latin-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/css/fonts/pacifico-latin-400.woff2') format('woff2');
}

:root {
  /* Paleta extraída estrictamente del logotipo */
  --bg-cream: #FDF6EE;
  --bg-white: #FFFFFF;
  --coral: #EA7C87;
  --coral-dark: #D96571;
  --mint: #58B8A4;
  --mint-dark: #459E8C;
  --yellow: #F8D05B;
  --lilac: #A98FD1;
  --sky: #7CC4E8;
  --peach: #F29D6B;
  --text-main: #4A4441;
  --text-muted: #756C68;
  /* Tonos de texto con contraste AA sobre crema y blanco. Los pasteles
     originales se conservan para formas, bordes y decoración. */
  --coral-text: #B8434F;
  --mint-text: #2F7A6B;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --shadow-soft: 0 10px 30px rgba(234, 124, 135, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

:focus-visible {
  outline: 3px solid var(--text-main);
  outline-offset: 3px;
  border-radius: 6px;
}

.contact-banner :focus-visible {
  outline-color: #FFFFFF;
}

section {
  scroll-margin-top: 104px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.brand-font {
  font-family: 'Pacifico', cursive;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CABECERA STICKY */
header {
  background-color: rgba(253, 246, 238, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(234, 124, 135, 0.18);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 0;
  gap: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mini-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-cream);
  border: 2.5px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(234, 124, 135, 0.2);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .title {
  font-family: 'Pacifico', cursive;
  font-size: 1.4rem;
  color: var(--coral-text);
  line-height: 1.15;
}

.logo-text .subtitle {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--mint-text);
  letter-spacing: 0.4px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 24px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.98rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--coral);
}

.nav-phones {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
  min-height: 44px;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.icon-social {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.btn-coral {
  background-color: var(--coral-text);
  color: #fff;
  box-shadow: 0 6px 18px rgba(234, 124, 135, 0.35);
}

.btn-coral:hover {
  background-color: #A93E49;
}

.btn-mint {
  background-color: var(--mint-text);
  color: #fff;
  box-shadow: 0 6px 18px rgba(88, 184, 164, 0.35);
}

.btn-mint:hover {
  background-color: #27685C;
}

.btn-outline-coral {
  background-color: #fff;
  color: var(--coral-text);
  border: 2px solid var(--coral);
  padding: 9px 15px;
  font-size: 0.86rem;
}

.btn-outline-coral:hover {
  background-color: var(--coral-text);
  color: #fff;
}

.btn-outline-mint {
  background-color: #fff;
  color: var(--mint-text);
  border: 2px solid var(--mint);
  padding: 9px 15px;
  font-size: 0.86rem;
}

.btn-outline-mint:hover {
  background-color: var(--mint-text);
  color: #fff;
}

/* HERO SECTION */
.hero {
  padding: 54px 0 76px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 44px;
}

.badge-location .icon-pin {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  color: var(--mint-text);
  border: 2px solid var(--mint);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(88, 184, 164, 0.12);
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 18px;
  font-weight: 800;
}

.hero h1 span {
  font-family: 'Pacifico', cursive;
  color: var(--coral-text);
  font-weight: 400;
  display: inline-block;
}

.hero p {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background-color: #fff;
  color: var(--text-muted);
  border: 1.5px solid rgba(234, 124, 135, 0.25);
}

/* EMBLEMA CIRCULAR HERO */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.logo-showcase {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--bg-cream);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(234, 124, 135, 0.24);
  border: 4px dashed var(--mint);
  position: relative;
  z-index: 2;
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Burbujas flotantes alrededor del logo */
.floating-bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.72;
  z-index: 1;
}
.b1 { width: 42px; height: 42px; background: var(--yellow); top: 8%; left: 6%; }
.b2 { width: 28px; height: 28px; background: var(--lilac); bottom: 14%; left: 3%; }
.b3 { width: 50px; height: 50px; background: var(--sky); top: 14%; right: 2%; }
.b4 { width: 34px; height: 34px; background: var(--peach); bottom: 10%; right: 8%; }

/* SEPARADOR ONDULADO */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 54px;
}

/* SECCIONES GENERALES */
section {
  padding: 72px 0;
}

.section-white {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header .eyebrow {
  color: var(--mint-text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 6px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--coral-text);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* TARJETAS DE SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.service-card.coral  { border-color: rgba(234, 124, 135, 0.45); }
.service-card.mint   { border-color: rgba(88, 184, 164, 0.45); }
.service-card.yellow { border-color: rgba(248, 208, 91, 0.65); }
.service-card.lilac  { border-color: rgba(169, 143, 209, 0.45); }

.service-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #FDF6EE 0%, #fce4e7 100%);
  border: 2px solid rgba(234, 124, 135, 0.3);
  box-shadow: 0 10px 24px rgba(234, 124, 135, 0.14);
}

.service-icon .illustration {
  width: 72px;
  height: 72px;
}

.service-card.mint .service-icon {
  background: linear-gradient(135deg, #FDF6EE 0%, #e1f5f0 100%);
  border-color: rgba(88, 184, 164, 0.3);
  box-shadow: 0 10px 24px rgba(88, 184, 164, 0.16);
}

.service-card.yellow .service-icon {
  background: linear-gradient(135deg, #FDF6EE 0%, #fef4d6 100%);
  border-color: rgba(230, 184, 60, 0.4);
  box-shadow: 0 10px 24px rgba(230, 184, 60, 0.18);
}

.service-card.lilac .service-icon {
  background: linear-gradient(135deg, #FDF6EE 0%, #eee7f8 100%);
  border-color: rgba(169, 143, 209, 0.34);
  box-shadow: 0 10px 24px rgba(169, 143, 209, 0.16);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
  font-weight: 800;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* TIPOS DE CELEBRACIONES */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.event-pill-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-bottom: 5px solid var(--coral);
  transition: transform 0.2s;
}

.event-pill-card:hover {
  transform: translateY(-4px);
}

.event-pill-card:nth-child(2) { border-bottom-color: var(--mint); }
.event-pill-card:nth-child(3) { border-bottom-color: var(--yellow); }
.event-pill-card:nth-child(4) { border-bottom-color: var(--lilac); }

.event-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, #FDF6EE 0%, #fce4e7 100%);
  border: 2px solid rgba(234, 124, 135, 0.28);
  box-shadow: 0 6px 16px rgba(74, 68, 65, 0.08);
}

.event-icon .illustration {
  width: 50px;
  height: 50px;
}

.event-pill-card:nth-child(2) .event-icon {
  background: linear-gradient(135deg, #FDF6EE 0%, #e1f5f0 100%);
  border-color: rgba(88, 184, 164, 0.3);
}

.event-pill-card:nth-child(3) .event-icon {
  background: linear-gradient(135deg, #FDF6EE 0%, #fef4d6 100%);
  border-color: rgba(230, 184, 60, 0.4);
}

.event-pill-card:nth-child(4) .event-icon {
  background: linear-gradient(135deg, #FDF6EE 0%, #eee7f8 100%);
  border-color: rgba(169, 143, 209, 0.34);
}

.event-pill-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.event-pill-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* GALERÍA / FEED DE INSTAGRAM */
.instagram-box {
  background-color: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  border: 2.5px dashed var(--coral);
  text-align: center;
}

.ig-cta-note {
  max-width: 520px;
  margin: 0 auto 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ig-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ig-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
  text-align: left;
}

.ig-post-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(74, 68, 65, 0.08);
  border: 1.5px solid rgba(234, 124, 135, 0.2);
  transition: transform 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.ig-post-card:hover {
  transform: translateY(-5px);
}

.ig-post-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ig-post-body {
  padding: 14px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ig-post-caption {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.45;
}

.ig-post-tags {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint-text);
}

.widget-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  border: 1px solid rgba(88, 184, 164, 0.35);
}

/* CONTACTO Y FOOTER */
.contact-banner {
  background: linear-gradient(135deg, #B8434F 0%, #A93E49 100%);
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 36px rgba(234, 124, 135, 0.3);
}

.contact-banner h2 {
  font-size: 2.15rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.contact-banner p {
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto 28px;
  opacity: 0.96;
}

.phone-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-white-phone {
  background-color: #fff;
  color: var(--coral-text);
  font-size: 1rem;
  padding: 13px 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.btn-white-phone:hover {
  background-color: var(--bg-cream);
}

footer {
  background-color: var(--bg-cream);
  padding: 36px 0 90px;
  text-align: center;
  border-top: 2px solid rgba(88, 184, 164, 0.25);
  color: var(--text-muted);
  font-size: 0.92rem;
}

footer a {
  color: var(--mint-text);
  font-weight: 700;
  text-decoration: none;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background-color: var(--mint-text);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(88, 184, 164, 0.45);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 999;
  border: 2px solid #fff;
  transition: transform 0.2s, background-color 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color: #27685C;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  nav {
    width: 100%;
    order: 3;
  }

  nav ul {
    justify-content: center;
    gap: 4px 18px;
    padding-top: 2px;
  }

  section {
    scroll-margin-top: 156px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions, .hero-tags {
    justify-content: center;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 620px) {
  .nav-phones .hide-mobile {
    display: none;
  }
  .logo-link {
    gap: 8px;
  }
  .logo-mini-badge {
    width: 48px;
    height: 48px;
  }
  .logo-text .title {
    font-size: 1.1rem;
  }
  .nav-phones .btn {
    padding: 9px 14px;
    font-size: 0.85rem;
  }
  .logo-showcase {
    max-width: 310px;
  }
  nav ul {
    gap: 0 14px;
  }
  nav a {
    font-size: 0.92rem;
  }
  .hero {
    padding-top: 36px;
  }
}
