:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-2: #eef5f3;
  --ink: #202425;
  --muted: #5d6665;
  --line: #dce4e1;
  --brand: #0f766e;
  --brand-dark: #0a4f4a;
  --accent: #d85d55;
  --gold: #b98f3b;
  --soft: #e7efec;
  --shadow: 0 20px 60px rgba(32, 36, 37, 0.10);
  --shadow-soft: 0 12px 32px rgba(32, 36, 37, 0.08);
  --radius: 8px;
  --container: 1360px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-elastic-in-1: cubic-bezier(.5, -0.5, .7, 1.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 246, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(32, 36, 37, 0.06);
}

.header-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), transparent 45%),
    var(--brand);
  box-shadow: 0 10px 28px rgba(15, 118, 110, .22);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
}

.brand-tagline {
  color: var(--muted);
  font-size: .78rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
}

.nav-link {
  position: relative;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 650;
  font-size: .94rem;
  transition: color .2s var(--ease), background .2s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand-dark);
  background: rgba(15, 118, 110, .08);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(32, 36, 37, .15);
}

.nav-cta:hover {
  background: var(--brand-dark);
}

.dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 310px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
}

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: grid;
  gap: 2px;
  padding: 12px;
  border-radius: 7px;
  color: var(--ink);
}

.dropdown-panel a:hover {
  background: var(--surface-2);
}

.dropdown-panel a.is-active {
  background: rgba(15, 118, 110, .08);
  color: var(--brand-dark);
}

.dropdown-panel span {
  color: var(--muted);
  font-size: .84rem;
}

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 64px 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 24px;
}

.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));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.35rem, 4.35vw, 4.35rem);
  max-width: 1120px;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  max-width: 850px;
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  max-width: 720px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}

.section-head .lead {
  max-width: 520px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    linear-gradient(110deg, rgba(247,248,246,.98) 0%, rgba(247,248,246,.94) 48%, rgba(238,245,243,.88) 100%),
    radial-gradient(circle at 88% 18%, rgba(15, 118, 110, .10), transparent 34%),
    linear-gradient(90deg, rgba(15,118,110,.055) 1px, transparent 1px),
    linear-gradient(rgba(15,118,110,.045) 1px, transparent 1px);
  background-size: auto, auto, 92px 92px, 92px 92px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  box-shadow: 0 12px 24px rgba(15, 118, 110, .20);
}

.button:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
  box-shadow: 0 18px 34px rgba(15, 118, 110, .24);
}

.button.secondary {
  background: rgba(255,255,255,.68);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--surface);
  border-color: var(--brand);
}

.button.ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--line);
  box-shadow: none;
}

.button.ghost:hover {
  background: var(--surface-2);
  border-color: var(--brand);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 118, 110, .16);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--brand-dark);
  font-size: .9rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
}

.hero-panel {
  position: relative;
  z-index: 2;
  padding: 26px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.76);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel-grid {
  display: grid;
  gap: 14px;
}

.mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--brand-dark);
  font-weight: 850;
}

.mini-card strong {
  display: block;
  margin-bottom: 2px;
}

.mini-card span {
  color: var(--muted);
  font-size: .92rem;
}

.hero-note {
  margin-top: 18px;
  padding: 16px;
  border-left: 3px solid var(--accent);
  background: rgba(216, 93, 85, .08);
  color: var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.ml6 {
  position: relative;
  font-weight: 900;
}

.ml6 .text-wrapper {
  position: relative;
  display: block;
  padding-top: .08em;
  padding-right: .05em;
  padding-bottom: .12em;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.ml6 .word {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
}

.ml6 .letter {
  display: inline-block;
  line-height: 1em;
  transform: translateY(1.1em);
  transition: transform .38s var(--ease);
  will-change: transform;
}

.ml6.is-animated .letter {
  transform: translateY(0);
}

.btnblur-container {
  display: inline-flex;
}

.btnblur {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 6px;
  background-color: var(--ink);
  color: white;
  font-size: .94rem;
  font-weight: 850;
  border: 1px solid var(--accent);
  box-shadow: 0 0 4px var(--accent), 0 12px 24px rgba(32, 36, 37, .18);
  cursor: pointer;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.authority-band {
  position: relative;
  z-index: 2;
  margin-top: -26px;
}

.authority-panel {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.authority-item {
  min-height: 132px;
  padding: 22px;
  background: var(--surface);
  display: grid;
  align-content: center;
  gap: 4px;
}

.authority-item strong {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

.authority-item span {
  color: var(--muted);
}

.service-card,
.value-card,
.benefit-card,
.step-card,
.faq-item,
.contact-card,
.related-card,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.65) inset;
}

.service-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, .28);
  box-shadow: var(--shadow-soft);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card p,
.value-card p,
.benefit-card p,
.step-card p,
.related-card p,
.legal-card p {
  color: var(--muted);
}

.service-card .icon {
  width: 48px;
  height: 48px;
}

.service-card .card-link {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 850;
}

.card-link::after {
  content: "->";
  transition: transform .18s var(--ease);
}

.card-link:hover::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--surface-2);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(32,36,37,.22));
}

.content-stack {
  display: grid;
  gap: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .45em;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.45);
}

.process {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 26px;
  min-height: 230px;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.benefit-card,
.value-card,
.related-card,
.legal-card {
  padding: 24px;
  display: grid;
  gap: 14px;
}

.highlight-band {
  background: var(--ink);
  color: #fff;
}

.highlight-band .eyebrow,
.highlight-band .lead,
.highlight-band p {
  color: rgba(255,255,255,.72);
}

.highlight-band .eyebrow::before {
  background: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.stat span {
  color: rgba(255,255,255,.72);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 850;
}

.faq-question::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-dark);
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height .25s var(--ease);
}

.faq-answer p {
  padding: 0 22px 22px;
}

.cta-block {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15,118,110,.94), rgba(10,79,74,.95)),
    url("../assets/documentos-cta.webp") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.cta-block .lead {
  color: rgba(255,255,255,.78);
}

.cta-block .button.secondary {
  background: #fff;
  color: var(--ink);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 72px;
  background: var(--surface-2);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(238,245,243,.98) 0%, rgba(238,245,243,.88) 52%, rgba(238,245,243,.42) 100%),
    var(--page-image, url("../assets/servicios-documentos.png")) center / cover no-repeat;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .92rem;
}

.breadcrumb a {
  color: var(--brand-dark);
  font-weight: 750;
}

.page-hero p {
  margin-top: 20px;
}

.service-intro {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.related-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 32px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 750;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15,118,110,.12);
}

.form-note {
  color: var(--muted);
  font-size: .9rem;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(15,118,110,.10);
  color: var(--brand-dark);
  font-weight: 750;
}

.form-status.is-visible {
  display: block;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
}

.map-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(15,118,110,.08) 1px, transparent 1px),
    linear-gradient(rgba(15,118,110,.08) 1px, transparent 1px),
    #eef5f3;
  background-size: 28px 28px;
}

.map-marker {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(15,118,110,.28);
}

.avatar-cluster {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.avatar-wrap {
  position: relative;
  display: flex;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.avatar-wrap.one { width: 52px; height: 52px; }
.avatar-wrap.two { width: 78px; height: 78px; }
.avatar-wrap.three { width: 104px; height: 104px; }

.avatar {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpath d='M49.677.001L50 0c27.596 0 50 22.404 50 50a49.459 49.459 0 01-2.293 15h-.002a5.3 5.3 0 01-6.5 3.473 17.978 17.978 0 00-23.21 20.846 5.3 5.3 0 01-3.473 6.5A50 50 0 0149.677 100H50C22.404 100 0 77.596 0 50S22.081.001 49.677.001z' /%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd'%3E%3Cpath d='M49.677.001L50 0c27.596 0 50 22.404 50 50a49.459 49.459 0 01-2.293 15h-.002a5.3 5.3 0 01-6.5 3.473 17.978 17.978 0 00-23.21 20.846 5.3 5.3 0 01-3.473 6.5A50 50 0 0149.677 100H50C22.404 100 0 77.596 0 50S22.081.001 49.677.001z' /%3E%3C/svg%3E");
}

.indicator {
  display: block;
  width: 20%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: rgb(0, 150, 20);
  border-radius: 50%;
  position: absolute;
  right: 4%;
  bottom: 4%;
  border: 2px solid #fff;
}

.site-footer {
  background: #1f2423;
  color: #fff;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand .brand-mark {
  margin-bottom: 16px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255,255,255,.68);
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  font-size: .9rem;
}

.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-stagger > * {
  transition-delay: calc(var(--stagger-index, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .ml6 .letter,
  .js-reveal {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    max-height: calc(100vh - 100px);
    overflow: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link,
  .nav-cta {
    margin: 0;
    padding: 13px 14px;
  }

  .dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: grid;
  }

  .hero-inner,
  .split,
  .service-intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .section-head {
    display: grid;
  }

  .grid-3,
  .grid-4,
  .stat-grid,
  .related-services,
  .authority-panel,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .header-inner,
  .container,
  .hero-inner {
    width: min(100% - 28px, var(--container));
  }

  .brand-tagline {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-tight {
    padding: 46px 0;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-panel,
  .contact-form,
  .cta-block {
    padding: 22px;
  }

  .authority-panel,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-grid,
  .related-services,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .image-frame,
  .image-frame img {
    min-height: 300px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
