/* ============================================================================
   01 / SERVICIO A DOMICILIO - BASE PREMIUM, TIPOGRAFÍA Y ACCESIBILIDAD
   Carga exclusiva: /ServicioADomicilio y /en/ServicioADomicilio.
   Sin frameworks CSS nuevos, sin fuentes ni recursos externos adicionales.
============================================================================ */
.home-tailoring-page {
    --ht-red: #f04c55;
    --ht-gold: #dfb987;
    --ht-muted: #bcb5bb;
    --ht-border: rgba(226, 193, 159, .18);
    color: #f7f3ef;
    background: #090809;
    font-family: inherit;
    overflow: clip;
}
.home-tailoring-page * { box-sizing: border-box; }
.home-tailoring-page a { text-decoration: none; }
.home-tailoring-page :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--ht-gold); outline-offset: 4px; }
.home-tailoring-page #solicitud, .home-tailoring-page #como-funciona { scroll-margin-top: calc(var(--em-header-height, 78px) + 25px); }
.ht-shell { width: min(100% - 72px, 1260px); margin-inline: auto; }
.ht-kicker, .ht-eyebrow { margin: 0; color: var(--ht-gold); font-size: .77rem; font-weight: 750; letter-spacing: .24em; line-height: 1.65; }
.ht-section-heading h2, .ht-intro-head h2, .ht-request-copy h2, .ht-faq h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.025em; }
.ht-section-heading h2 { margin: 10px 0 0; font-size: clamp(2.05rem, 4vw, 3.3rem); }

/* ============================================================================
   02 / SERVICIO A DOMICILIO - HERO EDITORIAL CON IMAGEN EXISTENTE
============================================================================ */
.ht-hero { position: relative; isolation: isolate; padding: clamp(58px, 6vw, 90px) 0 22px; background: radial-gradient(ellipse at 7% 45%, rgba(113, 12, 26, .22), transparent 50%), #0a0709; }
.ht-ambient { position: absolute; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(circle at 60% 15%, rgba(234, 78, 88, .12), transparent 35%), radial-gradient(circle at 23% 79%, rgba(170, 85, 66, .07), transparent 42%); }
.ht-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .91fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.ht-hero-copy { min-width: 0; padding-bottom: clamp(16px, 3vw, 46px); }
.ht-breadcrumb { display: inline-flex; align-items: center; gap: 11px; flex-wrap: wrap; color: #aaa0a4 !important; font-size: .78rem; margin-bottom: clamp(48px, 6.7vw, 92px); }
.ht-breadcrumb:hover { color: white !important; }
.ht-breadcrumb > span { color: #815f64; }
.ht-eyebrow { display: flex; align-items: center; gap: 11px; }
.ht-eyebrow > span { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--ht-red); box-shadow: 0 0 12px rgba(240, 76, 85, .65); }
.ht-hero h1 { max-width: 750px; margin: 24px 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.035em; font-size: clamp(3.15rem, 5.3vw, 6rem); line-height: 1.12; text-wrap: balance; }
.ht-hero h1 em { display: block; color: var(--ht-red); font-style: normal; }
.ht-hero-lead { margin: 0 0 16px; color: #efe1d9; font-size: clamp(1.03rem, 1.6vw, 1.25rem); font-weight: 650; }
.ht-hero-text { color: #c0b8bd; line-height: 1.9; font-size: 1.02rem; max-width: 550px; margin: 0; }
.ht-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.ht-btn { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 52px; padding: 13px 21px; border: 1px solid transparent; border-radius: 7px; font-size: .91rem; line-height: 1.3; font-weight: 750; white-space: normal; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ht-btn:hover { transform: translateY(-2px); }
.ht-btn-primary { background: linear-gradient(120deg, #ec3f4a, #be1e34); color: #fff !important; box-shadow: 0 16px 38px rgba(160, 12, 29, .22); }
.ht-btn-primary:hover { box-shadow: 0 18px 42px rgba(201, 16, 36, .35); }
.ht-btn-ghost { color: #f6f0ed !important; background: rgba(255, 255, 255, .035); border-color: rgba(224, 214, 208, .3); }
.ht-btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: var(--ht-gold); }
.ht-hero-proof { display: flex; align-items: center; gap: 14px; margin-top: clamp(38px, 5vw, 70px); color: #9b8c92; font-size: .68rem; letter-spacing: .13em; line-height: 1.85; }
.ht-hero-proof strong { color: #dfc8b6; letter-spacing: .16em; font-weight: 700; }
.ht-proof-mark { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid var(--ht-border); border-radius: 50%; color: var(--ht-gold); font-size: 1.1rem; }
.ht-visual { position: relative; min-width: 0; padding: 0 23px 25px 0; }
.ht-photo-frame { position: relative; overflow: hidden; border-radius: 130px 5px 7px 5px; aspect-ratio: .80 / 1; min-height: 0; background: #22171a; box-shadow: 0 28px 80px rgba(0, 0, 0, .44); }
.ht-photo-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.ht-image-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(14, 5, 9, .86), transparent 40%), linear-gradient(90deg, rgba(21, 8, 8, .11), transparent 50%); }
.ht-photo-caption { position: absolute; bottom: clamp(20px, 4vw, 47px); left: clamp(22px, 3.9vw, 50px); right: 20px; display: grid; gap: 6px; }
.ht-photo-caption span { font-size: .69rem; letter-spacing: .24em; color: var(--ht-gold); }
.ht-photo-caption strong { font-size: clamp(.78rem, 1.1vw, .99rem); font-weight: 600; letter-spacing: .13em; color: #fff; }
.ht-frame-corner { position: absolute; z-index: -1; inset: 23px 0 0 23px; border: 1px solid rgba(222, 179, 126, .54); border-radius: 130px 5px 7px 5px; }
.ht-photo-seal { position: absolute; right: 1px; top: 57%; display: flex; align-items: center; gap: 9px; padding: 16px; border: 1px solid rgba(239, 195, 158, .42); border-radius: 8px; background: #140f12; box-shadow: 0 14px 35px rgba(0, 0, 0, .45); color: #efe8e4; font-size: .65rem; font-weight: 750; letter-spacing: .13em; line-height: 1.6; }
.ht-photo-seal i { color: var(--ht-red); font-size: 1.5rem; }
.ht-downline { display: flex; align-items: center; justify-content: center; gap: 25px; width: min(100% - 72px, 1260px); margin: clamp(32px, 6vw, 75px) auto 0; color: #887b7d; font-size: .62rem; letter-spacing: .27em; }
.ht-downline i { display: block; width: clamp(60px, 10vw, 160px); height: 1px; background: linear-gradient(90deg, var(--ht-gold), transparent); }

/* ============================================================================
   03 / SERVICIO A DOMICILIO - BENEFICIOS, TARJETAS Y PROCESO
============================================================================ */
.ht-intro { padding: clamp(66px, 8vw, 120px) 0; border-top: 1px solid rgba(255, 255, 255, .055); background: linear-gradient(155deg, #111012, #171113 65%, #0d0a0c); }
.ht-intro-head { max-width: 760px; margin-bottom: 52px; }
.ht-intro-head h2 { font-size: clamp(2.25rem, 4.3vw, 3.9rem); line-height: 1.24; margin: 14px 0 19px; }
.ht-intro-head h2 span { color: var(--ht-gold); }
.ht-intro-head > p:last-child { max-width: 640px; line-height: 1.85; color: #bcb2b8; }
.ht-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ht-benefit { padding: clamp(22px, 3vw, 37px); border: 1px solid var(--ht-border); border-radius: 12px; background: linear-gradient(155deg, rgba(255,255,255,.045), rgba(255,255,255,.009)); min-width: 0; }
.ht-benefit-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 11px; border: 1px solid rgba(223,185,135,.25); background: rgba(223,185,135,.07); color: var(--ht-gold); font-size: 1.4rem; margin-bottom: 25px; }
.ht-benefit h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; font-weight: 500; margin: 0 0 11px; color: #f3ebe7; }
.ht-benefit p { margin: 0; color: var(--ht-muted); line-height: 1.8; font-size: .94rem; }
.ht-process { padding: clamp(70px, 8.5vw, 122px) 0; background: #0b0a0c; }
.ht-section-heading { margin-bottom: 39px; }
.ht-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 45px); }
.ht-step { position: relative; padding: 33px 12px 0 0; border-top: 1px solid rgba(226,193,159,.34); min-width: 0; }
.ht-step-number { color: #d64c56; font-family: 'Playfair Display', Georgia, serif; font-size: 2.35rem; line-height: 1; }
.ht-step h3 { margin: 19px 0 11px; font-size: 1.07rem; font-weight: 750; color: #fff; }
.ht-step p { color: var(--ht-muted); font-size: .95rem; line-height: 1.8; margin: 0; }

/* ============================================================================
   04 / SERVICIO A DOMICILIO - FORMULARIO WHATSAPP Y PRIVACIDAD
============================================================================ */
.ht-request { padding: clamp(75px, 9vw, 138px) 0; background: radial-gradient(ellipse at 8% 22%, rgba(131, 17, 32, .23), transparent 58%), #130c10; border-block: 1px solid rgba(223,185,135,.12); }
.ht-request-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: start; gap: clamp(40px, 7.5vw, 106px); }
.ht-request-copy { padding-top: clamp(10px, 4vw, 62px); }
.ht-request-copy h2 { margin: 16px 0 22px; font-size: clamp(2.45rem, 4.6vw, 4.6rem); line-height: 1.18; text-wrap: balance; }
.ht-request-copy h2 em, .ht-faq h2 em { display: block; font-style: normal; color: var(--ht-red); }
.ht-request-copy > p:not(.ht-kicker) { max-width: 460px; color: #c9bec3; line-height: 1.9; margin-bottom: 38px; }
.ht-request-note { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; border-top: 1px solid var(--ht-border); max-width: 480px; }
.ht-request-note > i { flex: 0 0 21px; color: var(--ht-gold); font-size: 1.4rem; }
.ht-request-note strong { display: block; color: #fff; margin: 0 0 7px; }
.ht-request-note span { color: var(--ht-muted); font-size: .89rem; line-height: 1.75; }
.ht-form-card { min-width: 0; padding: clamp(23px, 3.3vw, 42px); border: 1px solid rgba(234, 191, 157, .25); border-radius: 15px; background: linear-gradient(160deg, #242024, #151417 65%); box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.ht-form-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 23px; border-bottom: 1px solid var(--ht-border); color: var(--ht-gold); font-size: .68rem; font-weight: 750; letter-spacing: .18em; }
.ht-form-top i { font-size: 1rem; vertical-align: middle; }
.ht-form-number { color: #9c8d94; }
.ht-form-card > h2 { font-family: 'Playfair Display', Georgia, serif; margin: 26px 0 7px; font-size: clamp(1.85rem, 2.5vw, 2.7rem); font-weight: 500; }
.ht-form-caption { color: #bdb5bd; font-size: .89rem; margin: 0 0 28px; line-height: 1.7; }
.ht-form { display: grid; gap: 21px; }
.ht-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.ht-field { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ht-field label { color: #eee8e7; font-size: .82rem; line-height: 1.45; font-weight: 650; }
.ht-field label span, .ht-consent b { color: #ff8188; }
.ht-field label small { color: #9e959e; font-size: .75rem; font-weight: 400; }
.ht-field :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 13px 14px; background: #111013; border: 1px solid #494149; border-radius: 7px; color: #fff; font: inherit; font-size: .92rem; line-height: 1.5; outline: none; transition: border-color .18s ease, box-shadow .18s ease; color-scheme: dark; }
.ht-field textarea { resize: vertical; min-height: 114px; }
.ht-field :is(input,select,textarea)::placeholder { color: #999099; opacity: 1; }
.ht-field :is(input,select,textarea):focus { border-color: var(--ht-gold); box-shadow: 0 0 0 3px rgba(223,185,135,.11); }
.ht-field select { appearance: auto; cursor: pointer; }
.ht-consent { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; color: #c9c2c8; font-size: .81rem; line-height: 1.7; }
.ht-consent input { margin-top: 5px; width: 16px; height: 16px; flex: 0 0 16px; accent-color: #e14c56; cursor: pointer; }
.ht-consent a { color: #ffd0b3; text-decoration: underline; text-underline-offset: 3px; }
.ht-consent a:hover { color: white; }
.ht-form-submit { width: 100%; background: linear-gradient(120deg, #197d52, #115b3d); border-color: #4ea97b; color: #fff; font-size: .95rem; }
.ht-form-submit:hover { background: #20895c; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.ht-disclaimer { display: flex; gap: 9px; align-items: flex-start; margin: -5px 0 0; color: #a9a0a8; line-height: 1.65; font-size: .78rem; }
.ht-disclaimer i { color: var(--ht-gold); flex-shrink: 0; }
.ht-form noscript { color: #fff; }

/* ============================================================================
   05 / SERVICIO A DOMICILIO - PREGUNTAS FRECUENTES Y CTA FINAL
============================================================================ */
.ht-faq { padding: clamp(70px, 9vw, 112px) 0; background: #0c0b0d; }
.ht-faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 8vw, 100px); }
.ht-faq h2 { max-width: 500px; font-size: clamp(2.25rem, 4vw, 3.6rem); line-height: 1.25; margin-top: 17px; }
.ht-questions { min-width: 0; }
.ht-questions details { border-bottom: 1px solid var(--ht-border); padding: 5px 0; }
.ht-questions details:first-child { border-top: 1px solid var(--ht-border); }
.ht-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; list-style: none; cursor: pointer; color: #f3e9e7; font-weight: 600; line-height: 1.5; }
.ht-questions summary::-webkit-details-marker { display: none; }
.ht-questions summary i { color: var(--ht-gold); transition: transform .15s ease; flex-shrink: 0; }
.ht-questions details[open] summary i { transform: rotate(45deg); }
.ht-questions details > p { padding: 0 28px 20px 0; color: var(--ht-muted); font-size: .93rem; line-height: 1.85; margin: 0; }
.ht-return { background: #1a1114; padding: 24px 0; border-top: 1px solid var(--ht-border); }
.ht-return .ht-shell { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 15px; }
.ht-return span { color: #aa999f; font-size: .68rem; letter-spacing: .18em; }
.ht-return a { display: inline-flex; align-items: center; gap: 12px; color: #ffe3d6; font-size: .89rem; }
.ht-return a:hover { color: #fff; }

/* ============================================================================
   06 / SERVICIO A DOMICILIO - TABLET Y MÓVIL 100% RESPONSIVO
============================================================================ */
@media (max-width: 1060px) {
    .ht-hero-grid { gap: 34px; }
    .ht-hero h1 { font-size: clamp(3rem, 5vw, 4.6rem); }
    .ht-photo-frame { border-top-left-radius: 90px; }
    .ht-frame-corner { border-top-left-radius: 90px; }
    .ht-request-grid { gap: 32px; }
}
@media (max-width: 850px) {
    .ht-shell { width: min(100% - 40px, 660px); }
    .ht-hero { padding-top: 34px; }
    .ht-hero-grid { grid-template-columns: 1fr; gap: 43px; }
    .ht-hero-copy { padding-bottom: 0; }
    .ht-hero h1 { font-size: clamp(3.1rem, 9vw, 5.6rem); }
    .ht-breadcrumb { margin-bottom: 55px; }
    .ht-visual { width: min(100%, 540px); margin-inline: auto; }
    .ht-photo-frame { aspect-ratio: 1.04 / 1; }
    .ht-request-grid, .ht-faq-grid { grid-template-columns: 1fr; }
    .ht-request-copy { padding-top: 0; }
    .ht-request-copy h2 { max-width: 690px; }
    .ht-request-copy > p:not(.ht-kicker) { max-width: 630px; }
}
@media (max-width: 640px) {
    .ht-shell { width: calc(100% - 30px); }
    .ht-hero { padding-top: 25px; }
    .ht-breadcrumb { font-size: .72rem; margin-bottom: 40px; }
    .ht-eyebrow { font-size: .62rem; letter-spacing: .17em; }
    .ht-hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); margin: 18px 0; }
    .ht-hero-text { font-size: .97rem; line-height: 1.75; }
    .ht-actions { margin-top: 26px; }
    .ht-btn { min-height: 50px; padding: 13px 16px; font-size: .84rem; }
    .ht-hero-proof { margin-top: 36px; }
    .ht-visual { padding-right: 14px; padding-bottom: 14px; }
    .ht-photo-frame { aspect-ratio: .95 / 1; border-top-left-radius: 75px; }
    .ht-frame-corner { inset: 14px 0 0 14px; border-top-left-radius: 75px; }
    .ht-photo-seal { padding: 12px; gap: 5px; right: 0; font-size: .58rem; }
    .ht-photo-caption { left: 25px; bottom: 23px; }
    .ht-downline { width: calc(100% - 30px); gap: 14px; font-size: .54rem; margin-top: 40px; }
    .ht-intro, .ht-process, .ht-request, .ht-faq { padding-block: 65px; }
    .ht-intro-head { margin-bottom: 32px; }
    .ht-intro-head h2 { font-size: clamp(2.1rem, 9vw, 3rem); }
    .ht-benefits, .ht-steps { grid-template-columns: 1fr; gap: 13px; }
    .ht-benefit { padding: 24px; }
    .ht-benefit-icon { margin-bottom: 15px; }
    .ht-step { padding: 20px 0 8px; }
    .ht-request-copy h2, .ht-faq h2 { font-size: clamp(2.2rem, 9.7vw, 3.1rem); }
    .ht-form-card { padding: 23px 17px; }
    .ht-form-row { grid-template-columns: 1fr; gap: 18px; }
    .ht-form { gap: 18px; }
    .ht-form-top { font-size: .59rem; letter-spacing: .10em; }
    .ht-form-card > h2 { font-size: 2rem; }
    .ht-return { padding-bottom: 90px; } /* Evita que los botones flotantes tapen el regreso */
}
@media (max-width: 370px) {
    .ht-hero h1 { font-size: 2.45rem; }
    .ht-actions { display: grid; }
    .ht-btn { width: 100%; }
    .ht-photo-seal { top: 63%; }
    .ht-photo-caption strong { font-size: .70rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-tailoring-page *, .home-tailoring-page *::before, .home-tailoring-page *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================================
   07 / SERVICIO A DOMICILIO - DISTINTIVO COBERTURA NACIONAL
============================================================================ */
.home-tailoring-page .ht-national {
    display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
    margin: 20px 0 6px; padding: 9px 13px; border: 1px solid rgba(219, 173, 117, .5);
    border-radius: 4px; background: rgba(195, 133, 66, .09); color: #f0d7b2;
    font-size: clamp(.73rem, 1.3vw, .86rem); font-weight: 750; letter-spacing: .025em;
}
.home-tailoring-page .ht-national i { flex: none; color: #e5b27e; }
