:root {
  --black: #11100f;
  --black-soft: #1b1916;
  --white: #ffffff;
  --paper: #fbfaf7;
  --ink: #101010;
  --muted: #5f5a55;
  --line: #ddd6ca;
  --gold: #c9952b;
  --gold-light: #f5dd82;
  --gold-soft: #f4e7ba;
  --gold-dark: #936516;
  --shadow: 0 18px 46px rgba(17, 16, 15, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

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

.site-header {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 18px 28px 26px;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  display: block;
  width: 106px;
  height: 68px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 22px;
  line-height: 1.08;
}

.brand-text small {
  color: var(--muted);
  font-size: 15px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 7vw, 96px);
  color: var(--ink);
  font-size: 20px;
}

.language-toggle {
  min-height: 42px;
  padding: 0 18px;
  color: #130d03;
  border: 1px solid rgba(139, 91, 8, 0.42);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(147, 101, 22, 0.18);
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0.48;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.96) 0%, rgba(17, 16, 15, 0.86) 42%, rgba(17, 16, 15, 0.58) 100%),
    linear-gradient(0deg, rgba(17, 16, 15, 0.26), rgba(17, 16, 15, 0.1));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  padding: 74px clamp(18px, 4vw, 72px) 64px;
}

.hero-brand-logo {
  display: block;
  width: min(620px, 92vw);
  height: auto;
  margin: 0 0 28px;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.45));
}

.gold-label,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 36px;
  color: var(--gold-light);
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gold-label::before,
.section-label::before {
  content: "";
  width: 50px;
  height: 2px;
  background: currentColor;
}

.hero-kicker {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 500;
  line-height: 1;
}

.hero-copy,
.lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.5vw, 22px);
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
}

.hero-actions {
  display: grid;
  gap: 14px;
  width: min(650px, 100%);
  margin-top: 36px;
}

.gold-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.gold-button {
  color: #130d03;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
  border: 1px solid rgba(139, 91, 8, 0.55);
}

.outline-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.focus-strip {
  display: grid;
  color: var(--white);
  background: linear-gradient(90deg, #11100f, #1c1812);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.focus-strip div {
  padding: 26px clamp(24px, 4vw, 42px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

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

.focus-strip strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.focus-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.section {
  padding: 86px clamp(18px, 4vw, 72px);
}

.intro-section {
  background: var(--paper);
}

.section-label {
  margin-bottom: 12px;
  color: #5d5a56;
  font-size: 17px;
}

.section-label::before {
  display: none;
}

h2 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 5vw, 57px);
  font-weight: 500;
  line-height: 1.08;
}

.lead {
  max-width: 900px;
  margin: 42px 0 0;
  color: var(--muted);
}

.pathway-grid {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}

.pathway-card {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 7px;
  color: var(--ink);
  background: var(--gold-soft);
  font-size: 18px;
  font-weight: 900;
}

.pathway-card h3 {
  margin: 16px 0 10px;
  font-size: 24px;
}

.pathway-card p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.pathway-card strong {
  align-self: end;
  margin-top: 50px;
  color: var(--gold-dark);
  font-size: 18px;
}

.focus-panel {
  margin: 0 clamp(18px, 4vw, 72px) 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 248, 243, 0.92);
  overflow: hidden;
}

.focus-panel div {
  padding: 32px 28px;
  border-bottom: 1px solid var(--line);
}

.focus-panel div:last-child {
  border-bottom: 0;
}

.focus-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

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

.action-section,
.agent-section {
  background: var(--white);
}

.page-main {
  background: var(--paper);
}

.page-hero {
  padding: 72px clamp(18px, 4vw, 72px);
  background: var(--paper);
}

.page-hero h1,
.page-hero h2 {
  margin: 0;
}

.details-grid,
.form-grid,
.schedule-grid,
.tool-grid,
.agent-grid {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

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

.detail-card,
.form-card,
.tool-card,
.schedule-card,
.package-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-card span,
.result-label {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.detail-card strong,
.result-value {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.form-card form,
.tool-card form {
  display: grid;
  gap: 18px;
}

.hidden-field {
  display: none;
}

.field-grid {
  display: grid;
  gap: 16px;
}

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

label,
.checkbox-group legend {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font: inherit;
}

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

.checkbox-group {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-list label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
}

.checkbox-list input {
  width: auto;
  min-height: auto;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button.gold-button,
button.outline-button {
  cursor: pointer;
  font-family: inherit;
}

.clear-button {
  min-height: 58px;
  padding: 0 22px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--gold-dark);
  font-weight: 900;
}

.result-panel {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  border-radius: 8px;
  background: #16130d;
  color: var(--white);
}

.result-value {
  color: var(--gold-light);
  font-size: 34px;
}

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

.breakdown-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.house-diagram {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(180deg, #1b1813, #11100f);
  border-radius: 8px;
}

.house-roof,
.house-foundation {
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(245, 221, 130, 0.35);
}

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

.house-body span {
  padding: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}

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

.schedule-card h3,
.package-card h3 {
  margin-top: 0;
}

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

.steps-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.steps-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: var(--gold-soft);
  font-weight: 900;
}

.package-details {
  display: none;
  margin-top: 22px;
}

.package-details.is-open {
  display: block;
}

.disclaimer {
  color: var(--muted);
  font-size: 15px;
}

.wide {
  width: min(650px, 100%);
  margin-top: 34px;
}

.closing-section {
  display: grid;
  gap: 32px;
  color: var(--white);
  background: linear-gradient(135deg, #11100f, #201911 60%, #4c3410);
}

.closing-section .lead {
  color: rgba(255, 255, 255, 0.78);
}

.outline-button.dark {
  width: min(420px, 100%);
}

.package-card .outline-button.dark,
.page-main .outline-button.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.closing-section .outline-button.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px clamp(18px, 4vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

@media (min-width: 860px) {
  .site-header {
    justify-items: stretch;
  }

  .brand {
    justify-self: start;
  }

  .main-nav {
    justify-content: center;
  }

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

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

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

  .tool-grid,
  .agent-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  }

  .closing-section {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px 24px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 92px;
    height: 56px;
  }

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

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    width: 100%;
    text-align: center;
    font-size: 17px;
  }

  .main-nav a:last-child {
    grid-column: 1 / -1;
  }

  .language-toggle {
    width: 100%;
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    padding: 58px 18px 54px;
  }

  .gold-label {
    margin-bottom: 34px;
  }

  .hero-kicker {
    font-size: 18px;
  }

  .hero-brand-logo {
    width: min(100%, 420px);
    margin-bottom: 22px;
  }

  .section {
    padding: 72px 18px;
  }

  .details-grid,
  .field-grid.two,
  .schedule-grid,
  .tool-grid,
  .agent-grid {
    grid-template-columns: 1fr;
  }

  .button-row .gold-button,
  .button-row .clear-button,
  .button-row .outline-button {
    width: 100%;
  }

  .pathway-card {
    min-height: 230px;
    padding: 22px;
  }

  .focus-panel {
    margin: 0 18px 58px;
  }

  .site-footer {
    display: grid;
  }
}
