:root {
  --navy-950: #071724;
  --navy-900: #0b2438;
  --navy-850: #123652;
  --navy-800: #174863;
  --blue-600: #176783;
  --blue-500: #2182a0;
  --accent-700: #0f617d;
  --accent-600: #177d9b;
  --accent-300: #8bc4d3;
  --ink: #102435;
  --ink-soft: #5a6873;
  --cream: #f4efe7;
  --cream-2: #faf7f1;
  --surface: #fff;
  --surface-warm: #fffdf9;
  --line: rgba(16, 36, 53, 0.11);
  --line-strong: rgba(16, 36, 53, 0.2);
  --shadow-sm: 0 12px 32px rgba(7, 23, 36, 0.07);
  --shadow-md: 0 24px 70px rgba(7, 23, 36, 0.11);
  --shadow-dark: 0 28px 80px rgba(2, 12, 20, 0.26);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1220px;
  --section-space: clamp(4.75rem, 7vw, 7rem);
  --section-space-compact: clamp(3rem, 4.5vw, 4.5rem);
  --content-gap: clamp(1.75rem, 3vw, 2.5rem);
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface-warm);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.4rem, 7.4vw, 6.6rem);
}

h2 {
  max-width: 17ch;
  font-size: clamp(2.55rem, 5vw, 4.35rem);
}

h3 {
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

strong {
  font-weight: 700;
}

p {
  text-wrap: pretty;
}

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

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
}

.section-tight {
  padding: var(--section-space-compact) 0;
}

.section:nth-of-type(even):not(.page-summary) {
  background: var(--cream-2);
}

.section-head {
  display: grid;
  gap: 1.2rem;
  margin-bottom: var(--content-gap);
}

.section-head--split {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6.5rem);
}

.eyebrow,
.display-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--accent-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.display-eyebrow::before {
  width: 48px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow--light,
.display-eyebrow {
  color: var(--accent-300);
}

.lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

main h2 + p {
  margin-top: 1.1rem;
}

main h3 + p {
  margin-top: 0.55rem;
}

main p + p {
  margin-top: 1rem;
}

.muted {
  color: var(--ink-soft);
}

.accent-text {
  color: var(--accent-300);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  color: #fff;
  background: var(--accent-700);
  border-radius: 10px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 3px solid var(--accent-300);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 23, 36, 0.92);
  box-shadow: 0 8px 28px rgba(3, 16, 26, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: auto;
  height: 66px;
  filter: drop-shadow(0 7px 18px rgba(0, 0, 0, 0.22));
}

.nav-group,
.site-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.nav-group {
  gap: 1.5rem;
}

.site-nav {
  gap: 1.5rem;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent-300);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.site-nav a.active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  gap: 0.7rem;
}

.header-phone {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: auto;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before {
  position: absolute;
  top: -7px;
}

.menu-toggle__icon::after {
  position: absolute;
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-panel {
  display: none;
  padding-bottom: 1.25rem;
}

.mobile-panel.open {
  display: block;
}

.mobile-nav {
  display: grid;
}

.mobile-nav a {
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.mobile-nav a.is-active,
.mobile-nav a.active {
  color: var(--accent-300);
}

.mobile-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--accent-700);
  box-shadow: 0 15px 35px rgba(15, 97, 125, 0.24);
}

.btn-primary:hover {
  background: var(--accent-600);
  box-shadow: 0 18px 42px rgba(15, 97, 125, 0.3);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-dark {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 16px 36px rgba(7, 23, 36, 0.2);
}

.btn-light {
  color: var(--navy-900);
  background: #fff;
}

.btn-ghost {
  color: var(--navy-900);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-header {
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy-900);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 1px solid rgba(139, 196, 211, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(68%, -58%) scale(0.66);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  align-items: center;
  min-height: min(820px, calc(100vh - 88px));
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.hero-copy h1,
.hero-copy strong {
  color: #fff;
}

.hero-copy .lead {
  max-width: 66ch;
  margin-top: clamp(1.9rem, 3vw, 2.65rem);
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.1rem 0 2rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-meta div {
  min-height: 115px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.hero-meta strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.93rem;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.notice-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.kicker-line {
  width: 46px;
  height: 2px;
  background: var(--accent-300);
}

.hero-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(12px);
}

.hero-card-inner {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: rgba(4, 17, 28, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.hero-list {
  display: grid;
  gap: 1.05rem;
}

.hero-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 0.9rem;
}

.badge-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: rgba(33, 130, 160, 0.24);
  border: 1px solid rgba(233, 170, 118, 0.28);
  border-radius: 14px;
  font-weight: 800;
}

.hero-item strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}

.hero-item p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-trust div {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.hero-trust strong {
  display: block;
  color: #fff;
  font-size: 0.82rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.25rem, 8vw, 7.5rem) 0 clamp(4.25rem, 6.5vw, 6rem);
  color: #fff;
  background: var(--navy-900);
}

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

.page-hero h1 {
  max-width: 14ch;
  color: #fff;
  font-size: clamp(3.25rem, 7vw, 6rem);
}

.page-hero .lead {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .hero-actions {
  margin-bottom: 0;
}

.page-summary {
  position: relative;
  z-index: 4;
  margin-top: -2rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 253, 249, 0.95);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}

.summary-grid > div,
.summary-grid > article {
  padding: 1.1rem 1.2rem;
  border-right: 1px solid var(--line);
}

.summary-grid > :last-child {
  border-right: 0;
}

.summary-grid strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy-900);
}

.summary-grid span,
.summary-grid p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.surface-panel,
.card,
.service-card,
.service-link-card,
.review-card,
.faq-card,
.process-card,
.contact-panel,
.stat-card,
.about-story,
.about-aside,
.legal-card,
.key-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card-grid-3,
.card-grid-2,
.service-grid,
.service-links-grid,
.review-grid,
.faq-grid,
.process-grid,
.key-grid,
.stat-row,
.footer-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.card-grid-3,
.review-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-2,
.service-grid,
.faq-grid,
.service-links-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.key-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.service-card,
.service-link-card,
.key-card,
.review-card,
.faq-card,
.process-card {
  position: relative;
  overflow: hidden;
}

.card::before,
.service-link-card::before,
.process-card::before,
.key-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent-600);
  content: "";
  opacity: 0.8;
}

.card-pad,
.service-card .card-pad {
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.card p,
.service-card p,
.service-card li,
.service-link-card p,
.key-card p,
.review-card p,
.faq-card p,
.process-card p,
.about-story p,
.about-aside p,
.legal-card p,
.contact-panel p {
  color: var(--ink-soft);
}

.card h3,
.service-card h3,
.service-link-card h3,
.key-card h3,
.review-card h3,
.faq-card h3,
.process-card h3 {
  margin-bottom: 0.65rem;
}

.service-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.service-label {
  color: var(--accent-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-link-card {
  display: grid;
  min-height: 250px;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-link-card:hover {
  border-color: rgba(33, 130, 160, 0.38);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-link-card .link-arrow {
  align-self: end;
  margin-top: 1.2rem;
  color: var(--accent-700);
  font-size: 0.88rem;
  font-weight: 800;
}

.key-card {
  min-height: 205px;
  padding: 1.35rem;
  background: var(--surface);
}

.key-mark {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.05rem;
  place-items: center;
  color: var(--accent-700);
  background: rgba(33, 130, 160, 0.1);
  border: 1px solid rgba(33, 130, 160, 0.18);
  border-radius: 14px;
  font-weight: 800;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.about-story,
.about-aside,
.legal-card,
.contact-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.about-story {
  background: var(--surface-warm);
}

.about-story p + p,
.legal-card p + p,
.legal-card p + ul,
.legal-card ul + p {
  margin-top: 1rem;
}

.quote {
  margin-top: 1.5rem;
  padding: 1.2rem 1.35rem;
  background: #fff;
  border-left: 3px solid var(--accent-600);
  border-radius: 0 16px 16px 0;
}

.quote p {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.24;
}

.stat-card {
  padding: 1.15rem;
  text-align: left;
  box-shadow: none;
}

.stat-card strong {
  display: block;
  color: var(--accent-700);
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
}

.stat-card span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.legal-points {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.legal-point {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.legal-point a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.review-card,
.faq-card,
.process-card {
  padding: clamp(1.45rem, 3vw, 2rem);
}

.review-stars {
  margin-bottom: 1rem;
  color: var(--accent-600);
  letter-spacing: 0.12em;
}

.review-card p {
  font-size: 0.96rem;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.review-meta a {
  color: var(--blue-600);
  font-weight: 700;
}

.process-card {
  min-height: 240px;
  padding-top: 2.2rem;
}

.process-step {
  margin-bottom: 0.9rem;
  color: var(--accent-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.faq-card {
  min-height: 190px;
  box-shadow: none;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--ink-soft);
}

.check-list li::before {
  position: absolute;
  top: 0.11rem;
  left: 0;
  color: var(--accent-700);
  content: "✓";
  font-weight: 800;
}

.page-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.page-anchor-nav a {
  padding: 0.7rem 0.95rem;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.center-actions,
.actions-spaced,
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.center-actions {
  justify-content: center;
}

.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-dark);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.72);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.contact-panel {
  overflow: hidden;
}

.contact-panel:first-child {
  color: #fff;
  background: var(--navy-900);
  border-color: transparent;
  box-shadow: var(--shadow-dark);
}

.contact-panel:first-child h2,
.contact-panel:first-child p,
.contact-panel:first-child strong {
  color: #fff;
}

.contact-panel:first-child p,
.contact-panel:first-child span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.5rem;
}

.contact-list > div {
  display: grid;
  gap: 0.1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list a {
  color: #fff;
  font-weight: 700;
}

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

.field {
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field--hidden {
  position: absolute;
  left: -9999px;
}

.field label {
  display: inline-block;
  margin-bottom: 0.42rem;
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: var(--surface-warm);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(33, 130, 160, 0.12);
  outline: 0;
}

.field-invalid input,
.field-invalid select,
.field-invalid textarea {
  border-color: #b43434;
}

.field-error {
  min-height: 1.2rem;
  margin-top: 0.25rem;
  color: #a12727;
  font-size: 0.78rem;
  font-weight: 600;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 0 0.7rem;
}

.checkbox-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 0.1rem;
  accent-color: var(--accent-700);
}

.checkbox-row label {
  margin: 0;
  font-weight: 500;
}

.checkbox-row .field-error {
  grid-column: 2;
}

.form-note {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.form-note--spaced {
  margin-top: 1rem;
}

.form-note a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
}

.status-message {
  padding: 1rem 1.1rem;
  border-radius: 13px;
  font-size: 0.9rem;
  font-weight: 650;
}

.status-message--error {
  color: #7d2222;
  background: #fff0f0;
  border: 1px solid #ecc2c2;
}

.status-message--success {
  color: #155b3c;
  background: #edf9f3;
  border: 1px solid #bce4ce;
}

.legal-stack {
  display: grid;
  gap: 1.35rem;
}

.legal-stack > section {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.legal-card h2,
.legal-stack > section h2 {
  max-width: 22ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-card h3,
.legal-stack > section h3 {
  margin: 1.4rem 0 0.55rem;
}

.legal-card a,
.legal-stack > section a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-stack > section p,
.legal-stack > section li {
  color: var(--ink-soft);
}

.legal-stack > section p + p,
.legal-stack > section p + ul,
.legal-stack > section ul + p {
  margin-top: 1rem;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.legal-meta .legal-point {
  padding: 0.9rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.document-embed {
  width: min(100%, 980px);
  margin: 1.8rem auto 0;
  padding: 0.55rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(18, 37, 61, 0.08);
  overflow: hidden;
}

.document-embed iframe {
  display: block;
  width: 100%;
  height: clamp(680px, 78vh, 880px);
  background: #fff;
  border: 0;
  border-radius: 12px;
}

.document-embed .form-note {
  margin: 0;
  padding: 0.9rem 0.75rem 0.4rem;
  text-align: center;
}

.error-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.error-page__code {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.55rem 0.8rem;
  color: var(--accent-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.error-page__card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}

.error-page__card h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.error-page__card p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.error-page__links {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.1rem;
}

.error-page__links a {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.site-footer {
  padding-top: clamp(4.5rem, 7vw, 7rem);
  color: rgba(255, 255, 255, 0.73);
  background: var(--navy-950);
}

.footer-grid {
  grid-template-columns: 1.25fr 0.8fr 0.9fr 1fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 4rem);
}

.footer-brand img {
  width: auto;
  height: 78px;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 35ch;
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.62rem;
}

.footer-links a {
  width: fit-content;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.77rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  color: #fff;
  background: #167748;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(6, 56, 34, 0.28);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1;
}

.whatsapp-float__icon {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #167748;
  background: #fff;
  border-radius: 50%;
  line-height: 0;
}

.whatsapp-float__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  transform: translate(0.75px, -0.75px);
  transform-origin: center;
}

.whatsapp-float__text {
  display: grid;
  align-content: center;
  gap: 0.16rem;
  line-height: 1.15;
}

.whatsapp-float__text strong {
  font-size: 0.82rem;
}

.whatsapp-float__text > span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 150;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  padding: 1rem;
  margin: auto;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(7, 23, 36, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(15px);
  gap: 1rem;
}

.cookie-banner__inner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner__button {
  flex: 0 0 auto;
  min-height: 44px;
}

@media (max-width: 1120px) {
  .site-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel {
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 900px;
  }

  .hero-card {
    max-width: 820px;
  }

  .key-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--max), calc(100% - 2rem));
  }

  .section-head--split,
  .about-panel,
  .contact-shell,
  .error-page__grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .card-grid-3,
  .review-grid,
  .process-grid,
  .summary-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-grid > div,
  .summary-grid > article {
    border-right: 0;
  }

  .summary-grid > :nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .hero-meta,
  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-meta div {
    min-height: 0;
  }

  .document-embed {
    padding: 0.45rem;
  }

  .document-embed iframe {
    height: 620px;
  }

  .section-head--split {
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  :root {
    --section-space: 4rem;
    --section-space-compact: 2.75rem;
    --content-gap: 1.75rem;
  }

  html {
    scroll-padding-top: 84px;
  }

  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    height: 54px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.45rem, 13vw, 3.4rem);
  }

  .hero-grid {
    padding: 4rem 0 3.75rem;
  }

  .hero-actions,
  .center-actions,
  .actions-spaced,
  .document-actions {
    display: grid;
  }

  .hero-actions .btn,
  .center-actions .btn,
  .actions-spaced .btn,
  .document-actions .btn {
    width: 100%;
  }

  .hero-card,
  .hero-card-inner {
    border-radius: 22px;
  }

  .hero-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .badge-number {
    width: 40px;
    height: 40px;
  }

  .page-hero {
    padding: 4rem 0 3.75rem;
  }

  .page-summary {
    margin-top: -1rem;
  }

  .card-grid-2,
  .card-grid-3,
  .service-grid,
  .service-links-grid,
  .review-grid,
  .faq-grid,
  .process-grid,
  .key-grid,
  .stat-row,
  .summary-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .summary-grid > :nth-child(odd) {
    border-right: 0;
  }

  .key-card,
  .faq-card,
  .process-card,
  .service-link-card {
    min-height: 0;
  }

  .contact-panel,
  .about-story,
  .about-aside,
  .legal-card {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .review-meta,
  .footer-meta,
  .cookie-banner__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    padding: 1.6rem;
    border-radius: 22px;
  }

  .document-embed {
    width: 100%;
    margin-top: 1.4rem;
    padding: 0.3rem;
    border-radius: 14px;
  }

  .document-embed iframe {
    height: 520px;
    border-radius: 10px;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .whatsapp-float__icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .whatsapp-float__text {
    display: none;
  }

  .cookie-banner {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .whatsapp-float,
  .cookie-banner,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .page-hero {
    padding: 1.5rem 0;
    color: #000;
    background: #fff;
  }

  .page-hero h1,
  .page-hero .lead {
    color: #000;
  }

  .card,
  .legal-card,
  .contact-panel {
    box-shadow: none;
    break-inside: avoid;
  }
}
