/* =========================================================================
   ACTIVIDADES CN — Modern Professional design system (faithful restyle)
   Outfit (display) + Plus Jakarta Sans (body) · clean white + slate + architectural blue
   ========================================================================= */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f4f7fa;
  --bg-soft2:  #eaf0f5;
  --ink:       #16202b;
  --ink-2:     #44525f;
  --muted:     #687684;
  --line:      rgba(22, 32, 43, 0.10);
  --line-2:    rgba(22, 32, 43, 0.06);
  --brand:     #1c5fa6;
  --brand-2:   #2f7fc9;
  --brand-deep:#16456f;
  --brand-tint:#e9f1f9;
  --ok:        #1f7a4d;
  --danger:    #c0392b;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --fs-h1: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);
  --fs-h2: clamp(1.8rem, 1.3rem + 2vw, 2.9rem);
  --fs-h3: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem);
  --fs-lead: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);

  --container: 1200px;
  --gutter: clamp(1.15rem, 0.6rem + 2.6vw, 2.6rem);
  --pad-section: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(22,32,43,0.05), 0 4px 14px -8px rgba(22,32,43,0.18);
  --shadow-md: 0 10px 30px -12px rgba(22,32,43,0.22);
  --shadow-lg: 0 28px 60px -24px rgba(22,32,43,0.30);
  --shadow-brand: 0 12px 26px -12px rgba(28,95,166,0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 200; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 1rem; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); flex: none; }
.brand__roof { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.brand__roof--outer { stroke: var(--brand-2); stroke-width: 2.4; }
.brand__roof--inner { stroke: #fff; stroke-width: 2.2; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.02em; }
.brand__cn { color: var(--brand); margin-left: 0.3em; }
.brand__tag { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-top: 0.34rem; font-weight: 600; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.4rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); }
.btn--solid { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--solid:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn--solid:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--soft { background: var(--brand-tint); color: var(--brand-deep); padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn--soft:hover { background: #dceaf6; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.nav { display: flex; gap: 0.4rem; margin-left: auto; }
.nav a { padding: 0.5rem 0.85rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.nav a:hover { color: var(--brand); background: var(--brand-tint); }
.header__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); position: relative; flex: none; margin-left: auto; }
.burger span { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 76px 0 0; z-index: 99; background: rgba(255,255,255,0.98); backdrop-filter: blur(8px); padding: 1.5rem var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav a { padding: 1rem 0.25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a:hover { color: var(--brand); }

/* ---------- eyebrow / heads ---------- */
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--brand); margin-bottom: 0.9rem; }
.section { padding-block: var(--pad-section); }
section[id] { scroll-margin-top: 90px; }
.section--alt { background: var(--bg-soft); }
.head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.head__title { font-size: var(--fs-h2); }
.head__lead { font-size: var(--fs-lead); color: var(--ink-2); margin-top: 1rem; max-width: 60ch; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 5vw, 6rem); background:
  radial-gradient(120% 90% at 100% 0%, var(--brand-tint) 0%, rgba(233,241,249,0) 55%),
  var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.03em; }
.hero__title .accent { color: var(--brand); }
.hero__lead { font-size: var(--fs-lead); margin-top: 1.4rem; max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero__stats div { display: flex; flex-direction: column-reverse; gap: 0.2rem; }
.hero__stats dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); color: var(--ink); letter-spacing: -0.03em; }
.hero__stats dt { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(22,32,43,0.42), rgba(22,32,43,0) 26%); }
.hero__badge { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; padding: 0.55rem 0.95rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(47,127,201,0.18); }

/* ---------- promo ---------- */
.promo { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.promo:last-child { margin-bottom: 0; }
.promo__top { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.promo__intro { min-width: 0; }
.status { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; padding: 0.4rem 0.85rem; border-radius: 999px; margin-bottom: 1rem; }
.status--live { background: var(--brand-tint); color: var(--brand-deep); }
.status--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); }
.status--sold { background: #eef1f3; color: var(--muted); }
.promo__name { font-size: var(--fs-h3); }
.promo__loc { color: var(--brand); font-weight: 600; font-size: 0.92rem; margin-top: 0.4rem; }
.promo__desc { margin-top: 0.9rem; max-width: 52ch; }
.promo__docs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.promo__lead { border-radius: var(--r-md); overflow: hidden; }
.zoom { display: block; width: 100%; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--bg-soft2); cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.promo__lead .zoom img { aspect-ratio: 16 / 11; }
.zoom:hover img { transform: scale(1.04); }
.zoom::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(22,32,43,0.12), transparent 40%); opacity: 0; transition: opacity 0.3s var(--ease); }
.zoom:hover::after { opacity: 1; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.8rem; margin-top: 1.4rem; }
.gallery .zoom img { aspect-ratio: 4 / 3; }

/* memoria accordion */
.memoria { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.memoria > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0.2rem 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.memoria > summary::-webkit-details-marker { display: none; }
.memoria__chev { width: 11px; height: 11px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform 0.3s var(--ease); flex: none; }
.memoria[open] .memoria__chev { transform: rotate(-135deg); }
.memoria__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem 2rem; padding: 1rem 0 0.5rem; }
.spec h4 { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); margin-bottom: 0.35rem; }
.spec h4::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--brand-2); margin-right: 0.5rem; vertical-align: middle; }
.spec p { font-size: 0.9rem; color: var(--ink-2); }
.memoria__note { font-size: 0.78rem; color: var(--muted); margin-top: 1.2rem; line-height: 1.6; }
.promo > .memoria__note { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__text p { margin-bottom: 1.1rem; max-width: 58ch; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.values li { background: var(--bg); padding: 1.3rem; }
.section--alt .values li { background: var(--bg-soft); }
.values h4 { font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 0.45rem; }
.values p { font-size: 0.9rem; color: var(--ink-2); }

/* ---------- offer ---------- */
.offer { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.2rem; }
.offer__card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.3rem, 2.5vw, 2rem); box-shadow: var(--shadow-sm); }
.offer__card h3 { font-size: var(--fs-h3); margin-bottom: 0.8rem; }
.offer__card h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.offer__card p { font-size: 0.95rem; }
.offer__card--feature { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-brand); border: none; }
.offer__card--feature h3 { color: #fff; }
.offer__card--feature p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.offer__card--feature .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--brand-deep); box-shadow: none; }
.offer__card--feature .btn:hover { background: #eaf2fb; }
.offer__col { display: grid; gap: 1.2rem; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.7rem; margin-top: 1.2rem; }
.services li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0.7rem 1.2rem; font-size: 0.92rem; font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 0.6rem; transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.services li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--brand-2); flex: none; }
.services li:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ---------- markets ---------- */
.markets { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.markets__quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem); line-height: 1.18; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.markets__lead { font-size: var(--fs-lead); max-width: 50ch; }
.tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.6rem; }
.tags li { font-size: 0.85rem; font-weight: 600; color: var(--brand-deep); background: var(--brand-tint); padding: 0.45rem 1rem; border-radius: 999px; }
.markets__map { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.markets__map img { width: 100%; opacity: 0.92; mix-blend-mode: multiply; }

/* ---------- works ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter { padding: 0.55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--ink-2); transition: all 0.2s var(--ease); }
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.work { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); display: flex; flex-direction: column; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work[hidden] { display: none; }
.work__media { position: relative; cursor: zoom-in; }
.work__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }
.work__count { position: absolute; left: 0.85rem; bottom: 0.85rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); line-height: 1; }
.work__count::after { content: " viv."; font-size: 0.7rem; font-weight: 600; opacity: 0.85; }
.work__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.work__body h3 { font-size: 1.02rem; font-weight: 600; }
.work__body > p { font-size: 0.86rem; color: var(--muted); }
.work__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.6rem; }
.chip { font-family: var(--font-display); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: 999px; }
.chip--pm { background: var(--brand-tint); color: var(--brand-deep); }
.chip--dt { background: #eef4ea; color: #43662f; }
.chip--de { background: #f3eee6; color: #7a5a2f; }
.year { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: 0.9rem; }

/* ---------- contact ---------- */
.section--contact { background: var(--bg-soft); }
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__lead { font-size: var(--fs-lead); margin-top: 1rem; max-width: 42ch; }
.contact__details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact__details li { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.contact__details .k { font-family: var(--font-display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 0.2rem; }
.contact__details a, .contact__details li > span:not(.k) { color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.contact__details a:hover { color: var(--brand); }
.contact__form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft); font: inherit; font-size: 0.97rem; color: var(--ink); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #97a1ab; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(28,95,166,0.12); }
[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(192,57,43,0.1) !important; }
.field__err { font-size: 0.78rem; color: var(--danger); min-height: 0; }
.field__err:empty { display: none; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--ink-2); cursor: pointer; }
.checkbox input { margin-top: 0.2rem; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.form-note { font-size: 0.88rem; min-height: 1em; }
.form-note.is-ok { color: var(--ok); }
.form-note.is-err { color: var(--danger); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer .brand__name { color: #fff; }
.footer .brand__cn { color: var(--brand-2); }
.footer .brand__mark { background: rgba(255,255,255,0.1); }
.footer .brand__tag { color: rgba(255,255,255,0.5); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(1.5rem, 3vw, 3rem); padding-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.footer__tag { margin-top: 1.1rem; max-width: 36ch; font-size: 0.92rem; color: rgba(255,255,255,0.6); }
.footer h5 { font-family: var(--font-display); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.55); margin-bottom: 1rem; font-weight: 700; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.95rem; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__legal p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(16,22,30,0.92); backdrop-filter: blur(6px); display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__fig { max-width: min(1100px, 94vw); transform: scale(0.97); transition: transform 0.3s var(--ease); }
.lightbox.is-open .lightbox__fig { transform: scale(1); }
.lightbox__fig img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--r-md); box-shadow: var(--shadow-lg); background: #fff; }
.lightbox__fig figcaption { text-align: center; color: rgba(255,255,255,0.82); font-size: 0.9rem; margin-top: 0.9rem; }
.lightbox__close { position: absolute; top: clamp(0.8rem, 3vw, 1.8rem); right: clamp(0.8rem, 3vw, 1.8rem); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.14); color: #fff; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.lightbox__close:hover { background: rgba(255,255,255,0.26); transform: rotate(90deg); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--rd, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .promo__top { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .markets { grid-template-columns: 1fr; }
  .markets__map { order: -1; max-width: 480px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 1.2rem 2rem; }
}
@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
