:root {
  --ink: #10202b;
  --muted: #667782;
  --navy: #071f2a;
  --navy-2: #0d3141;
  --blue: #1e6f92;
  --gold: #f5c46b;
  --green: #16a05d;
  --cream: #f7f3e9;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: rgba(16, 32, 43, 0.12);
  --shadow: 0 22px 70px rgba(7, 31, 42, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

a {
  color: inherit;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

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

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
}

.site-header {
  position: absolute;
  z-index: 20;
  width: 100%;
  color: var(--white);
}

.nav-wrap {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 14px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a,
.site-nav button {
  color: inherit;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.lang-toggle,
.nav-cta {
  border-radius: 999px;
  background: transparent;
}

.lang-toggle {
  min-width: 54px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 840px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 28%, rgba(245, 196, 107, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(7, 31, 42, 0.96) 0%, rgba(7, 31, 42, 0.8) 45%, rgba(7, 31, 42, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 31, 42, 0.72), transparent 48%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 840px;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  padding-top: 88px;
}

.hero-copy h1,
.section-heading h2,
.final-card h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: clamp(48px, 7vw, 86px);
}

.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 13px;
  color: #71818a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(245, 196, 107, 0.9);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: var(--gold);
  color: #14212a;
}

.button-dark {
  background: var(--navy);
  color: var(--white);
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-glass-dark {
  border-color: var(--line);
  background: rgba(7, 31, 42, 0.06);
  color: var(--navy);
}

.button-whatsapp {
  border-color: rgba(22, 160, 93, 0.26);
  background: #e9f8ef;
  color: #0f6f42;
}

.button-full {
  width: 100%;
}

.text-button {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 850;
}

.hero-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats span {
  padding: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.hero-stats strong {
  display: block;
  color: var(--white);
  font-size: 22px;
}

.discovery-panel {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fafb 100%);
  box-shadow: 0 18px 50px rgba(7, 31, 42, 0.08);
}

.discovery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 24px;
  align-items: start;
}

.discovery-copy {
  display: grid;
  gap: 18px;
}

.discovery-copy h3 {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 1.05;
}

.discovery-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discovery-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf5f7;
  color: var(--navy-2);
  font-size: 12px;
  font-weight: 800;
}

.discovery-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.discovery-tool {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(7, 31, 42, 0.08);
}

.panel-heading {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.panel-heading h2 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.1;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ai-dot {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 15px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.advisor-form,
.advisor-result {
  display: grid;
  gap: 14px;
}

label {
  color: #344650;
  font-size: 12px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
}

.result-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.advisor-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.advisor-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.advisor-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trust-strip {
  background: var(--navy);
  color: var(--white);
}

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

.trust-grid p {
  margin: 0;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.trust-grid p:first-child {
  padding-left: 0;
}

.trust-grid p:last-child {
  border-right: 0;
}

.trust-grid span {
  margin-right: 10px;
  color: var(--gold);
  font-weight: 900;
}

.section {
  padding: 100px 0;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(36px, 5vw, 62px);
}

.section-heading p {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
}

.centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.projects-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(30, 111, 146, 0.12), transparent 32%),
    var(--paper);
}

.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-pill {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.filter-pill.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.filter-mode,
.result-count {
  color: var(--muted);
  font-size: 13px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  scroll-margin-top: 24px;
}

.project-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(7, 31, 42, 0.07);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(7, 31, 42, 0.12);
  outline: 0;
}

.project-image-wrap {
  position: relative;
  height: 218px;
  overflow: hidden;
  background: #dce4e6;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.project-card:hover img {
  transform: scale(1.035);
}

.project-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-badges span,
.project-price {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.project-price {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.project-subtitle {
  margin: 0 0 5px;
  color: #788891;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-body h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.08;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.project-facts span {
  padding: 5px 9px;
  border-radius: 9px;
  background: var(--cream);
  color: #485a64;
  font-size: 11px;
  font-weight: 800;
}

.access-line {
  margin: 0 0 14px;
  color: var(--navy-2);
  font-size: 14px;
  font-weight: 800;
}

.project-note {
  color: var(--muted);
  font-size: 13px;
}

.match-ticks {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.match-ticks li {
  position: relative;
  padding-left: 24px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.match-ticks li::before {
  position: absolute;
  left: 0;
  top: 0.05em;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 999px;
  background: #e9f8ef;
  color: #188f4f;
  content: "✓";
  font-size: 11px;
  font-weight: 950;
}

.advisor-match-ticks {
  margin-top: 10px;
}

.advisor-match-ticks li {
  color: var(--ink);
}

.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.mini-button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.mini-button.primary {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.compare-panel {
  display: block;
  margin-top: 30px;
  padding: 24px;
  border-radius: 26px;
  background: var(--navy);
  color: var(--white);
}

.compare-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.compare-panel h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.compare-panel p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

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

.compare-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.compare-chip {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  color: var(--white);
  font-size: 13px;
}

.compare-table tbody th {
  width: 150px;
  color: var(--gold);
  font-weight: 900;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.compare-insight-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.compare-insight-grid h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 16px;
}

.compare-insight-grid ul,
.compare-faq ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.compare-faq {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.compare-faq summary {
  color: var(--gold);
  font-weight: 900;
}

.compare-faq ul {
  margin-top: 12px;
  margin-bottom: 0;
}

.why-section,
.agents-section {
  background: var(--white);
}

.benefit-grid,
.agent-grid,
.testimonial-grid,
.calculator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-grid article,
.agent-grid article,
.testimonial-grid article,
.calculator-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 35px rgba(7, 31, 42, 0.05);
}

.benefit-grid article,
.agent-grid article,
.testimonial-grid article {
  padding: 28px;
}

.benefit-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eaf5f8;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-grid h3,
.agent-grid h3,
.testimonial-grid h3,
.process-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
}

.benefit-grid p,
.agent-grid p,
.testimonial-grid p,
.process-grid p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  background: var(--cream);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-grid article {
  padding: 22px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.agent-avatar {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 22px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.testimonials-section {
  background:
    linear-gradient(180deg, rgba(7, 31, 42, 0.03), transparent),
    var(--paper);
}

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

.calculator-card {
  padding: 26px;
}

.calculator-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.calculator-heading span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
}

.calculator-heading h3 {
  margin: 0;
  font-size: 22px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calculator-output {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--cream);
}

.calculator-output small {
  color: var(--muted);
  font-weight: 850;
}

.calculator-output strong {
  display: block;
  margin: 4px 0;
  color: var(--navy);
  font-size: 30px;
}

.calculator-output p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.final-cta {
  background: var(--navy);
  color: var(--white);
}

.final-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.final-card h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.final-card p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding: 54px 0 28px;
  background: #061821;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 42px;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.footer-grid h3 {
  margin: 0 0 10px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  background: #18b565;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(24, 181, 101, 0.32);
}

body.modal-open {
  overflow: hidden;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 18, 25, 0.72);
  backdrop-filter: blur(6px);
}

.detail-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(88vh, 980px);
  overflow: auto;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
}

.detail-close {
  position: sticky;
  z-index: 3;
  top: 16px;
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 16px 16px -58px 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(7, 31, 42, 0.14);
}

.detail-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

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

.detail-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 31, 42, 0.92), rgba(7, 31, 42, 0.25));
}

.detail-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 78px 40px 40px;
}

.detail-hero-copy h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.detail-hero-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.detail-badges span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.detail-body {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.detail-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.detail-section-head {
  margin-bottom: 18px;
}

.detail-section h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
}

.detail-section p {
  margin: 0;
  color: var(--muted);
}

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

.spec-grid div {
  padding: 14px;
  border-radius: 16px;
  background: var(--cream);
}

.spec-grid span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-grid strong {
  color: var(--navy);
  font-size: 13px;
}

.detail-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-two-col article {
  min-width: 0;
}

.layout-list,
.confirm-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.layout-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-height: 760px;
  overflow: auto;
  padding-right: 4px;
}

.layout-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #eef6f8;
}

.layout-image-button {
  display: block;
  width: 100%;
  height: 190px;
  padding: 0;
  border: 0;
  background: #dce7eb;
  overflow: hidden;
}

.layout-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.layout-image-button:hover img {
  transform: scale(1.04);
}

.layout-card-body {
  padding: 15px;
}

.layout-card h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
}

.layout-card p,
.layout-card small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.layout-card .layout-size {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.layout-price-line {
  display: grid;
  gap: 2px;
  margin: 8px 0 6px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(245, 196, 107, 0.22);
}

.layout-price-line span {
  color: #7b6a42;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layout-price-line strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 950;
}

.layout-card small.layout-price-note {
  display: block;
  margin: 6px 0;
  color: #6d7d86;
  font-size: 11px;
  line-height: 1.35;
}

.confirm-list {
  color: var(--muted);
  font-size: 13px;
}

.confirm-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  list-style: disc;
}

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

.similar-grid button {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-align: left;
}

.similar-grid strong,
.similar-grid span {
  display: block;
}

.similar-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.detail-cta {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(10px);
}

.load-error {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 18px;
  background: #fff3f0;
  color: #9c321d;
}

body[data-lang="zh"] .en-only {
  display: none;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    display: none;
    width: min(300px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(7, 31, 42, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a,
  .site-nav button {
    padding: 12px;
    text-align: left;
  }

  .hero-layout,
  .split-heading,
  .discovery-grid,
  .final-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .project-grid,
  .benefit-grid,
  .agent-grid,
  .testimonial-grid,
  .calculator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .compare-head {
    flex-direction: column;
  }

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

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

  .spec-grid,
  .layout-list,
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-stats,
  .trust-grid,
  .project-grid,
  .benefit-grid,
  .agent-grid,
  .testimonial-grid,
  .calculator-grid,
  .process-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .section {
    padding: 72px 0;
  }

  .trust-grid p {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .project-actions {
    grid-template-columns: 1fr;
  }

  .detail-modal {
    padding: 10px;
  }

  .detail-panel {
    max-height: 92vh;
    border-radius: 22px;
  }

  .detail-hero {
    min-height: 310px;
  }

  .detail-hero-copy {
    padding: 72px 22px 28px;
  }

  .detail-body {
    padding: 14px;
  }

  .detail-section {
    padding: 18px;
  }

  .spec-grid,
  .layout-list,
  .similar-grid {
    grid-template-columns: 1fr;
  }

  .detail-cta {
    position: static;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}
