/* =========================================================
   Hogar "Mi Casa" — excelenciamedica.com.ar
   Paleta tomada del logo: teja, verde salvia, crema y madera
   ========================================================= */

:root {
  --cream: #fbf6ee;
  --cream-2: #f4ebdd;
  --paper: #ffffff;
  --ink: #2e2621;
  --muted: #6b5e54;
  --line: #e7dccb;

  --terra: #c9543a;
  --terra-d: #a8412b;
  --terra-soft: #f8e4dc;

  --sage: #6f9a7c;
  --forest: #2f5d4a;
  --forest-d: #22463a;
  --sage-soft: #e3eee5;

  --sun: #e9b44c;
  --sun-soft: #fbefd4;

  --wa: #17904a;
  --wa-d: #117a3d;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -18px rgba(62, 43, 30, .28);
  --shadow-sm: 0 8px 22px -12px rgba(62, 43, 30, .25);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

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

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .9rem;
}

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__lead { color: var(--muted); font-size: 1.15rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  font-family: inherit;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--terra); color: #fff; box-shadow: 0 10px 24px -10px rgba(201, 84, 58, .7); }
.btn--primary:hover { background: var(--terra-d); }
.btn--primary .ico { transition: transform .25s var(--ease); }
.btn--primary:hover .ico { transform: translateX(4px); }

.btn--ghost { background: rgba(255,255,255,.85); color: var(--forest); border-color: rgba(47,93,74,.18); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; border-color: var(--forest); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(23, 144, 74, .7); }
.btn--wa:hover { background: var(--wa-d); }

.btn--light { background: #fff; color: var(--forest); }

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

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.header.is-scrolled { background: rgba(251, 246, 238, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px -16px rgba(0,0,0,.35); --header-h: 68px; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest-d); }
.brand__text small { font-size: .75rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; }

.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; font-weight: 700; padding: .5em .85em; border-radius: 999px; color: var(--ink); transition: background .2s, color .2s; }
.nav a:hover { background: var(--sage-soft); color: var(--forest); }
.nav .nav__cta-mobile { display: none; }

.header__cta { padding: .7em 1.2em; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(251,246,238,.97) 0%, rgba(251,246,238,.92) 38%, rgba(251,246,238,.55) 62%, rgba(251,246,238,.15) 100%),
    linear-gradient(0deg, var(--cream) 0%, transparent 22%);
}
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--forest-d); }
.hero h1 em { font-style: italic; color: var(--terra); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .02em;
  height: .18em;
  background: var(--sun);
  opacity: .45;
  border-radius: 99px;
  z-index: -1;
  transform-origin: left;
  animation: underline 1.2s .9s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #4a3f37; max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: var(--forest); font-size: .95rem; }
.hero__trust li { display: flex; align-items: center; gap: 6px; }
.hero__trust .ico { color: #fff; background: var(--sage); border-radius: 50%; padding: 3px; width: 1.35em; height: 1.35em; }

.hero__visual { position: relative; height: 560px; }
.hero__photo { position: absolute; overflow: hidden; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); border: 6px solid #fff; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { right: 6%; top: 0; width: 64%; height: 88%; animation: floaty 7s ease-in-out infinite; }
.hero__photo--small { left: 0; bottom: 0; width: 42%; height: 50%; border-radius: var(--radius); animation: floaty 7s 1.2s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: .92rem;
  line-height: 1.2;
  animation: pop .7s 1s var(--ease) both, floaty 6s 2s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.1rem; font-family: var(--font-display); color: var(--forest-d); }
.float-card--a { left: 4%; top: 12%; }
.float-card--b { right: 0; bottom: 6%; animation-delay: 1.3s, 2.6s; }
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--terra-soft); color: var(--terra); display: grid; place-items: center; }
.float-card__icon--green { background: var(--sage-soft); color: var(--forest); }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(20px); } to { opacity: 1; transform: none; } }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 30px; height: 48px; border: 2px solid rgba(47,93,74,.4); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 5px; height: 9px; margin-left: -2.5px; border-radius: 4px; background: var(--forest); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Empatía ---------- */
.empathy { background: var(--cream); }
.empathy__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card p { color: var(--muted); margin: 0; }
.value-card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--terra-soft); color: var(--terra); margin-bottom: 20px; }
.value-card__icon .ico { width: 30px; height: 30px; }
.value-card__icon--green { background: var(--sage-soft); color: var(--forest); }
.value-card__icon--sun { background: var(--sun-soft); color: #b07c10; }

/* ---------- Nosotros ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media > img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__badge {
  position: absolute;
  right: -24px;
  bottom: 36px;
  width: min(290px, 80%);
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
}
.about__badge img { width: 56px; background: var(--cream); border-radius: 14px; padding: 4px; }
.about__badge p { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.35; }
.about__copy > p { color: var(--muted); font-size: 1.08rem; }

.pillars { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.pillars li { display: flex; gap: 18px; align-items: center; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.pillars li:hover { transform: translateX(6px); border-color: var(--sage); }
.pillars__n { font-family: var(--font-display); font-size: 1.6rem; color: var(--terra); font-weight: 700; }
.pillars strong { display: block; font-size: 1.1rem; }
.pillars small { color: var(--muted); font-size: .95rem; }

/* ---------- Servicios ---------- */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.services__highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 12px;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.services__highlight::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -200px;
  background: radial-gradient(circle, rgba(233,180,76,.35), transparent 65%);
}
.hl { text-align: center; padding: 6px 12px; position: relative; }
.hl + .hl { border-left: 1px solid rgba(255,255,255,.15); }
.hl__num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; line-height: 1; }
.hl__unit { font-weight: 800; margin-left: 4px; color: var(--sun); }
.hl p { margin: 6px 0 0; opacity: .85; font-weight: 600; }

.services__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--sage); }
.svc h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; margin: 0; }
.svc__freq { margin: 2px 0 0; color: var(--terra-d); font-weight: 700; font-size: .95rem; }
.svc__ico { width: 50px; height: 50px; border-radius: 14px; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease); }
.svc:hover .svc__ico { transform: rotate(-8deg) scale(1.08); }
.svc__ico .ico { width: 26px; height: 26px; }
.svc--featured { background: var(--terra); border-color: var(--terra); color: #fff; }
.svc--featured .svc__freq { color: #fff; opacity: .9; }
.svc--featured .svc__ico { background: rgba(255,255,255,.18); color: #fff; }

.inline-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  border: 2px dashed var(--sage);
  border-radius: var(--radius);
  padding: 22px 28px;
}
.inline-cta p { margin: 0; font-size: 1.1rem; }

/* ---------- Talleres ---------- */
.workshops { background: var(--paper); }
.workshops__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ws {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  box-shadow: var(--shadow-sm);
  background: var(--forest);
}
.ws img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ws:hover img { transform: scale(1.07); }
.ws::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,35,28,.85) 100%); }
.ws__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; z-index: 1; }
.ws__body h3 { margin: 0 0 4px; font-size: 1.45rem; }
.ws__body p { margin: 0; font-weight: 700; display: inline-block; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); padding: 3px 12px; border-radius: 999px; font-size: .92rem; }

/* ---------- Reels ---------- */
.reels { background: var(--forest-d); color: #fff; overflow: hidden; }
.reels::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 80% 0%, rgba(233,180,76,.18), transparent), radial-gradient(50% 50% at 0% 100%, rgba(111,154,124,.25), transparent);
  pointer-events: none;
}
.section__head--light .eyebrow { color: var(--sun); }
.section__head--light .section__lead { color: rgba(255,255,255,.75); }

.reels__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px max(16px, calc((100vw - 1200px) / 2)) 26px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.3) transparent;
  position: relative;
}
.reel {
  flex: 0 0 clamp(220px, 24vw, 280px);
  aspect-ratio: 9 / 16;
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: center;
  background: #1a2d25;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.reel:hover { transform: translateY(-6px) rotate(-.6deg); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 16px;
  font-weight: 800;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
}
.reel__sound {
  position: absolute; top: 12px; right: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.reel.is-sound .reel__sound { background: var(--terra); }
.reels__foot { text-align: center; margin-top: 18px; position: relative; }

/* ---------- Galería ---------- */
.place { background: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--line); font: inherit; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item span {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255,255,255,.92);
  color: var(--forest-d);
  font-weight: 800;
  font-size: .9rem;
  padding: 6px 14px;
  border-radius: 999px;
  transform: translateY(6px);
  opacity: .95;
  transition: transform .3s var(--ease);
}
.gallery__item:hover span { transform: none; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* ---------- Sonrisas (marquee) ---------- */
.smiles { background: var(--cream); padding: 0 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.smiles__track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.smiles:hover .smiles__track { animation-play-state: paused; }
.smiles__track img { height: 260px; width: 200px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.smiles__track img:nth-child(even) { transform: translateY(24px); }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Filosofía ---------- */
.philosophy { background: var(--paper); }
.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: c; }
.concept { position: relative; padding: 38px 30px 30px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease); }
.concept:hover { transform: translateY(-6px); }
.concept p { color: var(--muted); margin: 0; }
.concept__n { position: absolute; right: 18px; top: -10px; font-family: var(--font-display); font-size: 7rem; font-weight: 700; color: var(--terra); opacity: .12; line-height: 1; }
.quote { margin: 56px auto 0; max-width: 820px; text-align: center; }
.quote p { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-style: italic; color: var(--forest-d); margin-bottom: .4em; line-height: 1.25; }
.quote cite { font-style: normal; color: var(--muted); font-weight: 600; }

/* ---------- Pasos ---------- */
.steps { background: var(--sage-soft); }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps__list::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; border-top: 3px dotted var(--sage); }
.step { text-align: center; position: relative; }
.step__n {
  width: 66px; height: 66px;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--terra);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--sage);
  position: relative;
}
.step p { color: var(--muted); max-width: 250px; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__intro p { color: var(--muted); font-size: 1.08rem; }
.faq__list details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; transition: box-shadow .3s, border-color .3s; }
.faq__list details[open] { box-shadow: var(--shadow-sm); border-color: var(--sage); }
.faq__list summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-weight: 800; font-size: 1.08rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--forest);
  display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 700;
  transition: transform .3s var(--ease), background .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--terra); color: #fff; }
.faq__list details p { padding: 0 24px 22px; margin: 0; color: var(--muted); animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contacto ---------- */
.contact { background: var(--forest); color: #fff; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/img/parque-edificio.jpg") center / cover;
  opacity: .12;
  mix-blend-mode: luminosity;
}
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.contact .eyebrow { color: var(--sun); }
.contact__copy > p { font-size: 1.15rem; opacity: .9; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact__list a { display: flex; align-items: center; gap: 16px; text-decoration: none; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .3s, transform .3s var(--ease); }
.contact__list a:hover { background: rgba(255,255,255,.16); transform: translateX(6px); }
.contact__list small { display: block; opacity: .7; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__list strong { font-size: 1.15rem; }
.contact__ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.contact__ico .ico { width: 26px; height: 26px; }
.contact__ico--wa { background: var(--wa); }
.contact__ico--ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }

.lead-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }
.lead-form h3 { font-size: 1.6rem; color: var(--forest-d); margin-bottom: 12px; }
.contact-cta p { color: var(--muted); font-size: 1.1rem; margin: 0 0 24px; }

/* ---------- Ubicación ---------- */
.location { background: var(--paper); }
.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.location__lead { color: var(--muted); font-size: 1.12rem; }
.location__address { font-style: normal; display: flex; gap: 14px; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0 16px; }
.location__address .ico { width: 30px; height: 30px; color: var(--terra); margin-top: 2px; }
.location__address strong { display: block; font-size: 1.2rem; font-family: var(--font-display); color: var(--forest-d); }
.location__refs { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.location__refs li { display: flex; align-items: center; gap: 12px; }
.location__refs .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--sage-soft); color: var(--forest); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; aspect-ratio: 4 / 3.2; background: var(--cream-2); }
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: #1b1612; color: #d9cfc4; padding: 50px 0 110px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { width: 64px; background: var(--cream); border-radius: 16px; padding: 4px; }
.footer__brand strong { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.footer__brand p { margin: 0; font-size: .92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__nav a { text-decoration: none; font-weight: 700; }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .3s var(--ease); }
.footer__social a:hover { background: var(--terra); transform: translateY(-3px); }
.footer__copy { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; opacity: .7; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wa-float__btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  position: relative;
  transition: transform .3s var(--ease);
}
.wa-float__btn .ico { width: 34px; height: 34px; }
.wa-float__btn::before, .wa-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2.4s ease-out infinite; }
.wa-float__btn::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float:hover .wa-float__btn { transform: scale(1.08); }
.wa-float__bubble {
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow);
  font-size: .95rem;
  opacity: 0;
  transform: translateX(10px) scale(.95);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.wa-float.show-bubble .wa-float__bubble, .wa-float:hover .wa-float__bubble { opacity: 1; transform: none; }

/* ---------- Barra móvil ---------- */
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 15, 12, .92); display: grid; place-items: center; padding: 24px; animation: fadeIn .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: min(1100px, 100%); border-radius: var(--radius-sm); box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: pop .4s var(--ease); }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .nav a { padding: .5em .6em; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .burger { display: block; }
  .header.is-scrolled { backdrop-filter: none; background: var(--cream); }
  .header__cta { display: none; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--cream);
    font-size: 1.35rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav .nav__cta-mobile { display: inline-flex; margin-top: 16px; color: #fff; }
  .nav .nav__cta-mobile:hover { background: var(--terra-d); color: #fff; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 30px); }
  .hero__bg::after { background: linear-gradient(180deg, rgba(251,246,238,.93) 0%, rgba(251,246,238,.88) 60%, var(--cream) 100%); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero__scroll { display: none; }

  .empathy__grid, .concepts { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .about__grid, .contact__grid, .faq__grid, .location__grid { grid-template-columns: 1fr; }
  .about__badge { right: 12px; }
  .faq__intro { position: static; }
  .services__highlight { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hl:nth-child(3) { border-left: 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .workshops__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item:last-child { display: none; }
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps__list::before { display: none; }
  .inline-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 1.03rem; }
  .brand__text small { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 360px; }
  .float-card { font-size: .82rem; padding: 9px 12px 9px 9px; }
  .float-card__icon { width: 36px; height: 36px; }
  .services__grid { grid-template-columns: 1fr; }
  .workshops__grid { grid-template-columns: 1fr; }
  .ws { aspect-ratio: 4 / 3.4; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item span { font-size: .78rem; left: 8px; bottom: 8px; padding: 4px 10px; }
  .steps__list { grid-template-columns: 1fr; }
  .location__actions .btn { flex: 1 1 100%; }
  .location__map { aspect-ratio: 1 / 1; }
  .smiles__track img { height: 190px; width: 145px; }
  .reel { flex-basis: 64vw; }

  /* barra de acción fija en móvil */
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(251, 246, 238, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25);
    transform: translateY(110%);
    transition: transform .4s var(--ease);
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 999px; font-weight: 800; text-decoration: none; }
  .mobile-bar__call { background: #fff; color: var(--forest); border: 2px solid var(--forest); }
  .mobile-bar__wa { background: var(--wa); color: #fff; }
  .wa-float { display: none; }
}

@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; }
  .smiles__track { animation: none; }
}
