/* ============================================================
   NOTARÍA PÚBLICA Nº 97 — Hoja de estilos
   Lic. Jorge Luis Núñez Aguirre · Notario Público
   ============================================================ */

/* ---------- Variables de diseño ---------- */
:root {
  --wine-950: #220402;
  --wine-900: #3A0A08;
  --wine-800: #4A0E0B;
  --wine-700: #6D1116;
  --crimson:  #8E1B1E;
  --crimson-bright: #A32024;

  --gold:        #C9A24B;
  --gold-light:  #E9CD87;
  --gold-deep:   #A98434;
  --gold-pale:   #F5E9CF;

  --cream:       #F4EDE3;
  --cream-soft:  #FAF6EF;
  --ivory:       #FDFBF7;

  --ink:         #2B2118;
  --ink-soft:    #54483B;
  --muted:       #7A6C5D;

  --line:        #E7DCCB;
  --line-soft:   #F0E9DC;

  --shadow-sm: 0 1px 2px rgba(34, 4, 2, 0.06), 0 1px 3px rgba(34, 4, 2, 0.08);
  --shadow-md: 0 6px 22px rgba(34, 4, 2, 0.10);
  --shadow-lg: 0 18px 50px rgba(34, 4, 2, 0.16);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--wine-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--cream { background: var(--cream-soft); }
.section--wine { background: radial-gradient(120% 140% at 50% 0%, #4A0E0B 0%, var(--wine-900) 55%, var(--wine-950) 100%); color: #F3E9D8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section--wine .eyebrow { color: var(--gold-light); }

.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -.01em; margin-bottom: 14px; }
.section--wine .section-title { color: #FBF4E6; }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 720px; margin: 0 auto; }
.section--wine .section-lead { color: #D9CBB4; }

.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }

.gold-rule { width: 64px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin: 0 auto 26px; border-radius: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--wine-950);
  box-shadow: 0 8px 22px rgba(201, 162, 75, .32);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201, 162, 75, .42); }
.btn--wine { background: var(--wine-900); color: #F6EBD7; border-color: var(--wine-900); }
.btn--wine:hover { background: var(--wine-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--wine-900); border-color: rgba(58, 10, 8, .28); }
.btn--outline:hover { border-color: var(--wine-900); background: rgba(58, 10, 8, .04); }
.btn--outline-light { background: transparent; color: #F6EBD7; border-color: rgba(246, 235, 215, .4); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201, 162, 75, .08); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--whatsapp { background: #25D366; color: #06331a; }
.btn--whatsapp:hover { background: #1fb858; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, .4); }

/* ---------- Encabezado / navegación ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(34, 4, 2, .08); }

.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { width: 154px; height: auto; max-height: 58px; flex: none; object-fit: contain; box-shadow: none; }
.brand__name { display: none; }
.brand__sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-block; padding: 10px 14px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  border-radius: 8px; transition: color .16s ease, background .16s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__link:hover { color: var(--wine-900); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--wine-900); }

.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; flex: none; white-space: nowrap; font-weight: 700; font-size: 13px; color: var(--wine-900); }
.header-phone svg { width: 17px; height: 17px; color: var(--crimson); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--wine-900); margin: 4px auto; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #F7EEDD;
  background:
    radial-gradient(90% 90% at 85% 8%, rgba(201, 162, 75, .16), transparent 55%),
    radial-gradient(120% 140% at 50% 0%, #4A0E0B 0%, var(--wine-900) 55%, var(--wine-950) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(201,162,75,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,75,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 88px 0 104px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, .4); padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(201, 162, 75, .06);
}
.hero__title { font-size: clamp(2.5rem, 5.4vw, 4.2rem); font-weight: 800; color: #FBF4E6; letter-spacing: -.015em; margin-bottom: 8px; }
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__name { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 500; color: #E5D4B4; margin-bottom: 22px; }
.hero__name strong { color: #fff; font-weight: 700; }
.hero__text { font-size: 1.1rem; color: #D8C9B0; max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; }
.hero__trust li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #E9DCC4; font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }

.hero__media { display: flex; justify-content: center; align-items: center; }
.hero__portrait { width: min(430px, 86%); max-height: 610px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 28px; box-shadow: 0 34px 70px rgba(0,0,0,.42); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Franja de valores ---------- */
.values-strip { position: relative; z-index: 2; margin-top: -52px; }
.values-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.value-cell { background: #fff; padding: 26px 24px; display: flex; gap: 15px; align-items: flex-start; }
.value-cell__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--gold-pale); display: grid; place-items: center; color: var(--gold-deep); }
.value-cell__icon svg { width: 24px; height: 24px; }
.value-cell h3 { font-size: 1.02rem; margin-bottom: 4px; }
.value-cell p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Tarjetas genéricas ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 75, .55); }

/* ---------- Tarjetas de servicios ---------- */
.service-card { position: relative; overflow: hidden; padding: 32px 28px 28px; }
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  opacity: 0; transition: opacity .22s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 58px; height: 58px; border-radius: 15px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--cream-soft); color: var(--crimson);
  border: 1px solid var(--line);
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.service-card p { font-size: .94rem; color: var(--ink-soft); margin: 0 0 16px; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--crimson); letter-spacing: .02em; }
.service-card__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.service-card__link:hover svg { transform: translateX(4px); }

/* ---------- Apartado de requisitos (acordeón) ---------- */
.accordion { max-width: 880px; margin: 0 auto; }
.accordion__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion__head {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 20px 22px; background: transparent; border: 0; color: var(--wine-900);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.accordion__num { width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--wine-900); color: var(--gold-light); display: grid; place-items: center; font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.accordion__chev { margin-left: auto; width: 26px; height: 26px; color: var(--gold-deep); transition: transform .25s ease; flex: none; }
.accordion__item.open .accordion__chev { transform: rotate(180deg); }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion__body-inner { padding: 4px 24px 24px 78px; }
.req-list { display: grid; gap: 10px; }
.req-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink-soft); }
.req-list li::before { content: ""; width: 8px; height: 8px; flex: none; margin-top: 9px; border-radius: 50%; background: var(--gold); }
.req-note { margin-top: 16px; padding: 12px 16px; background: var(--cream-soft); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 180px; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); margin: 0; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(34,4,2,.45)); opacity: 0; transition: opacity .3s ease; }
.gallery figure:hover::after { opacity: 1; }
.g1 { grid-column: span 5; grid-row: span 2; }
.g2 { grid-column: span 4; grid-row: span 2; }
.g3 { grid-column: span 3; grid-row: span 2; }
.g4 { grid-column: span 3; } .g5 { grid-column: span 3; } .g6 { grid-column: span 3; } .g7 { grid-column: span 3; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--wine-800), var(--wine-900) 60%, var(--wine-950));
  color: #F4EADA; border-radius: var(--radius-lg); padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(201,162,75,.25); }
.cta-band::before { content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(201,162,75,.2); }
.cta-band h2 { color: #FBF4E6; margin-bottom: 6px; }
.cta-band p { color: #DCCDB3; margin: 0; }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Página hero (interior) ---------- */
.page-hero { background: radial-gradient(120% 140% at 50% 0%, #4A0E0B 0%, var(--wine-900) 55%, var(--wine-950) 100%); color: #F4EADA; padding: 70px 0 76px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(201,162,75,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(201,162,75,.05) 1px, transparent 1px); background-size: 46px 46px; opacity: .5; mask-image: radial-gradient(120% 100% at 50% 0%, #000 20%, transparent 75%); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { justify-content: center; color: var(--gold-light); }
.page-hero h1 { color: #FBF4E6; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { color: #D9CBB4; max-width: 680px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Migas de pan ---------- */
.breadcrumb { font-size: 13px; color: var(--muted); margin: 22px 0; }
.breadcrumb a { color: var(--crimson); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gold-deep); }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-media img.portrait { max-height: 620px; object-fit: cover; object-position: top center; }
.about-media--upright { aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: #EEF0F6; }
.about-media--upright img { position: absolute; top: 50%; left: 50%; width: 150%; max-width: none; border-radius: 0; box-shadow: none; transform: translate(-50%, -50%) rotate(-90deg); transform-origin: center; }
.about-media__badge {
  position: absolute; left: -22px; bottom: 30px; background: var(--wine-900); color: var(--gold-light);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
.about-media__badge .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; }
.about-media__badge .lbl { font-size: .82rem; line-height: 1.35; color: #E6D5B2; max-width: 150px; }

.about-list { display: grid; gap: 14px; margin-top: 22px; }
.about-list li { display: flex; gap: 13px; align-items: flex-start; }
.about-list .tick { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--gold-pale); color: var(--gold-deep); display: grid; place-items: center; margin-top: 2px; }
.about-list .tick svg { width: 15px; height: 15px; }
.about-list p { margin: 0; color: var(--ink-soft); }
.about-list strong { color: var(--ink); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.contact-item__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--cream-soft); color: var(--crimson); display: grid; place-items: center; }
.contact-item__icon svg { width: 23px; height: 23px; }
.contact-item h3 { font-size: 1.02rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.contact-item a:hover { color: var(--crimson); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: .96rem;
  background: var(--ivory); color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--wine-950); color: #CDBD9F; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand__name { display: block; color: #F6EBD7; }
.footer-brand .brand__sub { color: #A89477; }
.footer-brand p { font-size: .92rem; color: #B7A68A; max-width: 320px; }
.footer-col h4 { color: #F6EBD7; font-size: 1rem; letter-spacing: .04em; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .92rem; color: #B7A68A; transition: color .16s ease, padding-left .16s ease; }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; font-size: .92rem; color: #B7A68A; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(201,162,75,.16); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .84rem; color: #9B8B70; }
.footer-bottom .slogan { font-family: var(--font-head); font-style: italic; color: var(--gold-light); font-size: .95rem; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 34px rgba(37,211,102,.55); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Botón volver arriba ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 96px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--wine-900);
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .18s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .site-header .brand > span { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .values-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text, .hero__actions, .hero__trust { justify-content: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__trust { justify-content: center; }
  .hero__portrait { width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .section { padding: 64px 0; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav__link { padding: 12px 10px; font-size: 16px; }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .header-phone span { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .values-strip .container { grid-template-columns: 1fr; }
  .values-strip { margin-top: -40px; }
  .hero__inner { padding: 56px 0 80px; }
  .hero__portrait { width: 280px; }
  .gallery { grid-auto-rows: 150px; }
  .g1, .g2, .g3, .g4, .g5, .g6, .g7 { grid-column: span 6; grid-row: span 1; }
  .g1 { grid-column: span 12; grid-row: span 2; }
  .cta-band { padding: 38px 26px; }
  .accordion__body-inner { padding-left: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .about-media__badge { left: 10px; bottom: 14px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 84px; }
}
