/*
Theme Name: RC Empresas
Theme URI: https://seguros-rc-empresas.es/
Author: Novamira + Codex
Description: Lightweight SEO-first theme for seguros-rc-empresas.es.
Version: 1.1.18
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: rc-empresas
*/

:root {
  --rc-ink: #16191f;
  --rc-muted: #5c6470;
  --rc-soft: #edf0f3;
  --rc-line: #d9dee5;
  --rc-paper: #f7f8fa;
  --rc-white: #fdfefe;
  --rc-accent: #145c54;
  --rc-accent-2: #d7eee8;
  --rc-warn: #a66b1f;
  --rc-radius: 22px;
  --rc-radius-sm: 14px;
  --rc-shadow: 0 24px 70px rgba(20, 28, 39, 0.12);
  --rc-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --rc-section-y: clamp(68px, 8vw, 104px);
  --rc-section-compact-y: clamp(56px, 6vw, 78px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
  scroll-snap-type: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--rc-paper);
  color: var(--rc-ink);
  font-family: "Geist", "Plus Jakarta Sans", "Aptos", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.035;
  background-image:
    linear-gradient(90deg, rgba(22, 25, 31, 0.24) 1px, transparent 1px),
    linear-gradient(rgba(22, 25, 31, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--rc-ink);
  color: var(--rc-white);
  transition: top 220ms var(--rc-ease);
}

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

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  padding: 14px clamp(16px, 3vw, 34px);
  transition: opacity 320ms var(--rc-ease), transform 320ms var(--rc-ease);
}

.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(22, 25, 31, 0.08);
  border-radius: 999px;
  background: rgba(253, 254, 254, 0.86);
  box-shadow: 0 18px 46px rgba(20, 28, 39, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-core {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 68px;
  padding: 8px 10px 8px 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--rc-ink);
  color: var(--rc-white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 14px;
}

.brand-text span {
  color: var(--rc-muted);
  font-size: 12px;
}

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

.nav-links a {
  border-radius: 999px;
  color: var(--rc-muted);
  font-size: 14px;
  font-weight: 650;
  padding: 10px 13px;
  text-decoration: none;
  transition: color 320ms var(--rc-ease), background 320ms var(--rc-ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(20, 92, 84, 0.08);
  color: var(--rc-accent);
  outline: none;
}

.nav-toggle {
  display: none;
}

.button,
.form-button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--rc-accent);
  color: var(--rc-white);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  line-height: 1;
  padding: 7px 8px 7px 20px;
  text-decoration: none;
  transition: transform 420ms var(--rc-ease), background 420ms var(--rc-ease);
}

.button:hover,
.button:focus-visible,
.form-button:hover,
.form-button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  background: #0f4d47;
  outline: none;
  transform: translateY(-1px);
}

.button:active,
.form-button:active,
.nav-cta:active {
  transform: translateY(1px) scale(0.99);
}

.button-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(253, 254, 254, 0.17);
  transition: transform 420ms var(--rc-ease);
}

.button:hover .button-icon,
.form-button:hover .button-icon,
.nav-cta:hover .button-icon {
  transform: translateX(2px);
}

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

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: var(--rc-muted);
  font-size: 13px;
}

.hero-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--rc-muted);
  font-size: 13px;
}

.hero-breadcrumbs a {
  text-decoration: none;
}

.hero-breadcrumbs a:hover,
.hero-breadcrumbs a:focus-visible {
  color: var(--rc-accent);
  outline: none;
}

main > .breadcrumbs {
  padding-top: 96px;
  scroll-snap-align: none;
}

.breadcrumbs + .hero {
  min-height: calc(100svh - 96px);
  padding-top: clamp(56px, 8vh, 84px);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--rc-accent);
  outline: none;
}

.hero {
  min-height: 100svh;
  padding: clamp(104px, 12vh, 126px) 0 clamp(42px, 6vh, 60px);
}

.hero:not(.hero--home) {
  min-height: clamp(650px, 88svh, 760px);
  padding-bottom: clamp(24px, 4vh, 44px);
}

.snap-section {
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  scroll-margin-top: 0;
}

.hero.snap-section,
.scenario-section.snap-section {
  scroll-margin-top: 0;
  display: flex;
  min-height: 100svh;
  align-items: center;
}

.hero:not(.hero--home).snap-section {
  min-height: clamp(650px, 88svh, 760px);
}

@media (min-width: 901px) {
  .hero:not(.hero--home).snap-section {
    align-items: flex-start;
    padding-top: clamp(118px, 14vh, 136px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.68fr);
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(20, 92, 84, 0.16);
  border-radius: 999px;
  background: rgba(215, 238, 232, 0.68);
  color: var(--rc-accent);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
  padding: 7px 11px;
  text-transform: uppercase;
}

.section .eyebrow {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(20, 92, 84, 0.82);
  letter-spacing: 0.08em;
  padding: 0;
}

.scenario-section .eyebrow,
.compare-panel .eyebrow {
  border-radius: 999px;
  padding: 7px 11px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 900px;
  font-size: clamp(38px, 5.8vw, 66px);
  font-weight: 850;
}

.hero--home h1 {
  max-width: 820px;
  font-size: clamp(40px, 5.4vw, 64px);
}

h2 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 820;
}

h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--rc-muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.48;
}

.hero-stakes {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin-top: 18px;
}

.hero-stakes span {
  position: relative;
  display: block;
  border-left: 2px solid rgba(20, 92, 84, 0.42);
  color: #3f4854;
  font-size: 15px;
  line-height: 1.38;
  padding-left: 12px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-quick-form {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(140px, 0.9fr) minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 790px;
  margin-top: 18px;
  border: 1px solid rgba(20, 92, 84, 0.14);
  border-radius: 24px;
  background: rgba(253, 254, 254, 0.9);
  box-shadow: 0 18px 54px rgba(20, 28, 39, 0.09);
  padding: 10px;
}

.hero-quick-form label {
  display: grid;
  gap: 5px;
}

.hero-quick-form label span {
  color: var(--rc-muted);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-quick-form input,
.hero-quick-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(22, 25, 31, 0.12);
  border-radius: 14px;
  background: var(--rc-paper);
  color: var(--rc-ink);
  font: inherit;
  padding: 10px 12px;
}

.hero-quick-form input:focus,
.hero-quick-form select:focus {
  border-color: rgba(20, 92, 84, 0.55);
  background: var(--rc-white);
  box-shadow: 0 0 0 4px rgba(20, 92, 84, 0.1);
  outline: none;
}

.hero-quick-form button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--rc-ink);
  color: var(--rc-white);
  cursor: pointer;
  font: inherit;
  font-weight: 820;
  padding: 0 16px;
  transition: transform 320ms var(--rc-ease), background 320ms var(--rc-ease);
}

.hero-quick-form button:hover,
.hero-quick-form button:focus-visible {
  background: var(--rc-accent);
  outline: none;
  transform: translateY(-1px);
}

.hero-quick-form p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--rc-muted);
  font-size: 12px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(22, 25, 31, 0.12);
  border-radius: 999px;
  background: rgba(253, 254, 254, 0.72);
  color: var(--rc-ink);
  font-weight: 760;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 420ms var(--rc-ease), border-color 420ms var(--rc-ease);
}

.link-button:hover,
.link-button:focus-visible {
  border-color: rgba(20, 92, 84, 0.35);
  outline: none;
  transform: translateY(-1px);
}

.hero-media {
  position: relative;
}

.media-shell,
.form-shell,
.quote-shell {
  border: 1px solid rgba(22, 25, 31, 0.08);
  border-radius: calc(var(--rc-radius) + 10px);
  background: rgba(22, 25, 31, 0.05);
  padding: 8px;
  box-shadow: var(--rc-shadow);
}

.media-core,
.form-core,
.quote-core {
  overflow: hidden;
  border-radius: var(--rc-radius);
  background: var(--rc-white);
  box-shadow: inset 0 1px 0 rgba(253, 254, 254, 0.65);
}

.media-core img {
  width: 100%;
  aspect-ratio: 4 / 4.55;
  object-fit: cover;
}

.floating-proof {
  position: absolute;
  left: -24px;
  bottom: 28px;
  width: min(270px, 72%);
  border: 1px solid rgba(253, 254, 254, 0.4);
  border-radius: 18px;
  background: rgba(253, 254, 254, 0.92);
  box-shadow: 0 16px 46px rgba(20, 28, 39, 0.16);
  padding: 16px;
}

.floating-proof strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
}

.floating-proof span {
  color: var(--rc-muted);
  font-size: 13px;
}

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

.section.compact {
  padding: var(--rc-section-compact-y) 0;
}

.section.alt {
  background: var(--rc-white);
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head p {
  margin: 0;
  color: var(--rc-muted);
  font-size: 18px;
}

.price-section {
  padding: var(--rc-section-y) 0;
}

.coverage-section {
  border-block: 1px solid rgba(22, 25, 31, 0.05);
  background:
    linear-gradient(90deg, rgba(215, 238, 232, 0.26), transparent 58%),
    var(--rc-paper);
}

.coverage-section h2 {
  font-size: clamp(32px, 4.2vw, 52px);
}

.coverage-section .copy-block {
  gap: 16px;
}

.price-section .section-head {
  margin-bottom: 26px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  grid-template-areas:
    "copy media"
    "risks media";
  gap: clamp(18px, 2.5vw, 28px) clamp(28px, 5vw, 68px);
  align-items: center;
}

.story-copy {
  grid-area: copy;
  display: grid;
  gap: 16px;
}

.story-copy p {
  max-width: 660px;
  margin: 0;
  color: var(--rc-muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.proof-strip span {
  border: 1px solid rgba(20, 92, 84, 0.16);
  border-radius: 999px;
  background: rgba(215, 238, 232, 0.52);
  color: var(--rc-accent);
  font-size: 13px;
  font-weight: 760;
  padding: 8px 11px;
}

.story-media,
.scenario-image,
.method-visual,
.resolution-image {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(22, 25, 31, 0.06);
  padding: 8px;
  box-shadow: var(--rc-shadow);
}

.story-media {
  align-self: stretch;
  min-height: 0;
}

.story-media img,
.scenario-image img,
.method-visual img,
.resolution-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  object-fit: cover;
}

.story-media img {
  height: 100%;
  min-height: 460px;
  max-height: 620px;
}

.risk-stack {
  grid-area: risks;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.risk-card {
  border: 1px solid rgba(22, 25, 31, 0.09);
  border-radius: 16px;
  background: var(--rc-white);
  padding: 16px;
}

.risk-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.15;
}

.risk-card span {
  color: var(--rc-muted);
  font-size: 14px;
  line-height: 1.42;
}

.problem-section {
  background: linear-gradient(180deg, var(--rc-white), var(--rc-paper));
}

.scenario-section {
  background: var(--rc-ink);
  color: var(--rc-white);
  overflow: hidden;
  padding: clamp(54px, 7svh, 76px) 0 clamp(30px, 5svh, 52px);
}

.scenario-section .section-head p,
.scenario-section .scenario-card p {
  color: rgba(253, 254, 254, 0.72);
}

.scenario-section .eyebrow {
  border-color: rgba(253, 254, 254, 0.16);
  background: rgba(253, 254, 254, 0.08);
  color: var(--rc-white);
}

.scenario-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.58fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  min-height: calc(100svh - clamp(92px, 12svh, 128px));
}

.scenario-layout .section-head {
  max-width: 410px;
  margin-bottom: 0;
}

.scenario-layout .section-head h2 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 0.96;
}

.scenario-layout .section-head p {
  max-width: 360px;
  font-size: 17px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}

.scenario-card {
  height: clamp(150px, 21svh, 176px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(253, 254, 254, 0.12);
  border-radius: 18px;
  background: rgba(253, 254, 254, 0.06);
  color: var(--rc-white);
  padding: 18px;
  text-decoration: none;
  transition: transform 420ms var(--rc-ease), background 420ms var(--rc-ease), border-color 420ms var(--rc-ease);
}

.scenario-card:hover,
.scenario-card:focus-visible {
  border-color: rgba(215, 238, 232, 0.36);
  background: rgba(253, 254, 254, 0.1);
  outline: none;
  transform: translateY(-3px);
}

.scenario-card.tint {
  background: rgba(215, 238, 232, 0.14);
}

.scenario-tag,
.scenario-link {
  color: rgba(253, 254, 254, 0.64);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-card strong {
  display: block;
  margin: 7px 0 7px;
  font-size: clamp(23px, 2.1vw, 30px);
  line-height: 0.98;
}

.scenario-card p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.38;
}

.bento {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.tile {
  min-height: 230px;
  border: 1px solid rgba(22, 25, 31, 0.08);
  border-radius: var(--rc-radius);
  background: var(--rc-white);
  padding: 26px;
}

.tile.large {
  grid-row: span 2;
  min-height: 478px;
  background: var(--rc-ink);
  color: var(--rc-white);
}

.tile.tint {
  background: var(--rc-accent-2);
}

.tile.image {
  overflow: hidden;
  padding: 0;
}

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

.tile h3 {
  margin-bottom: 14px;
}

.tile p,
.copy-block p,
.faq-answer,
.legal-content p,
.legal-content li {
  color: var(--rc-muted);
}

.tile.large p {
  color: rgba(253, 254, 254, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
  gap: clamp(32px, 6vw, 84px);
}

.split .section-head {
  margin-bottom: 0;
}

.copy-block {
  display: grid;
  gap: 22px;
}

.copy-block p {
  margin: 0;
  font-size: 17px;
}

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

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.check {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--rc-accent-2);
  color: var(--rc-accent);
  font-weight: 900;
}

.insight-grid {
  display: grid;
  gap: 14px;
}

.insight-card,
.profession-card,
.note-grid div,
.compare-list div {
  border: 1px solid rgba(22, 25, 31, 0.09);
  border-radius: var(--rc-radius-sm);
  background: var(--rc-white);
  padding: 22px;
  text-decoration: none;
  transition: transform 420ms var(--rc-ease), border-color 420ms var(--rc-ease), background 420ms var(--rc-ease);
}

.insight-card:hover,
.insight-card:focus-visible {
  border-color: rgba(20, 92, 84, 0.28);
  background: #f9fbfa;
  outline: none;
  transform: translateY(-2px);
}

.insight-card span,
.profession-card strong,
.note-grid strong,
.compare-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rc-ink);
  font-size: 19px;
  font-weight: 820;
  line-height: 1.15;
}

.insight-card p,
.profession-card span,
.note-grid span,
.compare-list span {
  display: block;
  margin: 0;
  color: var(--rc-muted);
}

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

.factor-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: calc(var(--rc-radius) + 4px);
  background: var(--rc-white);
}

.factor-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  padding: 18px 22px;
}

.factor-row + .factor-row {
  border-top: 1px solid var(--rc-line);
}

.factor-row strong {
  font-size: 18px;
}

.factor-row span {
  color: var(--rc-muted);
}

.price-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.price-intent-card {
  min-height: 170px;
  border: 1px solid rgba(22, 25, 31, 0.09);
  border-radius: 22px;
  background: var(--rc-paper);
  padding: 22px;
}

.price-intent-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--rc-accent-2);
  color: var(--rc-accent);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.08em;
  padding: 6px 9px;
  text-transform: uppercase;
}

.price-intent-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.08;
}

.price-intent-card p {
  margin: 0;
  color: var(--rc-muted);
}

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

.profession-card {
  background: linear-gradient(180deg, var(--rc-white), #f3f7f6);
}

.compare-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  border-radius: 32px;
  background: var(--rc-ink);
  color: var(--rc-white);
  padding: clamp(28px, 5vw, 56px);
}

.compare-panel .eyebrow {
  border-color: rgba(253, 254, 254, 0.18);
  background: rgba(253, 254, 254, 0.08);
  color: var(--rc-white);
}

.compare-panel h2 {
  color: var(--rc-white);
}

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

.compare-list div {
  border-color: rgba(253, 254, 254, 0.12);
  background: rgba(253, 254, 254, 0.06);
}

.compare-list strong {
  color: var(--rc-white);
}

.compare-list span {
  color: rgba(253, 254, 254, 0.72);
}

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

.method-section {
  background: var(--rc-paper);
  padding-top: clamp(72px, 8vw, 102px);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.54fr);
  grid-template-areas:
    "head visual"
    "steps visual";
  gap: clamp(18px, 3vw, 32px) clamp(28px, 5vw, 70px);
  align-items: center;
}

.method-layout .section-head {
  grid-area: head;
  margin-bottom: 0;
}

.method-layout .steps {
  grid-area: steps;
  grid-template-columns: 1fr;
}

.method-visual {
  grid-area: visual;
}

.method-visual img {
  aspect-ratio: 5 / 4;
}

.step {
  border: 1px solid rgba(22, 25, 31, 0.09);
  border-radius: 16px;
  background: var(--rc-white);
  padding: 18px;
}

.step-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--rc-accent-2);
  color: var(--rc-accent);
  font-size: 12px;
  font-weight: 850;
  padding: 6px 9px;
}

.step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.12;
}

.step span {
  color: var(--rc-muted);
}

.lead-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.66fr);
  align-items: start;
  gap: clamp(26px, 5vw, 62px);
}

.resolution-section {
  background:
    linear-gradient(90deg, rgba(215, 238, 232, 0.5), transparent 48%),
    var(--rc-white);
  padding-top: clamp(72px, 8vw, 102px);
}

.resolution-image {
  width: min(420px, 100%);
  box-shadow: 0 18px 50px rgba(20, 28, 39, 0.1);
}

.resolution-image img {
  aspect-ratio: 16 / 11;
}

.resolution-section .copy-block {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.45fr);
  align-items: start;
  gap: 18px 24px;
}

.resolution-section .copy-block > .eyebrow,
.resolution-section .copy-block > h2,
.resolution-section .copy-block > p,
.resolution-section .copy-block > .quote-shell {
  grid-column: 1;
}

.resolution-section .resolution-image {
  grid-column: 2;
  grid-row: 1 / span 5;
  width: 100%;
}

.resolution-note {
  padding: 20px;
}

.form-core {
  padding: 24px;
}

.form-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 820;
  line-height: 1.12;
}

.rc-form {
  display: grid;
  gap: 12px;
}

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

.field label {
  color: var(--rc-ink);
  font-size: 13px;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(22, 25, 31, 0.14);
  border-radius: 14px;
  background: #f9fafb;
  color: var(--rc-ink);
  font: inherit;
  padding: 12px 13px;
  transition: border-color 260ms var(--rc-ease), background 260ms var(--rc-ease), box-shadow 260ms var(--rc-ease);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(20, 92, 84, 0.55);
  background: var(--rc-white);
  box-shadow: 0 0 0 4px rgba(20, 92, 84, 0.12);
  outline: none;
}

.form-note,
.form-success,
.form-error {
  font-size: 13px;
}

.form-note {
  color: var(--rc-muted);
}

.form-success {
  border-radius: 14px;
  background: var(--rc-accent-2);
  color: var(--rc-accent);
  font-weight: 760;
  padding: 12px 14px;
}

.form-error {
  border-radius: 14px;
  background: #fae8e4;
  color: #8d291a;
  font-weight: 760;
  padding: 12px 14px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(22, 25, 31, 0.1);
  border-radius: 16px;
  background: var(--rc-white);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 820;
}

.faq-answer {
  margin-top: 12px;
}

.cta-band {
  border-radius: 32px;
  background: var(--rc-ink);
  color: var(--rc-white);
  padding: clamp(30px, 5vw, 58px);
}

.cta-band p {
  max-width: 650px;
  color: rgba(253, 254, 254, 0.72);
}

.site-footer {
  border-top: 1px solid var(--rc-line);
  background:
    linear-gradient(90deg, rgba(215, 238, 232, 0.32), transparent 52%),
    var(--rc-white);
  padding: clamp(64px, 7vw, 92px) 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 12px 18px;
}

.footer-links a {
  color: var(--rc-muted);
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--rc-accent);
  outline: none;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
  margin-top: 18px;
}

.footer-trust span {
  border: 1px solid rgba(20, 92, 84, 0.16);
  border-radius: 999px;
  background: rgba(215, 238, 232, 0.42);
  color: var(--rc-accent);
  font-size: 12px;
  font-weight: 760;
  padding: 7px 10px;
}

.mobile-action-bar {
  display: none;
}

.legal-content {
  max-width: 820px;
  padding: 72px 0 104px;
}

.legal-content h1 {
  margin-bottom: 24px;
}

.legal-content h2 {
  margin-top: 44px;
  font-size: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 800ms var(--rc-ease), transform 800ms var(--rc-ease);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 901px) and (max-height: 780px) {
  html {
    scroll-padding-top: 98px;
  }

  .hero:not(.hero--home) {
    padding-top: 108px;
    padding-bottom: 24px;
  }

  .hero:not(.hero--home) .hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.56fr);
    gap: clamp(22px, 3vw, 40px);
  }

  .hero:not(.hero--home) .hero-breadcrumbs {
    margin-bottom: 12px;
  }

  .hero:not(.hero--home) h1 {
    max-width: 760px;
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: 0.98;
  }

  .hero:not(.hero--home) .lead {
    max-width: 600px;
    margin-top: 13px;
    font-size: 17px;
    line-height: 1.38;
  }

  .hero:not(.hero--home) .hero-stakes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .hero:not(.hero--home) .hero-stakes span {
    font-size: 13px;
    line-height: 1.32;
  }

  .hero:not(.hero--home) .hero-quick-form {
    max-width: 740px;
    margin-top: 12px;
    padding: 8px;
  }

  .hero:not(.hero--home) .hero-quick-form input,
  .hero:not(.hero--home) .hero-quick-form select,
  .hero:not(.hero--home) .hero-quick-form button {
    min-height: 38px;
  }

  .hero:not(.hero--home) .hero-quick-form label {
    gap: 3px;
  }

  .hero:not(.hero--home) .hero-quick-form label span {
    font-size: 10px;
  }

  .hero:not(.hero--home) .hero-quick-form p {
    display: none;
  }

  .hero:not(.hero--home) .hero-actions {
    display: none;
  }

  .hero:not(.hero--home) .media-core img {
    aspect-ratio: 4 / 3.65;
  }

  .hero:not(.hero--home) .floating-proof {
    bottom: 14px;
    width: min(230px, 70%);
    padding: 12px;
  }

  .hero:not(.hero--home) .floating-proof strong {
    font-size: 18px;
  }
}

@media (min-width: 901px) {
  .faq-section {
    padding: clamp(62px, 7vw, 92px) 0;
  }

  .cta-section {
    padding: clamp(58px, 7vw, 88px) 0 clamp(72px, 8vw, 104px);
  }

  body.has-scrolled .site-header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-110%);
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 96px;
    scroll-snap-type: none;
  }

  .site-header {
    padding: 10px 12px;
  }

  .nav-core {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 88px;
    display: none;
    border: 1px solid rgba(22, 25, 31, 0.08);
    border-radius: 22px;
    background: rgba(253, 254, 254, 0.96);
    box-shadow: var(--rc-shadow);
    padding: 12px;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--rc-ink);
    cursor: pointer;
  }

  .nav-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--rc-white);
    transition: transform 320ms var(--rc-ease);
  }

  .nav-toggle span:first-child {
    transform: translateY(-5px);
  }

  .nav-toggle span:last-child {
    transform: translateY(5px);
  }

  .nav-toggle.is-open span:first-child {
    transform: rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: rotate(-45deg);
  }

  .hero-grid,
  .split,
  .lead-panel,
  .compare-panel,
  .profession-grid,
  .note-grid,
  .factor-row,
  .story-grid,
  .scenario-layout,
  .method-layout {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .snap-section {
    min-height: auto;
  }

  .story-copy,
  .story-media,
  .risk-stack,
  .method-layout .section-head,
  .method-visual,
  .method-layout .steps {
    grid-area: auto;
  }

  .story-media img {
    min-height: 0;
    max-height: none;
  }

  .split .section-head {
    margin-bottom: 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 104px;
  }

  .hero:not(.hero--home),
  .hero:not(.hero--home).snap-section {
    min-height: auto;
  }

  .breadcrumbs + .hero {
    padding-top: 58px;
  }

  .hero-breadcrumbs {
    margin-bottom: 16px;
  }

  .hero-quick-form {
    grid-template-columns: 1fr 1fr;
  }

  .hero-quick-form button {
    grid-column: 1 / -1;
  }

  .hero-media {
    max-width: 560px;
  }

  .bento,
  .scenario-grid,
  .price-intent-grid,
  .steps,
  .risk-stack,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .story-media,
  .scenario-image,
  .method-visual {
    max-width: 560px;
  }

  .resolution-section .copy-block {
    grid-template-columns: 1fr;
  }

  .resolution-section .copy-block > .eyebrow,
  .resolution-section .copy-block > h2,
  .resolution-section .copy-block > p,
  .resolution-section .copy-block > .quote-shell,
  .resolution-section .resolution-image {
    grid-column: auto;
    grid-row: auto;
  }

  .tile.large {
    min-height: auto;
  }

  .trust-item {
    background: var(--rc-paper);
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--rc-line);
  }

  .floating-proof {
    left: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-action-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 12;
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 8px;
    border: 1px solid rgba(22, 25, 31, 0.1);
    border-radius: 999px;
    background: rgba(253, 254, 254, 0.94);
    box-shadow: 0 16px 44px rgba(20, 28, 39, 0.18);
    padding: 7px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body.has-scrolled .mobile-action-bar {
    display: grid;
  }

  .mobile-action-bar a {
    display: grid;
    min-height: 44px;
    place-items: center;
    border-radius: 999px;
    color: var(--rc-ink);
    font-weight: 820;
    text-decoration: none;
  }

  .mobile-action-bar a:first-child {
    background: var(--rc-accent);
    color: var(--rc-white);
  }
}

@media (max-width: 520px) {
  html {
    scroll-snap-type: none;
    scroll-padding-top: 88px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-text span {
    display: none;
  }

  h1 {
    font-size: clamp(31px, 9.6vw, 42px);
    line-height: 1.02;
  }

  .hero--home h1 {
    font-size: clamp(32px, 9.8vw, 43px);
  }

  .lead {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.4;
  }

  .hero-stakes {
    gap: 7px;
    margin-top: 14px;
  }

  .hero-stakes span {
    font-size: 13px;
    line-height: 1.34;
    padding-left: 10px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  .hero {
    padding-top: 90px;
  }

  .hero:not(.hero--home) {
    padding-top: 102px;
  }

  main > .breadcrumbs {
    padding-top: 92px;
  }

  .breadcrumbs + .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .button,
  .link-button,
  .form-button {
    width: 100%;
  }

  .hero-quick-form {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
    border-radius: 22px;
    padding: 10px;
  }

  .hero-quick-form label span {
    font-size: 10px;
  }

  .hero-quick-form input,
  .hero-quick-form select {
    min-height: 40px;
    border-radius: 12px;
    font-size: 14px;
    padding: 8px 10px;
  }

  .hero-quick-form button {
    grid-column: auto;
    padding: 0 10px;
    font-size: 13px;
    line-height: 1.08;
  }

  .hero-quick-form p {
    grid-column: 1 / -1;
    font-size: 12px;
  }

  .section {
    padding: 58px 0 64px;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .scenario-card {
    min-height: 0;
  }

  .scenario-section {
    min-height: 100svh;
    padding: 84px 0 24px;
  }

  .scenario-layout {
    gap: 20px;
    min-height: auto;
    align-content: start;
  }

  .scenario-layout .section-head {
    gap: 12px;
  }

  .scenario-layout .section-head h2 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 0.96;
  }

  .scenario-layout .section-head p {
    font-size: 16px;
    line-height: 1.5;
  }

  .scenario-grid {
    gap: 10px;
  }

  .scenario-card {
    height: 96px;
    border-radius: 16px;
    padding: 13px 16px;
  }

  .scenario-tag,
  .scenario-link {
    font-size: 9.5px;
  }

  .scenario-card strong {
    margin: 4px 0;
    font-size: 22px;
  }

  .scenario-card p {
    display: none;
  }

  .form-core {
    padding: 20px;
  }
}
