/* =========================================================
   T-Accounta X — Hoja de estilos principal (2026)
   Sin dependencias: CSS moderno con custom properties.
   ========================================================= */

:root {
  /* Marca (colores originales del sitio) */
  --brand: #b71174;
  --brand-600: #960d5f;
  --brand-50: #fbeef5;
  --accent: #f9b133;
  --accent-600: #e09a1c;
  --teal: #68abbf;

  /* Neutros */
  --ink: #0e1a2b;
  --ink-2: #1b2a40;
  --text: #2b3445;
  --muted: #5d6779;
  --line: #e4e7ee;
  --surface: #f5f6fa;
  --bg: #ffffff;

  /* Sistema */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 1px 3px rgba(14, 26, 43, .08);
  --shadow: 0 10px 30px -12px rgba(14, 26, 43, .18);
  --shadow-lg: 0 24px 60px -20px rgba(14, 26, 43, .30);
  --container: 1200px;
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--surface); }
.section--dark { background: var(--ink); color: #c9d1de; }
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--accent); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #aab4c4; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #dfe5ee; }
.topbar a:hover { color: var(--accent); }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info i { color: var(--accent); margin-right: 6px; }
.topbar__social { display: flex; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand__name span { color: var(--brand); }
.brand__tag { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-weight: 500; font-size: .95rem; color: var(--text);
  position: relative;
}
.nav__link:hover { color: var(--brand); background: var(--brand-50); }
.nav__link[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer; color: var(--ink); font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(183, 17, 116, .6); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(249, 177, 51, .7); }
.btn--accent:hover { background: var(--accent-600); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 760px); display: flex; align-items: center;
  color: #e6ebf3; padding: 96px 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(183, 17, 116, .45), transparent 60%),
    linear-gradient(100deg, rgba(14, 26, 43, .96) 0%, rgba(14, 26, 43, .82) 45%, rgba(14, 26, 43, .45) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #ffd27f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: #c3cddb; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 720px; }
.stat__num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { font-size: .9rem; color: #9fabbd; margin-top: 6px; }

/* ---------- Page hero (interiores) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(80px, 12vw, 136px) 0 clamp(64px, 9vw, 96px);
  color: #c9d2df;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(14, 26, 43, .95) 10%, rgba(14, 26, 43, .75) 60%, rgba(150, 13, 95, .55));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { max-width: 620px; font-size: 1.125rem; margin: 0; }
.breadcrumb { display: flex; gap: 10px; font-size: .88rem; margin-bottom: 18px; color: #9fabbd; }
.breadcrumb a { color: #dfe5ee; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-size: 1.4rem; margin-bottom: 22px;
}
.card__icon--accent { background: #fff5e3; color: var(--accent-600); }
.card__icon--teal { background: #e8f4f7; color: #3f8ba1; }
.card--feature { position: relative; overflow: hidden; padding: 44px; }
.card--feature::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 177, 51, .22), transparent 70%);
}
.card--feature h2 { font-size: 1.6rem; letter-spacing: .02em; }
.card--feature p { color: var(--muted); }

.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); font-size: .98rem; }
.quote {
  margin: 16px 0 0; padding: 14px 18px; border-left: 3px solid var(--accent);
  background: #fffaf0; border-radius: 0 10px 10px 0; font-style: italic; color: var(--text); font-size: .95rem;
}

/* ---------- Media / gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 14px;
  padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow);
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); line-height: 1; }
.media-badge small { color: var(--muted); }
.media-badge i { font-size: 1.4rem; color: var(--brand); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--form { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.split--contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: stretch; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.lead { font-size: 1.15rem; color: var(--text); }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem;
  position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand);
}
.num-list { counter-reset: n; }
.num-list li { counter-increment: n; position: relative; padding-left: 40px; margin-bottom: 10px; }
.num-list li::before {
  content: counter(n); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700;
}

/* ---------- Founders ---------- */
.person { display: flex; gap: 18px; align-items: center; padding: 22px; }
.person img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.person h3 { font-size: 1.05rem; margin: 0 0 2px; }
.person p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- Services ---------- */
.service-preview { display: flex; flex-direction: column; height: 100%; color: inherit; }
.service-preview:hover { color: inherit; }
.service-preview h3 { font-size: 1.15rem; }
.service-preview p { color: var(--muted); font-size: .97rem; flex: 1; }
.link-arrow { font-weight: 600; color: var(--brand); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .2s var(--ease); }
.service-preview:hover .link-arrow i, .link-arrow:hover i { transform: translateX(4px); }

.services-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.services-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.services-nav__title { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.services-nav ul { display: flex; flex-direction: column; gap: 6px; }
.services-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px;
  color: var(--text); font-weight: 500; border: 1px solid transparent; transition: all .2s var(--ease);
}
.services-nav a i { width: 20px; text-align: center; color: var(--muted); transition: color .2s; }
.services-nav a:hover { background: #fff; border-color: var(--line); color: var(--ink); }
.services-nav a.is-active { background: #fff; border-color: var(--line); color: var(--brand); box-shadow: var(--shadow-sm); font-weight: 600; }
.services-nav a.is-active i { color: var(--brand); }
.services-nav .card { padding: 24px; margin-top: 24px; background: var(--ink); color: #c9d1de; border: 0; }
.services-nav .card h4 { color: #fff; }
.services-nav .card p { font-size: .92rem; }

.service { padding: 40px; margin-bottom: 32px; }
.service:hover { transform: none; }
.service__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.service__head .card__icon { margin: 0; flex: none; }
.service__head h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 6px 0 0; }
.service__img { border-radius: var(--radius); overflow: hidden; margin: 24px 0 28px; aspect-ratio: 16 / 7; }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service h3 { font-size: 1.1rem; margin-top: 8px; }
.service p { text-align: justify; hyphens: auto; }
.service .check-list { display: grid; grid-template-columns: 1fr; gap: 4px 28px; margin-top: 8px; }
.service .check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Clients ---------- */
.client {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 32px 24px;
}
.client__logo {
  width: 96px; height: 96px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease);
}
.client:hover .client__logo { transform: scale(1.06) rotate(-2deg); }
.client h3 { font-size: .98rem; letter-spacing: 0; margin: 0; min-height: 2.4em; display: flex; align-items: center; }
.client a, .client .client__nolink { font-size: .85rem; word-break: break-all; }
.client .client__nolink { color: var(--muted); }
.filter-bar { display: flex; justify-content: center; margin-bottom: 40px; }
.search {
  position: relative; width: 100%; max-width: 440px;
}
.search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input[type="search"] { padding-left: 46px; border-radius: 999px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; display: none; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(28px, 4vw, 48px); }
.form-card:hover { transform: none; }
.fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.fieldset legend {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; color: var(--ink); margin-bottom: 20px; padding: 0;
}
.fieldset legend .step {
  width: 30px; height: 30px; border-radius: 9px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: .85rem;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
textarea { resize: vertical; min-height: 140px; }
input::placeholder, textarea::placeholder { color: #9aa3b2; }
input:hover, textarea:hover { border-color: #cfd4de; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(183, 17, 116, .12); }
.field.has-error input { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .1); }
.field .error-msg { display: none; color: #c23636; font-size: .82rem; margin-top: 6px; }
.field.has-error .error-msg { display: block; }

.choices { display: flex; gap: 12px; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 500; cursor: pointer; transition: all .2s;
}
.choice span::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c3c9d4; transition: all .2s;
}
.choice input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.choice input:checked + span::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }

.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 28px; }
.form-footer small { color: var(--muted); }

.alert { border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.alert i { font-size: 1.6rem; margin-top: 2px; }
.alert--success { background: #ecf8f1; border: 1px solid #bfe6cf; color: #1d5b3a; }
.alert--success i { color: #22a05b; }
.alert--error { background: #fdf0f0; border: 1px solid #f3c7c7; color: #7a2323; }
.alert--error i { color: #d64545; }
.alert h2, .alert h3 { color: inherit; margin-bottom: .3em; }
.alert ul { list-style: disc; padding-left: 20px; }

/* ---------- Contact ---------- */
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 18px; padding: 24px; align-items: flex-start; }
.contact-item .card__icon { margin: 0; flex: none; width: 50px; height: 50px; font-size: 1.15rem; }
.contact-item h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-item p, .contact-item li { margin: 0; color: var(--muted); font-size: .97rem; }
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--brand); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 460px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand) 0%, #7d0b50 100%);
  color: #f7dbe9; padding: clamp(40px, 6vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 177, 51, .45), transparent 70%);
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; max-width: 560px; }
.cta > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #98a3b6; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #c9d1de; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand__tag { color: #7f8aa0; }
.footer-links li { margin-bottom: 10px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contact i { color: var(--accent); margin-top: 6px; width: 16px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #dfe5ee;
}
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 14px;
  border: 0; background: var(--brand); color: #fff; font-size: 1rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-600); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-layout { grid-template-columns: 1fr; }
  .services-nav { position: static; }
  .services-nav ul { flex-direction: row; flex-wrap: wrap; }
  .services-nav .card { display: none; }
}

@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 1.02rem; }
  .nav__link[aria-current="page"] { background: var(--brand-50); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 12px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--form, .split--contact { grid-template-columns: 1fr; }
  .sticky-aside { position: static; }
  .topbar__social { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .container { padding-inline: 16px; }
  .grid-2, .grid-3, .grid-4, .form-grid, .gallery { grid-template-columns: 1fr; }
  .service .check-list--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .card { padding: 26px; }
  .service { padding: 24px; }
  .service__img { aspect-ratio: 16 / 9; }
  .service p { text-align: left; }
  .hero { padding: 72px 0; min-height: auto; }
  .hero__stats { gap: 28px; }
  .topbar__info span:not(:first-child) { display: none; }
  .brand__tag { display: none; }
  .services-nav a { padding: 9px 12px; font-size: .9rem; }
  .media-badge { left: 14px; bottom: 14px; }
  .map, .map iframe { min-height: 340px; }
}
