:root {
    --public-bg: #fcfaf7;
    --public-ink: #201c19;
    --public-muted: #69615b;
    --public-line: #e6dfd7;
    --public-card: #fff;
    --public-orange: #f27738;
    --public-orange-deep: #ce5623;
    --public-orange-soft: #fff0e5;
    --public-green: var(--public-orange);
}

html { scroll-behavior: smooth; }
body { background: var(--public-bg); color: var(--public-ink); }
.site-wrap { width: min(1360px, calc(100% - 48px)); }

.top-nav { min-height: 88px; }
.public-brand { font-size: 19px; letter-spacing: -.04em; }
.public-brand span { width: 40px; height: 40px; border-radius: 12px; background: var(--public-orange); color: #26150d; }
.top-nav-links { gap: 30px; }
.top-nav-links a { color: #4d4540; font-size: 13px; }
.top-nav-links a:hover { color: var(--public-orange-deep); }
.top-nav-links .nav-cta { background: var(--public-ink); font-weight: 760; }
.top-nav-links .nav-cta:hover { background: var(--public-orange-deep); color: #fff; }

.hero {
    min-height: 590px;
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
    overflow: hidden;
    border: 1px solid #ebdfd4;
    border-radius: 28px;
    background: #f4ede5;
    color: var(--public-ink);
    box-shadow: 0 24px 70px rgba(67, 43, 26, .06);
}
.hero-copy { position: relative; z-index: 1; padding: clamp(50px, 6vw, 84px); }
.hero-copy::before { position: absolute; top: 0; left: clamp(50px, 6vw, 84px); width: 46px; height: 5px; border-radius: 0 0 4px 4px; background: var(--public-orange); content: ''; }
.eyebrow-light { color: var(--public-orange-deep); font-size: 11px; letter-spacing: .11em; }
.hero h1, .home-hero h1 {
    max-width: 680px;
    margin: 22px 0 24px;
    font-size: clamp(50px, 4.9vw, 66px);
    font-weight: 790;
    letter-spacing: -.065em;
    line-height: .98;
}
.home-hero h1 { font-size: clamp(48px, 4.7vw, 64px); }
.hero-copy > p { max-width: 530px; color: #5e5650; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.58; }
.hero-actions { gap: 12px; margin-top: 34px; }
.hero-actions .button { min-height: 54px; padding: 14px 23px; font-weight: 760; }
.hero-primary { border-color: var(--public-orange); background: var(--public-orange); color: #23140c; box-shadow: 0 10px 20px rgba(242, 119, 56, .2); }
.hero-primary:hover { border-color: #e96a2a; background: #e96a2a; color: #23140c; }
.hero-secondary { border-color: #c7b9ad; background: rgba(255, 255, 255, .45); color: var(--public-ink); }
.hero-secondary:hover { border-color: var(--public-ink); background: #fff; color: var(--public-ink); }
.hero-highlights { gap: 8px 20px; margin-top: 33px; }
.hero-highlights li { color: #5e5750; font-size: 12px; }
.hero-highlights li::before { color: var(--public-orange-deep); }

.hero-visual { position: relative; min-width: 0; min-height: 590px; margin: 0; overflow: hidden; background: #decbbb; }
.hero-visual::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(35, 25, 17, .46)); content: ''; pointer-events: none; }
.hero-visual img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: 58% center; }
.hero-photo-note { position: absolute; z-index: 1; right: 28px; bottom: 26px; left: 28px; display: flex; width: fit-content; max-width: calc(100% - 56px); align-items: center; gap: 13px; padding: 13px 17px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 14px; background: rgba(34, 27, 22, .7); color: #fff; box-shadow: 0 12px 38px rgba(30, 20, 15, .18); backdrop-filter: blur(12px); }
.hero-photo-note > span:last-child { display: grid; gap: 2px; }
.hero-photo-note strong { font-size: 13px; }
.hero-photo-note small { color: #ede3dc; font-size: 11px; }
.photo-note-icon { display: grid; width: 33px; height: 33px; flex: 0 0 33px; place-items: center; border-radius: 10px; background: var(--public-orange); color: #2b180e; font-size: 17px; font-weight: 900; }

.trust-strip { gap: 0; margin: 28px 0 0; border: 0; border-radius: 0; background: transparent; }
.trust-strip > div { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 4px 16px; align-content: start; padding: 24px 26px; }
.trust-strip > div:first-child { padding-left: 0; }
.trust-strip > div + div { border-left: 1px solid var(--public-line); }
.trust-strip strong { align-self: end; font-size: 14px; font-weight: 800; }
.trust-strip > div > span:last-child { grid-column: 2; color: var(--public-muted); font-size: 12px; line-height: 1.55; }
.trust-strip .feature-icon { display: grid; width: 43px; height: 43px; grid-row: 1 / span 2; place-items: center; border-radius: 12px; background: var(--public-orange-soft); color: var(--public-orange-deep); }
.feature-icon svg, .step-symbol svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.how-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(54px, 7vw, 110px); align-items: start; padding: clamp(90px, 10vw, 142px) 0; }
.section-heading { max-width: 590px; }
.section-eyebrow { color: var(--public-orange-deep); font-size: 11px; letter-spacing: .12em; }
.section-heading h2 { margin: 18px 0 22px; font-size: clamp(40px, 4.2vw, 58px); line-height: 1.05; }
.section-heading p { max-width: 520px; color: var(--public-muted); font-size: 16px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding-bottom: 8px; border-bottom: 1px solid var(--public-orange); color: var(--public-ink); font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--public-orange-deep); }
.text-link span { color: var(--public-orange-deep); font-size: 18px; }
.heading-mark { display: grid; gap: 5px; width: fit-content; margin-top: 30px; padding-top: 18px; border-top: 2px solid var(--public-orange); color: var(--public-orange-deep); font-size: 13px; font-weight: 850; letter-spacing: .06em; }
.heading-mark span { color: var(--public-muted); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.steps { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 1px solid var(--public-line); }
.steps li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 20px; align-items: start; min-width: 0; padding: 24px 0 25px; border: 0; border-bottom: 1px solid var(--public-line); border-radius: 0; background: transparent; }
.step-symbol { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid #f4d3c1; border-radius: 16px; background: var(--public-orange-soft); color: var(--public-orange-deep); }
.step-number { display: block; margin: 3px 0 8px; color: var(--public-orange-deep); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.steps h3 { margin: 0 0 7px; font-size: clamp(19px, 2vw, 23px); letter-spacing: -.035em; }
.steps p { max-width: 490px; color: var(--public-muted); font-size: 13px; line-height: 1.58; }

.oficios-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 40px; align-items: start; margin-bottom: 94px; padding: clamp(42px, 6vw, 74px); border: 1px solid #ecdfd3; border-radius: 28px; background: #f5eee8; }
.oficios-section .section-heading h2 { max-width: 580px; }
.oficios-aside { display: flex; align-items: center; gap: 12px; padding: 8px 0 0; color: var(--public-orange-deep); }
.oficios-aside strong { font-size: 54px; letter-spacing: -.07em; line-height: 1; }
.oficios-aside span { color: #74675f; font-size: 11px; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.oficios-list { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.oficios-list li { min-height: 84px; gap: 15px; padding: 18px 20px; border-color: #e5d9cf; border-radius: 15px; font-size: 16px; box-shadow: 0 5px 18px rgba(59, 41, 31, .025); }
.oficios-list li:hover { border-color: #ecb190; transform: translateY(-2px); transition: transform .2s ease, border-color .2s ease; }
.oficio-check { width: 38px; height: 38px; border-radius: 11px; background: var(--public-orange-soft); color: var(--public-orange-deep); font-size: 20px; }
.oficios-list small { margin-top: -14px; color: #8a7d74; }
.empty-oficios { grid-column: 1 / -1; }

.signup-section { margin-bottom: 60px; border-radius: 28px; background: #24201d; }
.signup-intro { position: relative; padding: clamp(44px, 5vw, 70px); }
.signup-intro::before { position: absolute; top: 0; left: clamp(44px, 5vw, 70px); width: 48px; height: 5px; border-radius: 0 0 4px 4px; background: var(--public-orange); content: ''; }
.section-eyebrow.inverted { color: #ff9b63; }
.signup-intro h2 { max-width: 330px; font-size: clamp(38px, 4.2vw, 54px); }
.signup-intro > p { max-width: 360px; color: #d4c9c0; font-size: 15px; }
.signup-assurance { gap: 8px; border-top-color: #4e4239; }
.signup-assurance strong { color: #fff; }
.signup-assurance span { color: #b9aca2; font-size: 12px; }
.signup-form-card { margin: 12px; padding: clamp(25px, 4vw, 50px); border-radius: 19px; }
.signup-grid { gap: 29px; }
.signup-form-section { gap: 20px; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--public-line); border-radius: 0; }
.signup-form-section legend { margin-bottom: 14px; padding: 0; color: var(--public-ink); font-size: 17px; }
.signup-form-section > p { margin: -14px 0 0; font-size: 12px; }
.signup-grid label, .choice-field { color: #4f4640; font-size: 12px; }
.signup-grid input:not([type="checkbox"]), .signup-grid select, .signup-grid textarea { min-height: 48px; border-color: #ded6cf; background: #fcfaf8; }
.signup-grid input:not([type="checkbox"]):focus, .signup-grid select:focus, .signup-grid textarea:focus { border-color: var(--public-orange-deep); box-shadow: 0 0 0 3px rgba(242, 119, 56, .12); }
.dni-upload-group { display: grid; gap: 12px; }
.dni-upload-heading { display: grid; gap: 5px; }
.dni-upload-heading strong { color: var(--public-ink); font-size: 13px; }
.dni-upload-heading strong small { margin-left: 5px; color: var(--public-muted); font-size: 11px; font-weight: 500; }
.dni-upload-heading p { margin: 0; color: var(--public-muted); font-size: 12px; }
.dni-upload-card { display: grid; gap: 13px; padding: 17px; border: 1px solid #e8ddd4; border-radius: 15px; background: #fcfaf8; transition: border-color .2s, background .2s; }
.dni-upload-card.is-selected { border-color: #e8a078; background: #fff8f2; }
.dni-upload-side { display: flex; align-items: center; gap: 11px; }
.dni-side-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: var(--public-orange-soft); color: var(--public-orange-deep); font-size: 11px; font-weight: 850; }
.dni-upload-side > div { display: grid; gap: 2px; }
.dni-upload-side strong { color: var(--public-ink); font-size: 13px; }
.dni-upload-side small { color: var(--public-muted); font-size: 11px; }
.dni-upload-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.dni-upload-action { position: relative; display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; overflow: hidden; padding: 9px 13px; border: 1px solid #dfc9b9; border-radius: 9px; background: #fff; color: var(--public-ink) !important; cursor: pointer; font-size: 12px !important; font-weight: 750; }
.dni-upload-action:hover, .dni-upload-action:focus-within { border-color: var(--public-orange-deep); background: var(--public-orange-soft); }
.dni-upload-action svg { width: 17px; height: 17px; fill: none; stroke: var(--public-orange-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.signup-grid .dni-upload-action input[type="file"] { position: absolute; width: 1px; min-width: 1px; height: 1px; min-height: 1px; overflow: hidden; opacity: 0; }
.dni-upload-status { margin: 0; color: var(--public-muted); font-size: 11px; }
.dni-upload-card.is-selected .dni-upload-status { color: #a6471c; font-weight: 700; }
.zone-search { background: #fcfaf8; }
#zone-options { max-height: 286px; overflow: auto; padding: 2px 5px 5px 2px; scrollbar-color: #cfb9a9 transparent; }
.choice-card:has(input:checked) { border-color: var(--public-orange-deep); background: var(--public-orange-soft); }
.choice-card input, .signup-check input { accent-color: var(--public-orange-deep); }
.matricula-fields { background: #f7f1eb; }
.form-submit button { background: var(--public-orange); color: #26170e; }
.form-submit button:hover { background: #e76d30; }
.form-submit p a { color: var(--public-orange-deep); }

.audience-section { gap: 16px; padding-bottom: 92px; }
.audience-card { position: relative; min-height: 380px; overflow: hidden; }
.audience-card.is-client-card { background: #24201d; }
.audience-card.is-provider-card { padding-right: 43%; background: #f5eee8; }
.audience-card > :not(.audience-photo) { position: relative; z-index: 1; }
.audience-card .button { min-height: 46px; }
.audience-card.is-provider-card .button { background: var(--public-orange); border-color: var(--public-orange); color: #26170e; }
.audience-card.is-provider-card .button:hover { background: #e76d30; }
.audience-photo { position: absolute; top: 0; right: 0; width: 38%; height: 100%; object-fit: cover; object-position: 66% center; }
.audience-card.is-provider-card::after { position: absolute; top: 0; right: 31%; bottom: 0; width: 14%; background: linear-gradient(90deg, #f5eee8, transparent); content: ''; }
.site-footer { border-top: 1px solid var(--public-line); }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { min-height: 440px; max-height: 530px; }
    .trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-strip > div { padding: 20px 14px; }
    .how-section { grid-template-columns: 1fr; gap: 36px; }
    .steps li { grid-template-columns: 62px minmax(0, 1fr); }
    .signup-section { grid-template-columns: 1fr; }
    .signup-intro { padding-bottom: 32px; }
    .signup-assurance { margin-top: 26px; }
    .audience-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .site-wrap { width: min(100% - 28px, 1360px); }
    .top-nav { min-height: 72px; }
    .top-nav-links .nav-cta { background: var(--public-orange); color: #26170e; }
    .top-nav-links .nav-cta:hover { background: #e76d30; color: #26170e; }
    .hero { border-radius: 21px; }
    .hero-copy { padding: 43px 27px 36px; }
    .hero-copy::before { left: 27px; }
    .hero h1, .home-hero h1 { margin: 18px 0 20px; font-size: clamp(42px, 11vw, 56px); line-height: 1; }
    .hero-copy > p { font-size: 15px; }
    .hero-actions { grid-template-columns: 1fr; }
    .hero-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
    .hero-highlights li { font-size: 10px; }
    .hero-visual { min-height: 320px; max-height: 350px; }
    .hero-visual img { object-position: 58% center; }
    .hero-photo-note { right: 14px; bottom: 14px; left: 14px; max-width: calc(100% - 28px); padding: 10px 12px; }
    .hero-photo-note strong { font-size: 11px; }
    .hero-photo-note small { font-size: 10px; }
    .trust-strip { grid-template-columns: 1fr; margin-top: 14px; }
    .trust-strip > div { grid-template-columns: 38px 1fr; padding: 15px 4px; }
    .trust-strip > div:first-child { padding-left: 4px; }
    .trust-strip > div + div { border-top: 1px solid var(--public-line); border-left: 0; }
    .trust-strip .feature-icon { width: 38px; height: 38px; }
    .trust-strip strong { font-size: 13px; }
    .trust-strip > div > span:last-child { font-size: 11px; }
    .how-section { gap: 28px; padding: 70px 0 80px; }
    .section-heading h2 { font-size: clamp(35px, 9vw, 43px); }
    .section-heading p { font-size: 14px; }
    .steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
    .step-symbol { width: 44px; height: 44px; border-radius: 13px; }
    .step-symbol svg { width: 20px; height: 20px; }
    .steps h3 { font-size: 18px; }
    .steps p { font-size: 12px; }
    .oficios-section { grid-template-columns: 1fr; gap: 20px; margin-bottom: 65px; padding: 30px 22px; border-radius: 21px; }
    .oficios-aside { grid-row: 2; align-self: start; gap: 8px; }
    .oficios-aside strong { font-size: 36px; }
    .oficios-aside span { font-size: 9px; }
    .oficios-list { grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
    .oficios-list li { min-height: 70px; padding: 14px; font-size: 14px; }
    .signup-section { margin-bottom: 35px; border-radius: 21px; }
    .signup-intro { padding: 40px 24px 26px; }
    .signup-intro::before { left: 24px; }
    .signup-intro h2 { font-size: 38px; }
    .signup-form-card { margin: 8px; padding: 24px 18px; }
    .signup-form-section { padding: 0 0 25px; }
    .dni-upload-heading strong small { display: block; margin: 3px 0 0; }
    .dni-upload-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dni-upload-action { min-width: 0; padding: 10px 6px; }
    .choice-grid { grid-template-columns: 1fr; }
    #zone-options { max-height: 260px; }
    .audience-section { padding-bottom: 70px; }
    .audience-card { min-height: 350px; }
    .audience-card.is-provider-card { min-height: 460px; padding-right: 24px; padding-bottom: 160px; }
    .audience-photo { top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: 145px; object-position: center 32%; }
    .audience-card.is-provider-card::after { top: auto; right: 0; bottom: 120px; left: 0; width: auto; height: 50px; background: linear-gradient(#f5eee8, transparent); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .oficios-list li:hover { transform: none; }
}
