:root {
  --navy: #061f3d;
  --navy-2: #082946;
  --green: #0f5634;
  --green-2: #0a442b;
  --gold: #d7a13a;
  --ink: #071f3f;
  --text: #263750;
  --muted: #f7f7f5;
  --line: #dfe4ea;
  --white: #fff;
  --shadow: 0 12px 30px rgba(4, 25, 52, .09);
  --radius: 8px;
  --content: 1320px;
  --gutter: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

.page-shell {
  width: 100%;
  margin: 0;
  background: #fff;
  box-shadow: none;
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--gutter);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  max-width: var(--content);
  margin: 0 auto;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--ink);
  min-width: 210px;
}

.brand .num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: .9;
  letter-spacing: -.03em;
}

.brand .sup {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 2px;
}

.brand .name {
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.06;
  letter-spacing: .03em;
  padding-bottom: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.55vw, 24px);
  font-size: 16px;
  color: #101820;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 28px 0 24px;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: var(--gold);
}

.nav-toggle { display: none; }

.hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(520px, 1.12fr);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5,27,52,1) 0%, rgba(5,27,52,.96) 39%, rgba(5,27,52,.45) 58%, rgba(5,27,52,0) 74%),
    var(--hero-image) center right / cover no-repeat;
}

.hero.home-hero {
  background:
    linear-gradient(90deg, rgba(5,27,52,1) 0%, rgba(5,27,52,.96) 34%, rgba(5,27,52,.54) 52%, rgba(5,27,52,.12) 72%),
    var(--hero-image) center top / cover no-repeat;
}

.hero.hero-tall,
.hero.hero-digital {
  min-height: clamp(490px, 36vw, 604px);
}

.hero-copy {
  padding: clamp(58px, 6vw, 86px) 20px clamp(52px, 5vw, 74px) var(--gutter);
  color: #fff;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero .accent-line,
.section-title::after,
.faq-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px 0 0;
}

.hero p {
  max-width: 610px;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.6;
  color: #f6f8fb;
}

.hero-actions {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 160px;
  height: 42px;
  padding: 0 22px;
  border-radius: 7px;
  border: 1px solid var(--gold);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.btn svg { width: 17px; height: 17px; }
.btn-green { background: var(--green); color: #fff; border-color: #2c7c4e; }
.btn-outline { color: var(--gold); background: rgba(8,35,62,.15); }
.btn-solid { background: var(--green); color: #fff; border-color: var(--green); }

.section {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(36px, 4vw, 54px) var(--gutter);
}

.section-tight { padding-top: 20px; }
.section-title {
  text-align: center;
  color: var(--ink);
  font-size: 28px;
  margin-bottom: 28px;
}

.section-title::after {
  margin: 10px auto 0;
}

.benefits-title {
  margin-top: 45px;
}

.grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 22px);
}

.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
}

.icon-card {
  min-height: 138px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px 12px;
}

.icon-card svg {
  width: 42px;
  height: 42px;
  color: var(--green);
  stroke-width: 1.55;
  margin-bottom: 12px;
}

.icon-card h3 {
  font-size: 15px;
  line-height: 1.15;
}

.icon-card p {
  margin-top: 9px;
  font-size: 12px;
}

.principles {
  padding-top: 20px;
}

.principles .icon-card {
  min-height: 122px;
}

.principles .icon-card h3 {
  font-family: "Inter Variable", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.service-photo {
  display: grid;
  grid-template-rows: 115.25px 115.25px;
  height: 230.5px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.service-photo .photo {
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #d9ddd9, #f8f6ef);
  position: relative;
}

.service-photo:first-child .photo {
  background: url("images/escrituras-publicas.png") center / cover no-repeat;
}

.service-photo:nth-child(2) .photo {
  background: url("images/compraventas.png") center / cover no-repeat;
}

.service-photo:nth-child(3) .photo {
  background: url("images/mandatos.png") center / cover no-repeat;
}

.service-photo:nth-child(4) .photo {
  background: url("images/autorizaciones-viaje.png") center / cover no-repeat;
}

.service-photo:nth-child(5) .photo {
  background: url("images/declaraciones-juradas.png") center / cover no-repeat;
}

.service-photo:nth-child(6) .photo {
  background: url("images/constitucion-sociedades.png") center / cover no-repeat;
}

.service-photo .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,31,61,.08), rgba(215,161,58,.1));
}

.service-photo .badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 4px solid #fff;
}

.service-photo .badge svg {
  width: 24px;
  height: 24px;
  margin: 0;
  color: #fff;
}

.service-photo h3 {
  align-self: center;
  justify-self: center;
  padding: 24px 12px 12px;
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 28px);
  margin-top: 26px;
}

.digital-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
}

.digital-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.digital-access {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}

.digital-access .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 24px;
  max-width: 720px;
  margin: 22px auto 0;
  text-align: left;
}

.digital-access .wide-card {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.digital-presence-band {
  display: grid;
  grid-template-columns: 72px 1fr 300px;
  align-items: center;
  gap: 22px;
  min-height: 126px;
  padding: 20px 28px;
  border: 1px solid rgba(15, 86, 52, .62);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(247,250,246,.88) 62%, rgba(236,244,237,.74)),
    url("images/hero-home.jpg") right center / 330px auto no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.digital-presence-band > svg {
  width: 58px;
  height: 58px;
  color: var(--green);
}

.digital-presence-band h2 {
  font-size: 24px;
}

.digital-presence-band p {
  margin-top: 8px;
  color: var(--text);
  max-width: 760px;
}

.digital-contact {
  text-align: center;
}

.digital-contact h2 {
  font-size: 28px;
}

.digital-contact h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 10px auto 0;
}

.digital-contact p {
  margin-top: 14px;
}

.digital-contact > div {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 18px;
}

.digital-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.digital-contact svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 9px 0;
  font-size: 13px;
}

.check-list svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex: 0 0 auto;
  margin-top: 2px;
}

.green-panel {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11,77,45,.98), rgba(12,85,51,.92)),
    url("images/empresa-panel-bg.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  padding: 26px 32px;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-company-panel {
  background:
    linear-gradient(90deg, rgba(3, 31, 26, .94), rgba(5, 49, 32, .82)),
    url("images/empresa-dia-panel.png") center / cover no-repeat;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.home-company-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(4, 25, 52, .18);
  filter: saturate(1.04);
}

.company-closing-panel {
  background:
    linear-gradient(90deg, rgba(3, 23, 43, .96), rgba(8, 72, 45, .86)),
    url("images/empresa-dia-panel.png") center / cover no-repeat;
}

.company-closing-panel h2 {
  color: #fff;
  max-width: 980px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .38);
}

.green-panel h2,
.green-panel h3 { color: #fff; }
.green-panel h2 { font-size: 30px; }
.green-panel p { margin-top: 16px; font-size: 14px; }

.split-cards .green-panel h2 {
  transform: translateY(-20px);
  margin-bottom: -20px;
}

.info-band {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 0;
  max-width: var(--content);
  margin: 18px auto;
  padding: 28px var(--gutter);
}

.info-band.navy-band {
  background: linear-gradient(135deg, #061f3d, #082946);
}

.info-band.compact { grid-template-columns: repeat(4, 1fr); }
.info-band.compact article {
  text-align: center;
}
.info-band article {
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,.24);
}
.info-band article:not(:first-child) {
  text-align: center;
}
.info-band article:first-child { border-left: 0; }
.info-band h2 {
  color: #fff;
}
.info-band h3 {
  color: #fff;
  font-size: 16px;
}
.info-band p { margin-top: 8px; font-size: 12px; color: #f5fbf8; }
.info-band svg {
  display: block;
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin: 0 auto 12px;
}

.guide-row {
  display: grid;
  grid-template-columns: 130px 1fr 270px;
  gap: 22px;
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
  padding: 32px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.guide-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.guide-icon svg { width: 52px; height: 52px; color: var(--green); }
.guide-row h2 { font-size: 26px; }
.guide-row p { margin-top: 14px; font-size: 13px; }

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  border-left: 1px solid #ccd3dc;
}
.plain-list li {
  display: flex;
  gap: 9px;
  margin: 9px 0;
  font-size: 13px;
}
.plain-list svg { width: 17px; height: 17px; color: var(--green); }

.wide-card {
  grid-column: 1 / -1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px;
}

.wide-card svg { width: 34px; height: 34px; color: var(--green); }

.services-cta {
  justify-content: space-between;
  padding: 24px 28px;
  background:
    linear-gradient(90deg, rgba(6,31,61,.96), rgba(13,86,52,.9)),
    linear-gradient(90deg, #f7f3ed, #fff);
  color: #fff;
}

.services-cta h2 {
  color: #fff;
  font-size: 26px;
}

.services-cta p {
  margin-top: 8px;
  font-size: 14px;
  color: #eef7f2;
}

.services-cta > svg {
  color: var(--gold);
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
}

.services-cta .btn {
  min-width: 176px;
  height: 46px;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
}

.services-cta .btn-solid {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
  padding: 0 28px;
  box-shadow: 0 10px 22px rgba(2, 18, 36, .18);
}

.services-cta .btn-solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.step {
  position: relative;
  padding: 26px 18px 18px;
  min-height: 140px;
  text-align: center;
}

.step b {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}

.step svg {
  display: block;
  width: 38px;
  height: 38px;
  color: var(--green);
  margin: 0 auto 12px;
}
.step h3 { font-size: 15px; }
.step p { margin-top: 8px; font-size: 12px; }

.faq-strip {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  max-width: var(--content);
  margin: 0 auto;
  padding: 36px var(--gutter);
}

.faq-title {
  font-size: 28px;
}

.faq-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  color: var(--ink);
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: inherit;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.faq-item[aria-expanded="true"] {
  border-bottom: 0;
}

.faq-answer {
  display: none;
  border-bottom: 1px solid var(--line);
  padding: 0 44px 18px 0;
}

.faq-answer.open {
  display: block;
}

.faq-answer p,
.faq-item p {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-weight: 400;
  color: var(--text);
  margin-top: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 26px;
}

.form-card,
.contact-info {
  padding: 28px;
}

.form-card h2,
.contact-info h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.form-card h2::after,
.contact-info h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 10px auto 0;
}

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ccd4dd;
  border-radius: 5px;
  min-height: 44px;
  padding: 0 12px;
  margin-bottom: 14px;
}
.field svg { width: 20px; height: 20px; color: #6d7680; }
.field input,
.field textarea {
  border: 0;
  outline: 0;
  width: 100%;
  resize: vertical;
}
.field.textarea { align-items: flex-start; padding-top: 12px; min-height: 100px; }
.field.textarea svg { margin-top: 3px; }

.contact-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.round-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
}
.round-icon svg { width: 24px; height: 24px; }
.contact-row h3 { font-size: 16px; margin-bottom: 6px; }
.contact-row p { font-size: 13px; }
.contact-row strong { color: var(--green); }

.map-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: stretch;
}
.map-card iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: var(--radius);
}
.near-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.quote-band {
  background: linear-gradient(90deg, rgba(8,87,52,.96), rgba(12,91,55,.88));
  color: #fff;
  padding: 42px var(--gutter);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.35;
}

.legal-page {
  background: linear-gradient(180deg, #fff, #f7f8f6);
}

.legal-card {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
}

.legal-card h1 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 18px;
}

.legal-card h2 {
  font-size: clamp(21px, 2vw, 28px);
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-card p {
  margin-top: 12px;
}

.legal-card .eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--green);
  font-weight: 700;
  margin-top: 30px;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
}
.help-layout .faq-list {
  background: #fff;
}
.help-layout .faq-item span {
  max-width: calc(100% - 42px);
}
.help-layout .faq-answer p {
  max-width: 760px;
  line-height: 1.6;
}
.side-help { padding: 28px; }
.side-help h2 { font-size: 24px; margin: 0 0 24px; }
.side-help .contact-row { border-bottom: 1px solid var(--line); padding-bottom: 18px; }

.staff-grid {
  grid-template-columns: repeat(3, 1fr);
}
.staff-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
}
.staff-card svg { width: 42px; height: 42px; color: var(--green); }
.staff-card h3 { font-size: 16px; margin-bottom: 8px; }
.staff-card ul { margin: 0; padding-left: 17px; font-size: 12px; }

.institution-row {
  display: grid;
  grid-template-columns: 92px 1fr 300px 240px;
  gap: 0;
  align-items: center;
  padding: 18px 26px;
  background: #fff;
  border-radius: var(--radius);
}

.institution-icon {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(15, 86, 52, .45);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.institution-icon svg {
  width: 42px;
  height: 42px;
  color: var(--green);
}

.institution-copy {
  padding-right: 30px;
}

.institution-copy h2 {
  font-size: 24px;
}

.institution-copy p {
  margin-top: 8px;
  max-width: 560px;
}

.institution-row a {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 34px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.institution-row a svg {
  width: 28px;
  height: 28px;
  color: var(--green);
  flex: 0 0 auto;
}

.document-row {
  display: grid;
  grid-template-columns: 340px 1fr 230px;
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.document-summary {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 32px;
  background: linear-gradient(90deg, #f8f8f6, #f1f3f1);
  border-right: 1px solid var(--line);
}

.document-summary svg {
  width: 64px;
  height: 64px;
  color: var(--green);
}

.document-summary h2 {
  font-size: 22px;
}

.document-summary p {
  margin-top: 10px;
  font-size: 14px;
}

.document-copy {
  padding: 34px 32px;
  align-self: center;
}

.document-copy strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 10px;
}

.document-copy p {
  font-size: 15px;
}

.document-download {
  align-self: center;
  justify-self: center;
  margin-right: 25px;
  min-width: 184px;
  height: auto;
  min-height: 56px;
  color: var(--green);
  border-color: var(--green);
  background: #fff;
  text-align: center;
  line-height: 1.25;
}

.document-download svg {
  width: 22px;
  height: 22px;
  color: var(--green);
  flex: 0 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #061f3d, #082946);
  color: #fff;
  padding: 32px var(--gutter);
  gap: 0;
}
.footer-top article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,.22);
}
.footer-top article:first-child { border-left: 0; }
.footer-top svg { color: var(--gold); width: 36px; height: 36px; }
.footer-top h3 { color: #fff; font-size: 15px; }
.footer-top p { color: #e6edf5; font-size: 12px; margin-top: 6px; }

.site-footer {
  background: linear-gradient(135deg, #071f3d, #0a2a47);
  color: #fff;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr 1.05fr;
  gap: 26px;
  padding: 34px var(--gutter);
  border-top: 1px solid rgba(215,161,58,.55);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.footer-main h3 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.footer-main p { color: #e5ecf3; font-size: 13px; }
.footer-main .brand { color: #fff; min-width: 0; margin-bottom: 10px; }
.footer-main .brand .num { font-size: 38px; }
.footer-main .brand .name { font-size: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 12px var(--gutter);
  font-size: 12px;
  color: #dce5ee;
}

.mini-copy { margin-top: 12px; font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 24px; }
.soft { background: linear-gradient(90deg, #f7f3ed, #fff); }
.soft.services-cta {
  background:
    linear-gradient(90deg, rgba(6,31,61,.96), rgba(13,86,52,.9)),
    linear-gradient(90deg, #f7f3ed, #fff);
}

@media (max-width: 1180px) {
  .brand { min-width: 188px; }
  .main-nav {
    gap: 12px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  html,
  body,
  .page-shell {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .site-header {
    width: 100vw;
    max-width: 100vw;
    padding: 0 18px;
    height: auto;
    min-height: 72px;
    align-items: center;
  }
  .nav-toggle {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .brand { min-width: 170px; }
  .brand .num { font-size: 34px; }
  .brand .name { font-size: 13px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px;
    border-radius: 6px;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav a.active::after,
  .main-nav a:hover::after { bottom: 5px; left: 12px; right: auto; width: 40px; }
  .hero {
    display: block;
    width: 100vw;
    max-width: 100vw;
    min-height: 365px;
    background:
      linear-gradient(90deg, rgba(5,27,52,.98) 0%, rgba(5,27,52,.9) 48%, rgba(5,27,52,.64) 72%, rgba(5,27,52,.38) 100%),
      var(--hero-image) center center / cover no-repeat;
  }
  .hero.home-hero {
    background:
      linear-gradient(90deg, rgba(5,27,52,.98) 0%, rgba(5,27,52,.9) 48%, rgba(5,27,52,.64) 72%, rgba(5,27,52,.38) 100%),
      var(--hero-image) center top / cover no-repeat;
  }
  .hero-copy {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    padding: 46px 20px;
    background: transparent;
  }
  .hero h1 { font-size: 36px; }
  .hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section {
    width: 100vw;
    max-width: 100vw;
    padding: 28px 20px;
  }
  .grid-6, .grid-5, .grid-4, .grid-3, .grid-2, .staff-grid,
  .split-cards, .contact-grid, .map-grid, .help-layout,
  .guide-row, .footer-main, .footer-top, .faq-strip,
  .document-row, .institution-row {
    grid-template-columns: 1fr;
  }
  .document-summary {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .document-copy {
    padding: 24px 22px;
  }
  .document-download {
    margin: 0 22px 24px;
    width: calc(100% - 44px);
  }
  .institution-row {
    gap: 18px;
    padding: 22px;
  }
  .institution-icon {
    margin: 0 auto;
  }
  .institution-copy {
    padding-right: 0;
    text-align: center;
  }
  .institution-row a {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
    justify-content: center;
  }
  .grid,
  .split-cards,
  .contact-grid,
  .map-grid,
  .help-layout,
  .faq-strip,
  .footer-main,
  .footer-top {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .contact-grid,
  .split-cards,
  .map-grid,
  .help-layout,
  .faq-strip {
    display: block;
  }
  .contact-grid > *,
  .split-cards > *,
  .map-grid > *,
  .help-layout > *,
  .faq-strip > * {
    margin-bottom: 22px;
  }
  .form-card,
  .contact-info,
  .side-help {
    width: 100%;
    max-width: calc(100vw - 40px);
    padding: 24px 18px;
    margin-left: auto;
    margin-right: auto;
  }
  .form-card h2,
  .contact-info h2 {
    font-size: 25px;
    overflow-wrap: break-word;
  }
  .field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .field input,
  .field textarea {
    min-width: 0;
  }
  .digital-card { grid-template-columns: 1fr; }
  .digital-access .check-list {
    grid-template-columns: 1fr;
  }
  .digital-presence-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,247,241,.95));
    background-size: auto;
  }
  .digital-presence-band > svg {
    margin: 0 auto;
  }
  .digital-presence-band h2 {
    font-size: 25px;
    line-height: 1.15;
  }
  .staff-card {
    width: 100%;
    grid-template-columns: 46px 1fr;
    align-items: flex-start;
  }
  .staff-card ul {
    font-size: 16px;
    line-height: 1.45;
  }
  .icon-card p {
    font-size: 16px;
    line-height: 1.45;
  }
  .footer-top p {
    font-size: 14px;
    line-height: 1.45;
  }
  .info-band p,
  .step p {
    font-size: 14px;
    line-height: 1.45;
  }
  body[data-page="empresa"] .step p,
  body[data-page="empresa"] .icon-card p {
    font-size: 14px;
    line-height: 1.45;
  }
  body[data-page="digital"] .icon-card p,
  body[data-page="digital"] .info-band p,
  body[data-page="digital"] .step p {
    font-size: 14px;
    line-height: 1.45;
  }
  body[data-page="faq"] .icon-card p {
    font-size: 14px;
    line-height: 1.45;
  }
  body[data-page="contacto"] .near-card .icon-card p {
    font-size: 16px;
    line-height: 1.45;
  }
  .digital-contact > div {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .services-cta .btn {
    width: 100%;
  }
  .info-band, .info-band.compact { grid-template-columns: 1fr; gap: 18px; }
  .info-band {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: var(--radius);
    padding: 28px 22px;
  }
  .info-band article {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.22);
    padding: 16px 0 0;
    min-width: 0;
  }
  .info-band article:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .near-card { grid-template-columns: 1fr; }
  .quote-band { padding: 28px 24px; }
  .quote-band,
  .footer-top,
  .site-footer {
    width: 100vw;
    max-width: 100vw;
  }
  .footer-top article { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 18px 0; }
  .footer-top article:first-child { border-top: 0; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 14px 20px; }
}
