/* The selection form is the primary action on the homepage. */
.spain-home [hidden]{display:none!important}
.home-account-link{display:none}
.home-layout{padding-top:0}
.home-layout .spain-home{padding:0;border:0;box-shadow:none;overflow:visible}
.spain-home .home-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:30px;align-items:start;background:#ffffff;border:1px solid #e0e8ee;border-radius:14px;padding:30px;margin:0 0 26px}
.spain-home .home-eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#b83139;margin:0 0 18px;line-height:1.6}
.spain-home h1{font-size:clamp(29px,3vw,41px);line-height:1.2;letter-spacing:-.025em;margin:0 0 20px;color:#183d5b;overflow-wrap:normal}
.spain-home .home-lead{font-size:17px;line-height:1.55;margin:0 0 22px;color:#314d64}
.home-intro-note{font-size:16px;line-height:1.6;color:#62758a;margin:0 0 18px}
.home-direct-links{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:16px}
.home-direct-links a,.home-section-heading>a,.home-text-link,.home-cost a,.home-all-questions{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9cafbf}
.home-direct-links a:hover,.home-section-heading>a:hover,.home-cost a:hover{color:#b83139}
.home-choice-panel{min-width:0;padding:24px;background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 6px 22px #183d5b07}
.home-form-heading{margin-bottom:21px}
.home-form-marker{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;color:#74899a;margin-bottom:8px}
.spain-home .home-form-heading h2{font-size:26px;line-height:1.2;margin:0}
.home-field{min-width:0;margin:0 0 17px}
.home-field label{display:block;font-size:16px;font-weight:700;line-height:1.45;margin:0 0 7px;color:#243e53}
.home-field select{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;border:1px solid #b8c8d4;border-radius:6px;background:#fff;color:#183d5b;font:inherit;font-size:16px;padding:11px 28px 11px 12px;overflow:hidden;text-overflow:ellipsis}
.home-field select:focus-visible,.home-reset:focus-visible,.home-choice-result a:focus-visible{outline:3px solid #d4995b;outline-offset:3px}
.home-field select[aria-invalid=true]{border:2px solid #b83139;background:#fff7f7}
.home-choice-submit,.home-choice-result>.button{width:100%;display:flex;justify-content:center;align-items:center;min-height:48px;text-align:center;font-size:16px;line-height:1.4;padding:12px 14px;white-space:normal}
.home-form-note{text-align:center;font-size:14px;color:#62758a;line-height:1.5;margin:10px 0 0}
.home-error{font-size:13px;line-height:1.5;color:#912d35;background:#fff0f0;border:1px solid #e8b5ba;border-radius:6px;padding:10px 12px;margin:0 0 14px}
.home-choice-result{margin:20px 0 0;padding:20px 0 0;border-top:1px solid #dce5ec}
.home-result-kicker{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#557766;margin:0 0 8px}
.spain-home .home-choice-result h3{font-size:19px;line-height:1.35;margin:0 0 10px;color:#183d5b}
.home-choice-result>p:not(.home-result-kicker){font-size:16px;line-height:1.6;margin:0 0 15px;color:#4d6275}
.home-reset{display:block;margin:13px auto 0;background:none;border:0;color:#4d6275;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:13px;padding:8px;cursor:pointer}
.home-guides{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-bottom:28px;border-bottom:1px solid #dfe6ec}
.home-guide{display:flex;gap:16px;align-items:flex-start;padding:16px 4px;text-decoration:none;border-radius:7px}
.home-guide:hover{background:#ffffff}
.home-guide-index{font-size:12px;letter-spacing:.07em;color:#8b9caa;line-height:2.1}
.spain-home .home-guide h2{font-size:20px;line-height:1.3;margin:0 0 8px}
.home-guide p{font-size:16px;color:#62758a;line-height:1.6;margin:0 0 12px}
.home-text-link{font-size:16px;color:#183d5b}
.spain-home .section{padding:32px 0}
.spain-home .section h2{font-size:26px;line-height:1.3}
.spain-home .process-intro{font-size:16px;color:#62758a;max-width:740px}
.spain-home .process-steps li{background:#fff;border-color:#e0e7ec;box-shadow:none}
.spain-home .process-steps h3{font-size:20px}
.spain-home .process-steps p{font-size:16px;line-height:1.55}
.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:8px}
.home-section-heading .home-eyebrow{margin-bottom:9px}
.home-section-heading h2{margin:0}
.home-section-heading>a{font-size:16px;white-space:nowrap;padding-bottom:4px}
.home-service-links{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
.home-service-links a{display:flex;flex-direction:column;gap:5px;padding:21px 0;border-bottom:1px solid #e0e7ec;text-decoration:none}
.home-service-links strong{font-size:17px;color:#183d5b}
.home-service-links a:hover strong{color:#b83139}
.home-service-links span{font-size:16px;font-weight:400;line-height:1.55;color:#62758a}
.home-cost{display:flex;gap:25px;justify-content:space-between;align-items:center;background:#ffffff;border:1px solid #e0e7ec;border-radius:9px;padding:24px 26px;margin:4px 0 0}
.spain-home .home-cost h2{font-size:21px;line-height:1.4;margin:0 0 8px}
.home-cost p{font-size:16px;line-height:1.65;margin:0;max-width:580px;color:#4d6275}
.home-cost-link{font-size:16px;font-weight:700;flex-shrink:0}
.home-faq details{border-bottom:1px solid #e0e7ec;padding:0}
.home-faq summary{padding:17px 30px 17px 0;font-size:16px;font-weight:600;cursor:pointer;color:#183d5b;position:relative;list-style:none}
.home-faq summary::-webkit-details-marker{display:none}
.home-faq summary:after{content:'+';position:absolute;right:5px;color:#62758a;font-size:20px;font-weight:400;top:13px}
.home-faq details[open] summary:after{content:'−'}
.home-faq details p{font-size:16px;color:#4d6275;line-height:1.7;padding:0 28px 16px 0;margin:0}
.home-all-questions{display:inline-block;margin-top:22px;font-size:16px}
.home-editorial-note{font-size:12px;color:#748491;line-height:1.6;border-top:1px solid #e0e7ec;padding-top:18px;margin:0 0 24px}
@media(max-width:1150px){.spain-home .home-intro{gap:24px;padding:24px;grid-template-columns:1fr}.home-intro-copy{max-width:640px}.spain-home h1{max-width:620px}.home-intro-note{display:none}.home-choice-panel{max-width:none}.home-cost{align-items:flex-start;flex-direction:column;gap:14px}}
@media(max-width:760px){.home-layout{padding-top:0}.home-layout .mobile-menu{margin:0 0 16px}.spain-home .home-intro{padding:22px 18px;gap:24px;border-radius:10px;margin-bottom:18px}.spain-home h1{font-size:30px}.spain-home .home-eyebrow{font-size:10px;margin-bottom:12px}.spain-home .home-lead{font-size:16px;margin-bottom:16px}.home-choice-panel{padding:20px 16px}.home-field select{font-size:16px}.home-guides{gap:0;grid-template-columns:1fr;padding-bottom:16px}.home-guide{padding:16px 2px}.spain-home .section{padding:26px 0}.spain-home .section h2{font-size:24px}.home-section-heading{align-items:start;flex-direction:column;gap:12px}.home-service-links{grid-template-columns:1fr}.home-cost{padding:20px}.home-cost-link{flex-shrink:1}.spain-home .home-faq summary{font-size:16px}.spain-home .home-faq details p{font-size:16px}.home-editorial-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){.spain-home *{scroll-behavior:auto!important}}
@media(max-width:760px){body.home-page .header .country-route,body.home-page .header .appointment-cta,body.home-page .header .navwrap{display:none}body.home-page .header .head{gap:12px;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:16px}body.home-page .header .brand{flex:1;width:auto;min-width:0}body.home-page .header .home-account-link{display:block;font-size:12px;line-height:1.4;color:#183d5b;text-align:right;max-width:68px;text-decoration:underline;text-underline-offset:3px}.home-layout .mobile-menu>summary{font-size:19px;padding:16px}.spain-home .home-intro{padding:20px 14px}.home-choice-panel{padding:18px 14px}}

/* Keep the shared contact block identical to internal pages. */
.spain-home>[data-page-enquiry]{padding:30px 24px;margin-top:30px;margin-bottom:50px;border-bottom:0}
body[data-appearance] .spain-home h1{font-size:clamp(29px,3vw,41px);line-height:1.2}
@media(max-width:620px){body[data-appearance] .spain-home h1{font-size:30px}.spain-home>[data-page-enquiry]{padding:22px 16px}}

/* Direct applications: predictable selection and always available fallback links. */
#home-choice-form select:disabled{background:#f4f6f8;color:#66798a;cursor:default}
#home-choice-form[aria-busy=true]{cursor:progress}
.home-choice-submit:disabled,.home-choice-retry:disabled{opacity:.6;cursor:default}
.home-choice-result a[aria-disabled=true]{opacity:.7;cursor:progress;pointer-events:none}
.home-choice-fallback,.home-choice-help{font-size:14px;line-height:1.55;color:#62758a;margin:15px 0 0}
.home-choice-fallback a,.home-choice-help a{text-decoration:underline;text-underline-offset:3px;color:#183d5b}
.home-choice-fallback{padding-top:16px;border-top:1px solid #dfe6ec}
.home-choice-help{margin-top:8px}
.home-choice-retry{border:1px solid #b8c8d4;border-radius:6px;background:#fff;color:#183d5b;font:inherit;font-size:14px;padding:10px 12px;margin:0 0 12px;cursor:pointer}
.home-choice-retry:focus-visible,.home-choice-fallback a:focus-visible,.home-choice-help a:focus-visible{outline:3px solid #d4995b;outline-offset:3px}
#home-choice-status{margin:0 0 12px;text-align:left;min-height:1.55em}
#home-choice-result .home-result-kicker{display:none}
