:root {
  color-scheme: light;
  --brand: #00b607;
  --brand-strong: #00d20a;
  --brand-deep: #067607;
  --gold: #c9972e;
  --ink: #070b07;
  --muted: #5b665c;
  --surface: #ffffff;
  --surface-2: #f2f7ef;
  --surface-3: #e7efe2;
  --line: rgba(7, 11, 7, 0.12);
  --panel: rgba(255, 255, 255, 0.86);
  --shadow: 0 22px 70px rgba(7, 11, 7, 0.16);
  --radius: 8px;
  --max: 1180px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f5faf2;
  --muted: #b6c2b3;
  --surface: #0b100c;
  --surface-2: #111811;
  --surface-3: #1b241b;
  --line: rgba(245, 250, 242, 0.14);
  --panel: rgba(17, 24, 17, 0.86);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--surface-2), var(--surface) 36rem),
    var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 32px), var(--max));
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.14);
}

.brand {
  width: clamp(170px, 20vw, 245px);
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(7, 11, 7, 0.08);
  border-radius: var(--radius);
  background: #fff;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 850;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.nav a::after {
  position: absolute;
  right: 12px;
  bottom: 7px;
  left: 12px;
  height: 2px;
  background: var(--brand);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 3;
}

.menu-toggle,
.theme-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.theme-toggle .moon,
:root[data-theme="dark"] .theme-toggle .sun {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .moon {
  display: block;
}

.site-header svg,
.btn svg,
.service-card svg,
.info-card svg,
.contact-lines svg,
.whatsapp-float svg,
.back-link svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.15;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0a0e0a;
}

.hero {
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 138px max(24px, calc((100vw - var(--max)) / 2)) 38px;
}

.page-hero {
  min-height: 62svh;
  display: grid;
  align-items: end;
  padding: 142px max(24px, calc((100vw - var(--max)) / 2)) 72px;
}

.page-hero.compact {
  min-height: 48svh;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 7, 0.94), rgba(7, 11, 7, 0.7) 40%, rgba(7, 11, 7, 0.24) 72%),
    linear-gradient(180deg, rgba(7, 11, 7, 0.12), rgba(7, 11, 7, 0.78));
  content: "";
}

.hero-lines {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.page-hero .hero-content {
  width: min(900px, 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 850;
}

.breadcrumb a {
  color: var(--brand-strong);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero h1,
.page-hero h1,
.section-heading h2,
.split-copy h2,
.planner-copy h2,
.cta h2,
.contact-info h2,
.legal-content h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6.2vw, 5.35rem);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
}

.hero-copy,
.page-copy {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
}

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

.btn {
  position: relative;
  min-height: 52px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 950;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn span {
  min-width: 0;
}

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

.btn-primary {
  color: #071007;
  background: linear-gradient(135deg, var(--brand-strong), #b7ff9f 62%, #e2c068);
  box-shadow: 0 14px 34px rgba(0, 210, 10, 0.28);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 52px;
  z-index: 3;
  width: min(350px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(7, 11, 7, 0.62);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.hero-panel .panel-label,
.hero-panel p {
  color: rgba(255, 255, 255, 0.7);
}

.hero-panel strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.stats-strip {
  position: relative;
  z-index: 5;
  width: min(calc(100% - 32px), var(--max));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -28px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 124px;
  padding: 24px;
  background: var(--surface);
}

.stat span {
  display: block;
  color: var(--brand-deep);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 950;
  line-height: 0.96;
}

:root[data-theme="dark"] .stat span,
:root[data-theme="dark"] .service-card svg,
:root[data-theme="dark"] .info-card svg {
  color: var(--brand-strong);
}

.stat p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.section,
.content-band,
.case-planner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
  scroll-margin-top: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: block;
  max-width: 880px;
}

.section-heading h2,
.split-copy h2,
.planner-copy h2,
.cta h2,
.contact-info h2 {
  font-size: clamp(2.25rem, 4.8vw, 4.8rem);
}

.section-heading p,
.split-copy p,
.planner-copy p,
.contact-info p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

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

.service-card,
.info-card,
.faq-item,
.planner-tool,
.contact-form,
.map-panel,
.material-tabs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.service-card {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: auto 20px 20px auto;
  width: 72px;
  height: 72px;
  border-right: 2px solid color-mix(in srgb, var(--brand) 55%, transparent);
  border-bottom: 2px solid color-mix(in srgb, var(--gold) 60%, transparent);
  content: "";
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card svg,
.info-card svg {
  width: 36px;
  height: 36px;
  margin-bottom: auto;
  color: var(--brand-deep);
}

.service-card h3,
.info-card h3 {
  margin: 48px 0 10px;
  font-size: 1.45rem;
  line-height: 1.05;
}

.service-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

:root[data-theme="dark"] .card-link {
  color: var(--brand-strong);
}

.info-card {
  min-height: 252px;
  padding: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.split-visual {
  min-height: 510px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
}

.split-copy > p {
  margin-top: 22px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-list span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.feature-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 11, 7, 0.96), rgba(21, 28, 21, 0.96)),
    url("/assets/odontos-hero.png") center / cover;
}

.feature-band .section-heading p,
.feature-band .split-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-band .info-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.feature-band .info-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.timeline-item {
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: #080d08;
}

.timeline-item:nth-child(even) {
  background: #182017;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #061006;
  background: var(--brand-strong);
  font-weight: 950;
}

.timeline-item h3 {
  margin: 52px 0 10px;
  font-size: 1.32rem;
}

.timeline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.materials {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.tab {
  min-height: 58px;
  padding: 0 12px;
  border: 0;
  color: var(--muted);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.tab.is-active {
  color: #061006;
  background: var(--brand-strong);
}

.tab-panel {
  min-height: 320px;
  display: grid;
  align-content: end;
  padding: 30px;
}

.panel-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #080d08;
  font-weight: 950;
}

.tab-panel h3 {
  margin: 56px 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.tab-panel p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.case-planner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.planner-tool {
  padding: 18px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--surface-3);
}

.segmented button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.segmented button.is-active {
  color: #061006;
  background: var(--brand-strong);
}

.planner-result {
  min-height: 260px;
  padding: 22px 4px 18px;
}

.planner-result h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.planner-result ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planner-result li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}

.planner-result li::before {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #061006;
  background: var(--brand-strong);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 950;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  font-style: normal;
}

.contact-lines a,
.contact-lines span {
  min-height: 50px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 820;
}

.contact-lines svg {
  color: var(--brand-deep);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label,
.check-row {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface-2);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}

.check-row {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  line-height: 1.4;
}

.check-row input {
  min-height: 20px;
  margin: 2px 0 0;
}

.check-row a,
.legal-content a {
  color: var(--brand-deep);
  font-weight: 950;
}

:root[data-theme="dark"] .check-row a,
:root[data-theme="dark"] .legal-content a,
:root[data-theme="dark"] .contact-lines svg {
  color: var(--brand-strong);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--brand-deep);
  font-weight: 850;
}

.map-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

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

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-item.is-open p {
  display: block;
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 112px 24px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 11, 7, 0.94), rgba(7, 11, 7, 0.62)),
    url("/assets/odontos-hero.png") center / cover fixed;
}

.cta-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin-bottom: 32px;
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 132px 16px 116px;
}

.legal-content h1 {
  margin: 20px 0 24px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-weight: 900;
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: #070b07;
}

.footer-inner {
  width: min(calc(100% - 32px), var(--max));
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) repeat(3, minmax(160px, 0.45fr));
  gap: 34px;
  margin: 0 auto;
  padding: 58px 0;
}

.footer img {
  width: min(220px, 58vw);
  margin-bottom: 18px;
  padding: 9px;
  border-radius: var(--radius);
  background: #fff;
}

.footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer p {
  margin: 0;
}

.footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.footer a:hover {
  color: var(--brand-strong);
}

.footer-bottom {
  width: min(calc(100% - 32px), var(--max));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.38);
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

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

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 4px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(430px, 100%);
    margin-top: 34px;
  }

  .section-heading,
  .split,
  .materials,
  .case-planner,
  .contact {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.three,
  .timeline,
  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-visual,
  .split-visual img {
    min-height: 410px;
  }

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

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    width: min(190px, 62vw);
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    top: 82px;
    right: 10px;
    left: 10px;
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    min-height: 50px;
  }

  .hero,
  .page-hero {
    min-height: 86svh;
    padding: 118px 16px 30px;
  }

  .page-hero.compact {
    min-height: 58svh;
  }

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

  .hero-actions,
  .actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-panel {
    display: none;
  }

  .stats-strip,
  .card-grid,
  .card-grid.three,
  .timeline,
  .form-grid,
  .segmented {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 104px;
  }

  .section,
  .content-band,
  .case-planner {
    padding: 74px 0;
  }

  .section-heading h2,
  .split-copy h2,
  .planner-copy h2,
  .cta h2,
  .contact-info h2 {
    font-size: clamp(2.05rem, 11vw, 3.4rem);
  }

  .service-card,
  .timeline-item,
  .info-card {
    min-height: 236px;
  }

  .split-visual,
  .split-visual img {
    min-height: 300px;
  }

  .materials {
    padding: 18px;
  }

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

  .tab {
    min-height: 50px;
  }

  .planner-tool,
  .contact-form {
    padding: 16px;
  }

  .cta {
    padding: 88px 16px;
    background-attachment: scroll;
  }

  .footer-inner,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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