:root {
  --ink: #10231f;
  --muted: #62736d;
  --forest: #123f32;
  --forest-2: #0c2f27;
  --leaf: #2f7a59;
  --aqua: #4bb3a6;
  --clay: #c86f3e;
  --sun: #f4c24f;
  --paper: #f7f6ef;
  --white: #ffffff;
  --line: rgba(16, 35, 31, 0.14);
  --shadow: 0 22px 70px rgba(10, 38, 31, 0.16);
  --radius: 8px;
  --header-h: 74px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--sun);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(247, 246, 239, 0.94);
  box-shadow: 0 12px 40px rgba(10, 38, 31, 0.12);
  backdrop-filter: blur(16px);
}

.capture-mode .site-header {
  position: absolute;
}

.nav {
  width: min(1600px, calc(100% - 32px));
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 194px;
  order: 1;
}

.brand-logo-shell {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: rgba(8, 24, 21, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.site-header.is-scrolled .brand-logo-shell,
.site-header.menu-active .brand-logo-shell {
  background: #071512;
}

.brand-logo {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.05rem;
}

.brand small {
  margin-top: 3px;
  font-size: 0.78rem;
  opacity: 0.78;
}

.nav-menu {
  order: 2;
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px;
}

.site-header.is-scrolled .nav-menu,
.site-header.menu-active .nav-menu {
  background: var(--white);
  border-color: var(--line);
}

.nav-menu a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: rgba(244, 194, 79, 0.2);
  outline: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta {
  order: 4;
  flex: 0 0 auto;
  background: var(--sun);
  color: var(--forest-2);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.18);
}

.language-switcher {
  order: 3;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled .language-switcher,
.site-header.menu-active .language-switcher {
  background: rgba(18, 63, 50, 0.08);
  border-color: rgba(16, 35, 31, 0.12);
}

.language-button {
  min-width: 48px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  color: var(--white);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 950;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-header.is-scrolled .language-button,
.site-header.menu-active .language-button {
  color: var(--forest);
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  color: var(--forest-2);
  background: var(--sun);
  outline: none;
}

.language-button:hover {
  transform: translateY(-1px);
}

.language-flag {
  position: relative;
  width: 19px;
  height: 13px;
  flex: 0 0 19px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 1px 3px rgba(0, 0, 0, 0.18);
}

.language-flag-br {
  background: #009b3a;
}

.language-flag-br::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 11px;
  height: 11px;
  background: #ffdf00;
  transform: rotate(45deg);
}

.language-flag-br::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #002776;
}

.language-flag-us {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0,
    #b22234 1px,
    #ffffff 1px,
    #ffffff 2px
  );
}

.language-flag-us::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 8px;
  height: 7px;
  background: #3c3b6e;
}

.language-flag-es {
  background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75% 100%);
}

.language-flag-cn {
  background: #de2910;
}

.language-flag-cn::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 5px;
  height: 5px;
  background: #ffde00;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 56%, 79% 91%, 50% 70%, 21% 91%, 32% 56%, 2% 35%, 39% 35%);
}

.language-flag-cn::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 3px;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: #ffde00;
  box-shadow: 3px 2px 0 #ffde00, 2px 5px 0 #ffde00, -1px 7px 0 #ffde00;
}

.google-translate-shell,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0 !important;
}

.nav-cta svg,
.button svg,
.contact-row svg,
.assurance-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

.nav-toggle {
  order: 5;
  flex: 0 0 auto;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

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

.hero-media {
  background-image: url("assets/hero-geotecnia-sondamais.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 36, 31, 0.84) 0%, rgba(10, 36, 31, 0.74) 31%, rgba(10, 36, 31, 0.18) 63%, rgba(10, 36, 31, 0.08) 100%),
    linear-gradient(180deg, rgba(8, 24, 21, 0.44) 0%, rgba(8, 24, 21, 0.1) 52%, rgba(247, 246, 239, 0.96) 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 58px) 0 74px;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--sun);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 8.2vw, 6.3rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-title span,
.hero-title strong,
.hero-title em {
  display: block;
}

.hero-title span {
  font-size: 0.84em;
  line-height: 0.9;
}

.hero-title strong {
  margin-top: 0.12em;
  color: var(--white);
  font-size: 0.66em;
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-title em {
  margin-top: 0.12em;
  color: var(--sun);
  font-size: 0.5em;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: none;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.5;
}

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

.button-primary {
  color: var(--forest-2);
  background: var(--sun);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.button-outline {
  color: var(--forest-2);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.button-dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-ghost-dark {
  color: var(--forest-2);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 35, 31, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 1px;
  width: min(650px, 100%);
  margin: 44px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  padding: 18px;
  background: rgba(9, 32, 27, 0.24);
}

.hero-stats dt {
  margin: 0 0 5px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1;
  font-weight: 950;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 0.88rem;
  line-height: 1.35;
}

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

.section-pad {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(270px, 0.56fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading .section-kicker {
  grid-column: 1;
}

.section-heading h2 {
  grid-column: 1;
}

.section-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.section-heading.narrow {
  display: block;
  max-width: 720px;
}

.section-kicker {
  color: var(--leaf);
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--forest-2);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading p,
.technical-copy p,
.proof p,
.quote-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.decision-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.decision-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 22px 28px;
  align-items: center;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.decision-grid h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.35rem);
}

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

.decision-pill {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--forest-2);
  background: #fbfaf5;
  font-weight: 850;
  cursor: pointer;
}

.decision-pill.active {
  border-color: transparent;
  background: var(--forest);
  color: var(--white);
}

.decision-result {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 352px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(10, 38, 31, 0.06);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: rgba(75, 179, 166, 0.14);
  color: var(--forest);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card p {
  margin: 12px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: #324940;
  font-size: 0.94rem;
  line-height: 1.4;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
}

.technical {
  background: #e9efe9;
}

.technical-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.9fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.technical-copy p {
  margin-top: 20px;
}

.assurance-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.assurance-list div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(16, 35, 31, 0.12);
  color: #2f4740;
  line-height: 1.48;
}

.assurance-list svg {
  margin-top: 2px;
  color: var(--leaf);
}

.profile-panel {
  min-height: 520px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 15%, rgba(244, 194, 79, 0.18), transparent 28%),
    linear-gradient(145deg, var(--forest-2), #0f4a3d 62%, #175d4f);
  color: var(--white);
  padding: 24px;
  box-shadow: 0 28px 78px rgba(8, 36, 30, 0.28);
}

.profile-panel .report-preview ~ .soil-profile {
  display: none;
}

.profile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-top span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.profile-panel .profile-top span {
  font-size: 0;
}

.profile-panel .profile-top span::after {
  content: "Laudo com perfil do solo";
  font-size: 1rem;
}

.profile-top strong {
  color: var(--sun);
  font-size: 1.15rem;
}

.soil-profile {
  display: grid;
  grid-template-columns: 58px minmax(140px, 1fr);
  grid-template-rows: 1fr auto;
  gap: 18px;
  min-height: 438px;
  padding-top: 24px;
}

.depth-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.layers {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.layer {
  position: absolute;
  inset-inline: 0;
}

.layer-fill {
  top: 0;
  height: 21%;
  background: repeating-linear-gradient(-35deg, #8a5d3f 0 10px, #a5764f 10px 20px);
}

.layer-clay {
  top: 21%;
  height: 28%;
  background: repeating-linear-gradient(25deg, #b55f3f 0 9px, #cf8259 9px 18px);
}

.layer-silt {
  top: 49%;
  height: 26%;
  background: repeating-linear-gradient(-8deg, #9b9870 0 8px, #c3bd86 8px 16px);
}

.layer-sand {
  top: 75%;
  height: 25%;
  background: radial-gradient(circle, #e6c774 0 2px, #d1a94e 3px 7px);
  background-size: 18px 18px;
}

.water-line {
  position: absolute;
  inset-inline: 0;
  top: 66%;
  border-top: 3px solid var(--aqua);
  box-shadow: 0 0 0 999px rgba(75, 179, 166, 0.08);
}

.water-line::after {
  content: "NA";
  position: absolute;
  right: 12px;
  top: -28px;
  color: #c7fff6;
  font-weight: 900;
}

.profile-table {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-table div {
  min-height: 78px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.profile-table span,
.profile-table strong {
  display: block;
}

.profile-table span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-table strong {
  margin-top: 7px;
  color: var(--white);
  font-size: 1.24rem;
}

.report-preview {
  position: relative;
  display: block;
  margin-top: 22px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f4f3ed;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 48px rgba(4, 18, 15, 0.24);
}

.report-preview img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.98) contrast(1.02);
}

.report-preview span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(10, 34, 29, 0.9);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.report-preview svg {
  width: 17px;
  height: 17px;
}

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

.report-callouts div {
  min-height: 74px;
  padding: 13px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.report-callouts span,
.report-callouts strong {
  display: block;
}

.report-callouts span {
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.report-callouts strong {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  line-height: 1.25;
}

.report-actions {
  margin-top: 14px;
}

.report-actions .button {
  width: 100%;
}

.sondacalc {
  background:
    radial-gradient(circle at 82% 12%, rgba(244, 194, 79, 0.16), transparent 28%),
    linear-gradient(135deg, #0a221d 0%, #123f32 58%, #e9efe9 58%, #e9efe9 100%);
  color: var(--white);
}

.sondacalc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.95fr);
  gap: clamp(34px, 7vw, 78px);
  align-items: center;
}

.sondacalc .section-kicker {
  color: var(--sun);
}

.sondacalc h2 {
  color: var(--white);
}

.sondacalc-copy p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.66;
}

.sondacalc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sondacalc-panel {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 28px 78px rgba(6, 25, 21, 0.24);
}

.sondacalc-terminal {
  overflow: hidden;
  border-radius: var(--radius);
  background: #071512;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-top span {
  color: var(--sun);
  font-size: 1.2rem;
  font-weight: 950;
}

.calc-top strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
  text-align: right;
}

.calc-screen {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.calc-screen div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 50px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.calc-screen span {
  color: var(--aqua);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-screen strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.35;
}

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

.sondacalc-metrics div {
  min-height: 92px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fbfaf6;
  border: 1px solid var(--line);
}

.sondacalc-metrics strong,
.sondacalc-metrics span {
  display: block;
}

.sondacalc-metrics strong {
  color: var(--forest);
  font-size: 1.7rem;
  line-height: 1;
}

.sondacalc-metrics span {
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.28;
}

.sondacalc-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sondacalc-links a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: rgba(18, 63, 50, 0.08);
  border: 1px solid rgba(18, 63, 50, 0.16);
  color: var(--forest);
  font-weight: 900;
}

.sondacalc-links svg {
  width: 18px;
  height: 18px;
  color: var(--clay);
  flex: 0 0 auto;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li {
  min-height: 256px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: block;
  margin-bottom: 60px;
  color: var(--clay);
  font-weight: 950;
  font-size: 0.86rem;
}

.process-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.proof {
  background: var(--forest-2);
  color: var(--white);
}

.proof h2 {
  color: var(--white);
}

.proof .section-kicker {
  color: var(--sun);
}

.proof p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 20px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.72fr);
  gap: 36px 54px;
  align-items: center;
}

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

.proof-metrics div {
  min-height: 118px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-metrics strong,
.proof-metrics span {
  display: block;
}

.proof-metrics strong {
  color: var(--sun);
  font-size: 1.55rem;
  line-height: 1;
}

.proof-metrics span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.client-band {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.client-band span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.google-business-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.google-label {
  display: block;
  margin-bottom: 8px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.google-business-card h3 {
  color: var(--white);
  font-size: clamp(1.18rem, 2.3vw, 1.75rem);
}

.google-business-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.google-rating {
  display: grid;
  gap: 5px;
  min-width: 160px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.16);
  text-align: center;
}

.google-rating strong {
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.google-rating span {
  color: var(--sun);
  letter-spacing: 0;
}

.google-rating small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.25;
}

.google-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.clients {
  background:
    radial-gradient(circle at 12% 10%, rgba(47, 122, 89, 0.09), transparent 34%),
    linear-gradient(180deg, #f7f6ef 0%, #ffffff 100%);
}

.clients-heading {
  margin-bottom: 28px;
}

.clients-showcase {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.12);
  box-shadow: 0 24px 70px rgba(10, 38, 31, 0.12);
}

.clients-showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.clients-showcase figcaption {
  margin: 0;
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  border-top: 1px solid rgba(16, 35, 31, 0.08);
}

.clients-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.clients-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(47, 122, 89, 0.1);
  border: 1px solid rgba(47, 122, 89, 0.18);
  font-weight: 850;
}

.library {
  background:
    linear-gradient(180deg, rgba(247, 246, 239, 0.98), rgba(233, 239, 233, 0.98)),
    url("assets/logo-sondamais-bg.jpg") center / cover no-repeat;
}

.library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1fr);
  gap: 28px 52px;
  align-items: center;
}

.library-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

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

.library-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
}

.library-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 35, 31, 0.12);
  box-shadow: 0 18px 48px rgba(10, 38, 31, 0.1);
}

.library-card-primary {
  grid-row: span 2;
  min-height: 392px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(10, 34, 29, 0.94), rgba(18, 63, 50, 0.94)),
    url("assets/laudo-perfil-sp01-preview.png") top right / 68% auto no-repeat;
  border-color: rgba(255, 255, 255, 0.16);
}

.library-card span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(47, 122, 89, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.library-card-primary span {
  color: var(--forest-2);
  background: var(--sun);
}

.library-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.library-card-primary h3 {
  margin-top: auto;
  color: var(--white);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.library-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.library-card a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 900;
}

.library-card-primary a {
  color: var(--sun);
}

.library-card svg {
  width: 17px;
  height: 17px;
}

.library-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.library-proof div {
  min-height: 94px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(16, 35, 31, 0.1);
}

.library-proof strong,
.library-proof span {
  display: block;
}

.library-proof strong {
  color: var(--forest);
  font-size: 1.55rem;
  line-height: 1;
}

.library-proof span {
  margin-top: 10px;
  color: var(--muted);
}

.repo-page {
  background: #eef3ee;
}

.repo-hero {
  padding: calc(var(--header-h) + 58px) 0 56px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 18, 0.92), rgba(18, 63, 50, 0.9)),
    url("assets/hero-geotecnia-sondamais.jpg") center / cover no-repeat;
}

.repo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.54fr);
  gap: 34px;
  align-items: end;
}

.repo-hero h1 {
  max-width: 880px;
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.repo-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
  line-height: 1.58;
}

.repo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.repo-hero-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.repo-hero-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(7, 21, 18, 0.74);
}

.repo-hero-card strong {
  display: block;
  margin-top: 20px;
  color: var(--sun);
  font-size: 2rem;
  line-height: 1;
}

.repo-hero-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.repo-intro {
  padding: 34px 0 0;
}

.repo-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.repo-filter span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  font-weight: 850;
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 28px;
}

.repo-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.1);
  box-shadow: 0 18px 44px rgba(10, 38, 31, 0.08);
}

.repo-card.featured {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(10, 34, 29, 0.94), rgba(18, 63, 50, 0.94)),
    url("assets/laudo-perfil-sp01-preview.png") top right / 66% auto no-repeat;
}

.repo-tag {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(47, 122, 89, 0.12);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.repo-card.featured .repo-tag {
  color: var(--forest-2);
  background: var(--sun);
}

.repo-card h2 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  line-height: 1.17;
}

.repo-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.article-body {
  display: grid;
  gap: 14px;
}

.article-body ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-body li {
  position: relative;
  padding-left: 18px;
  color: #44564f;
  line-height: 1.45;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--leaf);
}

.repo-card.featured h2,
.repo-card.featured p {
  color: var(--white);
}

.repo-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.repo-card.featured .article-body li {
  color: rgba(255, 255, 255, 0.76);
}

.repo-card.featured .article-body li::before {
  background: var(--sun);
}

.repo-source {
  display: block;
  color: #6f7d78;
  font-size: 0.82rem;
  font-weight: 800;
}

.repo-card.featured .repo-source {
  color: rgba(255, 255, 255, 0.66);
}

.repo-card a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 900;
}

.repo-card.featured a {
  color: var(--sun);
}

.repo-card svg {
  width: 17px;
  height: 17px;
}

.article-open {
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(47, 122, 89, 0.1);
  border: 1px solid rgba(47, 122, 89, 0.18);
}

.repo-card.featured .article-open {
  background: rgba(244, 194, 79, 0.14);
  border-color: rgba(244, 194, 79, 0.28);
}

.repo-cta {
  padding: 0 0 72px;
}

.repo-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #0a221d, #123f32);
}

.repo-cta h2 {
  color: var(--white);
}

.repo-cta p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.article-page {
  background: #eef3ee;
}

.article-hero {
  padding: calc(var(--header-h) + 54px) 0 54px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 18, 0.94), rgba(18, 63, 50, 0.9)),
    url("assets/hero-geotecnia-sondamais.jpg") center / cover no-repeat;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 34px;
  align-items: end;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 850;
}

.article-back svg {
  width: 17px;
  height: 17px;
}

.article-hero .section-kicker {
  display: block;
  margin-top: 28px;
  color: var(--sun);
}

.article-hero h1 {
  max-width: 930px;
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(2.35rem, 6vw, 5.9rem);
  line-height: 0.98;
}

.article-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
  line-height: 1.6;
}

.article-summary {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.article-summary img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(7, 21, 18, 0.74);
}

.article-summary strong,
.article-summary span {
  display: block;
}

.article-summary strong {
  margin-top: 20px;
  color: var(--sun);
  font-size: 1.8rem;
  line-height: 1;
}

.article-summary span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.article-reading-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.article-index {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 35, 31, 0.1);
}

.article-index strong {
  margin-bottom: 6px;
  color: var(--forest);
}

.article-index a {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius);
  color: #40534c;
  font-weight: 800;
}

.article-index a:hover,
.article-index a:focus-visible {
  background: rgba(47, 122, 89, 0.1);
  outline: none;
}

.article-content {
  display: grid;
  gap: 16px;
}

.article-content section {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.1);
  box-shadow: 0 16px 42px rgba(10, 38, 31, 0.08);
}

.article-content section > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(47, 122, 89, 0.12);
  font-size: 0.78rem;
  font-weight: 950;
}

.article-content h2 {
  margin: 14px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.article-content p {
  margin: 16px 0 0;
  color: #40534c;
  font-size: 1.05rem;
  line-height: 1.72;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  padding-left: 22px;
  color: #40534c;
  line-height: 1.56;
}

.article-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(244, 194, 79, 0.18);
}

.article-cta {
  padding: 0 0 72px;
}

.article-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #0a221d, #123f32);
}

.article-cta h2 {
  color: var(--white);
}

.article-cta p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.academy-page {
  background: #eef3ee;
}

.academy-hero {
  padding: calc(var(--header-h) + 58px) 0 58px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 18, 0.95), rgba(18, 63, 50, 0.9)),
    url("assets/hero-geotecnia-sondamais.jpg") center / cover no-repeat;
}

.academy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.34fr);
  gap: 34px;
  align-items: end;
}

.academy-hero h1 {
  max-width: 980px;
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(2.25rem, 5.8vw, 5.45rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.academy-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.13rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.academy-actions,
.academy-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.academy-hero-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.academy-hero-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(7, 21, 18, 0.74);
}

.academy-hero-card strong,
.academy-hero-card span {
  display: block;
}

.academy-hero-card strong {
  margin-top: 18px;
  color: var(--sun);
  font-size: 1.55rem;
  line-height: 1.05;
}

.academy-hero-card span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.academy-overview {
  background: var(--paper);
}

.academy-overview-grid,
.academy-downloads-grid,
.academy-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  gap: 28px;
  align-items: center;
}

.academy-overview h2,
.academy-downloads h2,
.academy-cta h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.academy-overview p,
.academy-downloads p,
.academy-cta p {
  margin: 16px 0 0;
  color: #40534c;
  font-size: 1.08rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.academy-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.academy-stat-strip div {
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.academy-stat-strip div:last-child {
  border-right: 0;
}

.academy-stat-strip strong,
.academy-stat-strip span {
  display: block;
}

.academy-stat-strip strong {
  color: var(--sun);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.9;
}

.academy-stat-strip span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.35;
}

.academy-index {
  background: #e8efea;
}

.academy-catalog {
  background:
    linear-gradient(180deg, rgba(232, 239, 234, 0.98), rgba(247, 246, 239, 0.98)),
    url("assets/logo-sondamais-bg.jpg") center / 560px auto repeat;
}

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

.academy-topic-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 430px;
  align-content: space-between;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 251, 246, 0.96));
  border: 1px solid rgba(16, 35, 31, 0.12);
  box-shadow: 0 20px 52px rgba(10, 38, 31, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.academy-topic-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--leaf), var(--aqua), var(--sun));
}

.academy-topic-card:hover,
.academy-topic-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(244, 194, 79, 0.48);
  box-shadow: 0 30px 76px rgba(10, 38, 31, 0.16);
  outline: none;
}

.academy-topic-primary {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 18, 0.96), rgba(18, 63, 50, 0.94)),
    url("assets/logo-sondamais.png") calc(100% - 28px) calc(100% - 28px) / min(220px, 28vw) auto no-repeat;
}

.academy-topic-badge {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(47, 122, 89, 0.12);
  border: 1px solid rgba(47, 122, 89, 0.16);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.academy-topic-primary .academy-topic-badge {
  color: var(--forest-2);
  background: var(--sun);
  border-color: rgba(255, 255, 255, 0.2);
}

.academy-topic-card h3 {
  margin: 0;
  max-width: 680px;
  color: inherit;
  font-size: clamp(1.65rem, 2.6vw, 3.1rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.academy-topic-card p {
  max-width: 620px;
  margin: 0;
  color: #40534c;
  font-size: 1.06rem;
  line-height: 1.62;
}

.academy-topic-primary p {
  color: rgba(255, 255, 255, 0.8);
}

.academy-topic-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.academy-topic-card li {
  position: relative;
  padding-left: 20px;
  color: #40534c;
  line-height: 1.45;
}

.academy-topic-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--clay);
}

.academy-topic-primary li {
  color: rgba(255, 255, 255, 0.78);
}

.academy-topic-primary li::before {
  background: var(--sun);
}

.academy-topic-card strong {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: var(--forest-2);
  background: var(--sun);
  font-weight: 950;
}

.academy-topic-card strong svg {
  width: 18px;
  height: 18px;
}

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

.academy-toc a {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.1);
  color: var(--forest);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.academy-toc a:hover,
.academy-toc a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(244, 194, 79, 0.5);
  background: rgba(244, 194, 79, 0.12);
  box-shadow: 0 14px 30px rgba(10, 38, 31, 0.08);
  outline: none;
}

.academy-course {
  background:
    linear-gradient(180deg, rgba(247, 246, 239, 0.96), rgba(238, 243, 238, 0.98)),
    url("assets/logo-sondamais-bg.jpg") center / 540px auto repeat;
}

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

.academy-pages {
  counter-reset: academyPage;
}

.academy-module {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 252, 248, 0.96));
  border: 1px solid rgba(16, 35, 31, 0.1);
  box-shadow: 0 16px 38px rgba(10, 38, 31, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.academy-module::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--leaf), var(--sun));
}

.academy-module:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 122, 89, 0.26);
  box-shadow: 0 24px 54px rgba(10, 38, 31, 0.13);
}

.academy-module:nth-child(4n + 2)::before {
  background: linear-gradient(90deg, var(--aqua), var(--leaf));
}

.academy-module:nth-child(4n + 3)::before {
  background: linear-gradient(90deg, var(--clay), var(--sun));
}

.academy-module:nth-child(4n + 4)::before {
  background: linear-gradient(90deg, var(--forest), var(--aqua));
}

.academy-module span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest);
  background: rgba(47, 122, 89, 0.12);
  border: 1px solid rgba(47, 122, 89, 0.16);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.academy-module h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.academy-module p,
.academy-module li {
  color: #40534c;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.academy-module p {
  margin: 12px 0 0;
}

.academy-module ul,
.academy-module ol {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.academy-module li::marker {
  color: var(--clay);
  font-weight: 900;
}

.academy-module strong {
  color: var(--forest);
}

.academy-module-featured {
  grid-column: 1 / -1;
  min-height: 300px;
  display: grid;
  align-content: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 18, 0.96), rgba(18, 63, 50, 0.94)),
    url("assets/logo-sondamais.png") calc(100% - 26px) center / min(260px, 30vw) auto no-repeat;
  border-color: rgba(244, 194, 79, 0.3);
  box-shadow: 0 30px 76px rgba(10, 38, 31, 0.22);
}

.academy-module-featured::before {
  background: linear-gradient(90deg, var(--sun), var(--aqua), var(--leaf));
}

.academy-module-featured span {
  width: fit-content;
  color: var(--forest-2);
  background: var(--sun);
  border-color: rgba(255, 255, 255, 0.22);
}

.academy-module-featured h3,
.academy-module-featured p,
.academy-module-featured strong {
  max-width: 720px;
  color: var(--white);
}

.academy-module-featured p {
  color: rgba(255, 255, 255, 0.8);
}

.academy-module-featured strong {
  color: var(--sun);
}

.academy-downloads {
  background:
    linear-gradient(180deg, rgba(238, 243, 238, 0.98), rgba(247, 246, 239, 0.98));
}

.academy-downloads-grid,
.academy-cta-grid {
  padding: 28px;
  border-radius: var(--radius);
}

.academy-downloads-grid {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 249, 245, 0.96));
  border: 1px solid rgba(16, 35, 31, 0.12);
  box-shadow: 0 22px 58px rgba(10, 38, 31, 0.1);
}

.academy-cta {
  padding: 0 0 72px;
  background: #eef3ee;
}

.academy-cta-grid {
  color: var(--white);
  background: linear-gradient(135deg, #0a221d, #123f32);
}

.academy-cta h2 {
  color: var(--white);
}

.academy-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.videos {
  background:
    linear-gradient(180deg, rgba(247, 246, 239, 0.96), rgba(233, 239, 233, 0.96)),
    url("assets/logo-sondamais-bg.jpg") center / cover no-repeat;
}

.videos-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: start;
}

.videos-copy {
  position: sticky;
  top: 110px;
}

.section-logo {
  width: min(170px, 48vw);
  height: auto;
  margin-bottom: 24px;
  padding: 14px;
  border-radius: var(--radius);
  background: #071512;
  box-shadow: 0 18px 48px rgba(10, 38, 31, 0.16);
}

.videos-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.videos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.video-main {
  grid-column: 2;
  display: grid;
  gap: 28px;
}

.video-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(10, 38, 31, 0.1);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071512;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  padding: 22px;
}

.video-meta span {
  display: block;
  margin-bottom: 9px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.video-meta h3,
.video-grid h3 {
  color: var(--forest-2);
}

.video-meta p {
  margin: 11px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.video-insight {
  display: grid;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(18, 63, 50, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 244, 230, 0.82)),
    repeating-linear-gradient(135deg, rgba(83, 142, 39, 0.08) 0 2px, transparent 2px 18px);
  box-shadow: 0 18px 48px rgba(10, 38, 31, 0.1);
}

.video-insight-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  align-items: start;
}

.video-insight-heading span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(244, 194, 79, 0.22);
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.video-insight-heading h3 {
  color: var(--forest-2);
  font-size: clamp(1.12rem, 1.5vw, 1.42rem);
  line-height: 1.15;
}

.video-insight-heading p {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.5;
}

.video-insight-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.video-insight-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(18, 63, 50, 0.1);
  background: rgba(255, 255, 255, 0.74);
}

.video-insight-item svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--leaf);
}

.video-insight-item strong {
  display: block;
  color: var(--forest-2);
  font-size: 0.95rem;
}

.video-insight-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

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

.video-grid .video-card {
  box-shadow: 0 10px 32px rgba(10, 38, 31, 0.08);
}

.video-grid h3 {
  min-height: 86px;
  padding: 16px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.video-links {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.video-links a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 72px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--forest);
  font-weight: 850;
  line-height: 1.35;
}

.video-links svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: var(--clay);
  flex: 0 0 auto;
}

.referral {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 16%, rgba(244, 194, 79, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(7, 21, 18, 0.98), rgba(18, 63, 50, 0.96)),
    url("assets/logo-sondamais-bg.jpg") center / 520px auto repeat;
}

.referral-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(390px, 0.78fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.referral h2,
.referral p {
  color: inherit;
}

.referral-copy p {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.68;
}

.referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.referral-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.referral-card div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 5px 14px;
  min-height: 116px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.referral-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--forest-2);
  background: var(--sun);
  font-weight: 950;
}

.referral-card strong {
  color: var(--sun);
  font-size: 1.12rem;
}

.referral-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.referral-page {
  background: #eef3ee;
}

.referral-hero {
  padding: calc(var(--header-h) + 66px) 0 66px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 21, 18, 0.92), rgba(18, 63, 50, 0.88)),
    url("assets/hero-geotecnia-sondamais.jpg") center / cover no-repeat;
}

.referral-hero-grid,
.referral-script-grid,
.referral-rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

.referral-grid > *,
.referral-hero-grid > *,
.referral-script-grid > *,
.referral-rules-grid > * {
  min-width: 0;
}

.referral-hero h1 {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--white);
  font-size: clamp(2.55rem, 5.2vw, 4.85rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.referral-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
  line-height: 1.6;
}

.referral-hero-card {
  width: min(100%, 430px);
  justify-self: end;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.referral-hero-card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(7, 21, 18, 0.72);
}

.referral-hero-card strong {
  display: block;
  margin-top: 22px;
  color: var(--sun);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.04;
}

.referral-hero-card span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.referral-program {
  background:
    linear-gradient(180deg, rgba(247, 246, 239, 0.98), rgba(232, 239, 234, 0.98)),
    url("assets/logo-sondamais-bg.jpg") center / 560px auto repeat;
}

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

.referral-steps article {
  min-height: 310px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.1);
  box-shadow: 0 18px 44px rgba(10, 38, 31, 0.08);
}

.referral-steps span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest-2);
  background: var(--sun);
  font-weight: 950;
}

.referral-steps h3 {
  margin: 46px 0 0;
  color: var(--forest-2);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.16;
}

.referral-steps p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.referral-script {
  background: var(--forest-2);
  color: var(--white);
}

.referral-script h2 {
  color: var(--white);
}

.referral-script p {
  color: rgba(255, 255, 255, 0.78);
}

.share-copy {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.share-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.share-copy .button {
  margin-top: 22px;
}

.referral-rules {
  background: #e8efea;
}

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

.rule-list div {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 70px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(16, 35, 31, 0.1);
}

.rule-list svg {
  width: 22px;
  height: 22px;
  color: var(--leaf);
}

.rule-list span {
  color: var(--muted);
  line-height: 1.5;
}

.referral-final {
  background: var(--forest);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.82fr);
  gap: clamp(32px, 7vw, 78px);
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: 110px;
}

.quote-copy p {
  margin-top: 20px;
}

.contact-row {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-row a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-weight: 850;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--forest-2);
  font-size: 0.88rem;
  font-weight: 850;
}

.quote-form .full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 31, 0.18);
  border-radius: var(--radius);
  background: #fbfaf6;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
  min-height: 118px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(47, 122, 89, 0.13);
}

.quote-form .button {
  width: 100%;
  min-height: 54px;
}

.site-footer {
  padding: 34px 0;
  background: #0a221d;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  gap: 26px;
  align-items: center;
}

.footer-brand {
  min-width: 220px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--sun);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
  white-space: nowrap;
}

.button-footer {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 1280px) {
  .referral-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 30px;
  }

  .referral-hero h1 {
    max-width: 650px;
    font-size: clamp(2.45rem, 4.8vw, 4.15rem);
    line-height: 1;
  }

  .referral-hero-card {
    width: min(100%, 380px);
  }
}

@media (max-width: 1480px) {
  .brand {
    order: 1;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
    display: inline-flex;
  }

  .nav-menu {
    order: 4;
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    border-radius: var(--radius);
    padding: 0 14px;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 980px) {
  .brand {
    order: 1;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
    display: inline-flex;
  }

  .nav-menu {
    order: 4;
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    border-radius: var(--radius);
    padding: 0 14px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-inner {
    min-height: 86svh;
    padding-top: calc(var(--header-h) + 42px);
  }

  .section-heading,
  .decision-grid,
  .technical-grid,
  .proof-grid,
  .google-business-card,
  .library-layout,
  .sondacalc-grid,
  .videos-layout,
  .quote-grid,
  .repo-hero-grid,
  .repo-cta-grid,
  .article-hero-grid,
  .article-reading-grid,
  .article-cta-grid,
  .academy-hero-grid,
  .academy-overview-grid,
  .academy-downloads-grid,
  .academy-cta-grid,
  .referral-grid,
  .referral-hero-grid,
  .referral-script-grid,
  .referral-rules-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading .section-kicker,
  .section-heading h2,
  .section-heading p {
    grid-column: auto;
    grid-row: auto;
  }

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

  .videos-copy {
    position: static;
  }

  .video-main,
  .video-grid,
  .video-insight,
  .video-links {
    grid-column: auto;
  }

  .video-insight-list {
    grid-template-columns: 1fr;
  }

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

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

  .academy-modules,
  .academy-toc,
  .referral-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .google-actions {
    justify-content: flex-start;
  }

  .sondacalc {
    background:
      radial-gradient(circle at 76% 8%, rgba(244, 194, 79, 0.16), transparent 28%),
      linear-gradient(180deg, #0a221d 0%, #123f32 100%);
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .quote-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  :root {
    --header-h: 68px;
  }

  .nav,
  .section-shell,
  .hero-inner {
    width: min(100% - 22px, 1180px);
  }

  .nav {
    gap: 8px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .brand-logo-shell {
    width: 42px;
    height: 42px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .language-switcher {
    gap: 4px;
    padding: 3px;
  }

  .language-button {
    min-width: 38px;
    min-height: 36px;
    padding: 0 7px;
  }

  .language-button span:not(.language-flag) {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 36, 31, 0.88), rgba(10, 36, 31, 0.57)),
      linear-gradient(180deg, rgba(8, 24, 21, 0.35) 0%, rgba(8, 24, 21, 0.18) 54%, rgba(247, 246, 239, 0.96) 100%);
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 3.9rem);
  }

  .hero-title span {
    font-size: 0.86em;
  }

  .hero-title strong {
    font-size: 0.66em;
  }

  .hero-title em {
    font-size: 0.52em;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .hero-stats div {
    padding: 15px 16px;
  }

  .decision-grid {
    padding: 18px;
  }

  .decision-options,
  .service-grid,
  .library-featured,
  .video-grid,
  .video-links,
  .referral-card,
  .referral-steps,
  .google-actions,
  .library-actions,
  .sondacalc-actions,
  .sondacalc-metrics,
  .process-list,
  .profile-table,
  .quote-form,
  .proof-metrics,
  .library-proof,
  .repo-grid,
  .repo-actions,
  .repo-filter {
    grid-template-columns: 1fr;
  }

  .academy-modules,
  .academy-topic-grid,
  .academy-toc,
  .academy-stat-strip {
    grid-template-columns: 1fr;
  }

  .academy-topic-card {
    min-height: 0;
    padding: 22px;
  }

  .academy-topic-card h3 {
    font-size: clamp(1.9rem, 10vw, 3.1rem);
  }

  .library-featured,
  .repo-filter {
    display: grid;
  }

  .clients-showcase {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .clients-showcase img {
    min-width: 760px;
  }

  .library-card-primary {
    grid-row: auto;
    min-height: 320px;
  }

  .repo-hero h1 {
    font-size: clamp(2.45rem, 14vw, 4.25rem);
  }

  .repo-hero-card {
    padding: 18px;
  }

  .article-index {
    position: static;
  }

  .article-hero h1 {
    font-size: clamp(2.25rem, 12vw, 4.1rem);
  }

  .article-summary {
    padding: 18px;
  }

  .academy-hero h1 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .academy-stat-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .academy-stat-strip div:last-child {
    border-bottom: 0;
  }

  .referral-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .referral-hero-card {
    width: 100%;
    justify-self: stretch;
  }

  .quote-form .full {
    grid-column: auto;
  }

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

  .technical-grid {
    gap: 28px;
  }

  .profile-panel {
    min-height: 460px;
    padding: 18px;
  }

  .report-preview img {
    height: 360px;
  }

  .soil-profile {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 380px;
  }

  .layers {
    min-height: 286px;
  }

  .report-callouts {
    grid-template-columns: 1fr;
  }

  .process-list {
    border-bottom: 0;
  }

  .process-list li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 0;
  }

  .process-list span {
    margin-bottom: 24px;
  }

  .footer-grid {
    align-items: start;
  }
}

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