/* =========================================================
   Acqua Dental Spa · Maximalismo controlado, fresco y juvenil
   ========================================================= */
:root {
  --mint: #3fa58a;          /* verde del logo */
  --mint-600: #2f8f78;
  --mint-700: #1f6b5a;
  --mint-900: #0f3b33;
  --mint-200: #bfe9da;
  --mint-100: #dcf4ea;
  --mint-50: #effaf5;
  --slate: #6f9a96;         /* gris verdoso de la sonrisa del logo */
  --accent: #ff6f91;        /* coral rosado, guiño juvenil */
  --sun: #ffd166;           /* amarillo soleado */
  --cream: #fbfaf4;
  --ink: #12302a;
  --ink-soft: #3d5a54;
  --white: #ffffff;

  --font-display: 'Young Serif', Georgia, serif;
  --font-body: 'Onest', system-ui, sans-serif;

  --radius: 22px;
  --radius-lg: 36px;
  --shadow-sm: 0 6px 16px -6px rgba(15, 59, 51, .18);
  --shadow: 0 24px 50px -20px rgba(15, 59, 51, .35);
  --shadow-xl: 0 40px 80px -30px rgba(15, 59, 51, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.04rem;
  overflow-x: hidden;
}
/* textura de grano sutil sobre toda la página */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

section { position: relative; z-index: 2; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease);
  position: relative; overflow: hidden;
}
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--mint-700); color: #fff; box-shadow: 0 12px 26px -10px rgba(31, 107, 90, .7); }
.btn-primary:hover { background: var(--mint-900); box-shadow: 0 18px 34px -12px rgba(31, 107, 90, .8); }
.btn-ghost { border-color: var(--mint-700); color: var(--mint-700); background: transparent; }
.btn-ghost:hover { background: var(--mint-700); color: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 209, 102, .9); }
.btn-sun:hover { background: #ffc53d; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--mint-700); }
.btn-block { width: 100%; justify-content: center; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, transform .4s var(--ease);
}
.site-header.scrolled { background: rgba(251, 250, 244, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px -18px rgba(15,59,51,.4); }
.header-inner { max-width: 1320px; margin: 0 auto; padding: .6rem 1.5rem; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; padding: .3rem 1.4rem .3rem .6rem; border-radius: 18px;
  background: linear-gradient(90deg, #fff 0%, #fff 55%, var(--mint-100) 78%, var(--mint-200) 100%);
  box-shadow: 0 6px 18px -12px rgba(15,59,51,.45);
}
.brand img { height: 62px; width: auto; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  text-decoration: none; font-weight: 500; font-size: .93rem;
  padding: .5rem .8rem; border-radius: 999px; position: relative;
  transition: color .25s, background .25s;
}
.main-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { background: var(--accent); color: #fff !important; font-weight: 700 !important; padding: .6rem 1.1rem !important; box-shadow: 0 8px 18px -8px rgba(255,111,145,.8); transition: transform .3s var(--ease), background .3s !important; }
.nav-cta:hover { transform: translateY(-2px) rotate(-2deg); background: #f2557a; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (pantalla completa) ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  background: var(--mint-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
  animation: heroZoom 2s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(251,250,244,.97) 0%, rgba(251,250,244,.92) 30%, rgba(251,250,244,.6) 47%, rgba(251,250,244,0) 64%),
    linear-gradient(180deg, rgba(251,250,244,.55) 0%, rgba(251,250,244,0) 22%),
    linear-gradient(0deg, var(--cream) 0%, rgba(251,250,244,0) 16%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1320px; margin: 0 auto;
  padding: 3rem 1.5rem 5.5rem;
}
.hero-text { max-width: 40rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1.5px solid var(--mint-200);
  padding: .45rem 1rem; border-radius: 999px;
  font-weight: 600; font-size: .85rem; color: var(--mint-700);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; transform: scale(.7); } }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  margin: 1.2rem 0 1.2rem;
  color: var(--mint-900);
}
.hero h1 em { font-style: normal; color: var(--accent); position: relative; display: inline-block; }
.hero h1 em::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px; height: 10px;
  background: var(--sun); z-index: -1; border-radius: 6px; transform: rotate(-2deg);
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--mint-600), var(--mint) 50%, #5cc7a8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero-lead strong { color: var(--mint-700); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0; }
.hero-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-chips li {
  font-size: .85rem; padding: .4rem .85rem; border-radius: 12px;
  background: rgba(255,255,255,.75); border: 1px dashed var(--mint);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: transform .3s var(--ease), background .3s;
}
.hero-chips li:hover { transform: translateY(-3px) rotate(-2deg); background: var(--mint-100); }
.hero-chips b { color: var(--mint-700); }

/* tarjeta flotante sobre la foto */
.hero-badge {
  position: absolute; z-index: 2;
  right: clamp(1.5rem, 5vw, 5rem); bottom: 4.5rem;
  display: flex; align-items: center; gap: .9rem;
  background: #fff; padding: .9rem 1.25rem; border-radius: 20px;
  box-shadow: var(--shadow);
  animation: floatY 5s ease-in-out 1.2s infinite, badgeIn .9s var(--ease) 1s both;
}
.hero-badge-stars { color: var(--sun); font-size: 1.05rem; letter-spacing: .08em; text-shadow: 0 1px 0 rgba(0,0,0,.08); }
.hero-badge b { display: block; font-family: var(--font-display); font-weight: 400; color: var(--mint-900); font-size: 1.05rem; line-height: 1.2; }
.hero-badge small { display: block; color: var(--ink-soft); font-size: .8rem; margin-top: .15rem; }
@keyframes floatY { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes badgeIn { from { opacity: 0; } to { opacity: 1; } }

/* indicador de scroll */
.hero-scroll {
  position: absolute; left: 50%; bottom: 1.6rem; z-index: 2;
  transform: translateX(-50%);
  width: 28px; height: 46px; border-radius: 999px;
  border: 2px solid var(--mint-700); display: flex; justify-content: center;
  opacity: .8; transition: opacity .3s;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll span { width: 4px; height: 10px; margin-top: 8px; border-radius: 4px; background: var(--accent); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Encabezados de sección ---------- */
.section-head { max-width: 1200px; margin: 0 auto 3rem; padding: 0 1.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin-inline: auto; }
.kicker {
  display: inline-block; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  font-size: .78rem; color: var(--mint-700);
  padding-left: 2.4rem; position: relative;
}
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.8rem; height: 3px; background: var(--accent); border-radius: 3px; }
.kicker-light { color: var(--sun); }
.section-intro { max-width: 46rem; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Servicios ---------- */
.services {
  padding: 8rem 0 7rem;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--mint-50) 100%);
}
.services::before { /* ondas de agua */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cpath d='M0 20c20-14 40-14 60 0s40 14 60 0' fill='none' stroke='%23bfe9da' stroke-width='1.5'/%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.services .section-head h2 { max-width: 15ch; }
.services-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 1.8rem 1.6rem; position: relative;
  border: 1.5px solid var(--mint-100);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow); border-color: var(--mint); }
.service-card:nth-child(even):hover { transform: translateY(-8px) rotate(.6deg); }
.service-card h3 { margin-top: 1rem; color: var(--mint-900); }
.service-card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.svc-icon {
  width: 72px; height: 72px; border-radius: 22px;
  display: grid; place-items: center;
  color: var(--mint-700);
  background: linear-gradient(145deg, var(--mint-50), var(--mint-100));
  transition: transform .5s var(--ease), background .3s;
}
.svc-icon svg { width: 46px; height: 46px; }
.service-card:hover .svc-icon { transform: rotate(-8deg) scale(1.08); background: linear-gradient(145deg, var(--mint-100), var(--mint-200)); }
.service-card:hover .bubble { animation: bob 1.2s ease-in-out infinite; }
.service-card:hover .b2 { animation-delay: .2s; }
.service-card:hover .b3 { animation-delay: .4s; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.service-card:hover .spark { animation: twinkle 1s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.service-card:hover .s2 { animation-delay: .25s; }
.service-card:hover .s3 { animation-delay: .5s; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6) rotate(45deg); } }
.service-card:hover .scan { animation: scan 1.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-14px); } 50% { transform: translateY(14px); } }

/* Ortodoncia destacada */
.service-card.featured {
  grid-column: 1 / -1;
  padding: 3rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 209, 102, .35), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(255, 111, 145, .25), transparent 40%),
    linear-gradient(135deg, var(--mint-600), var(--mint-900));
  color: #fff; border: none;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.service-card.featured::before {
  content: "Ortodoncia"; position: absolute; right: -1rem; bottom: -2.5rem;
  font-family: var(--font-display); font-size: clamp(5rem, 13vw, 11rem); line-height: 1;
  color: rgba(255,255,255,.06); pointer-events: none; white-space: nowrap;
}
.service-card.featured:hover { transform: translateY(-6px); }
.featured-body { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center; position: relative; }
.service-card.featured h3 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0 0 .8rem; }
.service-card.featured p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 1rem; max-width: 60ch; }
.svc-icon-xl {
  width: 260px; height: 220px; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%;
  background: rgba(255,255,255,.12); color: #fff;
  border: 2px solid rgba(255,255,255,.25);
  animation: blob 9s ease-in-out infinite;
}
.svc-icon-xl svg { width: 200px; height: 140px; color: var(--mint-900); }
.svc-icon-xl svg g:first-of-type { stroke: var(--mint-900); }
@keyframes blob { 50% { border-radius: 60% 40% 55% 45% / 40% 60% 40% 60%; } }
.service-card.featured:hover .svc-icon { transform: rotate(-4deg) scale(1.04); background: rgba(255,255,255,.2); }
.wire { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.6s var(--ease); }
.featured.is-visible .wire { stroke-dashoffset: 0; }
.badge-star {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 2;
  background: var(--sun); color: var(--ink);
  font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .5rem 1rem; border-radius: 999px;
  transform: rotate(4deg);
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.4);
  animation: wiggle 3s ease-in-out infinite;
}
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(4deg); } 85% { transform: rotate(-3deg) scale(1.06); } 90% { transform: rotate(6deg); } }
.featured-points { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.featured-points li {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .45rem .9rem; border-radius: 999px; font-size: .9rem;
}
.featured-points li::before { content: "✓ "; color: var(--sun); font-weight: 800; }

/* ---------- Equipo ---------- */
.team {
  padding: 8rem 1.5rem;
  background: var(--mint-900); color: #e6f5ef;
  overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin: -2rem 0;
}
.team-pattern {
  position: absolute; inset: 0; opacity: .12;
  background-image:
    linear-gradient(45deg, var(--mint) 25%, transparent 25%),
    linear-gradient(-45deg, var(--mint) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--mint) 75%),
    linear-gradient(-45deg, transparent 75%, var(--mint) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  mask-image: radial-gradient(circle at 80% 30%, #000, transparent 60%);
  -webkit-mask-image: radial-gradient(circle at 80% 30%, #000, transparent 60%);
}
.team-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; position: relative; }
.team-photos { position: relative; min-height: 520px; }
.team-photo-main { margin: 0; position: absolute; overflow: hidden; box-shadow: var(--shadow-xl); left: 0; top: 0; width: 82%; aspect-ratio: 472/420; border-radius: 200px 200px 30px 30px; border: 6px solid var(--mint); }
.team-photo-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-photo-main:hover img { transform: scale(1.06); }
.cedula-card {
  position: absolute; left: 4%; bottom: 2%;
  background: var(--accent); color: #fff; padding: 1rem 1.3rem; border-radius: 18px;
  box-shadow: var(--shadow-xl); transform: rotate(-4deg);
  display: flex; flex-direction: column; line-height: 1.25;
  transition: transform .4s var(--ease);
}
.cedula-card:hover { transform: rotate(0) scale(1.05); }
.cedula-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .9; }
.cedula-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .04em; }
.team h2 { color: #fff; }
.team-text p { color: #c9e6dc; }
.lead-quote {
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45;
  color: var(--sun) !important;
  border-left: 4px solid var(--accent); padding-left: 1.2rem;
}
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.values li {
  display: flex; gap: 1rem; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: .9rem 1.1rem; border-radius: 18px;
  transition: transform .35s var(--ease), background .3s;
}
.values li:hover { transform: translateX(8px); background: rgba(255,255,255,.12); }
.values b { display: block; color: #fff; font-size: 1.05rem; }
.values span { font-size: .92rem; color: #b3d8cb; }
.v-ico { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: #fff; }
.v-ico svg { width: 26px; height: 26px; }

/* ---------- Testimonios ---------- */
.testimonials {
  padding: 9rem 1.5rem 7rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,111,145,.14), transparent 30%),
    radial-gradient(circle at 10% 80%, rgba(63,165,138,.18), transparent 35%),
    var(--cream);
}
.testimonials h2 { font-style: italic; }
.testi-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem;
}
.testi {
  margin: 0; background: #fff; border-radius: var(--radius);
  padding: 1.8rem; position: relative;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--mint-100);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.testi::before {
  content: "“"; position: absolute; top: -.6rem; right: 1.2rem;
  font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--mint-200);
}
.testi:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.t1 { grid-column: span 3; background: var(--mint-700); color: #fff; border: none; }
.t1::before { color: rgba(255,255,255,.2); }
.t1 blockquote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; }
.t1 figcaption span { color: var(--mint-200) !important; }
.t2 { grid-column: span 3; transform: translateY(2rem); }
.t2:hover { transform: translateY(1.5rem) rotate(1deg); }
.t3, .t4, .t5 { grid-column: span 2; }
.t4 { background: var(--sun); border: none; }
.t4::before { color: rgba(18,48,42,.15); }
.stars { color: #f5b400; letter-spacing: 3px; font-size: 1.1rem; }
.t4 .stars { color: var(--accent); }
.testi blockquote { margin: .8rem 0 1.3rem; font-size: 1rem; }
.testi figcaption { display: flex; align-items: center; gap: .8rem; }
.testi figcaption b { display: block; }
.testi figcaption span:not(.avatar) { font-size: .85rem; color: var(--ink-soft); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9a6c);
}
.t1 .avatar { background: var(--sun); color: var(--ink); }

/* ---------- Galería ---------- */
.gallery { padding: 6rem 0 7rem; background: var(--mint-50); }
.gallery::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg, transparent 0 18px, rgba(191,233,218,.45) 18px 19px);
}
.gallery .section-head { position: relative; }
.gal-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem;
}
.gal-item {
  padding: 0; border: 0; cursor: zoom-in; position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--mint-200);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gal-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gal-item:hover img { transform: scale(1.08); filter: saturate(1.15); }
.gal-item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3rem; color: #fff; font-family: var(--font-display);
  background: linear-gradient(0deg, rgba(15,59,51,.6), rgba(63,165,138,.2));
  opacity: 0; transition: opacity .35s;
}
.gal-item:hover::after, .gal-item:focus-visible::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.gal-grid .gal-item:nth-child(4) { border-radius: 120px 120px var(--radius) var(--radius); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 34, 29, .92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 2rem;
  opacity: 0; transition: opacity .35s;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-figure { margin: 0; max-width: min(90vw, 1000px); text-align: center; transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.open .lb-figure { transform: scale(1); }
.lb-figure img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 18px; box-shadow: var(--shadow-xl); }
.lb-figure figcaption { color: var(--mint-100); margin-top: 1rem; font-size: .95rem; }
.lb-nav, .lb-close {
  background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.3);
  width: 54px; height: 54px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; flex: 0 0 auto;
  transition: background .25s, transform .3s var(--ease);
}
.lb-nav:hover, .lb-close:hover { background: var(--accent); transform: scale(1.1); }
.lb-close { position: absolute; top: 1.2rem; right: 1.2rem; }

/* ---------- FAQ ---------- */
.faq { padding: 7rem 1.5rem; background: var(--cream); }
.faq-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-head h2 { color: var(--mint-900); }
.faq-head p { color: var(--ink-soft); }
.faq-list details {
  background: #fff; border-radius: 20px; margin-bottom: 1rem;
  border: 1.5px solid var(--mint-100); box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s;
}
.faq-list details[open] { border-color: var(--mint); box-shadow: var(--shadow); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.3rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; color: var(--mint-900); }
.faq-list summary:hover h3 { color: var(--mint-600); }
.faq-list details p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--ink-soft); }
.plus { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--mint-100); position: relative; transition: transform .4s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; background: var(--mint-700); border-radius: 2px; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
details[open] .plus { transform: rotate(180deg); background: var(--accent); }
details[open] .plus::before { background: #fff; }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); background: #fff; }

/* ---------- Contacto ---------- */
.contact {
  padding: 7rem 1.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,209,102,.25), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(255,111,145,.25), transparent 35%),
    linear-gradient(140deg, var(--mint-700), var(--mint-900));
  color: #e6f5ef;
}
.contact-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact h2 { color: #fff; }
.contact-text p { color: #c9e6dc; font-size: 1.06rem; }
.phone-big {
  display: inline-flex; align-items: center; gap: .7rem; margin-top: 1rem;
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--sun); text-decoration: none;
  transition: transform .35s var(--ease);
}
.phone-big:hover { transform: translateX(6px); }
.contact-form {
  background: var(--cream); color: var(--ink); border-radius: var(--radius-lg);
  padding: 2.4rem; box-shadow: var(--shadow-xl); position: relative;
  transform: rotate(1deg);
  transition: transform .5s var(--ease);
}
.contact-form:hover, .contact-form:focus-within { transform: rotate(0); }
.contact-form::before {
  content: ""; position: absolute; top: -18px; left: 40px; width: 90px; height: 36px;
  background: repeating-linear-gradient(45deg, var(--sun) 0 8px, #ffe3a1 8px 16px);
  border-radius: 6px; transform: rotate(-6deg); opacity: .9;
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--mint-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem;
  padding: .85rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--mint-200); background: #fff; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(63,165,138,.18); transform: translateY(-1px);
}
.field input.invalid { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,111,145,.18); }
.form-error { color: #c62f55; font-weight: 600; font-size: .9rem; min-height: 1.2em; margin: 0 0 .6rem; }

/* ---------- CTA ---------- */
.cta-band {
  padding: 6rem 1.5rem 5rem; text-align: center; overflow: hidden;
  background:
    repeating-radial-gradient(circle at 50% 120%, transparent 0 30px, rgba(255,255,255,.18) 30px 32px),
    linear-gradient(120deg, var(--sun), #ffe08a 50%, var(--mint-200));
}
.cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 2; }
.cta-band h2 { color: var(--mint-900); }
.cta-band p { font-size: 1.15rem; color: var(--ink); margin-bottom: 1.8rem; }
.cta-smile { width: 340px; max-width: 70%; margin: 2rem auto 0; color: var(--mint); display: block; }
.cta-smile path { stroke-dasharray: 500; stroke-dashoffset: 500; transition: stroke-dashoffset 1.8s var(--ease); }
.cta-band.is-visible .cta-smile path { stroke-dashoffset: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0b2a24; color: #b9d6cc; position: relative; z-index: 2; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 5rem 1.5rem 3rem; display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
.f-brand img { width: 160px; height: auto; background: linear-gradient(90deg, #fff 0%, #fff 55%, var(--mint-100) 78%, var(--mint-200) 100%); border-radius: 18px; padding: .6rem; margin-bottom: 1.2rem; }
.site-footer h3 { color: #fff; font-size: 1.3rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.site-footer a { text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--sun); }
.socials { display: flex; gap: .7rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  transition: transform .35s var(--ease), background .3s;
}
.socials a:hover { transform: translateY(-4px) rotate(-6deg); background: var(--accent); color: #fff; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .93rem; }
.hours li span:first-child { color: #fff; font-weight: 600; }
.hours li.closed span:last-child { color: var(--accent); }
.hours li.today { color: var(--sun); }
.hours li.today span:first-child { color: var(--sun); }
.map-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.map-wrap iframe { border-radius: var(--radius-lg); display: block; filter: saturate(.85); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal (scroll) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.t2.reveal.is-visible { transform: translateY(2rem); }

/* ---------- Chat: Ayuda Activa ---------- */
.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 250; font-family: var(--font-body); }
.chat-launcher { display: flex; flex-direction: column; align-items: center; }
.chat-toggle {
  position: relative; width: 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(140deg, var(--mint), var(--mint-700)); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(15,59,51,.6);
  transition: transform .35s var(--ease);
}
.chat-toggle:hover { transform: scale(1.08) rotate(-6deg); }
.chat-toggle svg { position: relative; z-index: 2; transition: transform .35s var(--ease), opacity .25s; }
.chat-toggle .ico-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.chat-widget.open .ico-open { opacity: 0; transform: rotate(90deg); }
.chat-widget.open .ico-close { opacity: 1; transform: rotate(0); }
.pulse-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--mint); z-index: 0;
  animation: pulse 2.2s cubic-bezier(.2,.6,.4,1) infinite;
  will-change: transform, opacity;
}
.pulse-ring.r2 { background: var(--accent); animation-delay: 1.1s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.9); opacity: 0; } }
.chat-widget.open .pulse-ring { animation: none; opacity: 0; }
.chat-tip {
  margin: .6rem 0 0; background: #fff; color: var(--mint-900);
  font-size: .8rem; font-weight: 600; padding: .45rem .8rem; border-radius: 12px;
  border: 1.5px solid var(--mint-200); box-shadow: var(--shadow-sm); white-space: nowrap;
  position: relative;
  transition: opacity .3s, transform .3s var(--ease);
}
.chat-tip::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; background: #fff;
  border-left: 1.5px solid var(--mint-200); border-top: 1.5px solid var(--mint-200);
  transform: translateX(-50%) rotate(45deg);
}
.chat-widget.open .chat-tip { opacity: 0; transform: translateY(6px); pointer-events: none; visibility: hidden; }

.chat-panel {
  position: absolute; right: 0; bottom: 110px;
  width: min(370px, calc(100vw - 32px)); height: min(530px, calc(100vh - 160px));
  background: var(--cream); border-radius: 26px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl); border: 1.5px solid var(--mint-200);
  transform-origin: bottom right;
  animation: panelIn .4s var(--ease);
}
.chat-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px) scale(.94); } }
.chat-header {
  display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--mint-600), var(--mint-900)); color: #fff;
  position: relative;
}
.chat-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--sun) 0 14px, var(--accent) 14px 28px);
}
.chat-header strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; display: block; line-height: 1.1; }
.chat-header span { font-size: .78rem; opacity: .85; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: var(--mint-900); display: grid; place-items: center; }
.chat-close { margin-left: auto; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; transition: background .25s, transform .3s var(--ease); }
.chat-close:hover { background: var(--accent); transform: rotate(90deg); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem;
  background-image: radial-gradient(var(--mint-100) 1px, transparent 1.2px); background-size: 16px 16px;
}
.msg {
  max-width: 85%; padding: .7rem .95rem; border-radius: 18px; font-size: .93rem; line-height: 1.5;
  animation: msgIn .35s var(--ease); word-wrap: break-word; white-space: pre-wrap;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg.bot { align-self: flex-start; background: #fff; border: 1.5px solid var(--mint-100); border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: var(--mint-700); color: #fff; border-bottom-right-radius: 6px; }
.msg a { color: var(--mint-600); font-weight: 600; word-break: break-all; }
.msg.error { border-color: var(--accent); }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.typing small { margin-left: 6px; color: var(--ink-soft); font-size: .78rem; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
.chat-input { display: flex; gap: .5rem; padding: .8rem; background: #fff; border-top: 1.5px solid var(--mint-100); }
.chat-input input { flex: 1; font: inherit; font-size: .95rem; padding: .7rem .95rem; border-radius: 999px; border: 1.5px solid var(--mint-200); background: var(--cream); }
.chat-input input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(63,165,138,.18); }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease), background .25s; }
.chat-input button:hover { transform: rotate(-12deg) scale(1.08); background: #f2557a; }
.chat-input button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { font-size: .86rem; padding: .45rem .55rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav ul {
    position: fixed; top: var(--header-h); left: 1rem; right: 1rem;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--cream); padding: 1rem; border-radius: 22px; box-shadow: var(--shadow-xl);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .35s var(--ease);
  }
  .main-nav ul.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { display: block; font-size: 1rem; padding: .8rem 1rem; }
  .nav-cta { text-align: center; }
  .site-header { background: rgba(251, 250, 244, .9); backdrop-filter: blur(12px); }

  .hero { align-items: flex-end; background: var(--cream); }
  .hero-bg { height: 62%; object-position: 68% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251,250,244,.5) 0%, rgba(251,250,244,0) 18%),
      linear-gradient(0deg, var(--cream) 0%, var(--cream) 40%, rgba(251,250,244,.85) 50%, rgba(251,250,244,0) 62%);
  }
  .hero-inner { padding: 1.5rem 1.5rem 2.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); margin: 1rem 0; }
  .hero-lead { font-size: 1rem; }
  .hero-chips { display: none; }
  .hero-badge { position: static; margin-top: 1.5rem; display: inline-flex; animation: none; transform: rotate(-1.5deg); }
  .hero-scroll { display: none; }

  .featured-body { grid-template-columns: 1fr; }
  .svc-icon-xl { width: 200px; height: 160px; }
  .svc-icon-xl svg { width: 160px; height: 110px; }
  .service-card.featured { padding: 3.5rem 1.6rem 2rem; }

  .team-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 3rem; }
  .team-photos { min-height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .faq-head { position: static; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .t1, .t2, .t3, .t4, .t5 { grid-column: span 1; }
  .t1 { grid-column: span 2; }
  .t2, .t2:hover, .t2.reveal.is-visible { transform: none; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand img { height: 50px; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .t1 { grid-column: span 1; }
  .gal-grid { grid-auto-rows: 160px; }
  .g-wide { grid-column: span 2; }
  .team-photos { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-brand { grid-column: span 1; }
  .hours li { flex-direction: column; gap: 0; }
  .contact-form { padding: 1.8rem 1.3rem; transform: none; }
  .badge-star { top: 1rem; right: 1rem; }
  .lb-nav { position: absolute; bottom: 1.5rem; }
  .lb-prev { left: 30%; }
  .lb-next { right: 30%; }
  .chat-widget { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
