/* Gestoría Mary Quiñonez — identidad blanca, tipografía editorial y burdeos. */
:root {
  --brand: #941c3d;
  --brand-hover: #781630;
  --ink: #464f50;
  --muted: #626b6c;
  --line: #e4e7e7;
  --soft: #fafafa;
  --white: #fff;
  --max: 1180px;
  --shadow: 0 16px 42px rgba(38, 46, 47, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.65 "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { flex: 0 0 auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4 { margin: 0 0 1em; }
h1, h2, h3 { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.14; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5.1vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.6rem; letter-spacing: -.025em; }
strong { font-weight: 650; }
ul, ol { padding-left: 1.25em; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
::selection { color: var(--white); background: var(--brand); }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 10px 18px; color: var(--white); background: var(--brand); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Cabecera y navegación */
.topline { border-bottom: 1px solid var(--line); background: var(--white); font-size: .75rem; line-height: 1.4; }
.topline-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 35px; }
.topline-inner a:hover { color: var(--brand); }
.topline-inner > span:last-child { text-align: right; }
.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 94px; }
.brand { position: relative; display: block; flex: 0 0 320px; width: 320px; height: 70px; overflow: hidden; }
.brand img { position: absolute; top: -28px; left: -26px; width: 375px; max-width: none; height: auto; }
.nav, .nav-links { display: flex; align-items: center; gap: 25px; }
.nav { font-size: .88rem; font-weight: 500; }
.nav-links > a, .nav-services > summary { padding-block: 12px; white-space: nowrap; }
.nav a:hover, .nav summary:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; color: var(--brand); border: 1px solid var(--brand); }
.nav .nav-cta:hover { color: var(--white); background: var(--brand); }
.nav-services { position: relative; }
.nav-services summary { cursor: pointer; list-style: none; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary::after { content: "+"; display: inline-block; margin-left: 8px; color: var(--brand); font-size: .95em; }
.nav-services[open] summary::after { content: "−"; }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: -20px; z-index: 110; display: grid; min-width: 260px; padding: 10px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .87rem; }
.nav-dropdown a { padding: 10px 12px; white-space: nowrap; }
.nav-dropdown a:hover { color: var(--brand); background: var(--soft); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; min-height: 44px; padding: 10px; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle span { position: relative; display: block; width: 20px; height: 2px; background: currentColor; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Portada */
.eyebrow { margin-bottom: 20px; color: var(--brand); font-size: .72rem; font-weight: 650; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.hero { padding-block: 62px 58px; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr); align-items: center; gap: 54px; }
.hero-copy { padding-block: 12px; }
.hero-title { margin-bottom: 24px; max-width: 670px; }
.hero-title em, .hero-title span { color: var(--brand); font-weight: inherit; }
.hero-lead { max-width: 550px; margin-bottom: 30px; color: var(--muted); font-size: 1.06rem; line-height: 1.8; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 13px 21px; border: 1px solid transparent; font-size: .88rem; font-weight: 600; line-height: 1.3; text-align: center; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn svg { width: 22px; height: 22px; }
.btn-primary { color: var(--white); background: var(--brand); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); transform: translateY(-1px); }
.btn-secondary { color: var(--ink); background: var(--white); border-color: #cdd2d2; }
.btn-secondary:hover { color: var(--brand); border-color: var(--brand); }
.hero-notes { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 29px; color: var(--muted); font-size: .76rem; }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes span::before { content: ""; width: 4px; height: 4px; background: var(--brand); border-radius: 50%; }
.hero-notes svg { width: 15px; height: 15px; color: var(--brand); }
.hero-visual { position: relative; min-width: 0; padding-bottom: 21px; }
.hero-visual::after { content: ""; position: absolute; z-index: 0; inset: 23px -14px 0 22px; border: 1px solid var(--line); pointer-events: none; }
.hero-image { position: relative; z-index: 1; width: 100%; height: 515px; object-fit: cover; object-position: center; background: var(--white); }
.hero-location { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; width: calc(100% - 36px); min-height: 63px; margin: -25px auto 0; padding: 15px 18px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 5px 18px rgba(38,46,47,.04); color: var(--ink); font-size: .76rem; line-height: 1.5; }
.hero-location svg { width: 21px; height: 21px; color: var(--brand); }
.hero-location strong { display: block; font-size: .82rem; }

/* Secciones y servicios */
.section { padding-block: 82px; border-top: 1px solid var(--line); background: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 38px; }
.section-heading > div:first-child { max-width: 640px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading .section-title { margin-bottom: 0; }
.section-heading > p, .section-intro { max-width: 430px; margin-bottom: 0; color: var(--muted); font-size: .95rem; line-height: 1.8; }
.section-intro + .service-grid, .section-intro + .process-grid { margin-top: 35px; }
.section-title { margin-bottom: 24px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 31px 29px 27px; border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.service-card:hover { border-color: #c9a7b1; box-shadow: 0 10px 25px rgba(38,46,47,.035); }
.service-icon { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; margin-bottom: 25px; color: var(--brand); }
.service-icon svg { width: 35px; height: 35px; stroke-width: 1.4; }
.service-no { position: absolute; top: 30px; right: 28px; color: #9ca3a3; font-size: .72rem; letter-spacing: .08em; }
.service-card h3 { margin-bottom: 14px; font-size: 1.9rem; }
.service-card p { margin-bottom: 18px; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.service-card ul { display: grid; gap: 9px; margin: 0 0 27px; padding: 0; color: var(--muted); list-style: none; font-size: .83rem; }
.service-card li { position: relative; padding-left: 15px; }
.service-card li::before { content: ""; position: absolute; top: .75em; left: 0; width: 4px; height: 4px; background: var(--brand); border-radius: 50%; }
.service-link { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; color: var(--brand); border-top: 1px solid var(--line); font-size: .84rem; font-weight: 600; }
.service-link svg, .text-link svg { width: 18px; height: 18px; }
.service-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.quick-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 30px; color: var(--muted); font-size: .82rem; }
.quick-links > span { font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: .86rem; font-weight: 600; }
.focus-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 75px; align-items: start; }
.focus-copy > p:not(.eyebrow), .about-grid > div > p:not(.eyebrow) { color: var(--muted); line-height: 1.85; }
.focus-copy .button-row { margin-top: 28px; }
.feature-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 20px 0 20px 29px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.feature-list li:first-child { border-top: 1px solid var(--line); }
.feature-list li::before { content: "↗"; position: absolute; top: 20px; left: 0; color: var(--brand); font-size: 1.1rem; }
.feature-list strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.feature-list p { margin: 0; color: var(--muted); font-size: .86rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.process-step { padding-top: 23px; border-top: 1px solid var(--line); }
.step-no { display: inline-block; margin-bottom: 26px; color: var(--brand); font: italic 1.8rem/1 Georgia, serif; }
.process-step h3 { margin-bottom: 13px; font-size: 1.55rem; }
.process-step p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }

/* El despacho */
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 75px; align-items: center; }
.about-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 350px; padding: 40px; border: 1px solid var(--line); background: var(--white); text-align: center; }
.about-mark > img { width: 180px; height: auto; object-fit: contain; }
.professional-mark > img { width: min(100%, 340px); }
.professional-mark > p { max-width: 310px; line-height: 1.8; }
.professional-mark strong { color: var(--ink); }
.about-mark > p { margin: 20px 0 0; color: var(--muted); font-size: .76rem; }
.about-photo { margin: 0; min-width: 0; border: 1px solid var(--line); background: var(--white); }
.about-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about-photo figcaption { padding: 20px 22px; color: var(--ink); font-size: .83rem; line-height: 1.7; }
.about-photo figcaption span { display: block; margin-top: 7px; color: var(--muted); font-size: .76rem; }
.ga-lockup { display: flex; align-items: center; justify-content: center; gap: 17px; margin-top: 28px; padding-top: 27px; border-top: 1px solid var(--line); text-align: left; }
.ga-lockup img { width: auto; height: 65px; object-fit: contain; }
.ga-lockup p { max-width: 200px; margin: 0; font-size: .77rem; line-height: 1.6; }
.ga-lockup strong { display: block; color: var(--brand); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; color: var(--brand); border: 1px solid var(--line); font-size: .74rem; line-height: 1.5; }

/* Preguntas y contacto */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 42px 23px 0; cursor: pointer; list-style: none; color: var(--ink); font-size: 1rem; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 22px; right: 4px; color: var(--brand); font-size: 1.3rem; font-weight: 400; line-height: 1.3; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 850px; margin: -2px 40px 24px 0; color: var(--muted); font-size: .94rem; line-height: 1.8; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 76px; align-items: start; }
.contact-grid .section-title { max-width: 450px; }
.contact-data { margin-top: 30px; }
.contact-data > div, .contact-data > li { padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-data > div:first-child, .contact-data > li:first-child { border-top: 1px solid var(--line); }
ul.contact-data { padding-left: 0; list-style: none; }
.contact-data dt, .contact-data strong { display: block; margin-bottom: 5px; color: var(--muted); font-size: .73rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.contact-data dd { margin: 0; }
.contact-data p { margin: 0; font-size: .92rem; }
.contact-data a { overflow-wrap: anywhere; }
.contact-data a:hover { color: var(--brand); }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--brand); font-size: .8rem; font-weight: 600; }
.map-link svg { width: 15px; height: 15px; }
.contact-form { display: grid; gap: 18px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.contact-form h3 { margin-bottom: 0; font-size: 1.7rem; }
.contact-form > p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, label.field { color: var(--ink); font-size: .8rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .contact-form select, .contact-form textarea { display: block; width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #d6dada; border-radius: 0; background: var(--white); color: var(--ink); font-size: .94rem; font-weight: 400; }
.contact-form textarea { min-height: 125px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #899091; opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--brand); outline: 2px solid rgba(148,28,61,.14); outline-offset: 1px; }
.contact-form input[type="checkbox"] { width: 17px; height: 17px; margin: 3px 8px 0 0; accent-color: var(--brand); vertical-align: top; }
.contact-form label:has(input[type="checkbox"]) { display: flex; align-items: flex-start; color: var(--muted); font-size: .76rem; font-weight: 400; line-height: 1.7; }
.contact-form .btn { width: 100%; }
.form-note { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.7; }
.form-note a, .contact-form label a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form-feedback { margin: 0; padding: 12px 14px; color: var(--ink); border: 1px solid var(--line); font-size: .85rem; }

/* Pie blanco y accesos rápidos */
.site-footer { padding-block: 52px 23px; color: var(--ink); background: var(--white); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .8fr); gap: 58px; }
.footer-brand > img { max-width: 270px; margin: -15px 0 1px -15px; }
.footer-brand p { max-width: 340px; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.footer-brand .brand { width: 280px; height: 64px; transform: scale(.87); transform-origin: left center; margin-right: -36px; }
.footer-links { display: grid; align-content: start; gap: 9px; color: var(--muted); font-size: .82rem; }
.footer-links h3, .footer-links strong { margin-bottom: 6px; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: .79rem; font-weight: 600; line-height: 1.5; letter-spacing: .03em; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 14px 25px; margin-top: 38px; padding-top: 22px; color: var(--muted); border-top: 1px solid var(--line); font-size: .71rem; }
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 18px; }
.floating-wa { position: fixed; right: 23px; bottom: 23px; z-index: 80; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 18px; color: var(--white); background: var(--brand); border: 1px solid var(--brand); border-radius: 28px; box-shadow: 0 5px 20px rgba(38,46,47,.13); font-size: .82rem; font-weight: 600; }
.floating-wa svg { width: 23px; height: 23px; }
.floating-wa:hover { background: var(--brand-hover); }
.mobile-contact { display: none; }

/* Páginas de servicio y textos informativos */
.breadcrumbs { padding-block: 18px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: .75rem; }
.breadcrumbs a { color: var(--brand); }
.breadcrumbs a:hover { text-decoration: underline; }
.service-hero { padding-block: 68px 59px; background: var(--white); border-bottom: 1px solid var(--line); }
.service-hero h1 { max-width: 900px; margin-bottom: 25px; }
.service-hero .hero-lead, .service-hero .lead { max-width: 760px; margin-bottom: 29px; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 325px; gap: 72px; align-items: start; }
.prose { min-width: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 42px; font-size: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 29px; font-size: 1.5rem; }
.prose p, .prose li { color: var(--muted); font-size: .95rem; line-height: 1.85; }
.prose li + li { margin-top: 7px; }
.prose a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.service-aside { position: sticky; top: 120px; padding: 27px; border: 1px solid var(--line); background: var(--white); }
.service-aside h2, .service-aside h3 { font-size: 1.65rem; }
.service-aside p { color: var(--muted); font-size: .87rem; }
.service-aside .btn { width: 100%; margin-top: 10px; }
.mini-links { display: grid; gap: 0; margin-top: 21px; }
.mini-links a { padding: 11px 0; color: var(--brand); border-top: 1px solid var(--line); font-size: .81rem; }
.callout { margin-block: 28px; padding: 20px 24px; border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--white); }
.callout p:last-child { margin-bottom: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.related-card { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid var(--line); }
.related-card h3 { font-size: 1.5rem; }
.related-card p { color: var(--muted); font-size: .86rem; }
.related-card .text-link { margin-top: auto; }
.service-coverage { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; color: var(--brand); font-size: .86rem; }
.service-coverage svg { width: 19px; height: 19px; }
.guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.guide-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 32px; border: 1px solid var(--line); background: var(--white); transition: border-color .2s ease; }
.guide-card:hover { border-color: var(--brand); }
.guide-category { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--brand); font-size: .75rem; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; }
.guide-category svg { width: 22px; height: 22px; }
.guide-card h3 { max-width: 470px; margin-bottom: 18px; font-size: clamp(1.65rem, 2.6vw, 2.1rem); }
.guide-card p { margin-bottom: 28px; color: var(--muted); font-size: .94rem; line-height: 1.85; }
.guide-card .text-link { margin-top: auto; }
.guide-review { margin: 23px 0 0; color: var(--muted); font-size: .8rem; }
.legal-notice { max-width: 860px; padding-block: 65px 80px; }
.legal-notice h1 { margin-bottom: 25px; }
.legal-notice h2 { margin-top: 36px; font-size: 1.75rem; }
.legal-notice p, .legal-notice li { color: var(--muted); font-size: .94rem; line-height: 1.9; overflow-wrap: anywhere; }
.legal-notice a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { padding-block: 18px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .8rem; }

/* Tablet y menú adaptable */
@media (max-width: 1080px) {
  .container { width: min(var(--max), calc(100% - 48px)); }
  .header-inner { gap: 14px; }
  .nav, .nav-links { gap: 18px; }
  .nav { font-size: .81rem; }
  .nav-cta { padding-inline: 13px; }
  .hero-grid { gap: 36px; }
  .hero-title { font-size: 3.4rem; }
  .hero-image { height: 490px; }
  .service-card { padding-inline: 24px; }
  .focus-grid, .about-grid, .contact-grid { gap: 48px; }
  .service-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; }
}

@media (max-width: 960px) {
  .header-inner { min-height: 88px; }
  .menu-toggle { display: inline-flex; flex: 0 0 44px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100dvh - 88px); padding: 12px 24px 24px; overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px rgba(38,46,47,.04); font-size: .95rem; }
  .nav.is-open { display: block; }
  .nav-links { display: grid; gap: 0; }
  .nav-links > a, .nav-services > summary { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-dropdown { position: static; min-width: 0; padding: 0 0 8px 16px; border: 0; box-shadow: none; font-size: .87rem; }
  .nav-dropdown a { padding: 11px 0; white-space: normal; }
  .nav-cta { display: flex; margin-top: 17px; }
  .nav-links > .nav-cta { padding: 13px 18px; border: 1px solid var(--brand); }
  .hero { padding-top: 44px; }
  .hero-grid { gap: 30px; }
  .hero-title { font-size: 3rem; }
  .hero-lead { font-size: .98rem; }
  .hero-image { height: 445px; }
  .hero-notes { gap: 9px 14px; font-size: .71rem; }
  .hero-visual::after { right: -8px; }
  .section { padding-block: 65px; }
  .section-heading { gap: 34px; }
  .service-card { padding: 25px 21px; }
  .service-card h3 { font-size: 1.65rem; }
  .service-card p { font-size: .87rem; }
  .service-card ul { font-size: .79rem; }
  .service-no { top: 27px; right: 22px; }
  .process-grid { gap: 25px; }
  .focus-grid, .about-grid, .contact-grid { gap: 35px; }
  .contact-form { padding: 24px; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 760px) {
  .guides-grid { grid-template-columns: 1fr; gap: 18px; }
  .guide-card { padding: 25px; }
  .service-coverage { align-items: flex-start; font-size: .8rem; line-height: 1.65; }
  html { scroll-padding-top: 100px; }
  .container { width: min(var(--max), calc(100% - 40px)); }
  .topline-inner { justify-content: center; min-height: 31px; font-size: .68rem; }
  .topline-inner > :first-child { text-align: center; }
  .topline-inner > :nth-child(n+2) { display: none; }
  .header-inner { min-height: 82px; }
  .brand { flex-basis: 280px; width: 280px; height: 62px; }
  .brand img { width: 328px; left: -23px; top: -25px; }
  .nav { max-height: calc(100dvh - 82px); padding-inline: 20px; }
  .hero { padding-block: 35px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { padding-block: 0; }
  .hero-title { max-width: 650px; font-size: clamp(2.6rem, 6.6vw, 3.2rem); }
  .hero-lead { max-width: 580px; margin-bottom: 25px; font-size: 1rem; }
  .hero-notes { margin-top: 23px; font-size: .74rem; }
  .hero-visual { max-width: 620px; width: calc(100% - 9px); }
  .hero-image { height: 360px; object-position: center 45%; }
  .hero-location { min-height: 60px; }
  .section { padding-block: 56px; }
  .section-heading { display: block; margin-bottom: 29px; }
  .section-heading > p, .section-heading .section-intro { max-width: 580px; margin-top: 20px; }
  .section-title { font-size: 2.35rem; }
  .service-grid { grid-template-columns: 1fr; gap: 17px; }
  .service-card { padding: 26px; }
  .service-icon { margin-bottom: 20px; }
  .service-card h3 { font-size: 1.9rem; }
  .service-card p { max-width: 550px; font-size: .94rem; }
  .service-card ul { font-size: .86rem; }
  .service-link { width: 100%; justify-content: space-between; }
  .quick-links { justify-content: flex-start; gap: 12px 20px; }
  .focus-grid, .about-grid, .contact-grid, .service-layout { grid-template-columns: 1fr; gap: 34px; }
  .focus-grid .feature-list { margin-top: 3px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-step { position: relative; padding: 22px 0 0 55px; }
  .step-no { position: absolute; top: 24px; left: 0; margin-bottom: 0; }
  .process-step h3 { font-size: 1.65rem; }
  .about-mark { min-height: 300px; padding: 32px; }
  .about-grid > .about-mark { order: 2; }
  .contact-grid .section-title { max-width: 580px; }
  .contact-form { padding: 27px; }
  .footer-grid { grid-template-columns: 1.25fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 470px; }
  .footer-bottom { display: grid; }
  .service-hero { padding-block: 45px; }
  .service-hero h1 { font-size: 2.75rem; }
  .service-aside { position: static; }
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .related-card { padding: 25px; }
  .legal-notice { padding-block: 45px 60px; }
  .legal-notice h1 { font-size: 2.65rem; }
}

/* Teléfono: diseño usable desde 360px */
@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 74px; gap: 8px; }
  .brand { flex-basis: 246px; width: 246px; height: 54px; }
  .brand img { width: 290px; left: -19px; top: -21px; }
  .menu-toggle { width: 40px; min-height: 40px; flex-basis: 40px; }
  .nav { max-height: calc(100dvh - 74px); padding-inline: 18px; }
  .eyebrow { margin-bottom: 15px; font-size: .66rem; letter-spacing: .11em; }
  .hero { padding-top: 29px; }
  .hero-title { margin-bottom: 20px; font-size: clamp(2.42rem, 10.6vw, 2.8rem); line-height: 1.12; }
  .hero-lead { font-size: .96rem; line-height: 1.75; }
  .button-row { align-items: stretch; flex-direction: column; gap: 11px; }
  .button-row .btn { width: 100%; }
  .hero-notes { gap: 8px 15px; font-size: .69rem; }
  .hero-image { height: 300px; }
  .hero-location { width: calc(100% - 22px); padding-inline: 14px; font-size: .7rem; }
  .hero-location strong { font-size: .76rem; }
  .section { padding-block: 46px; }
  .section-title { font-size: 2.1rem; }
  .section-intro { font-size: .92rem; }
  .service-card { padding: 24px; }
  .service-card h3 { font-size: 1.8rem; }
  .focus-grid, .about-grid, .contact-grid { gap: 29px; }
  .focus-copy > p:not(.eyebrow), .about-grid > div > p:not(.eyebrow) { font-size: .94rem; }
  .feature-list li { padding-block: 18px; }
  .feature-list li::before { top: 18px; }
  .about-mark { padding: 25px 20px; }
  .ga-lockup { gap: 14px; }
  .ga-lockup p { font-size: .72rem; }
  .faq-list summary { padding-block: 20px; padding-right: 32px; font-size: .93rem; }
  .faq-list summary::after { top: 18px; }
  .faq-list details p { margin-right: 20px; font-size: .89rem; }
  .contact-form { padding: 22px; gap: 17px; }
  .contact-form h3 { font-size: 1.55rem; }
  .contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .contact-form select, .contact-form textarea { font-size: 16px; }
  .contact-data { margin-top: 24px; }
  .site-footer { padding-block: 39px 89px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 19px; }
  .footer-links { font-size: .78rem; }
  .footer-bottom { margin-top: 27px; font-size: .68rem; }
  .footer-bottom > div { gap: 10px 17px; }
  .floating-wa { display: none; }
  .mobile-contact { position: fixed; z-index: 85; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 10px; color: var(--brand); border: 1px solid var(--brand); font-size: .8rem; font-weight: 600; line-height: 1.2; }
  .mobile-contact a:first-child { color: var(--white); background: var(--brand); }
  .mobile-contact svg { width: 20px; height: 20px; }
  .breadcrumbs { font-size: .71rem; padding-block: 15px; }
  .service-hero { padding-block: 35px; }
  .service-hero h1 { font-size: 2.35rem; }
  .service-hero .hero-lead, .service-hero .lead { font-size: .96rem; }
  .service-aside { padding: 24px; }
  .prose h2 { font-size: 1.8rem; }
  .prose p, .prose li { font-size: .92rem; }
  .legal-notice h1 { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn-primary:hover { transform: none; }
}

@media print {
  .topline, .nav, .menu-toggle, .floating-wa, .mobile-contact, .contact-form { display: none !important; }
  .site-header { position: static; }
  .container { width: 100%; }
  .hero-grid, .focus-grid, .about-grid, .contact-grid, .service-layout { display: block; }
  .hero-visual { display: none; }
  .section { padding-block: 25px; }
  a { color: var(--ink); }
  .service-card, .process-step { break-inside: avoid; }
}
