:root {
  --black: #030405;
  --navy: #071421;
  --navy-2: #101c2a;
  --blue: #11728d;
  --cyan: #35a6c8;
  --gold: #f5b700;
  --gold-2: #c89213;
  --text: #25394f;
  --muted: #65778a;
  --line: #dbe4ed;
  --bg: #f3f6f8;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 18px 42px rgba(7, 26, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 26, 47, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a,
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  color: #34475f;
  font-size: 0.94rem;
  font-weight: 750;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.header-cta {
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--navy-2), var(--cyan));
  box-shadow: 0 16px 32px rgba(15, 109, 145, 0.18);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 14, 28, 0.9) 0%, rgba(7, 26, 47, 0.72) 46%, rgba(7, 26, 47, 0.32) 100%),
    radial-gradient(circle at 78% 88%, rgba(53, 166, 200, 0.48) 0%, rgba(53, 166, 200, 0) 30%);
}

.hero-overlay::after,
.page-hero::after,
.statement-band::after {
  content: "";
  position: absolute;
  width: 58vw;
  height: 58vw;
  right: -16vw;
  bottom: -34vw;
  border: 78px solid rgba(198, 162, 63, 0.34);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 52px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.17rem;
  line-height: 1.72;
}

.eyebrow,
.label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.78);
}

.brand-slogan {
  margin: -6px 0 22px;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-slogan.light {
  color: rgba(245, 183, 0, 0.95);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

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

.button.secondary,
.button.ghost {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.intro-split,
.solution-detail,
.case-layout,
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fff;
}

.risk-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(219, 228, 237, 0.92);
}

.risk-strip article {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 30px;
  background: #fff;
}

.risk-strip span {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.risk-strip p {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.55;
}

.split-media,
.detail-media {
  min-height: 520px;
  background: #dfe7ee;
}

.split-media img,
.detail-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.split-copy,
.detail-copy,
.case-copy,
.contact-copy {
  display: grid;
  align-content: center;
  padding: clamp(42px, 6vw, 88px);
}

h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  line-height: 1.18;
}

p {
  margin-top: 0;
  line-height: 1.72;
}

.split-copy p:not(.eyebrow),
.detail-copy p,
.case-copy p,
.contact-copy p,
.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

.statement-band,
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 72px max(28px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.solution-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: end;
  padding: 78px max(28px, calc((100vw - var(--max)) / 2));
  background: #fff;
}

.solution-overview p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.statement-band h2,
.cta-band h2 {
  max-width: 920px;
  margin: 0;
  color: #fff;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-head {
  max-width: 920px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 520px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background: var(--navy);
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  transition: transform 0.35s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.08), rgba(7, 26, 47, 0.88));
}

.feature-card span,
.feature-card h3 {
  position: relative;
  z-index: 1;
}

.feature-card span {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feature-card h3 {
  color: #fff;
}

.feature-card:hover img {
  transform: scale(1.04);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.stats-band article {
  min-height: 210px;
  display: grid;
  align-content: center;
  padding: 36px max(28px, calc((100vw - var(--max)) / 2));
  background: #fff;
}

.stats-band strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.95;
}

.stats-band span {
  color: var(--muted);
  line-height: 1.6;
}

.logo-section {
  padding: 72px max(28px, calc((100vw - var(--max)) / 2));
  background: #fff;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.logo-grid img {
  width: 100%;
  height: 118px;
  padding: 22px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 90px max(28px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--navy);
}

.page-hero.compact-hero {
  min-height: 450px;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 47, 0.9), rgba(7, 26, 47, 0.34));
}

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

.page-hero h1 {
  max-width: 960px;
}

.solution-detail {
  min-height: 580px;
}

.solution-detail.reverse .detail-copy {
  order: 2;
}

.solution-detail.reverse .detail-media {
  order: 1;
}

.solution-detail.featured {
  border-top: 1px solid var(--line);
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.65;
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
}

.diagnostic-page,
.case-page,
.method-page {
  padding: 78px max(24px, calc((100vw - var(--max)) / 2));
}

.diagnostic-intro {
  max-width: 900px;
  margin-bottom: 34px;
}

.diagnostic-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 22px;
  align-items: start;
}

.diagnostic-form,
.diagnostic-result,
.case-metrics article,
.timeline article,
.method-steps article,
.contact-panel,
.contact-form {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.diagnostic-form,
.diagnostic-result {
  padding: 26px;
}

.segment-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}

.segment-control button {
  min-height: 48px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-weight: 850;
  cursor: pointer;
}

.segment-control button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

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

.question-grid {
  margin-top: 17px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 850;
}

.conditional-field {
  animation: revealField 0.18s ease;
}

.conditional-field[hidden] {
  display: none !important;
}

@keyframes revealField {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(53, 166, 200, 0.22);
  border-color: var(--cyan);
}

textarea {
  min-height: 144px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.diagnostic-result {
  position: sticky;
  top: 108px;
}

.result-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.result-visual {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  margin: 18px 0;
  background: var(--navy);
}

.result-visual img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  opacity: 0.78;
}

.result-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 4, 5, 0.04), rgba(3, 4, 5, 0.72));
}

.result-visual span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.result-kpis article {
  padding: 14px;
  border: 1px solid var(--line);
  background: #f7fafb;
}

.result-kpis strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.2;
}

.result-kpis span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.score-ring {
  --score: 0deg;
  width: 172px;
  height: 172px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0;
  border-radius: 50%;
  background: conic-gradient(var(--gold) var(--score), #e4edf4 0);
  position: relative;
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #fff;
}

.score-ring strong,
.score-ring span {
  position: relative;
  z-index: 1;
}

.score-ring strong {
  color: var(--navy);
  font-size: 2.75rem;
  line-height: 1;
}

.score-ring span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#result-summary,
#result-actions,
#result-recommendation,
#result-next-step,
.summary-panel p:not(.label) {
  color: var(--muted);
}

#result-actions {
  padding-left: 18px;
  line-height: 1.7;
}

.technical-chart,
.recommendation-panel,
.summary-panel {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f8fbfd;
}

.summary-panel {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, #fff, #f8fbfd);
}

.summary-panel .label,
.recommendation-panel .label,
.technical-chart .label {
  margin-bottom: 10px;
}

#result-next-step {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}

.breakdown-empty {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.breakdown-list {
  display: grid;
  gap: 12px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: minmax(115px, 0.9fr) minmax(120px, 1.15fr) auto;
  gap: 10px;
  align-items: center;
}

.breakdown-row strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
}

.breakdown-row span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.breakdown-bar {
  height: 10px;
  overflow: hidden;
  background: #e3edf4;
}

.breakdown-bar span {
  height: 100%;
  min-width: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.breakdown-row b {
  color: var(--navy);
  font-size: 0.9rem;
}

.result-pdf {
  width: 100%;
  margin-bottom: 10px;
}

.result-pdf:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.result-whatsapp {
  width: 100%;
}

.case-layout {
  margin-bottom: 26px;
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
}

.case-metrics article {
  display: grid;
  align-content: center;
  padding: 34px;
  box-shadow: none;
}

.case-metrics strong {
  color: var(--navy);
  font-size: 4rem;
  line-height: 1;
}

.case-metrics span {
  color: var(--muted);
  line-height: 1.58;
}

.timeline,
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.timeline article,
.method-steps article {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
}

.method-steps article {
  overflow: hidden;
  padding: 0;
}

.method-steps article img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 4px solid var(--gold);
}

.method-steps article span,
.method-steps article h3,
.method-steps article p {
  margin-right: 24px;
  margin-left: 24px;
}

.method-steps article span {
  margin-top: 22px;
}

.method-steps article p {
  margin-bottom: 26px;
}

.timeline span,
.method-steps span {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.timeline p,
.method-steps p {
  color: var(--muted);
}

.contact-page {
  min-height: 540px;
}

.contact-form-section {
  gap: 1px;
  background: var(--line);
}

.contact-intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 12% 10%, rgba(245, 183, 0, 0.12), transparent 34%);
}

.contact-visual {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
  border: 1px solid rgba(7, 20, 33, 0.12);
  background: var(--black);
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  opacity: 0.82;
}

.contact-visual div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 18px 18px 0;
}

.contact-visual strong {
  color: var(--gold);
  font-size: 0.92rem;
  line-height: 1.4;
}

.contact-visual span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(34px, 5vw, 70px);
  background: #fff;
}

.contact-form .form-grid {
  gap: 14px;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.contact-form-actions span,
.contact-form-status {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-form-status {
  min-height: 1.4em;
  margin: 0;
}

.contact-form.was-validated input:invalid,
.contact-form.was-validated textarea:invalid {
  border-color: #b42318;
}

.contact-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(34px, 5vw, 70px);
}

.contact-panel a,
.contact-panel span {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #f7fafb;
  line-height: 1.6;
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(310px, 1.1fr) minmax(160px, 0.52fr) minmax(300px, 0.95fr);
  gap: 34px;
  align-items: start;
  padding: 54px max(28px, calc((100vw - var(--max)) / 2)) 24px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(3, 4, 5, 0.98), rgba(7, 20, 33, 0.98)),
    radial-gradient(circle at 12% 12%, rgba(245, 183, 0, 0.18), transparent 32%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  width: min(100%, 292px);
  margin-bottom: 22px;
  border: 1px solid rgba(245, 183, 0, 0.18);
  background: #030405;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-slogan {
  display: block;
  margin: -8px 0 16px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-nav::before,
.footer-contact::before {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav::before {
  content: "Mapa";
}

.footer-contact::before {
  content: "Contacto";
}

.footer-nav a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-contact span {
  display: block;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 160px 1fr;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-cta {
    justify-self: end;
  }

  .intro-split,
  .solution-detail,
  .case-layout,
  .contact-page,
  .diagnostic-shell,
  .solution-overview {
    grid-template-columns: 1fr;
  }

  .solution-detail.reverse .detail-copy,
  .solution-detail.reverse .detail-media {
    order: initial;
  }

  .feature-grid,
  .stats-band,
  .timeline,
  .method-steps,
  .risk-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .diagnostic-result {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-brand p {
    max-width: 620px;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 13px 18px;
  }

  .brand img {
    width: 138px;
  }

  .header-cta {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 8px;
    font-size: 0.88rem;
  }

  .hero,
  .page-hero {
    min-height: 560px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.85rem);
  }

  .split-copy,
  .detail-copy,
  .case-copy,
  .contact-copy {
    padding: 42px 22px;
  }

  .split-media,
  .detail-media {
    min-height: 320px;
  }

  .statement-band,
  .cta-band {
    grid-template-columns: 1fr;
    padding: 52px 22px;
  }

  .section,
  .diagnostic-page,
  .case-page,
  .method-page,
  .logo-section {
    width: 100%;
    padding: 54px 18px;
  }

  .feature-grid,
  .stats-band,
  .timeline,
  .method-steps,
  .risk-strip,
  .form-grid,
  .question-grid,
  .segment-control,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 390px;
  }

  .page-hero {
    padding: 62px 18px;
  }

  .diagnostic-form,
  .diagnostic-result,
  .timeline article,
  .method-steps article,
  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .method-steps article {
    padding: 0;
  }

  .contact-visual {
    grid-template-columns: 1fr;
  }

  .contact-visual div {
    padding: 0 18px 18px;
  }

  .risk-strip article {
    min-height: auto;
  }

  .solution-overview {
    padding: 54px 18px;
  }

  .breakdown-row {
    grid-template-columns: 1fr;
  }
}
