/* ===========================================================
   IGEC — Instituto Gestáltico de Córdoba
   Estética serena: crema, color en acentos, motivo figura-fondo.
   Dos variantes (A: editorial serif · B: contemporáneo sans)
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
.igec-root {
  /* paleta del logo */
  --cream:    #f4f2ea;
  --cream-2:  #ece8dc;
  --paper:    #fbfaf5;
  --ink:      #21343d;
  --ink-soft: #56646b;
  --line:     rgba(33,52,61,.12);
  --line-2:   rgba(33,52,61,.07);

  --blue:      #0b83c7;
  --blue-deep: #0a6ba3;
  --blue-soft: #bdddef;
  --blue-wash: #eaf3f9;

  --green:      #6fa84f;
  --green-logo: #8fc97e;
  --green-soft: #cfe6bd;
  --green-wash: #eef4e6;

  /* acento tweakable — los tonos derivan del color base */
  --accent:      var(--blue);
  --accent-deep: color-mix(in oklab, var(--accent) 80%, #0e2a33);
  --accent-soft: color-mix(in oklab, var(--accent) 34%, white);
  --accent-wash: color-mix(in oklab, var(--accent) 12%, var(--paper));

  /* tipografía tweakable */
  --font-head: "Spectral", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --head-weight: 600;
  --head-spacing: -0.01em;

  /* radios / escala */
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;

  /* motivo figura-fondo: dos copas de árbol */
  --fg-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8.2' cy='10.5' r='6'/%3E%3Crect x='7.4' y='13' width='1.6' height='8' rx='.6'/%3E%3Ccircle cx='16.6' cy='12.5' r='5'/%3E%3Crect x='15.8' y='15' width='1.6' height='6' rx='.6'/%3E%3C/svg%3E");

  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

/* ---------- Variante B: contemporáneo ---------- */
.igec-root[data-variant="b"] {
  --font-head: "Hanken Grotesk", system-ui, sans-serif;
  --head-weight: 800;
  --head-spacing: -0.025em;
  --radius: 26px;
  --radius-sm: 16px;
}

/* ---------- Intensidad de color ---------- */
.igec-root[data-intensity="equilibrado"] {
  --cream:   #eef4f3;
  --cream-2: #e3eef0;
}

/* ---------- Tipografía base ---------- */
h1,h2,h3,h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-spacing);
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: clamp(64px, 11vh, 128px) 0; position: relative; }
.section--alt { background: var(--cream-2); }
.section--paper { background: var(--paper); }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 18px;
}
.kicker::before {
  content: ""; width: 22px; height: 22px; flex: none; border-radius: 6px;
  background: var(--accent); opacity: .9;
  -webkit-mask: var(--fg-mask) center/contain no-repeat;
          mask: var(--fg-mask) center/contain no-repeat;
}
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section__head p { margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); }
.section--center .section__head { margin-left: auto; margin-right: auto; text-align: center; }
.section--center .kicker { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; letter-spacing: .005em; white-space: nowrap;
  transition: transform .18s ease, background .2s ease, box-shadow .25s ease, border-color .2s ease, color .2s ease;
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px color-mix(in oklab, var(--accent) 75%, black); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px color-mix(in oklab, var(--accent) 70%, black); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo { width: 46px; height: 46px; border-radius: 12px; background: var(--cream-2); padding: 3px; flex: none; box-shadow: 0 1px 0 var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.04rem; letter-spacing: var(--head-spacing); white-space: nowrap; }
.brand__sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 9px 14px; border-radius: 9px; font-size: 0.94rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
}
.nav__link:hover { color: var(--ink); background: var(--line-2); }
.nav__link.is-active { color: var(--accent-deep); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent);
}
.nav__cta { margin-left: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); align-items: center; justify-content: center; }
.nav__toggle span { display: block; width: 19px; height: 2px; background: var(--ink); position: relative; transition: .25s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--ink); transition: .25s; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.nav__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 10px 0 22px;
}
.nav__mobile a { padding: 13px 6px; border-radius: 10px; font-size: 1.05rem; font-weight: 500; }
.nav__mobile a:hover { background: var(--line-2); }
.nav__mobile .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; }
.igec-root[data-variant="a"] .hero__copy { align-items: center; }
.igec-root[data-variant="b"] .hero__copy { align-items: flex-start; }
.igec-root[data-variant="a"] .hero { text-align: center; }
.igec-root[data-variant="a"] .hero__grid { grid-template-columns: 1fr; justify-items: center; }
.igec-root[data-variant="b"] .hero__grid { grid-template-columns: 1.05fr 0.95fr; }

.hero__logo-wrap { display: flex; justify-content: center; }
.hero__logo { width: clamp(120px, 16vw, 168px); height: clamp(120px, 16vw, 168px); border-radius: 28px; background: var(--cream-2); padding: 10px; box-shadow: 0 30px 60px -34px rgba(33,52,61,.5); }
.igec-root[data-variant="a"] .hero__logo { margin-bottom: 28px; }

.hero__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 6.6vw, 74px); line-height: 1.04; max-width: 12ch; }
.hero h1 .soft { color: var(--accent); }
.hero__lead { margin: 24px auto 0; max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); }
.igec-root[data-variant="b"] .hero__lead { margin-left: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.igec-root[data-variant="a"] .hero__actions { justify-content: center; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 22px 34px; margin-top: 40px; font-size: 0.92rem; color: var(--ink-soft); }
.igec-root[data-variant="a"] .hero__meta { justify-content: center; }
.hero__meta b { color: var(--ink); font-weight: 600; }
.hero__meta-item { display: flex; align-items: center; gap: 9px; }
.hero__meta-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* hero figure-ground panel (variante B) */
.hero__art { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 460px; justify-self: center; }
.fg-panel {
  position: absolute; inset: 0; border-radius: 30px; overflow: hidden;
  background: var(--accent-wash); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(33,52,61,.6);
}
.igec-root[data-variant="a"] .hero__art { display: none; }

/* soft ambient blobs */
.hero__blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; z-index: 0; pointer-events: none; }
.hero__blob--1 { width: 360px; height: 360px; background: var(--accent-soft); top: -120px; right: -80px; }
.hero__blob--2 { width: 300px; height: 300px; background: var(--green-soft); bottom: -120px; left: -90px; opacity: .45; }
.hero .container { position: relative; z-index: 1; }

/* ---------- Figura-fondo decorativo (panel) ---------- */
.fg-scene { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.fg-scene .half { position: relative; overflow: hidden; }
.fg-scene .half--night { background: var(--accent); }
.fg-scene .half--day { background: var(--green-logo); }
.fg-tree { position: absolute; bottom: 12%; width: 46%; aspect-ratio: 1/1; border-radius: 50%; }
.fg-tree::after { content: ""; position: absolute; left: 50%; top: 70%; width: 12%; height: 40%; transform: translateX(-50%); }
.fg-tree--a { left: 8%; background: var(--green-logo); }
.fg-tree--a::after { background: var(--green-logo); }
.fg-tree--b { right: 8%; background: var(--accent); }
.fg-tree--b::after { background: var(--accent); }
.fg-moon { position: absolute; top: 16%; left: 56%; width: 16%; aspect-ratio: 1/1; border-radius: 50%; box-shadow: inset -6px 4px 0 0 var(--green-logo); transform: rotate(20deg); }

/* ---------- Pilares (historia) ---------- */
.historia__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.historia__body p + p { margin-top: 18px; }
.pilares { display: grid; gap: 14px; margin-top: 34px; }
.pilar { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .25s ease, border-color .2s; }
.pilar:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(33,52,61,.55); border-color: var(--accent-soft); }
.pilar__mark { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--accent-wash); display: grid; place-items: center; color: var(--accent-deep); }
.pilar__mark::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: var(--accent); -webkit-mask: var(--fg-mask) center/contain no-repeat; mask: var(--fg-mask) center/contain no-repeat; }
.pilar h4 { font-size: 1.06rem; font-family: var(--font-body); font-weight: 700; }
.pilar p { font-size: 0.94rem; color: var(--ink-soft); margin-top: 3px; }

/* ---------- Placeholder de imagen ---------- */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, color-mix(in oklab, var(--accent) 11%, var(--paper)) 0 14px, var(--paper) 14px 28px);
  display: grid; place-items: center; color: var(--accent-deep);
}
.ph__label { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: .04em; background: var(--paper); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.historia__art { aspect-ratio: 4/5; }

/* ---------- Servicios ---------- */
.servicios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.servicio {
  position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); overflow: hidden; min-height: 280px;
  transition: transform .22s ease, box-shadow .3s ease, border-color .2s;
}
.servicio:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -34px rgba(33,52,61,.5); border-color: var(--accent-soft); }
.servicio__num { font-family: var(--font-head); font-size: 0.9rem; color: var(--accent); font-weight: 700; letter-spacing: .1em; }
.servicio h3 { font-size: 1.5rem; margin-top: 16px; }
.servicio__resumen { color: var(--ink-soft); margin-top: 10px; font-size: 0.98rem; }
.servicio__detalle { color: var(--ink-soft); margin-top: 14px; font-size: 0.92rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, margin .3s; }
.servicio.is-open .servicio__detalle { max-height: 200px; opacity: 1; }
.servicio__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.servicio__tag { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--accent-wash); color: var(--accent-deep); font-weight: 600; }
.servicio__toggle { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.92rem; color: var(--accent-deep); background: none; border: 0; padding: 0; }
.servicio__toggle .chev { transition: transform .3s ease; }
.servicio.is-open .servicio__toggle .chev { transform: rotate(180deg); }
.servicio::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--green-logo)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.servicio:hover::before { transform: scaleX(1); }

/* ---------- Profesionales ---------- */
.profes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profe { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, box-shadow .3s ease, border-color .2s; display: flex; flex-direction: column; }
.profe:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(33,52,61,.5); border-color: var(--accent-soft); }
.profe__photo { aspect-ratio: 1/1; width: 100%; border: 0; border-radius: 0; }
.profe__body { padding: 18px 18px 20px; }
.profe__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.12rem; }
.profe__role { color: var(--accent-deep); font-size: 0.84rem; font-weight: 600; margin-top: 4px; }
.profe__more { margin-top: 12px; font-size: 0.86rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.profes__nota { margin-top: 22px; font-size: 0.84rem; color: var(--ink-soft); font-style: italic; }

/* modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(20,32,38,.5); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .25s ease; }
.modal-backdrop.is-open { opacity: 1; }
.modal { background: var(--paper); border-radius: var(--radius); max-width: 460px; width: 100%; overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .28s cubic-bezier(.2,.8,.2,1); box-shadow: 0 40px 90px -40px rgba(20,32,38,.7); }
.modal-backdrop.is-open .modal { transform: none; }
.modal__photo { aspect-ratio: 16/10; }
.modal__body { padding: 26px 28px 30px; }
.modal__role { color: var(--accent-deep); font-weight: 600; font-size: 0.88rem; margin-top: 6px; }
.modal__bio { color: var(--ink-soft); margin-top: 14px; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.modal__close:hover { background: var(--cream-2); }

/* ---------- Visitanos ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
.visit__map { min-height: 320px; }
.visit__map .ph { height: 100%; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 40px); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.info-row:last-child { border-bottom: 0; }
.info-row__icon { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--accent-wash); display: grid; place-items: center; color: var(--accent-deep); }
.info-row__icon svg { width: 20px; height: 20px; }
.info-row__label { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.info-row__value { font-size: 1.05rem; font-weight: 500; margin-top: 2px; }
.info-row__value a:hover { color: var(--accent-deep); }
.hours { margin-top: 6px; }
.hours__row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.98rem; }
.hours__row .dia { color: var(--ink-soft); }
.hours__row .hs { font-weight: 600; }
.hours__row.is-closed .hs { color: var(--ink-soft); font-weight: 500; }
.hours__open { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.86rem; font-weight: 600; color: var(--green); }
.hours__open .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-wash); }

/* ---------- Contacto ---------- */
.contacto { background: var(--accent); color: #fff; }
.contacto .kicker { color: color-mix(in oklab, var(--accent-soft) 80%, white); }
.contacto .kicker::before { background: #fff; opacity: .92; }
.contacto h2, .contacto h3 { color: #fff; }
.contacto__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contacto__lead { color: color-mix(in oklab, white 84%, var(--accent)); margin-top: 16px; font-size: 1.06rem; }
.contacto__direct { display: grid; gap: 12px; margin-top: 30px; }
.contacto__chip { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); transition: background .2s ease, transform .2s; }
.contacto__chip:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.contacto__chip svg { width: 19px; height: 19px; flex: none; }
.contacto__chip b { font-weight: 600; }
.contacto__chip span { font-size: 0.82rem; opacity: .8; display: block; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(26px, 3.6vw, 40px); box-shadow: 0 40px 90px -50px rgba(20,32,38,.7); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--cream); color: var(--ink); font: inherit; transition: border-color .2s ease, box-shadow .2s ease, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); background: var(--paper); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0573f; box-shadow: 0 0 0 4px rgba(192,87,63,.1); }
.field__error { color: #c0573f; font-size: 0.8rem; margin-top: 6px; min-height: 0; }
.form__note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }

.form__success { text-align: center; padding: 18px 8px; }
.form__success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--green-wash); display: grid; place-items: center; margin: 0 auto 18px; color: var(--green); }
.form__success h3 { color: var(--ink); font-size: 1.5rem; }
.form__success p { color: var(--ink-soft); margin-top: 10px; }
.form__success .btn { margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: color-mix(in oklab, white 78%, var(--ink)); padding: clamp(48px, 6vw, 76px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand__name, .footer .brand__sub { color: #fff; }
.footer__about { margin-top: 18px; max-width: 320px; font-size: 0.95rem; opacity: .8; }
.footer__col h5 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0 0 16px; font-family: var(--font-body); font-weight: 700; }
.footer__col a { display: block; padding: 6px 0; opacity: .82; transition: opacity .2s, color .2s; font-size: 0.96rem; }
.footer__col a:hover { opacity: 1; color: var(--green-logo); }
.footer__logo { width: 50px; height: 50px; border-radius: 13px; background: var(--cream-2); padding: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.85rem; opacity: .7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; opacity: .85; transition: .2s; }
.footer__social a:hover { background: rgba(255,255,255,.1); opacity: 1; transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .igec-root[data-variant="b"] .hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .igec-root[data-variant="b"] .hero__lead { margin-left: auto; }
  .igec-root[data-variant="b"] .hero__actions, .igec-root[data-variant="b"] .hero__meta { justify-content: center; }
  .igec-root[data-variant="b"] .hero__art { order: -1; margin-bottom: 10px; }
  .historia__grid { grid-template-columns: 1fr; }
  .historia__art { display: none; }
  .servicios__grid { grid-template-columns: 1fr; }
  .profes__grid { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr; }
  .contacto__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.is-open { display: flex; }
}
@media (max-width: 540px) {
  .igec-root { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .profes__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 14px 24px; }
}
