@font-face {
  font-family: "Montserrat";
  src: url("/brand-assets/Fonts/Montserrat-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/brand-assets/Fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Tiempos";
  src: url("/brand-assets/Fonts/TiemposHeadline-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color: #1d1d1b;
  background: #fff9f1;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
body { background: #fff9f1; margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }

.site-header { padding: 10px 0 0; }
.site-header-inner, .page-shell { margin-inline: auto; width: min(1428px, calc(100% - 40px)); }
.site-header-inner { background: #fff; border-radius: 12px 12px 0 0; }
.site-header-main { align-items: center; display: flex; gap: 15px; min-height: 80px; padding: 15px 25px; }
.brand { align-items: center; color: #00533d; display: flex; flex: 0 0 auto; gap: 0; text-decoration: none; }
.brand-mark { display: block; height: 50px; width: auto; }
.brand-tagline { border-right: 1px solid #ffd0a8; display: flex; flex-direction: column; font-size: 14px; font-weight: 400; line-height: 12px; margin-right: 15px; padding-left: 10px; padding-right: 30px; }
.brand-tagline strong { font-weight: 700; }
.site-navigation { display: flex; gap: 30px; }
.site-navigation a { color: #1d1d1b; font-size: 14px; font-weight: 600; text-decoration: none; }
.site-navigation a:hover, .site-navigation a:focus-visible { color: #ef7d00; }
.header-actions { align-items: center; display: flex; gap: 15px; margin-left: auto; white-space: nowrap; }
.language-picker { position: relative; }
.header-language { align-items: center; background: transparent; border: 0; color: inherit; cursor: pointer; display: inline-flex; font-size: 12px; gap: 10px; height: 40px; padding: 0 12px; }
.header-language-flag { align-items: center; display: inline-flex; font-size: 18px; height: 18px; line-height: 1; }
.header-language-flag img { display: block; height: 13px; width: 19px; }
.header-language-flag [hidden] { display: none; }
.language-menu { background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 9px 24px #1d1d1b20; min-width: 240px; padding: 14px 0; position: absolute; right: 0; top: 100%; z-index: 10; }
.language-menu[hidden] { display: none; }
.language-menu button { background: none; border: 0; color: #1d1d1b; cursor: pointer; display: block; padding: 9px 25px; text-align: left; width: 100%; }
.language-menu button[hidden] { display: none; }
.language-menu button:hover, .language-menu button:focus-visible, .language-menu button[aria-current="true"] { background: #fef1e4; }
.header-context { align-items: center; background: #00533d; border-radius: 5px; color: #fff; display: inline-flex; font-size: 12px; font-weight: 600; min-height: 45px; padding: 12px 15px; }
.page-shell { padding: 54px 0 72px; }
.intro { padding: 0 0 30px; }
.eyebrow { color: #00533d; font-size: .75rem; font-weight: 600; letter-spacing: .09em; margin: 0 0 8px; text-transform: uppercase; }
h1, h2 { color: #00533d; font-family: "Tiempos", Georgia, serif; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.4rem, 5vw, 4.25rem); }
#page-title { white-space: nowrap; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.intro > p:last-child, .section-heading > p:last-child { line-height: 1.6; margin: 14px 0 0; }
.intro > p:last-child { max-width: 680px; }
.form-card { background: #fff; border: 1px solid #e9ddd2; border-radius: 18px; overflow: hidden; }
.progress { background: #00533d; color: #fff; display: grid; grid-template-columns: repeat(var(--step-count, 2), 1fr); list-style: none; margin: 0; padding: 0; }
.progress li { align-items: center; display: flex; font-size: .78rem; gap: 8px; opacity: .6; padding: 16px; }
.progress li span { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; flex: 0 0 25px; height: 25px; justify-content: center; }
.progress li.is-active, .progress li.is-complete { opacity: 1; }
.progress li.is-complete span { background: #ef7d00; border-color: #ef7d00; }
#onboarding-form { padding: clamp(24px, 4.5vw, 56px); }
.form-step { display: none; }
.form-step.is-active { display: block; }
fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
legend { color: #00533d; font-family: "Tiempos", Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.04; padding: 0; }
.section-help { line-height: 1.6; margin: 14px 0 28px; }
.section-heading { margin-bottom: 32px; }
.reason-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.choice-card { border: 1px solid #d8c9bc; border-radius: 12px; cursor: pointer; display: block; min-height: 176px; padding: 22px; transition: border-color .15s, background .15s; }
.choice-card:has(input:checked) { background: #fef1e4; border: 2px solid #00533d; padding: 21px; }
.choice-card input { accent-color: #ef7d00; margin: 0 0 28px; }
.choice-card-title { color: #00533d; display: block; font-weight: 600; line-height: 1.4; }
.choice-card-copy { display: block; font-size: .85rem; line-height: 1.5; margin-top: 8px; }
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { align-content: start; display: grid; font-size: .875rem; font-weight: 600; gap: 8px; }
.field-label { display: block; }
.field-help { color: #6f6258; font-size: .8rem; font-weight: 400; line-height: 1.45; }
.field-wide, .divider { grid-column: 1 / -1; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { background: #fff; border: 1px solid #bcaea1; border-radius: 7px; color: #1d1d1b; min-height: 46px; padding: 10px 12px; width: 100%; }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #00533d; box-shadow: 0 0 0 3px rgba(0, 83, 61, .14); outline: 0; }
.vat-input { align-items: stretch; display: flex; }
.vat-input input { border-bottom-right-radius: 0; border-right: 0; border-top-right-radius: 0; }
.vat-check-button { align-items: center; background: #00533d; border: 1px solid #00533d; border-bottom-right-radius: 7px; border-top-right-radius: 7px; color: #fff; cursor: pointer; display: inline-flex; justify-content: center; min-width: 48px; padding: 0; }
.vat-check-button:hover { background: #003e2e; }
.vat-check-button:focus-visible { box-shadow: 0 0 0 3px rgba(0, 83, 61, .22); outline: 0; position: relative; z-index: 1; }
.vat-check-button:disabled { background: #bcaea1; border-color: #bcaea1; cursor: not-allowed; }
.vat-check-button svg { fill: none; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; width: 22px; }
.vat-validation-status { color: #6f6258; font-size: .78rem; font-weight: 400; line-height: 1.4; min-height: 1.1em; }
.vat-validation-status.is-valid { color: #00533d; }
.vat-validation-status.is-error { color: #b42318; }
.vat-validation-status.is-warning { color: #9a5a00; }
.visually-hidden { height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.optional { color: #6f6258; font-weight: 400; }
.divider { align-items: center; color: #00533d; display: flex; font-size: .875rem; font-weight: 600; gap: 12px; margin-top: 4px; }
.divider::after { background: #e9ddd2; content: ""; flex: 1; height: 1px; }
.check-section { border-top: 1px solid #e9ddd2; margin-top: 28px; padding-top: 28px; }
.check-section legend { font-family: "Montserrat", Arial, sans-serif; font-size: 1rem; font-weight: 600; }
.section-help.compact { font-size: .88rem; margin: 8px 0 0; }
.check-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.check-grid label, .checkbox-line { align-items: flex-start; display: flex; font-size: .9rem; gap: 8px; line-height: 1.4; }
input[type="checkbox"], input[type="radio"] { accent-color: #ef7d00; height: 18px; margin: 0; width: 18px; }
.catalogue-note { background: #fef1e4; border-left: 4px solid #ef7d00; border-radius: 6px; line-height: 1.55; padding: 20px; }
.catalogue-note p { margin: 6px 0 0; }
.upload-area { border-top: 1px solid #e9ddd2; display: grid; gap: 20px; margin-top: 30px; padding-top: 30px; }
.upload-field { border: 1px dashed #8b7e73; border-radius: 8px; color: #00533d; display: grid; font-size: .9rem; font-weight: 600; gap: 8px; padding: 16px; }
.upload-field input { color: #1d1d1b; font-size: .8rem; font-weight: 400; }
.upload-help, .selected-files { color: #6f6258; font-size: .8rem; font-weight: 400; line-height: 1.45; }
.selected-files { color: #00533d; font-weight: 600; }
.upload-note { color: #6f6258; font-size: .8rem; line-height: 1.5; margin: -4px 0 0; }
.form-section { border-top: 1px solid #e9ddd2; margin-top: 28px; padding-top: 28px; }
.nested-card { background: #fef1e4; border-radius: 10px; margin-top: 20px; padding: 20px; }
.hours-section { border-top: 1px solid #e9ddd2; margin-top: 28px; padding-top: 28px; }
.subsection-heading h3, .review-section h3 { color: #00533d; font-size: 1rem; margin: 0; }
.subsection-heading p { color: #6f6258; font-size: .85rem; line-height: 1.5; margin: 7px 0 16px; }
.hours-list { display: grid; gap: 10px; }
.hours-row { align-items: end; background: #fef1e4; border-radius: 8px; display: grid; gap: 16px; grid-template-columns: minmax(160px, 1fr) minmax(280px, 1.5fr) auto; padding: 14px; }
.hours-row > strong { align-self: center; font-size: .88rem; }
.hours-row-weekdays { grid-template-columns: minmax(160px, 1fr) minmax(280px, 1.5fr); }
.hours-time-fields { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.hours-time-fields label { color: #6f6258; font-size: .75rem; font-weight: 600; }
.hours-time-fields input { margin-top: 4px; min-height: 40px; }
.hours-closed { align-self: end; padding: 11px 0; white-space: nowrap; }
.review-summary { border-top: 1px solid #e9ddd2; }
.review-section { border-bottom: 1px solid #e9ddd2; padding: 18px 0; }
.review-section-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 8px; }
.review-summary dl { margin: 0; }
.review-summary dl > div { display: grid; gap: 16px; grid-template-columns: minmax(130px, .35fr) 1fr; padding: 7px 0; }
.review-summary dt { color: #00533d; font-size: .85rem; font-weight: 600; }
.review-summary dd { line-height: 1.45; margin: 0; }
.text-button { background: transparent; border: 0; color: #00533d; cursor: pointer; font-size: .8rem; font-weight: 600; padding: 4px 0; text-decoration: underline; }
.confirmation { margin-top: 28px; }
.field-error { color: #b42318; display: block; font-size: .8rem; font-weight: 500; line-height: 1.35; margin: 0; min-height: 0; }
.has-error, input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #b42318; }
.form-actions { border-top: 1px solid #e9ddd2; display: flex; gap: 12px; justify-content: space-between; margin-top: 38px; padding-top: 24px; }
.button { border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-weight: 600; min-height: 46px; padding: 11px 19px; }
.button-primary { background: #ef7d00; color: #fff; margin-left: auto; }
.button-primary:hover { background: #d86f00; }
.button-secondary { background: #fff; border-color: #00533d; color: #00533d; }
.button:disabled { cursor: wait; opacity: .65; }
.form-status { border-radius: 7px; font-size: .9rem; line-height: 1.5; margin-top: 20px; }
.form-status.is-info, .form-status.is-error { padding: 12px 14px; }
.form-status.is-info { background: #e5f1ed; color: #004431; }
.form-status.is-error { background: #fce9e7; color: #8d1d13; }
.result-panel { border-radius: 10px; padding: clamp(28px, 6vw, 58px); text-align: center; }
.result-panel h2 { margin-bottom: 16px; }
.result-panel p:last-child { line-height: 1.6; margin: 0 auto; max-width: 540px; }
.result-success { background: #e5f1ed; }
.result-duplicate { background: #fff4e8; }
footer { color: #6f6258; font-size: .8rem; padding: 0 24px 28px; text-align: center; }

@media (max-width: 1100px) {
  .brand-tagline, .site-navigation { display: none; }
  #page-title { white-space: normal; }
}

@media (max-width: 700px) {
  .site-header { padding: 0; }
  .site-header-inner { border-radius: 0; width: 100%; }
  .site-header-main { gap: 5px; min-height: 56px; padding: 10px; }
  .brand-mark { height: 36px; width: auto; }
  .brand-tagline, .site-navigation, .header-language-label, .header-language svg { display: none; }
  .header-actions { gap: 5px; }
  .header-language { padding: 0 10px; }
  .header-context { font-size: 12px; min-height: 40px; padding: 10px; }
  .page-shell { padding: 35px 0 48px; width: calc(100% - 32px); }
  #page-title { white-space: normal; }
  .progress { grid-template-columns: repeat(var(--step-count, 2), 1fr); }
  .progress li { justify-content: center; padding: 12px 4px; }
  .progress strong { display: none; }
  #onboarding-form { padding: 25px 20px; }
  .reason-grid, .form-grid, .check-grid, .hours-row, .hours-row-weekdays { grid-template-columns: 1fr; }
  .hours-row { gap: 10px; }
  .hours-closed { padding: 0; }
  .choice-card { min-height: auto; }
  .choice-card input { margin-bottom: 14px; }
  .review-summary dl > div { gap: 5px; grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand-mark { height: 28px; }
  .header-language { gap: 0; padding: 0 4px; }
  .language-menu { min-width: 190px; }
  .header-context { font-size: 10px; margin-left: auto; padding: 8px 10px; }
}
