:root {
  --ink: #172622;
  --ink-soft: #43504c;
  --pine: #123f3a;
  --pine-light: #28675e;
  --copper: #a76532;
  --cream: #f6f2ea;
  --paper: #fffdf9;
  --sand: #e8dfd2;
  --sand-dark: #d4c6b5;
  --error: #9d3026;
  --success: #397463;
  --shadow: 0 24px 70px rgba(37, 47, 43, 0.09);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(167, 101, 50, 0.07), transparent 25rem),
    var(--cream);
  color: var(--ink);
  font: 16px/1.65 Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(18, 63, 58, 0.018) 1px, transparent 1px);
  background-size: 100% 28px;
  content: "";
  pointer-events: none;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.25rem); line-height: 0.98; }
h2 { font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.12; }
h3 { font-size: 1.05rem; line-height: 1.35; }
p { color: var(--ink-soft); }
a { color: var(--pine); text-underline-offset: 0.18em; }
address { color: var(--ink-soft); font-style: normal; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--paper);
  padding: 0.65rem 0.9rem;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(18, 63, 58, 0.08); background: rgba(255, 253, 249, 0.97); box-shadow: 0 5px 24px rgba(23, 38, 34, 0.06); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--pine); font-size: 1.12rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.brand small { display: block; margin-top: 0.2rem; color: var(--ink-soft); font-size: 0.69rem; font-weight: 400; letter-spacing: 0.09em; text-transform: uppercase; }
.brand-mark { display: block; width: 46px; height: 46px; object-fit: contain; }
.brand-copy { display: block; }
.main-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.5rem); }
.main-nav > a:not(.button) { position: relative; color: var(--ink); font-size: 0.92rem; text-decoration: none; }
.main-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -0.4rem; left: 0; height: 1px; transform: scaleX(0); background: var(--copper); content: ""; transition: transform 160ms ease; }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--sand-dark); border-radius: 4px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 21px; height: 2px; background: var(--pine); transition: transform 160ms ease, opacity 160ms ease; }
.mobile-menu[open] summary span:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
.mobile-menu[open] summary span:last-child { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: flex; position: absolute; top: calc(100% + 0.8rem); right: 0; width: min(310px, calc(100vw - 28px)); align-items: stretch; flex-direction: column; border: 1px solid var(--sand); background: var(--paper); padding: 0.7rem; box-shadow: var(--shadow); }
.mobile-nav > a:not(.button) { border-bottom: 1px solid var(--sand); color: var(--ink); padding: 0.75rem 0.65rem; text-decoration: none; }
.mobile-nav > a[aria-current="page"] { color: var(--copper); }
.mobile-nav .button { margin-top: 0.7rem; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid var(--pine);
  border-radius: 8px;
  background: var(--pine);
  color: #fff;
  padding: 0.72rem 1.15rem;
  font: 700 0.9rem/1.2 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); border-color: var(--pine-light); background: var(--pine-light); box-shadow: 0 10px 24px rgba(18, 63, 58, 0.15); }
.button-small { min-height: 42px; padding: 0.6rem 0.9rem; }
.button-secondary { border-color: var(--sand-dark); background: transparent; color: var(--pine); }
.button-secondary:hover { color: #fff; }
.button-wide { width: 100%; }
.text-link { font-weight: 700; }
.actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.eyebrow { margin-bottom: 0.85rem; color: var(--copper); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.lead { max-width: 720px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.65; }
.lead.compact { max-width: 610px; font-size: 1.04rem; }
.muted { color: var(--ink-soft); }

.hero { display: grid; min-height: 560px; grid-template-columns: minmax(0, 1.2fr) minmax(390px, 0.8fr); align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); padding: clamp(2.75rem, 5vw, 4rem) 0; }
.hero h1 { max-width: 800px; margin-bottom: 1.6rem; }
.hero .lead { margin-bottom: 1.4rem; }
.language-list { display: flex; margin-bottom: 2rem; gap: 0.25rem 1rem; flex-wrap: wrap; font-size: 0.88rem; }
.language-list span { position: relative; }
.language-list span:not(:last-child)::after { position: absolute; right: -0.6rem; color: var(--copper); content: "·"; }
.hero-visual { position: relative; width: 100%; min-width: 0; min-height: 570px; }
.hero-visual::after { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(180deg, rgba(18, 63, 58, 0.04), rgba(18, 63, 58, 0.34)); content: ""; pointer-events: none; }
.hero-visual > img { display: block; width: 100%; max-width: 100%; height: 570px; border-radius: 2px; object-fit: cover; object-position: 60% center; box-shadow: 0 28px 70px rgba(23, 38, 34, 0.16); }
.hero-card { position: absolute; right: -1.4rem; bottom: -2rem; z-index: 1; width: min(360px, calc(100% - 2rem)); overflow: hidden; border: 1px solid rgba(212, 198, 181, 0.85); border-radius: 2px; background: rgba(255, 253, 249, 0.96); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-card::before { position: absolute; top: -65px; right: -65px; width: 145px; height: 145px; border: 1px solid rgba(167, 101, 50, 0.22); border-radius: 50%; content: ""; }
.card-kicker { margin-bottom: 1.5rem; color: var(--pine); font-family: Georgia, serif; font-size: 1.35rem; }
.mini-steps { margin: 0; padding: 0; list-style: none; }
.mini-steps li { display: flex; align-items: center; gap: 1rem; border-top: 1px solid var(--sand); padding: 1.05rem 0; }
.mini-steps li:last-child { padding-bottom: 0; }
.mini-steps li > span { color: var(--copper); font: 0.8rem Georgia, serif; }
.mini-steps strong, .mini-steps small { display: block; }
.mini-steps small { margin-top: 0.15rem; color: var(--ink-soft); }

.price-teaser { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); border-top: 1px solid var(--sand-dark); border-bottom: 1px solid var(--sand-dark); padding: 1.5rem 0; }
.price-teaser p { margin: 0; }
.price-teaser-copy { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.price-teaser-copy .eyebrow { flex: 0 0 auto; margin: 0; }
.price-teaser-copy strong, .price-teaser-copy small { display: block; }
.price-teaser-copy strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.price-teaser-copy small { margin-top: 0.15rem; color: var(--ink-soft); font-size: 0.78rem; }
.price-teaser-value { display: flex; align-items: baseline; gap: 0.4rem; color: var(--pine); white-space: nowrap; }
.price-teaser-value span, .price-teaser-value small { color: var(--copper); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.price-teaser-value strong { font: 500 2.2rem/1 Georgia, serif; letter-spacing: -0.04em; }
.price-teaser > a { white-space: nowrap; }

.section-block { padding: 2.5rem 0 3rem; }
.section-heading { display: grid; max-width: 850px; grid-template-columns: 1fr 1fr; column-gap: 3rem; margin-bottom: 1.8rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--sand-dark); border-bottom: 1px solid var(--sand-dark); }
.process-grid article { min-height: 220px; border-right: 1px solid var(--sand-dark); padding: 1.5rem 1.5rem 1.25rem; }
.process-grid article:first-child { padding-left: 0; }
.process-grid article:last-child { border-right: 0; }
.step-number { display: inline-block; margin-bottom: 1.25rem; color: var(--copper); font: 1rem Georgia, serif; }
.process-grid h3 { margin-bottom: 0.7rem; }
.process-grid p { margin-bottom: 0; font-size: 0.93rem; }
.confidence-band { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; border-radius: var(--radius); background: var(--pine); padding: clamp(1.75rem, 4vw, 3rem); }
.confidence-band h2, .confidence-band p { margin-bottom: 0; color: #fff; }
.confidence-band .eyebrow { margin-bottom: 0.7rem; color: #d9b18e; }
.confidence-band > p { align-self: end; color: rgba(255, 255, 255, 0.76); }

.page-hero { padding: clamp(3.25rem, 6vw, 5rem) 0 clamp(2.25rem, 4vw, 3.5rem); }
.page-hero.narrow { max-width: 850px; }
.page-hero h1 { margin-bottom: 1.5rem; }
.split-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.split-panel > div { padding: clamp(1.7rem, 4vw, 3rem); }
.split-panel > div + div { border-left: 1px solid var(--sand); }
.split-panel h2 { font-size: 1.55rem; }
.split-panel p { margin-bottom: 0; }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem 0; }
.page-cta p { margin: 0; font-family: Georgia, serif; font-size: 1.3rem; }

.pricing-section { position: relative; overflow: hidden; margin-top: clamp(3rem, 5vw, 4.5rem); scroll-margin-top: 120px; border: 1px solid var(--sand-dark); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.pricing-section::before { position: absolute; top: -130px; right: -100px; width: 310px; height: 310px; border: 1px solid rgba(167, 101, 50, 0.15); border-radius: 50%; content: ""; pointer-events: none; }
.pricing-heading { display: grid; position: relative; grid-template-columns: minmax(0, 1fr) minmax(210px, 0.34fr); align-items: end; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 5vw, 4rem); }
.pricing-heading h2 { max-width: 750px; margin-bottom: 1rem; }
.pricing-heading p:last-child { max-width: 650px; margin-bottom: 0; }
.price-highlight { border-left: 1px solid var(--sand-dark); padding-left: clamp(1.5rem, 4vw, 3rem); }
.price-highlight span, .price-highlight small { display: block; color: var(--ink-soft); }
.price-highlight span { margin-bottom: 0.25rem; color: var(--copper); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.price-highlight strong { display: block; margin-bottom: 0.25rem; color: var(--pine); font: 500 clamp(3.2rem, 7vw, 5.2rem)/0.95 Georgia, serif; letter-spacing: -0.05em; }
.price-highlight small { max-width: 180px; font-size: 0.82rem; line-height: 1.45; }
.price-table-wrap { border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); background: rgba(246, 242, 234, 0.45); padding: 0 clamp(2rem, 5vw, 4rem); }
.price-table { width: 100%; border-collapse: collapse; text-align: left; }
.price-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.price-table th, .price-table td { border-bottom: 1px solid var(--sand); padding: 1rem 0; }
.price-table th { color: var(--ink-soft); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.price-table th:last-child, .price-table td:last-child { width: 150px; color: var(--pine); font-weight: 700; text-align: right; white-space: nowrap; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.pricing-footer { display: flex; align-items: center; justify-content: space-between; gap: clamp(2rem, 5vw, 4rem); padding: clamp(2rem, 5vw, 3rem) clamp(2rem, 5vw, 4rem); }
.pricing-footer p { max-width: 760px; margin: 0; font-size: 0.9rem; }
.pricing-footer strong { color: var(--ink); }
.pricing-footer .button { flex: 0 0 auto; }

.timeline { max-width: 880px; margin: 0 0 6rem; padding: 0; list-style: none; }
.timeline li { display: grid; position: relative; grid-template-columns: 78px 1fr; gap: 1.5rem; padding-bottom: 3rem; }
.timeline li::before { position: absolute; top: 45px; bottom: 5px; left: 21px; width: 1px; background: var(--sand-dark); content: ""; }
.timeline li:last-child::before { display: none; }
.timeline li > span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font: 0.8rem Georgia, serif; }
.timeline h2 { margin-bottom: 0.55rem; font-size: 1.65rem; }
.timeline p { max-width: 650px; margin-bottom: 0; }

.faq-list { max-width: 880px; margin-bottom: 6rem; border-top: 1px solid var(--sand-dark); }
.faq-list details { border-bottom: 1px solid var(--sand-dark); }
.faq-list summary { position: relative; padding: 1.5rem 3rem 1.5rem 0; color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 1.45rem; right: 0; color: var(--copper); content: "+"; font: 1.5rem/1 Georgia, serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; padding: 0 2rem 1.5rem 0; }

.contact-card { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; margin-bottom: 6rem; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.contact-card > div { min-width: 0; padding: clamp(1.6rem, 4vw, 2.8rem); }
.contact-card > div + div { border-left: 1px solid var(--sand); }
.contact-card a { display: block; overflow-wrap: anywhere; margin-bottom: 0.35rem; font-family: Georgia, serif; font-size: 1.08rem; }
.contact-label { display: block; margin-bottom: 1rem; color: var(--copper); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

.prose-page { max-width: 790px; padding: clamp(3rem, 6vw, 5rem) 0 3.5rem; }
.prose-page h1 { margin-bottom: 2.5rem; }
.prose-page h2 { margin: 2.6rem 0 0.7rem; font-size: 1.55rem; }
.prose-page p { font-size: 1.03rem; }
.notice { border-left: 3px solid var(--copper); background: rgba(255, 253, 249, 0.72); padding: 1rem 1.2rem; color: var(--ink-soft); }

.flow-shell { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 0; }
.flow-progress { display: grid; max-width: 330px; grid-template-columns: 34px 1fr 34px 1fr 34px; align-items: center; margin: 0 auto 1.5rem; }
.flow-progress span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--sand-dark); border-radius: 50%; background: var(--cream); color: var(--ink-soft); font-size: 0.77rem; font-weight: 700; }
.flow-progress span.active { border-color: var(--pine); background: var(--pine); color: #fff; }
.flow-progress span.done { border-color: var(--success); background: var(--success); color: #fff; }
.flow-progress i { height: 1px; background: var(--sand-dark); }
.flow-progress i.done { background: var(--success); }
.form-card { border: 1px solid var(--sand); border-radius: var(--radius); background: var(--paper); padding: clamp(1.6rem, 6vw, 3.6rem); box-shadow: var(--shadow); }
.form-card h1 { margin-bottom: 1.2rem; font-size: clamp(2.35rem, 5vw, 3.65rem); }
.form-card.centered { text-align: center; }
.form-card.centered .lead { margin-inline: auto; }
.large-mark { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 1.5rem; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font-size: 1.35rem; }
.field { margin: 1.45rem 0; }
label, legend { color: var(--ink); font-size: 0.88rem; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 50px; margin-top: 0.35rem; border: 1px solid #8d9692; border-radius: 7px; background: #fff; color: var(--ink); padding: 0.7rem 0.8rem; font: inherit; }
input:hover, select:hover, textarea:hover { border-color: var(--pine-light); }
input:focus, select:focus, textarea:focus { border-color: var(--pine); outline: 3px solid rgba(40, 103, 94, 0.14); }
.otp-input { max-width: 240px; font-size: 1.45rem; font-weight: 700; letter-spacing: 0.35em; text-align: center; }
.field small, .privacy-note, .form-footnote { display: block; margin-top: 0.45rem; color: var(--ink-soft); font-size: 0.82rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
fieldset { margin: 1.8rem 0 0; border: 0; border-top: 1px solid var(--sand); padding: 0.8rem 0 0; }
legend { padding-right: 0.8rem; }
.upload-field { position: relative; }
.drop-target { position: relative; border: 1px dashed var(--pine-light); border-radius: 12px; background: rgba(246, 242, 234, 0.68); padding: 1.5rem; text-align: center; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.upload-field .upload-icon { display: grid; width: 42px; height: 42px; place-items: center; margin: 0 auto 0.75rem; border: 1px solid var(--sand-dark); border-radius: 50%; color: var(--copper); font-size: 1.15rem; transition: transform 160ms ease, background 160ms ease; }
.upload-prompt { display: block; margin: 0 auto 0.85rem; cursor: pointer; }
.upload-prompt strong, .upload-prompt span { display: block; }
.upload-prompt strong { font-size: 0.95rem; }
.upload-prompt span { margin-top: 0.15rem; color: var(--ink-soft); font-size: 0.82rem; font-weight: 400; }
.upload-field input { min-height: auto; background: var(--paper); }
.upload-status { margin: 0.8rem 0 0; color: var(--ink-soft); font-size: 0.8rem; }
.upload-error { margin: 0.45rem 0 0; color: var(--error); font-size: 0.82rem; }
.upload-field.is-enhanced input[type="file"] { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.drop-target:focus-within { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(40, 103, 94, 0.14); }
.drop-target.is-dragging { border-color: var(--copper); background: #fff8ef; box-shadow: 0 12px 30px rgba(167, 101, 50, 0.12); }
.drop-target.is-dragging .upload-icon { transform: translateY(-3px); background: #fff; }
.upload-field.has-files .drop-target { border-style: solid; border-color: var(--success); background: #f0f8f4; }
.upload-field.has-files .upload-icon { border-color: var(--success); background: var(--success); color: #fff; }
.upload-field.has-error .drop-target { border-color: var(--error); background: #fff4f1; }
.privacy-note { margin: 1.5rem 0; }
.form-footnote { margin: 1rem 0 0; text-align: center; }
.errorlist { margin: 0.45rem 0 0; padding: 0; color: var(--error); font-size: 0.82rem; list-style: none; }
.alert { display: flex; max-width: 760px; gap: 0.35rem 1rem; margin: 1.5rem auto 0; border-radius: 8px; padding: 0.8rem 1rem; flex-wrap: wrap; }
.alert-error { border-left: 3px solid var(--error); background: #fff0ed; color: var(--error); }

.request-summary { max-width: 900px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.summary-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.summary-heading h1 { max-width: 670px; margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 4.25rem); }
.status-pill { flex: 0 0 auto; border: 1px solid #acc7bf; border-radius: 100px; background: #edf7f3; color: var(--pine); padding: 0.45rem 0.8rem; font-size: 0.75rem; font-weight: 700; }
.reference { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2rem 0; border: 1px solid var(--sand); border-radius: 10px; background: var(--paper); padding: 1rem 1.2rem; }
.reference span { color: var(--ink-soft); font-size: 0.78rem; }
.reference code { overflow-wrap: anywhere; color: var(--pine); }
.status-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0; padding: 0; list-style: none; }
.status-list li { display: flex; position: relative; align-items: center; gap: 0.8rem; border-top: 2px solid var(--sand-dark); padding: 1.2rem 1rem 0 0; }
.status-list li.current { border-color: var(--copper); }
.status-list li > span { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--sand); font-size: 0.75rem; }
.status-list li.current > span { background: var(--copper); color: #fff; }
.status-list small, .status-list strong { display: block; }
.status-list small { color: var(--ink-soft); }
.quote-card { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-top: 2rem; border-radius: 12px; background: var(--paper); padding: 1.5rem; box-shadow: var(--shadow); }
.quote-card h2 { margin-bottom: 0.7rem; }
.quote-card form { min-width: 240px; }
.check-field { display: flex; align-items: flex-start; gap: 0.55rem; margin-bottom: 0.8rem; color: var(--ink-soft); font-size: 0.78rem; font-weight: 400; }
.check-field input { width: auto; min-height: auto; margin: 0.2rem 0 0; accent-color: var(--pine); }
.private-note { display: flex; gap: 0.4rem 1rem; margin-top: 2rem; border-left: 2px solid var(--pine-light); background: rgba(255, 253, 249, 0.65); padding: 0.8rem 1rem; color: var(--ink-soft); font-size: 0.84rem; flex-wrap: wrap; }
.logout-form { margin-top: 1rem; text-align: right; }
.text-button { border: 0; background: none; color: var(--pine); padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

.backoffice { padding: 3.5rem 0 5rem; }
.backoffice-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.backoffice-header h1 { margin-bottom: 0; font-size: clamp(2.15rem, 4vw, 3.6rem); }
.backoffice-header p { margin: 0.5rem 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--sand-dark); background: var(--paper); }
.request-table { width: 100%; min-width: 1040px; border-collapse: collapse; text-align: left; }
.request-table th { background: #e9eee9; color: var(--ink); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; }
.request-table th, .request-table td { border-bottom: 1px solid var(--sand); padding: 0.85rem 0.9rem; vertical-align: top; font-size: 0.86rem; }
.request-table tr:last-child td { border-bottom: 0; }
.document-label { display: block; margin-bottom: 0.2rem; color: var(--ink-soft); font-size: 0.78rem; }
.state-yes { color: var(--success); font-weight: 700; }.state-no { color: var(--ink-soft); }.empty-table { color: var(--ink-soft); text-align: center; }
.back-link { display: inline-block; margin-bottom: 1.6rem; font-weight: 700; }
.backoffice-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.25rem; }
.backoffice-panel { border: 1px solid var(--sand); background: var(--paper); padding: 1.5rem; }
.backoffice-panel h2 { margin-bottom: 1rem; font-size: 1.45rem; }
.request-data { margin: 0 0 2rem; }.request-data div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; border-bottom: 1px solid var(--sand); padding: 0.65rem 0; }.request-data dt { color: var(--ink-soft); }.request-data dd { margin: 0; }
.document-list { margin: 0; padding-left: 1.2rem; color: var(--ink-soft); }.document-list li { margin-bottom: 0.45rem; }
.backoffice-check { display: flex; align-items: center; gap: 0.65rem; margin-top: 1.4rem; cursor: pointer; }.backoffice-check input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--pine); }.field-date { margin: 0.35rem 0 0 1.65rem; font-size: 0.8rem; }.backoffice-form .button { margin-top: 1.7rem; width: 100%; }

.site-footer { margin-top: clamp(2rem, 4vw, 3.5rem); background: #17201e; color: rgba(255, 255, 255, 0.7); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.75fr 1fr 0.7fr; gap: clamp(2rem, 5vw, 4rem); }
.footer-grid p, .footer-grid address, .footer-grid a { color: rgba(255, 255, 255, 0.65); font-size: 0.86rem; }
.footer-brand { display: block; }
.footer-name, .footer-title { margin-bottom: 0.8rem; color: #fff !important; font: 1.18rem Georgia, serif; }
.footer-title { font-size: 1.05rem; }
.footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 0.35rem; }
.footer-links a { text-decoration-color: transparent; transition: color 160ms ease, text-decoration-color 160ms ease; }
.footer-links a:hover { color: #d9b18e; text-decoration-color: currentColor; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.7rem; }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.48); font-size: 0.78rem; }

a:focus-visible, button:focus-visible, summary:focus-visible { border-radius: 3px; outline: 3px solid rgba(167, 101, 50, 0.45); outline-offset: 4px; }

@media (max-width: 900px) {
  .header-inner { min-height: 82px; }
  .main-nav { margin-left: auto; }
  .main-nav > a:not(.button) { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding: 5rem 0; }
  .hero-visual { min-height: 520px; margin-top: 1rem; }
  .hero-visual > img { height: 520px; }
  .hero-card { right: 1.4rem; bottom: -1.5rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--sand-dark); }
  .process-grid article:first-child { padding-left: 1.5rem; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card > div + div { border-top: 1px solid var(--sand); border-left: 0; }
  .price-teaser { grid-template-columns: 1fr auto; }
  .price-teaser > a { grid-column: 1 / -1; }
  .pricing-heading { grid-template-columns: 1fr; }
  .price-highlight { border-top: 1px solid var(--sand-dark); border-left: 0; padding-top: 1.5rem; padding-left: 0; }
  .pricing-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand { gap: 0.65rem; font-size: 1rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy { display: none; }
  .main-nav .button { min-height: 40px; padding: 0.55rem 0.75rem; font-size: 0.78rem; }
  .hero { gap: 1.25rem; padding: 2.25rem 0 2rem; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-visual { min-height: auto; margin-top: 0; }
  .hero-visual::after, .hero-visual > img { display: none; }
  .hero-card { position: relative; right: auto; bottom: auto; width: 100%; margin: 0; }
  .price-teaser { grid-template-columns: 1fr; gap: 0.75rem; padding: 1.1rem 0; }
  .price-teaser-copy { align-items: flex-start; flex-direction: column; gap: 0.35rem; }
  .price-teaser-value { justify-content: flex-start; }
  .price-teaser > a { grid-column: auto; }
  .language-list span:not(:last-child)::after { display: none; }
  .language-list { gap: 0.3rem 0.7rem; }
  .section-heading, .confidence-band, .split-panel, .field-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 0.5rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--sand-dark); padding: 1.5rem 0; }
  .process-grid article:first-child { padding-left: 0; }
  .process-grid article:nth-child(3) { border-bottom: 1px solid var(--sand-dark); }
  .process-grid article:last-child { border-bottom: 0; }
  .step-number { margin-bottom: 1rem; }
  .section-block { padding: 2rem 0 2.25rem; }
  .confidence-band { gap: 0.75rem; }
  .split-panel > div + div { border-top: 1px solid var(--sand); border-left: 0; }
  .page-cta, .summary-heading, .quote-card { align-items: stretch; flex-direction: column; }
  .backoffice-header { align-items: stretch; flex-direction: column; }.backoffice-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 0.8rem; }
  .contact-card { margin-bottom: 3rem; }
  .pricing-heading { padding: 1.7rem; }
  .price-table-wrap { padding: 0 1.7rem; }
  .price-table th, .price-table td { padding: 0.85rem 0; font-size: 0.88rem; }
  .price-table th:last-child, .price-table td:last-child { width: 78px; }
  .pricing-footer { padding: 1.7rem; }
  .pricing-footer .button { width: 100%; }
  .form-card { border-radius: 14px; }
  .status-list { grid-template-columns: 1fr; gap: 1.1rem; }
  .status-list li { border-top: 0; border-left: 2px solid var(--sand-dark); padding: 0 0 0 1rem; }
  .status-list li.current { border-color: var(--copper); }
  .reference { align-items: flex-start; flex-direction: column; }
  .footer-grid { gap: 1.5rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column; margin-top: 2rem; }
}

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