/* GEMA, propuesta de home. Zola Design 2026.
   Forma: botones en cápsula, tarjetas 22px, campos 12px. Un solo acento: ciruela de marca. */
:root {
  --plum: #840e5c;
  --plum-deep: #5c0940;
  --plum-soft: #f7ecf2;
  --steel: #a9b8c6;
  --steel-soft: #eef2f6;
  --ink: #18151d;
  --muted: #5e5866;
  --line: #e8e4ec;
  --bg: #fcfbfd;
  --white: #fff;
  --ok: #1d9a68;

  --r-card: 22px;
  --r-field: 12px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Sora", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 18ch; }
.lead { color: var(--muted); font-size: 19px; max-width: 52ch; margin-top: 14px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--plum); }
.link i { transition: transform .3s var(--ease); }
.link:hover i { transform: translateX(4px); }

/* Símbolo del logo encima de cada título */
.iso { display: block; width: 40px; height: auto; margin-bottom: 18px; }
.hero .iso { width: 46px; margin-bottom: 22px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 99px; font-weight: 600; font-size: 16px; white-space: nowrap; transition: transform .2s var(--ease), background .2s, box-shadow .3s var(--ease), color .2s; }
.btn:active { transform: scale(.97); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--primary { background: var(--plum); color: #fff; box-shadow: 0 8px 24px -10px rgba(132, 14, 92, .55); }
.btn--primary:hover { background: var(--plum-deep); box-shadow: 0 12px 28px -10px rgba(132, 14, 92, .6); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--plum); color: var(--plum); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--light { background: #fff; color: var(--plum); }
.btn--light:hover { background: var(--plum-soft); }
.btn--outline-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Header ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--pad); pointer-events: none; }
.nav__in { pointer-events: auto; max-width: calc(var(--wrap) - 2 * var(--pad)); margin: 0 auto; height: 68px; padding: 0 10px 0 24px; display: flex; align-items: center; gap: 28px; border-radius: 99px; background: #fff; box-shadow: 0 10px 34px -14px rgba(40, 12, 32, .32); transition: box-shadow .3s var(--ease), background .3s; }
.nav.is-scrolled .nav__in { box-shadow: 0 14px 40px -16px rgba(40, 12, 32, .4); }
.nav__logo { flex: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav__links > a, .drop__btn { white-space: nowrap; padding: 10px 14px; border-radius: 99px; font-weight: 500; font-size: 15.5px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s; }
.nav__links > a:hover, .drop__btn:hover, .drop.is-open .drop__btn { background: var(--plum-soft); color: var(--plum); }
.drop { position: relative; }
.drop__btn i { font-size: 13px; transition: transform .3s var(--ease); }
.drop.is-open .drop__btn i { transform: rotate(180deg); }
.drop__panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 48px -20px rgba(60, 20, 50, .25); display: grid; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
.drop__panel--wide { grid-template-columns: 1fr 1fr; min-width: 520px; }
.drop.is-open .drop__panel { opacity: 1; visibility: visible; transform: none; }
.drop__panel a { padding: 10px 14px; border-radius: 10px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.drop__panel a:hover { background: var(--plum-soft); color: var(--plum); }
.drop__panel a i { color: var(--steel); }
.nav__end { display: flex; align-items: center; gap: 12px; }
.nav__social { display: flex; gap: 2px; }
.nav__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; color: var(--plum); transition: background .2s, color .2s; }
.nav__social a:hover { background: var(--plum); color: #fff; }

.status { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 99px; font-size: 14.5px; font-weight: 500; background: var(--steel-soft); color: var(--ink); white-space: nowrap; transition: background .2s; }
.status:hover { background: #e3e9ef; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(29, 154, 104, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(29, 154, 104, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 154, 104, 0); } }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--steel-soft); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav[hidden] { display: none; }
.mnav { pointer-events: auto; position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px; padding: 110px var(--pad) 40px; background: var(--plum); color: #fff; text-align: center; overflow-y: auto; animation: mnavIn .35s var(--ease) both; }
.mnav::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); pointer-events: none; }
@keyframes mnavIn { from { opacity: 0; } }
.mnav__links { display: grid; gap: 4px; }
.mnav__links a { padding: 8px 12px; font-family: var(--display); font-size: clamp(28px, 7.5vw, 38px); font-weight: 600; letter-spacing: -0.02em; animation: cardIn .6s var(--ease) both; }
.mnav__links a:nth-child(2) { animation-delay: .04s; } .mnav__links a:nth-child(3) { animation-delay: .08s; }
.mnav__links a:nth-child(4) { animation-delay: .12s; } .mnav__links a:nth-child(5) { animation-delay: .16s; }
.mnav__links a:hover { color: var(--plum-soft); }
.mnav .btn { width: min(100%, 340px); }
.mnav__social { display: flex; gap: 10px; }
.mnav__social a { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: background .2s; }
.mnav__social a:hover { background: rgba(255, 255, 255, .14); }
html.menu-open { overflow: hidden; }
.nav.is-menu .nav__in { background: transparent; box-shadow: none; }
.nav.is-menu .nav__logo img { filter: brightness(0) invert(1); }
.nav.is-menu .status { background: rgba(255, 255, 255, .14); color: #fff; }
.nav.is-menu .burger { background: rgba(255, 255, 255, .16); }
.nav.is-menu .burger span { background: #fff; }

/* ---------- Hero (video a pantalla completa) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #2a1022; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); will-change: transform; animation: heroFade 1.6s var(--ease) both; }
@keyframes heroFade { from { opacity: 0; } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 8, 30, .78) 0%, rgba(40, 8, 30, .45) 45%, rgba(40, 8, 30, .05) 75%), linear-gradient(0deg, rgba(40, 8, 30, .55) 0%, rgba(40, 8, 30, 0) 45%); }
.hero__in { position: relative; will-change: transform, opacity; width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding-top: 140px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__copy { animation: cardIn 1.1s .2s var(--ease) both; }
.hero h1 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -0.035em; max-width: 15ch; }
.hero__sub { margin-top: 22px; font-size: 20px; color: rgba(255, 255, 255, .86); max-width: 42ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hours { width: 340px; color: var(--ink); background: rgba(255, 255, 255, .96); border-radius: var(--r-card); padding: 22px; box-shadow: 0 30px 60px -28px rgba(20, 5, 15, .6); animation: cardIn 1s .45s var(--ease) both; }
@keyframes cardIn { from { transform: translateY(24px); opacity: 0; } }
.hours__head h2 { font-size: 18px; letter-spacing: -0.01em; }
.hours__now { margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hours__now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); flex: none; }
.hours__now.is-open { color: var(--ok); }
.hours__now.is-open::before { background: var(--ok); }
.hours__list { margin-top: 14px; display: grid; gap: 2px; }
.hours__list > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 8px 12px; border-radius: 12px; font-size: 14.5px; transition: background .3s; }
.hours__list dt { font-weight: 600; }
.hours__list dd { text-align: right; color: var(--muted); line-height: 1.45; }
.hours__list > div.is-today { background: var(--plum-soft); }
.hours__list > div.is-today dt { color: var(--plum); }
.hours__addr { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--plum); }

/* ---------- Novedades ---------- */
.news { padding: clamp(40px, 5vw, 64px) 0 0; }
.news__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.news__title { font-size: 22px; display: inline-flex; align-items: center; gap: 10px; }
.news__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--plum); box-shadow: 0 0 0 0 rgba(132, 14, 92, .45); animation: pulsePlum 2.4s infinite; }
@keyframes pulsePlum { 70% { box-shadow: 0 0 0 8px rgba(132, 14, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(132, 14, 92, 0); } }
.news__sub { color: var(--muted); font-size: 15.5px; }
.news__grid { margin-top: 22px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.notice { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.notice__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.notice__tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--plum-soft); color: var(--plum); font-weight: 600; }
.notice h3 { margin-top: 6px; font-size: 20px; letter-spacing: -0.015em; line-height: 1.2; }
.notice p { font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.notice__more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; color: var(--plum); display: inline-flex; align-items: center; gap: 8px; }
.notice__more i { transition: transform .3s var(--ease); }
.notice__more:hover i { transform: translateX(4px); }
.notice--main { background: var(--plum); color: #fff; box-shadow: none; position: relative; overflow: hidden; }
.notice--main::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); pointer-events: none; }
.notice--main h3 { font-size: 24px; }
.notice--main p, .notice--main .notice__meta { color: rgba(255, 255, 255, .82); }
.notice--main .notice__tag { background: rgba(255, 255, 255, .16); color: #fff; }
.notice--main .notice__more { color: #fff; }

/* ---------- Bento destacados ---------- */
.feat { padding: var(--sec) 0; }
.bento { margin-top: 48px; display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: minmax(260px, auto) minmax(260px, auto); gap: 16px; }
.cell { border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cell:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(60, 20, 50, .35); }
.cell > div { margin-top: auto; }
.cell h3 { font-size: 24px; max-width: 18ch; }
.cell p { margin-top: 10px; font-size: 16px; max-width: 42ch; }
.cell__icon { font-size: 34px; }
.cell__more { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.cell__more i { transition: transform .3s var(--ease); }
.cell:hover .cell__more i { transform: translateX(4px); }
.cell:nth-child(1) { grid-row: span 2; }
.cell:nth-child(2) { grid-column: span 2; }
.cell--plum { background: var(--plum); color: #fff; }
.cell--plum h3 { font-size: clamp(30px, 3vw, 40px); }
.cell--plum p { color: rgba(255, 255, 255, .82); font-size: 18px; }
.cell--plum::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; top: -170px; border-radius: 50%; border: 56px solid rgba(255, 255, 255, .07); pointer-events: none; }
.cell--steel { background: var(--steel-soft); }
.cell--steel .cell__icon, .cell--line .cell__icon, .cell--blush .cell__icon { color: var(--plum); }
.cell--steel p, .cell--line p, .cell--blush p { color: var(--muted); }
.cell--line { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cell--blush { background: var(--plum-soft); }
.cell--steel .cell__more, .cell--line .cell__more, .cell--blush .cell__more { color: var(--plum); }

/* ---------- Servicios: dos sliders ---------- */
.svc { padding: var(--sec) 0; background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.slider { margin-top: 56px; }
.slider + .slider { margin-top: 64px; }
.slider__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.slider__title { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.slider__title i { color: var(--plum); font-size: 24px; }
.slider__nav { display: flex; gap: 8px; }
.slider__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, color .2s, box-shadow .2s, opacity .2s; }
.slider__btn:hover:not(:disabled) { background: var(--plum); color: #fff; box-shadow: none; }
.slider__btn:disabled { opacity: .35; cursor: default; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 330px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; --bleed: calc((100vw - min(100vw, var(--wrap))) / 2 + var(--pad)); margin-inline: calc(var(--bleed) * -1); padding-inline: var(--bleed); scroll-padding-inline: var(--bleed); padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.scard { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.scard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(60, 8, 42, 0) 30%, rgba(60, 8, 42, .55) 60%, rgba(70, 8, 48, .94) 100%); transition: opacity .4s; }
.scard:hover img { transform: scale(1.06); }
.scard__icon { position: absolute; top: 16px; left: 16px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: #fff; color: var(--plum); transition: background .3s, color .3s; }
.scard:hover .scard__icon { background: var(--plum); color: #fff; }
.scard__body { padding: 22px; display: grid; gap: 6px; }
.scard__body b { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em; line-height: 1.15; }
.scard__body > span { font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, .84); }

/* ---------- Quiénes somos ---------- */
.about { padding: var(--sec) 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__copy > p { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 52ch; }
.about__copy .link { margin-top: 18px; }
.vision { margin-top: 40px; padding: 28px; border-radius: var(--r-card); background: var(--steel-soft); }
.vision h3 { font-size: 20px; }
.vision p { margin-top: 10px; color: var(--muted); }
.vision summary { margin-top: 12px; cursor: pointer; font-weight: 600; color: var(--plum); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.vision summary::-webkit-details-marker { display: none; }
.vision summary::after { content: "+"; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.vision details[open] summary::after { transform: rotate(45deg); }

/* ---------- Certificados ---------- */
.cert { padding-bottom: var(--sec); }
.cert__box { position: relative; overflow: hidden; border-radius: 32px; background: var(--plum); color: #fff; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: end; }
.cert__box h2 { font-size: clamp(32px, 4vw, 52px); max-width: 14ch; }
.cert__box p { margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: 19px; max-width: 44ch; }
.cert__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cert__mark { position: absolute; right: -60px; top: -90px; width: 360px; opacity: .1; filter: brightness(0) invert(1); pointer-events: none; }

/* ---------- Blog ---------- */
.blog { padding-bottom: var(--sec); }
.blog__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.blog__track { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 12px 12px 22px; border-radius: var(--r-card); background: #f4f0f6; transition: background .3s, transform .4s var(--ease); }
.post:hover { background: var(--plum-soft); transform: translateY(-4px); }
.post__meta, .post h3 { padding: 0 8px; }
.post img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--steel-soft); transition: transform .5s var(--ease); }
.post__meta { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.post h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; transition: color .2s; }
.post:hover h3 { color: var(--plum); }

/* ---------- Contacto (solo datos) ---------- */
.contact { padding: var(--sec) 0; background: #fff; border-top: 1px solid var(--line); }
.cgrid { margin-top: 48px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.cgrid__photo { grid-row: span 3; border-radius: var(--r-card); overflow: hidden; min-height: 420px; }
.cgrid__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ccard { border-radius: var(--r-card); padding: 26px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; transition: box-shadow .25s, transform .4s var(--ease); }
a.ccard:hover { box-shadow: inset 0 0 0 1.5px var(--plum); transform: translateY(-3px); }
.ccard__icon { font-size: 28px; color: var(--plum); margin-bottom: 14px; }
.ccard__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.ccard b { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.ccard__mail { font-size: 19px !important; overflow-wrap: anywhere; }
.ccard__sub { color: var(--muted); font-size: 15px; }
.ccard__cta { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--plum); display: inline-flex; gap: 6px; align-items: center; }
.ccard--wa { background: var(--plum); color: #fff; box-shadow: none; }
.ccard--wa .ccard__icon, .ccard--wa .ccard__cta { color: #fff; }
.ccard--wa .ccard__label { color: rgba(255, 255, 255, .78); }
.ccard--wa b { font-size: 30px; }
a.ccard--wa:hover { box-shadow: 0 20px 40px -20px rgba(132, 14, 92, .7); }
.ccard--phones { grid-column: span 2; }
.ccard--social { background: var(--plum-soft); box-shadow: none; }
.sbtns { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.sbtns a { height: 42px; padding: 0 16px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; background: #fff; color: var(--plum); transition: background .2s, color .2s; }
.sbtns a i { font-size: 19px; }
.sbtns a:hover { background: var(--plum); color: #fff; }
.phones { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.phones a { padding: 4px 0 4px 14px; border-left: 2px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 16px; display: grid; transition: box-shadow .2s, color .2s; white-space: nowrap; }
.phones a span { font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); }
.phones a:hover { border-left-color: var(--plum); color: var(--plum); }

/* ---------- Footer ---------- */
.foot { background: var(--plum-deep); color: rgba(255, 255, 255, .78); padding: 72px 0 0; font-size: 15px; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; }
.foot__logo { height: 52px; width: auto; filter: brightness(0) invert(1); }
.foot__addr { margin-top: 18px; max-width: 28ch; display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.foot__addr i { margin-top: 3px; font-size: 18px; color: #fff; flex: none; }
.foot__phones { margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.foot__phones i { margin-top: 3px; font-size: 18px; color: #fff; flex: none; }
.foot__phones ul { display: grid; gap: 4px; }
.foot__phones li { display: flex; gap: 8px; }
.foot__phones span { min-width: 82px; color: rgba(255, 255, 255, .55); }
.foot h2 { font-family: var(--body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 14px; }
.foot__grid > div:not(.foot__brand) { display: grid; align-content: start; gap: 8px; }
.foot a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: rgba(255, 255, 255, .08); transition: background .2s; }
.social a:hover { background: rgba(255, 255, 255, .18); }
.foot__word { display: block; width: 100%; height: auto; margin-top: 64px; }
.foot__bar { margin-top: 40px; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; color: #fff; background: #25d366; box-shadow: 0 14px 30px -10px rgba(18, 140, 70, .6); transition: transform .3s var(--ease); animation: cardIn .8s 1.2s var(--ease) both; }
.wa-float:hover { transform: scale(1.08); }
.wa-float:active { transform: scale(.96); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (min-width: 1181px) { .mnav { display: none !important; } }
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
  .nav__end { margin-left: auto; }
  .cgrid { grid-template-columns: 1fr 1fr; }
  .cgrid__photo { grid-row: auto; grid-column: span 2; min-height: 0; aspect-ratio: 16 / 8; }
}
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; margin-bottom: 0; }
  .hero__in { grid-template-columns: 1fr; padding-top: 120px; }
  .hours { width: auto; max-width: 420px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cell:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .cell:nth-child(2) { grid-column: span 2; }
  .news__grid { grid-template-columns: repeat(3, minmax(280px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); }
  .news__grid::-webkit-scrollbar { display: none; }
  .notice { scroll-snap-align: start; }
  .cert__box { grid-template-columns: 1fr; align-items: start; }
  .blog__track { grid-template-columns: repeat(4, minmax(250px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(var(--pad) * -1); padding-right: var(--pad); }
  .post { scroll-snap-align: start; }
  .phones { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: 10px; }
  .nav__in { height: 60px; gap: 10px; padding: 0 8px 0 16px; }
  .nav__logo img { height: 34px; }
  .nav__end .btn, .nav__social { display: none; }
  .status { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .hero h1 { font-size: 40px; }
  .hero__shade { background: linear-gradient(0deg, rgba(40, 8, 30, .9) 0%, rgba(40, 8, 30, .7) 55%, rgba(40, 8, 30, .35) 100%); }
  .hero__sub { font-size: 17px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .cell:nth-child(n) { grid-column: auto; }
  .cell { padding: 26px; }
  .slider__nav { display: none; }
  .slider__track { grid-auto-columns: 76vw; }
  .cgrid { grid-template-columns: 1fr; }
  .cgrid__photo, .ccard--phones { grid-column: auto; }
  .news__grid { grid-auto-columns: 82vw; grid-template-columns: none; grid-auto-flow: column; }
  .cert__actions .btn { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; font-size: 30px; }
}

/* ---------- Página de certificados ---------- */
.page-head { padding: 150px 0 40px; }
.page-head__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.page-head h1 { font-size: clamp(38px, 4.6vw, 60px); letter-spacing: -0.035em; margin-top: 18px; max-width: 12ch; }
.back { font-size: 15px; }
.steps { list-style: none; display: grid; gap: 8px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.steps li > i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--plum-soft); color: var(--plum); }
.steps span { display: grid; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.steps b { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); }
.portal { padding-bottom: var(--sec); }
.portal__frame { border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(60, 20, 50, .35), 0 0 0 1px var(--line); }
.portal__frame iframe { display: block; width: 100%; height: 640px; border: 0; }
.portal__help { margin-top: 20px; color: var(--muted); text-align: center; }
.portal__help a { color: var(--plum); font-weight: 600; }
@media (max-width: 960px) { .page-head__grid { grid-template-columns: 1fr; } .portal__frame iframe { height: 720px; } }
