:root {
  --navy: #102541;
  --navy-2: #173a61;
  --navy-3: #244d76;
  --gold: #d7b36a;
  --gold-dark: #b98c39;
  --ink: #17283d;
  --muted: #64748b;
  --line: #e3e8ef;
  --surface: #f5f7fa;
  --surface-blue: #eef3f8;
  --white: #ffffff;
  --success: #18765d;
  --danger: #a12b35;
  --shadow: 0 24px 60px rgba(16, 37, 65, .13);
  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -50px; left: 16px; z-index: 1000; background: white; color: var(--navy); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.demo-notice { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 18px; background: #fff6df; color: #694b12; border-bottom: 1px solid #eed9a3; font-size: 12px; line-height: 1.45; text-align: center; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: #c79022; flex: 0 0 auto; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(16,37,65,.09); backdrop-filter: blur(16px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; min-width: fit-content; }
.brand-mark { width: 47px; height: 47px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; fill: none; stroke: var(--gold-dark); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; gap: 7px; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 19px; letter-spacing: .035em; white-space: nowrap; }
.brand-copy em { font-style: normal; font-size: .74em; }
.brand-copy small { font-size: 9px; letter-spacing: .24em; color: #65768a; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-size: 12px; font-weight: 650; color: #475569; white-space: nowrap; transition: color .18s ease; }
.main-nav a:hover { color: var(--gold-dark); }
.mobile-menu-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 9px; width: 43px; height: 43px; }
.mobile-menu-toggle span { display: block; height: 2px; width: 19px; background: var(--navy); margin: 4px auto; }

.button { border: 1px solid transparent; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 12px; border-radius: 9px; padding: 12px 19px; font-weight: 750; font-size: 13px; letter-spacing: -.01em; line-height: 1.2; min-height: 44px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .text-link:focus-visible, .icon-button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(215,179,106,.75); outline-offset: 3px; }
.button-small { min-height: 39px; padding: 10px 14px; font-size: 11px; }
.button-large { min-height: 52px; padding: 15px 22px; }
.button-full { width: 100%; }
.button-gold { background: var(--gold); color: #17283d; box-shadow: 0 9px 20px rgba(215,179,106,.16); }
.button-gold:hover { background: #e3c27f; box-shadow: 0 10px 24px rgba(215,179,106,.28); }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: #1b3a5f; }
.button-glass { border-color: rgba(255,255,255,.56); color: white; background: rgba(255,255,255,.07); }
.button-glass:hover { background: rgba(255,255,255,.15); }
.button-outline { border-color: #cbd5e1; background: white; color: var(--navy); }
.button-outline:hover { background: var(--surface); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.hero { position: relative; min-height: 600px; display: flex; flex-direction: column; justify-content: center; color: white; background: var(--navy); overflow: hidden; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background-image: url('/static/portada/hero-city.webp'); background-size: cover; background-position: center 43%; transform: scale(1.015); }
.hero-overlay { background: linear-gradient(90deg, rgba(9,25,47,.96) 0%, rgba(11,31,57,.88) 36%, rgba(11,31,57,.44) 69%, rgba(11,31,57,.22) 100%), linear-gradient(0deg, rgba(8,22,39,.44), transparent 38%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 315px; align-items: center; gap: 66px; position: relative; z-index: 2; padding-top: 67px; padding-bottom: 88px; }
.hero-content { max-width: 670px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; color: #8c6b31; font-size: 10px; font-weight: 850; letter-spacing: .16em; line-height: 1.4; }
.eyebrow-gold { color: var(--gold); }
.eyebrow-line { display: inline-block; width: 25px; height: 2px; background: currentColor; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.045em; font-size: clamp(39px, 4.5vw, 61px); line-height: 1.08; max-width: 740px; margin-bottom: 22px; }
.hero h1 span { color: #e5c67f; }
.hero-lede { color: rgba(244,247,251,.82); font-size: 17px; line-height: 1.75; max-width: 525px; margin-bottom: 31px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; font-size: 11px; color: rgba(255,255,255,.84); }
.proof-icon { display: inline-grid; place-items: center; border: 1px solid rgba(215,179,106,.65); border-radius: 50%; width: 21px; height: 21px; color: var(--gold); font-weight: 900; }
.proof-separator { color: var(--gold); }
.hero-price-card { background: rgba(255,255,255,.97); color: var(--navy); padding: 25px 24px 23px; border-radius: 15px; box-shadow: 0 24px 60px rgba(0,0,0,.23); border: 1px solid rgba(255,255,255,.65); }
.price-tag { color: #7a623a; display: block; font-size: 9px; letter-spacing: .18em; font-weight: 850; }
.price-line { display: flex; align-items: baseline; gap: 9px; margin-top: 5px; }
.price-line .currency { font-size: 12px; color: #53657a; font-weight: 800; }
.price-line strong { font-family: Georgia, "Times New Roman", serif; font-size: 44px; letter-spacing: -.04em; line-height: 1.2; font-weight: 600; }
.hero-price-card > p, .consult-price > p { color: var(--muted); font-size: 12px; margin: 5px 0 16px; }
.price-divider { height: 1px; background: var(--line); margin: 15px 0; }
.price-benefits { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 11px; }
.price-benefits li { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.5; color: #334155; }
.price-benefits li span { color: var(--success); font-weight: 900; }
.text-link { background: none; border: 0; padding: 0; display: inline-flex; gap: 9px; color: var(--navy); align-items: center; font-weight: 800; font-size: 12px; }
.text-link:hover { color: #8a6623; }
.hero-bottom { position: relative; z-index: 2; display: flex; align-items: center; gap: 15px; padding-bottom: 22px; font-size: 8px; letter-spacing: .19em; color: rgba(255,255,255,.66); }
.hero-bottom-line { display: inline-block; height: 1px; background: rgba(255,255,255,.28); width: 40px; }

.trust-strip { background: #f7f8fa; border-bottom: 1px solid var(--line); }
.trust-grid { min-height: 96px; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-right: 1px solid #e3e8ef; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 39px; height: 39px; flex: 0 0 auto; border-radius: 11px; background: #eaf0f6; color: var(--navy-2); display: grid; place-items: center; font-size: 23px; }
.trust-item strong, .trust-item small { display: block; }
.trust-item strong { font-size: 12px; font-weight: 800; }
.trust-item small { font-size: 10px; color: var(--muted); margin-top: 3px; }

.section { padding: 88px 0; }
.section-heading { margin-bottom: 32px; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.section-heading h2, .process-intro h2, .faq-layout h2, .consult-copy h2, .final-cta h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 3.35vw, 44px); line-height: 1.13; letter-spacing: -.035em; font-weight: 600; color: var(--navy); margin-bottom: 0; }
.section-heading h2 span, .process-intro h2 span, .faq-layout h2 span { color: #8b6a31; }
.section-heading > p, .section-heading-row > p { max-width: 420px; font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0 0 4px; }
.services-section { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { border: 1px solid #e5eaf0; border-radius: 13px; background: white; padding: 21px 19px 19px; min-height: 201px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; display: flex; flex-direction: column; }
.service-card:hover { border-color: #d8bd83; box-shadow: 0 14px 35px rgba(16,37,65,.08); transform: translateY(-3px); }
.service-icon { width: 43px; height: 43px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 17px; background: #edf2f8; color: var(--navy); font-size: 22px; font-weight: 600; }
.service-card h3 { font-size: 15px; color: var(--navy); margin: 0 0 8px; letter-spacing: -.025em; }
.service-card p { color: var(--muted); font-size: 11px; line-height: 1.7; margin-bottom: 16px; }
.service-card .service-link { margin-top: auto; align-self: flex-start; background: none; border: 0; padding: 0; color: #7a5b22; font-size: 11px; font-weight: 850; }
.service-link span { display: inline-block; margin-left: 5px; transition: transform .18s ease; }
.service-card .service-link:hover span { transform: translateX(4px); }
.service-note { margin-top: 20px; display: flex; align-items: flex-start; gap: 10px; color: #67768a; background: #f8fafc; border-radius: 9px; padding: 13px 15px; }
.service-note > span { color: #7c8da3; font-size: 15px; }
.service-note p { margin: 0; font-size: 10px; line-height: 1.7; }

.process-section { background: var(--navy); color: white; }
.process-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 86px; align-items: center; }
.process-intro h2 { color: white; max-width: 440px; }
.process-intro h2 span { color: var(--gold); }
.process-intro > p:not(.eyebrow) { max-width: 440px; color: rgba(237,242,247,.76); font-size: 13px; line-height: 1.9; margin: 22px 0 27px; }
.process-steps { display: grid; gap: 0; }
.process-step { display: grid; grid-template-columns: 38px 45px minmax(0, 1fr); align-items: start; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.process-step:last-child { border-bottom: 0; }
.step-number { font-size: 11px; font-weight: 800; color: var(--gold); padding-top: 7px; letter-spacing: .06em; }
.step-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(215,179,106,.42); border-radius: 50%; color: var(--gold); font-size: 24px; }
.process-step h3 { color: white; font-size: 14px; margin: 2px 0 4px; }
.process-step p { color: rgba(238,243,248,.68); font-size: 11px; margin: 0; line-height: 1.7; }
.price-inline { color: var(--gold); font-weight: 850; }

.team-section { background: #f8f9fb; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { background: white; border: 1px solid #e4e9f0; border-radius: 14px; padding: 24px; }
.team-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.team-avatar { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-weight: 850; background: linear-gradient(145deg, #f1e4c9, #eaf0f6); border: 2px solid #fff; box-shadow: 0 0 0 1px #e1e6ed; }
.team-card h3 { font-size: 15px; margin: 0 0 3px; color: var(--navy); }
.team-card .team-role { color: #8b6a31; font-size: 10px; font-weight: 750; }
.team-card p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.team-tag { background: #f2f5f8; color: #475569; border-radius: 5px; padding: 4px 7px; font-size: 9px; font-weight: 700; }
.team-credentials { border-top: 1px solid var(--line); padding-top: 14px; color: #63748a; font-size: 10px; line-height: 1.55; }
.team-card .text-link { margin-top: 16px; }

.consultation-section { padding: 68px 0; background: white; }
.consultation-card { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 52px; align-items: center; padding: 42px 46px; background: linear-gradient(110deg, #102541 0%, #173858 65%, #1d4666 100%); border-radius: 18px; position: relative; overflow: hidden; color: white; }
.consultation-card::after { content: ""; position: absolute; width: 350px; height: 350px; right: 190px; top: -200px; border: 1px solid rgba(215,179,106,.18); border-radius: 50%; box-shadow: 0 0 0 35px rgba(215,179,106,.04), 0 0 0 75px rgba(215,179,106,.025); pointer-events: none; }
.consult-copy, .consult-price { position: relative; z-index: 1; }
.consult-copy h2 { color: white; max-width: 590px; }
.consult-copy > p:not(.eyebrow) { color: rgba(238,243,248,.74); max-width: 560px; font-size: 13px; line-height: 1.85; margin: 18px 0 18px; }
.consult-checks { display: flex; flex-wrap: wrap; gap: 10px 19px; }
.consult-checks span { color: rgba(255,255,255,.85); font-size: 10px; }
.consult-checks span::first-letter { color: var(--gold); }
.consult-price { border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.075); padding: 23px; }
.consult-price .price-tag { color: var(--gold); }
.consult-price .price-line .currency { color: rgba(255,255,255,.7); }
.consult-price .price-line strong { color: white; }
.consult-price > p { color: rgba(255,255,255,.66); margin-bottom: 18px; }
.consult-price small { display: block; text-align: center; color: rgba(255,255,255,.56); font-size: 9px; line-height: 1.55; margin-top: 12px; }

.faq-section { background: #f7f8fa; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 82px; align-items: start; }
.faq-layout h2 { font-size: clamp(30px, 3vw, 40px); }
.faq-intro { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 20px 0 25px; max-width: 300px; }
.faq-list { border-top: 1px solid #dfe5ec; }
.faq-list details { padding: 19px 0; border-bottom: 1px solid #dfe5ec; }
.faq-list summary { cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; color: var(--navy); position: relative; padding-right: 28px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 21px; font-weight: 400; color: #94723b; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { font-size: 11px; line-height: 1.85; color: var(--muted); margin: 12px 30px 0 0; }

.final-cta { background: #eef2f6; border-top: 1px solid #e1e7ee; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 46px; padding-bottom: 46px; }
.final-cta h2 { font-size: 30px; }
.final-cta p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.final-cta .eyebrow { margin-bottom: 7px; }
.site-footer { background: #091b30; color: rgba(255,255,255,.78); }
.footer-main { display: grid; grid-template-columns: 1.1fr 1.3fr .7fr; gap: 40px; align-items: start; padding-top: 43px; padding-bottom: 32px; }
.brand-footer { color: white; }
.brand-footer .brand-copy small { color: rgba(255,255,255,.54); }
.brand-footer .brand-mark svg { stroke: var(--gold); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 25px; padding-top: 8px; }
.footer-links a { color: rgba(255,255,255,.68); text-decoration: none; font-size: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { padding-top: 7px; }
.footer-contact > span { color: var(--gold); font-weight: 800; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.footer-contact p { color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.7; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom span { font-size: 9px; color: rgba(255,255,255,.45); }

/* Reservation modal */
.booking-dialog { padding: 0; border: 0; border-radius: 18px; width: min(760px, calc(100vw - 28px)); max-width: 760px; max-height: min(90vh, 900px); color: var(--ink); background: white; box-shadow: 0 28px 100px rgba(0,0,0,.34); overflow: auto; }
.booking-dialog::backdrop { background: rgba(7, 19, 34, .68); backdrop-filter: blur(4px); }
.dialog-shell { display: flex; flex-direction: column; min-height: 350px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 28px 30px 20px; border-bottom: 1px solid var(--line); }
.dialog-head .eyebrow { margin-bottom: 8px; font-size: 9px; }
.dialog-head h2 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin: 0 0 7px; }
.dialog-head p:last-child { color: var(--muted); font-size: 12px; margin: 0; }
.icon-button { flex: 0 0 auto; border: 1px solid #e1e6ed; color: #526477; border-radius: 50%; background: white; width: 38px; height: 38px; font-size: 24px; line-height: 1; }
.icon-button:hover { background: #f3f6f8; }
.dialog-progress { display: flex; align-items: center; gap: 12px; padding: 16px 30px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.progress-step { display: inline-flex; align-items: center; gap: 7px; color: #98a3b1; font-size: 10px; font-weight: 750; white-space: nowrap; }
.progress-step i { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #d5dde6; border-radius: 50%; font-style: normal; background: white; }
.progress-step.is-active { color: var(--navy); }
.progress-step.is-active i, .progress-step.is-complete i { background: var(--navy); color: white; border-color: var(--navy); }
.progress-step.is-complete { color: var(--success); }
.progress-step.is-complete i { background: var(--success); border-color: var(--success); }
.progress-track { height: 1px; background: #dce3eb; flex: 1; min-width: 12px; }
.dialog-body { padding: 24px 30px 28px; }
.selected-service-note { display: inline-flex; align-items: center; gap: 7px; border-radius: 6px; background: #eef3f8; color: var(--navy); font-size: 10px; font-weight: 800; padding: 7px 10px; margin-bottom: 15px; }
.attorney-options { display: grid; gap: 10px; }
.attorney-option { display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 15px; border: 1px solid #e0e6ee; border-radius: 12px; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.attorney-option:hover { border-color: #c6d2df; }
.attorney-option.is-selected { border-color: var(--navy-2); background: #f5f8fb; box-shadow: 0 0 0 2px rgba(23,58,97,.08); }
.attorney-avatar { display: grid; place-items: center; width: 49px; height: 49px; background: #eaf0f6; border: 1px solid #dae3ed; color: var(--navy); border-radius: 50%; font-size: 13px; font-weight: 850; }
.attorney-info h3 { margin: 0 0 3px; color: var(--navy); font-size: 13px; }
.attorney-info p { color: var(--muted); font-size: 10px; margin: 0 0 5px; line-height: 1.55; }
.attorney-info .attorney-specialties { color: #607289; }
.select-chip { font-size: 10px; color: var(--navy); border: 1px solid #cad5e0; background: white; padding: 7px 10px; border-radius: 7px; font-weight: 800; }
.attorney-option.is-selected .select-chip { background: var(--navy); color: white; border-color: var(--navy); }
.field-help { color: #7a8797; font-size: 10px; line-height: 1.7; margin: 15px 0 0; }
.dialog-actions { display: flex; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 19px; padding-top: 18px; }
.dialog-actions .button { max-width: 240px; }
/* Volver al paso anterior: botón visible por si eligieron el abogado por error */
.back-link { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--navy); color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; margin-bottom: 18px; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.back-link:hover, .back-link:focus-visible { background: var(--navy); color: #fff; }
.checkout-summary { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 15px 17px; background: #f4f7fa; border: 1px solid #e2e8f0; border-radius: 11px; margin-bottom: 20px; }
.checkout-summary strong { display: block; font-size: 12px; color: var(--navy); }
.checkout-summary small { color: var(--muted); font-size: 10px; display: block; margin-top: 3px; }
.summary-price { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: 700; white-space: nowrap; }
.field-row { display: grid; gap: 7px; margin-bottom: 15px; }
.field-row label { color: var(--ink); font-size: 11px; font-weight: 800; }
.field-row input { width: 100%; background: white; color: var(--ink); border: 1px solid #cfd8e3; border-radius: 8px; min-height: 47px; padding: 11px 13px; font-size: 13px; }
.field-row input::placeholder { color: #a0aab7; }
.field-row input:focus { border-color: #476b92; outline: 3px solid rgba(71,107,146,.12); }
.field-row small { font-size: 10px; color: var(--muted); }
.consent-row { display: flex; align-items: flex-start; gap: 9px; font-size: 10px; line-height: 1.7; color: #63748a; margin: 16px 0; }
.consent-row input { margin-top: 3px; accent-color: var(--navy); width: 15px; height: 15px; flex: 0 0 auto; }
.consent-row a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 2px; }
.inline-error { border-radius: 8px; padding: 11px 12px; background: #fff0f1; border: 1px solid #f0c9cd; color: #86232d; font-size: 11px; line-height: 1.6; margin: 13px 0; }
.secure-note { color: #718096; font-size: 9px; line-height: 1.7; text-align: center; margin: 13px 15px 0; }
.secure-note span { color: var(--success); }
.dialog-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid var(--line); background: #fafbfd; padding: 13px 30px; color: #8190a1; font-size: 9px; }
.dialog-foot strong { color: var(--navy); }
.foot-shield { color: var(--success); border: 1px solid #c8e5d9; background: #eef8f3; border-radius: 50%; width: 16px; height: 16px; display: inline-grid; place-items: center; font-weight: 900; margin-right: 3px; }
.status-symbol { display: grid; place-items: center; width: 59px; height: 59px; border-radius: 50%; background: #edf2f7; color: var(--navy); font-size: 27px; margin-bottom: 18px; }
.status-symbol.is-success { background: #eaf7f0; color: var(--success); }
.status-symbol.is-error { background: #fff0f1; color: var(--danger); }
#statusTitle { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 25px; margin: 0 0 9px; }
#statusMessage { color: var(--muted); font-size: 12px; line-height: 1.75; max-width: 540px; }
.booking-result-details { background: #f5f7fa; border: 1px solid #e2e8f0; border-radius: 10px; padding: 13px 15px; font-size: 11px; color: #53657a; margin: 18px 0; }
.booking-result-details strong { color: var(--navy); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 99; max-width: min(400px, calc(100vw - 32px)); padding: 14px 18px; background: var(--navy); color: white; border-radius: 10px; font-size: 12px; box-shadow: var(--shadow); }

@media (max-width: 1000px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 11px; }
  .brand-copy strong { font-size: 17px; }
  .hero-inner { gap: 35px; grid-template-columns: minmax(0,1fr) 285px; }
  .process-layout { gap: 52px; }
  .faq-layout { gap: 45px; }
  .section { padding: 72px 0; }
}
@media (max-width: 790px) {
  .container { width: min(var(--container), calc(100% - 34px)); }
  .header-inner { min-height: 73px; }
  .mobile-menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: white; padding: 16px 22px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(16,37,65,.08); align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid #edf1f5; font-size: 13px; }
  .main-nav .button { margin-top: 14px; }
  .hero { min-height: auto; }
  .hero-image { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(9,25,47,.94), rgba(9,25,47,.73)), linear-gradient(0deg, rgba(8,22,39,.62), transparent 70%); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 63px; padding-bottom: 48px; gap: 32px; }
  .hero-content { max-width: 620px; }
  .hero h1 { font-size: clamp(39px, 8.2vw, 57px); }
  .hero-lede { font-size: 15px; }
  .hero-price-card { width: min(420px, 100%); }
  .hero-bottom { padding-bottom: 18px; font-size: 7px; }
  .trust-grid { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 8px; }
  .trust-item, .trust-item:first-child { padding: 13px 0; border-right: 0; border-bottom: 1px solid #e3e8ef; }
  .trust-item:last-child { border-bottom: 0; }
  .trust-item small { font-size: 10px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading-row > p { max-width: 620px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 190px; }
  .process-layout { grid-template-columns: 1fr; gap: 37px; }
  .process-intro { max-width: 600px; }
  .process-steps { max-width: 680px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 20px; }
  .consultation-card { grid-template-columns: 1fr; gap: 27px; padding: 31px; }
  .consult-price { max-width: 400px; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-intro { max-width: 550px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 27px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 9px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 30px); }
  .demo-notice { font-size: 10px; padding: 8px 10px; text-align: left; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 7px; letter-spacing: .17em; }
  .hero-inner { padding-top: 47px; padding-bottom: 35px; }
  .hero h1 { font-size: 39px; }
  .hero-lede { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 340px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { font-size: 9px; gap: 7px; }
  .hero-bottom { flex-wrap: wrap; gap: 8px; line-height: 1.6; }
  .hero-bottom-line { width: 22px; }
  .section { padding: 59px 0; }
  .section-heading h2, .process-intro h2, .faq-layout h2, .consult-copy h2 { font-size: 31px; }
  .services-grid { gap: 10px; }
  .service-card { padding: 16px 14px; min-height: 200px; }
  .service-card h3 { font-size: 13px; }
  .service-card p { font-size: 10px; }
  .service-icon { width: 38px; height: 38px; font-size: 19px; margin-bottom: 12px; }
  .process-step { grid-template-columns: 25px 38px minmax(0, 1fr); gap: 11px; }
  .step-icon { width: 37px; height: 37px; font-size: 20px; }
  .consultation-section { padding: 45px 0; }
  .consultation-card { padding: 25px 20px; border-radius: 13px; }
  .consult-price { padding: 20px; }
  .final-cta-inner { flex-direction: column; align-items: stretch; padding-top: 38px; padding-bottom: 38px; }
  .final-cta h2 { font-size: 27px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-contact { grid-column: auto; }
  .footer-links { max-width: 380px; }
  .booking-dialog { width: calc(100vw - 12px); max-height: 94vh; border-radius: 14px; }
  .dialog-head { padding: 21px 18px 17px; gap: 12px; }
  .dialog-head h2 { font-size: 25px; }
  .dialog-progress { padding: 12px 18px; gap: 7px; }
  .progress-step { gap: 5px; font-size: 9px; }
  .progress-step i { width: 21px; height: 21px; font-size: 10px; }
  .dialog-body { padding: 18px; }
  .attorney-option { grid-template-columns: 41px minmax(0,1fr); gap: 11px; padding: 12px; }
  .attorney-avatar { width: 41px; height: 41px; font-size: 11px; }
  .select-chip { grid-column: 2; justify-self: start; padding: 5px 9px; }
  .dialog-foot { padding: 11px 18px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .dialog-actions .button { max-width: none; width: 100%; }
  .checkout-summary { grid-template-columns: 1fr; gap: 8px; }
  .summary-price { font-size: 21px; }
  .result-actions .button { width: 100%; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: unset; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Páginas legales / texto institucional */
.legal-copy { max-width: 860px; }
.legal-copy h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 48px); color: var(--navy); line-height: 1.12; letter-spacing: -.035em; }
.legal-copy h2 { color: var(--navy); font-size: 19px; margin: 30px 0 8px; }
.legal-copy p { color: #526277; font-size: 14px; line-height: 1.9; }
.legal-copy .service-note { margin: 20px 0 28px; }

/* ===== LION LAWYER: piezas propias sobre el diseño base ===== */
.brand-mark img { width: 44px; height: 44px; }
/* Fotos reales de los abogados (en lugar de iniciales) */
.attorney-avatar.con-foto, .team-avatar.con-foto { padding: 0; overflow: hidden; background: #f3f5f8; }
.attorney-avatar.con-foto img, .team-avatar.con-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.attorney-option { grid-template-columns: 64px minmax(0,1fr) auto; background: #fff; text-align: left; font: inherit; width: 100%; }
.attorney-option .attorney-avatar.con-foto { width: 64px; height: 64px; border-radius: 12px; }
.team-card .team-foto { aspect-ratio: 4 / 4.2; border-radius: 12px; overflow: hidden; background: #f3f5f8; margin-bottom: 16px; }
.team-card .team-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
/* Formulario del paso 2: listas, comentario y dos columnas */
.field-row select, .field-row textarea { width: 100%; background: white; color: var(--ink); border: 1px solid #cfd8e3; border-radius: 8px; min-height: 47px; padding: 11px 13px; font: inherit; font-size: 13px; }
.field-row textarea { min-height: 84px; resize: vertical; }
.field-row select:focus, .field-row textarea:focus { border-color: #476b92; outline: 3px solid rgba(71,107,146,.12); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Paso 3: resumen y pago */
.pay-summary { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid #dfe6ef; border-radius: 12px; background: var(--surface); font-size: 13px; margin-bottom: 16px; }
.pay-summary strong { color: var(--navy); }
.pay-summary .pay-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #dfe6ef; padding-top: 10px; margin-top: 4px; font-size: 15px; font-weight: 800; color: var(--navy); }
.button-pay { background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%); color: #fff; font-size: 15px; box-shadow: 0 10px 24px rgba(22,163,74,.28); border: 0; }
.button-pay:hover { background: linear-gradient(180deg, #16a34a 0%, #15803d 100%); }
.button-pay:disabled { opacity: .7; cursor: wait; }
.pay-seals { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; font-size: 11px; color: var(--muted); }
.pay-usa { margin-top: 14px; font-size: 12px; border-radius: 10px; background: #f4f7fd; border: 1px solid #dde6f5; }
.pay-usa summary { cursor: pointer; padding: 10px 13px; font-weight: 700; color: var(--navy); }
.pay-usa ol { margin: 0; padding: 0 14px 12px 30px; color: var(--muted); display: grid; gap: 4px; }
.pay-usa strong { color: var(--ink); }
/* Pie de página: enlaces legales */
.footer-contact a { color: var(--gold); }

/* ===== Interacción ===== */
/* Tarjetas de áreas con foto: toda la tarjeta es un botón */
.service-card.con-foto { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-foto { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); position: relative; }
.service-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,37,65,.35)); opacity: .7; transition: opacity .25s ease; }
.service-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service-texto { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.service-texto h3 { margin: 0; }
.service-texto p { margin: 0 0 6px; flex: 1; }
.service-card.con-foto:hover, .service-card.con-foto:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(16,37,65,.16); border-color: var(--gold); }
.service-card.con-foto:hover .service-foto img { transform: scale(1.08); }
.service-card.con-foto:hover .service-foto::after { opacity: .25; }
.button span[aria-hidden], .text-link span, .service-link .flecha { display: inline-block; transition: transform .2s ease; }
.service-card.con-foto:hover .flecha, .text-link:hover span, .button:hover span[aria-hidden] { transform: translateX(4px); }

/* Equipo: la foto se acerca y la tarjeta se eleva */
.team-card { transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(16,37,65,.14); }
.team-card .team-foto img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.team-card:hover .team-foto img { transform: scale(1.05); }

/* Botones dorados y verde: un brillo que los recorre al pasar el cursor */
.button-gold, .button-pay { position: relative; overflow: hidden; }
.button-gold::after, .button-pay::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.button-gold:hover::after, .button-pay:hover::after { left: 120%; }
.button:active, .attorney-option:active { transform: scale(.98); }
/* Botón principal de la portada: un latido suave que invita a tocarlo */
.boton-latido { animation: latido 2.6s ease-in-out infinite; }
@keyframes latido { 0%, 100% { box-shadow: 0 0 0 0 rgba(215,179,106,.55); } 50% { box-shadow: 0 0 0 14px rgba(215,179,106,0); } }

/* Aparecer al bajar por la página */
.revelar { opacity: 0; transform: translateY(26px); transition: opacity .6s ease var(--retraso, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--retraso, 0ms), box-shadow .25s ease, border-color .25s ease; }
.revelar.visible { opacity: 1; transform: none; }
.service-card.con-foto.revelar.visible:hover, .team-card.revelar.visible:hover { transform: translateY(-6px); transition-delay: 0ms; }

/* Selección de abogado en la ventana */
.attorney-option:hover { border-color: var(--gold); box-shadow: 0 10px 24px rgba(16,37,65,.08); }
.attorney-option .attorney-avatar.con-foto img { transition: transform .3s ease; }
.attorney-option:hover .attorney-avatar.con-foto img { transform: scale(1.08); }

/* Botón flotante de reservar (abajo) y volver arriba */
.flotante-reservar { position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; background: var(--navy); color: #fff; border-radius: 999px; text-decoration: none; box-shadow: 0 16px 40px rgba(16,37,65,.35); transition: transform .35s cubic-bezier(.2,.7,.2,1); white-space: nowrap; }
.flotante-reservar.visible { transform: translate(-50%, 0); }
.flotante-reservar__texto { font-size: 13px; color: #d6dee9; }
.flotante-reservar__texto strong { color: var(--gold); }
.flotante-reservar__boton { background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; padding: 10px 18px; border-radius: 999px; transition: background .2s ease; }
.flotante-reservar:hover .flotante-reservar__boton { background: #e3c27f; }
.volver-arriba { position: fixed; z-index: 40; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 20px; box-shadow: 0 10px 24px rgba(16,37,65,.15); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, background .2s ease; }
.volver-arriba.visible { opacity: 1; pointer-events: auto; transform: none; }
.volver-arriba:hover { background: var(--gold); }
@media (max-width: 560px) {
  .flotante-reservar { left: 12px; right: 12px; bottom: 12px; transform: translateY(160%); justify-content: space-between; }
  .flotante-reservar.visible { transform: none; }
  .volver-arriba { bottom: 84px; right: 12px; }
}
.faq-list summary { transition: color .2s ease; }
.faq-list summary:hover { color: var(--gold-dark); }

@media (prefers-reduced-motion: reduce) {
  .revelar { opacity: 1; transform: none; transition: none; }
  .boton-latido { animation: none; }
  .service-foto img, .team-card .team-foto img, .service-card.con-foto, .team-card { transition: none; }
}

/* Logo de LION LAWYER (emblema dorado con fondo transparente) */
.brand-mark { width: auto; height: 54px; }
.brand-mark img { width: auto; height: 54px; }
.brand-footer .brand-mark, .brand-footer .brand-mark img { height: 64px; }
.brand-copy small { letter-spacing: .18em; }
@media (max-width: 520px) { .brand-mark, .brand-mark img { height: 44px; } }
/* En la cabecera blanca el emblema va sobre negro, como el logo original */
.site-header .brand-mark { background: #0d0d0d; border-radius: 12px; padding: 5px 9px; height: 60px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.site-header .brand-mark img { height: 50px; }
@media (max-width: 520px) { .site-header .brand-mark { height: 50px; padding: 4px 7px; } .site-header .brand-mark img { height: 42px; } }
/* En el sitio publicado no se ven las notas internas "PENDIENTE" de las páginas legales */
.en-linea .pendiente, .en-linea .legal__fecha:has(.pendiente) { display: none; }
/* Botón de reservar en cada tarjeta del equipo */
.team-card { display: flex; flex-direction: column; }
.team-boton { margin-top: auto; }
.team-tags { margin-bottom: 18px; }
/* Áreas que atiende cada abogado (etiquetas) */
.atiende-titulo { margin: 14px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.team-card .team-tag { background: #f6efe0; color: #7a5a1c; border: 1px solid #ecdcb8; }
.attorney-info .atiende { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 6px; }
.attorney-info .atiende b { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 2px; }
.attorney-info .atiende i { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #f6efe0; color: #7a5a1c; border: 1px solid #ecdcb8; }
.attorney-option.is-selected .atiende i { background: #fff; }

/* Historia de cada abogado */
.team-exp { display: inline-block; margin: 10px 0 0; padding: 4px 10px; border-radius: 999px; background: var(--navy); color: #f1dfb4; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.team-historia { margin: 14px 0 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--gold); color: #3d4b5f; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 14.5px; line-height: 1.6; }
.team-card .team-exp { align-self: flex-start; color: var(--gold); font-size: 11.5px; padding: 5px 12px; }
/* Recuadro del abogado: todo es tocable; a la derecha un botón claro "Seleccionar" */
.attorney-option { cursor: pointer; -webkit-tap-highlight-color: rgba(215,179,106,.15); }
.attorney-option .boton-elegir { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 18px; border-radius: 999px; border: 0; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 4px 12px rgba(184,140,58,.28); transition: background .2s ease, color .2s ease, transform .2s ease; }
.attorney-option .boton-elegir::after { content: "→"; font-size: 15px; }
.attorney-option:hover .boton-elegir { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.attorney-option.is-selected .boton-elegir { background: var(--success); color: #fff; box-shadow: none; }
.attorney-option.is-selected .boton-elegir::after { content: none; }
.attorney-option:hover { background: #fffaf0; }
@media (max-width: 520px) {
  .attorney-option { grid-template-columns: 52px minmax(0,1fr); }
  .attorney-option .boton-elegir { grid-column: 1 / -1; justify-self: stretch; padding: 12px; font-size: 15px; }
}

/* ===== Ventana de reserva: día y hora con botones, modalidad en dos botones ===== */
.campo-titulo { color: var(--ink); font-size: 11px; font-weight: 800; }
.campo-titulo small { color: var(--muted); font-weight: 600; }
.campo-oculto { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dias { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.dia { flex: 0 0 auto; width: 62px; scroll-snap-align: start; display: grid; justify-items: center; gap: 1px; padding: 9px 4px; border: 1.5px solid #d5dde6; border-radius: 12px; background: #fff; color: var(--navy); font: inherit; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.dia small { font-size: 11px; font-weight: 700; text-transform: capitalize; color: var(--muted); }
.dia b { font-size: 20px; line-height: 1.15; }
.dia span { font-size: 11px; color: var(--muted); }
.dia:hover { border-color: var(--gold); }
.dia.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.dia.is-on small, .dia.is-on span { color: #d9e3ef; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.hora { padding: 11px 6px; border: 1.5px solid #d5dde6; border-radius: 10px; background: #fff; color: var(--navy); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.hora:hover { border-color: var(--gold); }
.hora.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.horas-nota { grid-column: 1 / -1; margin: 0; padding: 12px; border-radius: 10px; background: #f4f7fa; color: var(--muted); font-size: 13px; }
.opciones-pill { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pill { position: relative; display: block; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.pill span { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 10px; border: 1.5px solid #d5dde6; border-radius: 10px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.pill i { font-style: normal; }
.pill:hover span { border-color: var(--gold); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span, .dia:focus-visible, .hora:focus-visible { outline: 3px solid rgba(71,107,146,.35); outline-offset: 2px; }
/* El botón de continuar queda siempre a la vista al bajar por el formulario */
.accion-fija { position: sticky; bottom: 0; z-index: 2; margin: 0 -30px; padding: 12px 30px 14px; background: linear-gradient(rgba(255,255,255,0), #fff 30%); }

/* ===== Celular: la ventana ocupa toda la pantalla, letra más grande y sin zoom al escribir ===== */
@media (max-width: 640px) {
  .booking-dialog { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .dialog-shell { min-height: 100%; }
  .dialog-head { padding: 14px 16px 12px; align-items: center; }
  .dialog-head .eyebrow { display: none; }
  .dialog-head h2 { font-size: 22px; margin: 0 0 3px; }
  .dialog-head p:last-child { font-size: 14px; }
  .icon-button { width: 44px; height: 44px; }
  .dialog-progress { padding: 10px 16px; }
  .progress-step { font-size: 12px; }
  .dialog-body { padding: 16px 16px 0; flex: 1; }
  .selected-service-note { font-size: 13px; }
  .attorney-option { grid-template-columns: 56px minmax(0,1fr); align-items: start; gap: 12px; padding: 14px; }
  .attorney-option .attorney-avatar.con-foto { width: 56px; height: 56px; }
  .attorney-info h3 { font-size: 16px; margin-top: 4px; }
  .attorney-info p { font-size: 13px; }
  .attorney-info .atiende i { font-size: 12px; }
  /* 16 px en los campos: así el iPhone no hace zoom al tocarlos */
  .field-row input, .field-row select, .field-row textarea { font-size: 16px; min-height: 50px; }
  .field-row label, .campo-titulo { font-size: 14px; }
  .field-row { margin-bottom: 18px; }
  .consent-row { font-size: 13px; line-height: 1.55; gap: 11px; }
  .consent-row input { width: 22px; height: 22px; margin-top: 0; }
  .inline-error { font-size: 14px; }
  .accion-fija { margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .pay-summary { font-size: 15px; }
  .pay-seals { font-size: 13px; }
  .back-link { margin-bottom: 14px; }
  .dialog-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); font-size: 11px; }
}

/* ===== Pago primero: tarjeta del paso "Pago" y aviso de pago recibido ===== */
.pago-tarjeta { border: 1px solid #e0e6ee; border-radius: 14px; overflow: hidden; margin-bottom: 16px; background: #fff; }
.pago-precio { display: grid; gap: 2px; padding: 18px 18px 16px; background: var(--navy); color: #fff; text-align: center; }
.pago-precio span { font-size: 14px; color: #d9e3ef; font-weight: 600; }
.pago-precio strong { font-family: Georgia, "Times New Roman", serif; font-size: 38px; line-height: 1.1; color: var(--gold); }
.pago-precio small { font-size: 13px; color: #c3cfdd; }
.pago-abogados { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #edf1f5; font-size: 13px; color: #415168; }
.pago-caras { display: flex; flex: 0 0 auto; }
.pago-caras img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 12%; border: 2px solid #fff; box-shadow: 0 0 0 1px #e0e6ee; background: #f3f5f8; }
.pago-caras img + img { margin-left: -10px; }
.pago-pasos { list-style: none; margin: 0; padding: 12px 18px 16px; display: grid; gap: 10px; }
.pago-pasos li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.pago-pasos b { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f6efe0; color: #7a5a1c; font-size: 12px; }
.pago-pasos small { display: block; color: var(--success); font-weight: 700; font-size: 12.5px; }
.pago-ok { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; background: #eaf7f0; border: 1px solid #bfe3d1; color: #14563f; font-size: 14px; font-weight: 700; }
.pago-ok b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--success); color: #fff; flex: 0 0 auto; }
.inline-error.es-aviso { background: #f4f7fa; border-color: #dbe3ec; color: #415168; }
[data-paso="0"] .secure-note a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) { .pago-precio strong { font-size: 34px; } [data-paso="0"] .secure-note { font-size: 12px; } }
