:root {
  --honey: #ffd54a;
  --honey-deep: #f0c11a;
  --honey-soft: #ffe89a;
  --cream: #fff8e8;
  --paper: #fffdf7;
  --sand: #f4e6c4;
  --ink: #1a1714;
  --ink-soft: #2c261d;
  --brown: #6b5318;
  --muted: #6f6553;
  --line: rgba(26, 23, 20, 0.1);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(42, 32, 8, 0.1);
  --radius: 28px;
  --header: 84px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 0 4px rgba(255, 213, 74, 0.25);
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  margin: 0 0 1.2rem;
}

h1 em {
  font-style: italic;
  color: #c49200;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 38rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.btn-primary {
  background: var(--honey);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(240, 193, 26, 0.28);
}

.btn-primary:hover {
  background: var(--honey-deep);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-dark:hover {
  background: var(--honey);
  color: var(--ink);
  border-color: var(--honey);
}

.btn-dark {
  background: var(--ink);
  color: var(--honey);
}

.btn-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 248, 232, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(42, 32, 8, 0.05);
}

.header-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--honey);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}

@media (max-width: 420px) {
  .brand-text span {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--honey-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.hero {
  padding: 2.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy p {
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.hero-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-orb {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff4bf, var(--honey) 55%, var(--honey-deep));
  box-shadow: 0 30px 80px rgba(240, 193, 26, 0.28);
  display: grid;
  place-items: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-chip {
  position: absolute;
  background: var(--white);
  border-radius: 20px;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  max-width: 180px;
}

.hero-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.chip-1 { top: 8%; left: 0; }
.chip-2 { right: 0; bottom: 14%; }

.honeycomb {
  position: absolute;
  inset: 8% 4%;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='1.4' fill='%23f0c11a' fill-opacity='.45'/%3E%3C/svg%3E");
  opacity: 0.7;
  z-index: -1;
}

.ticker {
  background: var(--ink);
  color: var(--honey);
  overflow: hidden;
  border-block: 1px solid rgba(255, 213, 74, 0.15);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  padding: 0.95rem 0 0.95rem 3rem;
}

.ticker-group span {
  white-space: nowrap;
}

.about-grid,
.split,
.house-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-card,
.panel,
.service-card,
.diff-card,
.age-card,
.step,
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-card {
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-card p:last-child {
  margin-bottom: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.stat {
  padding: 1rem 0.4rem 0;
  border-top: 2px solid var(--honey);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.services {
  background:
    linear-gradient(180deg, rgba(255, 213, 74, 0.16), transparent 18%),
    var(--cream);
}

.service-grid,
.diff-grid,
.age-grid,
.steps,
.method-grid {
  display: grid;
  gap: 1.2rem;
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-card,
.diff-card,
.age-card,
.step,
.method-card {
  padding: 1.7rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover,
.diff-card:hover,
.age-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(240, 193, 26, 0.45);
}

.card-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--honey);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.ages {
  background: var(--ink);
  color: var(--paper);
}

.ages .eyebrow,
.cta .eyebrow {
  color: var(--honey);
}

.ages .lead,
.cta .lead {
  color: rgba(255, 253, 247, 0.72);
}

.age-grid {
  grid-template-columns: repeat(3, 1fr);
}

.age-card {
  background: var(--ink-soft);
  border-color: rgba(255, 213, 74, 0.14);
  color: var(--paper);
  min-height: 280px;
}

.age-card span {
  color: var(--honey);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work {
  overflow: hidden;
}

.work-visual {
  min-height: 420px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 213, 74, 0.55), transparent 28%),
    linear-gradient(160deg, #2c261d, #1a1714);
  position: relative;
  overflow: hidden;
}

.work-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 23, 20, 0.05), rgba(26, 23, 20, 0.35)),
    url("../assets/infancia.jpg") center / cover no-repeat;
}

.work-quote {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  background: rgba(255, 253, 247, 0.95);
  color: var(--ink);
  padding: 1.4rem;
  border-radius: 22px;
}

.work-quote p {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.5rem;
}

.step {
  min-height: 100%;
}

.house {
  background: linear-gradient(180deg, #fff3c4 0%, var(--cream) 42%);
}

.hours {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 1.8rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}

.map-wrap {
  min-height: 460px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.gallery {
  padding: 0 0 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.9rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-grid figure:first-child {
  grid-row: 1 / span 2;
}

.gallery-grid figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: white;
  font-size: 0.86rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.gallery-dots {
  display: none;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 23, 20, 0.22);
  cursor: pointer;
}

.gallery-dots button.is-active {
  width: 18px;
  background: var(--ink);
}

@media (max-width: 960px) {
  .gallery-dots {
    display: flex;
  }
}

.cta {
  padding-bottom: 6.5rem;
}

.cta-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: 40px;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  bottom: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 74, 0.28), transparent 70%);
}

.form-card {
  padding: 1.4rem;
  position: relative;
  z-index: 1;
}

.form-card label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
  color: var(--brown);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.form-card textarea {
  min-height: 90px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
}

.form-note {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  background: var(--ink-soft);
  color: rgba(255, 253, 247, 0.78);
  padding: 3.5rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer h3,
.site-footer .brand-text strong {
  color: var(--paper);
}

.site-footer a:hover {
  color: var(--honey);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.86rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(18, 140, 64, 0.35);
  transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.page-hero {
  padding: 4.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.diff-page .diff-grid {
  grid-template-columns: repeat(2, 1fr);
}

.diff-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.method {
  background: var(--paper);
}

.method-grid {
  grid-template-columns: repeat(4, 1fr);
}

.method-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.compare {
  overflow-x: auto;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
}

.compare th,
.compare td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.compare th {
  background: var(--ink);
  color: var(--honey);
  font-weight: 600;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1100px) {
  .nav {
    gap: 1.1rem;
  }

  .header-inner .btn {
    padding-inline: 1rem;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .split,
  .house-grid,
  .cta-box,
  .footer-grid,
  .service-grid,
  .age-grid,
  .steps,
  .diff-page .diff-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-orb {
    width: min(280px, 72%);
  }

  .hero-chip {
    max-width: 150px;
    font-size: 0.8rem;
  }

  .nav {
    position: fixed;
    inset: var(--header) 1rem auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-inner > .btn {
    display: none;
  }

  .nav .nav-cta {
    display: inline-flex;
    margin-top: 0.4rem;
  }

  .age-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gallery-grid {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0.8rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 8%;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-grid figure {
    flex: 0 0 84%;
    height: 250px;
    min-height: 250px;
    scroll-snap-align: center;
  }

  .gallery-grid figure:first-child {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 0.4rem 0 2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 0.85rem 0.7rem;
    align-items: center;
  }

  .hero-copy {
    display: contents;
  }

  .hero .eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0.15rem;
    letter-spacing: 0.12em;
  }

  .hero-heading {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    align-self: center;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
    align-self: center;
  }

  .hero .lead,
  .hero-actions,
  .hero-meta {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: 2.55rem;
    margin-bottom: 0;
  }

  .hero .lead {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: none;
  }

  .hero-actions {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: 0.65rem 0.55rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .hero-meta div {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .hero-meta strong {
    font-size: 0.8rem;
  }

  .hero-orb {
    width: 108px;
    box-shadow: 0 12px 28px rgba(240, 193, 26, 0.24);
    animation: none;
  }

  .hero-chip,
  .honeycomb {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
