/* Componentes de las páginas SEO (sedes, landings, procedimientos v2, blog).
   Reutiliza los tokens de marca definidos en modern-refresh.css. */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Navegación: más elementos sin desbordar ---------- */
.header .desktop-nav > a, .header .desktop-nav > details > summary { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1240px) {
  .header .desktop-nav > [data-nav-priority="2"] { display: none; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  .header .desktop-nav > [data-nav-priority="3"] { display: none; }
}
@media (min-width: 1241px) and (max-width: 1400px) {
  .header .desktop-nav { gap: 20px; }
}
@media (min-width: 761px) { .header .desktop-nav .locations-menu .services-menu-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .header .mobile-menu .services-menu-columns { grid-template-columns: minmax(0, 1fr); } .header .mobile-menu .services-menu-columns a, .header .mobile-menu .services-menu-columns span { white-space: normal; overflow-wrap: anywhere; } }
.footer-explore { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 26px 0 0; margin-top: 6px; border-top: 1px solid rgba(255, 253, 248, .12); }
.footer-explore a { color: inherit; opacity: .78; font-size: 13px; text-decoration: none; }
.footer-explore a:hover, .footer-explore a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Breadcrumbs ---------- */
.seo-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 26px; padding: 0; font-size: 12px; letter-spacing: .04em; color: var(--brand-muted, #746f66); }
.seo-breadcrumb li { display: inline-flex; align-items: center; gap: 10px; }
.seo-breadcrumb li + li::before { content: "/"; opacity: .5; }
.seo-breadcrumb a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.seo-breadcrumb a:hover, .seo-breadcrumb a:focus-visible { border-color: currentColor; color: var(--brand-ink, #1a1c18); }
.seo-breadcrumb [aria-current="page"] span { color: var(--brand-ink, #1a1c18); }

/* ---------- Hero ---------- */
.seo-page .seo-hero .seo-figure { margin: 0; border-radius: 26px; overflow: hidden; background: var(--cream, #ebe4d7); aspect-ratio: 4 / 5; max-height: 620px; }
.seo-page .seo-hero .seo-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.seo-page .seo-hero .seo-figure figcaption { padding: 12px 16px; font-size: 12px; color: var(--brand-muted, #746f66); }
.seo-hero-compact { padding-bottom: 54px; }
.seo-hero-compact h1 { max-width: 15ch; }
.seo-hero-compact > p { max-width: 62ch; }
.seo-page .service-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
.seo-country-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.seo-country-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-ink, #1a1c18); text-decoration: none; font-size: 13px; letter-spacing: .04em; background: var(--brand-white, #fffdf8); transition: background .2s, border-color .2s; }
.seo-country-nav a:hover, .seo-country-nav a:focus-visible { border-color: var(--brand-gold, #c4a463); background: #fff; }

/* ---------- Encabezados de sección ---------- */
.seo-section-heading { max-width: 760px; margin-bottom: 38px; }
.seo-section-heading h2 { margin: 0 0 16px; }
.seo-section-heading p { color: var(--brand-muted, #746f66); max-width: 62ch; }
.seo-subheading { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); margin: 46px 0 22px; }
.seo-lead { font-size: 17px; line-height: 1.75; }
.seo-small-note { font-size: 12.5px; line-height: 1.7; color: var(--brand-muted, #746f66); margin-top: 18px; }
.seo-inline-link { margin-top: 30px; font-size: 14px; }
.seo-inline-link a, .seo-prose a, .seo-article-body a, .seo-card-list a, .seo-two-col a { color: var(--brand-ink, #1a1c18); text-decoration: underline; text-decoration-color: var(--brand-gold, #c4a463); text-underline-offset: 4px; }

/* ---------- Resumen de datos ---------- */
.seo-facts.section { padding-top: 0; padding-bottom: 40px; }
.seo-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.seo-facts-grid > div { background: var(--brand-white, #fffdf8); padding: 22px 24px; }
.seo-facts-grid dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-muted, #746f66); margin-bottom: 8px; }
.seo-facts-grid dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--brand-ink, #1a1c18); }

/* ---------- Precio ---------- */
.seo-pricing { background: var(--brand-black, #111310); color: var(--brand-ivory, #f4f0e7); }
.seo-pricing .eyebrow { color: var(--brand-gold-light, #e4cf9d); }
.seo-pricing h2, .seo-pricing h3 { color: var(--brand-white, #fffdf8); }
.seo-pricing h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin: 30px 0 14px; color: var(--brand-gold-light, #e4cf9d); }
.seo-pricing-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.seo-pricing .seo-lead, .seo-pricing p { color: rgba(244, 240, 231, .82); }
.seo-price-panel { background: rgba(255, 253, 248, .04); border: 1px solid rgba(228, 207, 157, .22); border-radius: 26px; padding: clamp(22px, 3vw, 36px); }
.seo-price-item { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(244, 240, 231, .12); }
.seo-price-item:first-child { padding-top: 0; }
.seo-price-item small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 240, 231, .6); }
.seo-price-item strong { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); color: var(--brand-white, #fffdf8); }
.seo-price-item span { font-size: 13px; color: rgba(244, 240, 231, .7); }
.seo-price-item-accent strong { color: var(--brand-gold-light, #e4cf9d); }
.seo-price-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.seo-price-columns ul, .seo-pricing ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.8; color: rgba(244, 240, 231, .82); }
.seo-price-note { font-size: 12.5px; margin-top: 18px; }
.seo-pricing .button { background: var(--brand-gold, #c4a463); color: var(--brand-black, #111310); margin-top: 26px; }
.seo-pricing .button:hover { background: var(--brand-gold-light, #e4cf9d); }
.seo-payment-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.seo-payment-list li { display: grid; gap: 2px; }
.seo-payment-list strong { font-weight: 500; }
.seo-payment-list span { font-size: 12.5px; opacity: .75; }
.seo-check-list { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 12px; }
.seo-check-list li { position: relative; padding-left: 28px; line-height: 1.65; }
.seo-check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 1.5px solid var(--brand-gold, #c4a463); border-bottom: 1.5px solid var(--brand-gold, #c4a463); transform: rotate(-45deg); }

/* ---------- Procedimiento y comparación ---------- */
.seo-prose { max-width: 760px; font-size: 16px; line-height: 1.85; }
.seo-prose p + p { margin-top: 16px; }
.seo-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 40px; }
.seo-compare > div { background: var(--brand-white, #fffdf8); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.seo-compare h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 10px; }
.seo-compare p { font-size: 14px; line-height: 1.75; margin: 0; }

/* ---------- Tecnologías ---------- */
.seo-tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.seo-tech-card { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--brand-white, #fffdf8); }
.seo-tech-card small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-muted, #746f66); }
.seo-tech-card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 8px 0 12px; }
.seo-tech-card p, .seo-tech-card dd { font-size: 14px; line-height: 1.75; margin: 0; }
.seo-tech-card dl { margin: 18px 0 0; display: grid; gap: 6px; }
.seo-tech-card dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-muted, #746f66); margin-top: 8px; }

/* ---------- Dos columnas ---------- */
.seo-two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.seo-two-col h2 { margin-top: 0; }
.seo-two-col p + p { margin-top: 14px; }
.seo-card-list { background: var(--brand-white, #fffdf8); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3vw, 38px); }
.seo-card-list h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 12px; }
.seo-card-list h3 + * { margin-top: 0; }
.seo-card-list p + h3, .seo-card-list ul + h3 { margin-top: 26px; }

/* ---------- Pasos ---------- */
.seo-steps { background: var(--cream, #ebe4d7); }
.seo-step-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.seo-step-grid li { background: var(--brand-white, #fffdf8); border-radius: 22px; padding: 26px; }
.seo-step-grid li > span { font-family: var(--serif); font-size: 30px; color: var(--brand-gold, #c4a463); }
.seo-step-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 10px 0 8px; }
.seo-step-grid p { font-size: 14px; line-height: 1.75; margin: 0; }
.seo-steps .text-link { display: inline-block; margin-top: 18px; }

/* ---------- Riesgos ---------- */
.seo-two-col-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.seo-risk-list { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.seo-risk-list li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: 14.5px; line-height: 1.7; }
.seo-risk-list li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--brand-gold, #c4a463); }
.seo-sources { font-size: 12px !important; line-height: 1.7; color: var(--brand-muted, #746f66); margin-top: 22px; }
.seo-sources a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ubicación ---------- */
.seo-location-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.seo-location-layout > div:only-child { grid-column: 1 / -1; max-width: 720px; }
.seo-location .location-landmark { border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; }
.seo-location .location-landmark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seo-address { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; margin: 0 0 22px; }
.seo-location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 8px; }
.seo-location-actions .button { margin-top: 0; }

/* ---------- Selector de sedes ---------- */
.seo-location-selector { background: var(--brand-white, #fffdf8); }
.seo-location-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.seo-location-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: var(--paper); }
.seo-location-card small { font-size: 10px; letter-spacing: .16em; color: var(--brand-muted, #746f66); }
.seo-location-card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 6px 0 8px; }
.seo-location-card p { font-size: 13px; line-height: 1.6; min-height: 3.2em; margin: 0 0 14px; }
.seo-location-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: 13px; }
.seo-location-card li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.seo-location-card li span { color: var(--brand-muted, #746f66); }
.seo-location-card > a { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-ink, #1a1c18); font-weight: 500; font-size: 13.5px; text-decoration: none; border-bottom: 1px solid var(--brand-gold, #c4a463); align-self: flex-start; }

/* ---------- Enlaces locales y artículos ---------- */
.seo-local-links { padding-top: 20px; padding-bottom: 20px; }
.seo-local-links > div { display: flex; flex-wrap: wrap; gap: 12px; }
.seo-local-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--brand-ink, #1a1c18); text-decoration: none; font-size: 14px; background: var(--brand-white, #fffdf8); }
.seo-local-links a:hover, .seo-local-links a:focus-visible { border-color: var(--brand-gold, #c4a463); }
.seo-article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.seo-article-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--brand-white, #fffdf8); color: var(--brand-ink, #1a1c18); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.seo-article-card:hover, .seo-article-card:focus-visible { transform: translateY(-3px); border-color: var(--brand-gold, #c4a463); box-shadow: var(--soft-shadow); }
.seo-article-card small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-muted, #746f66); }
.seo-article-card strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.seo-article-card span { font-size: 14px; line-height: 1.7; color: #4b4a44; }
.seo-article-card em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 500; padding-top: 8px; }
.seo-article-featured { background: var(--brand-black, #111310); color: var(--brand-ivory, #f4f0e7); padding: clamp(30px, 5vw, 64px); }
.seo-article-featured strong { font-size: clamp(32px, 4vw, 54px); max-width: 18ch; color: var(--brand-white, #fffdf8); }
.seo-article-featured span { color: rgba(244, 240, 231, .78); max-width: 60ch; font-size: 16px; }
.seo-article-featured small { color: var(--brand-gold-light, #e4cf9d); }
.seo-blog-featured.section { padding-top: 0; padding-bottom: 30px; }

/* ---------- Tarjetas de procedimiento (sedes) ---------- */
.seo-proc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.seo-proc-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--brand-white, #fffdf8); color: var(--brand-ink, #1a1c18); text-decoration: none; transition: border-color .2s, transform .2s; }
.seo-proc-card:hover, .seo-proc-card:focus-visible { border-color: var(--brand-gold, #c4a463); transform: translateY(-2px); }
.seo-proc-card small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-muted, #746f66); }
.seo-proc-card strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }
.seo-proc-card span { font-size: 13px; line-height: 1.6; color: #4b4a44; }
.seo-proc-card em { font-style: normal; font-size: 13px; font-weight: 500; margin-top: auto; padding-top: 6px; }
.seo-proc-card-local { background: var(--brand-black, #111310); color: var(--brand-ivory, #f4f0e7); border-color: transparent; }
.seo-proc-card-local small { color: var(--brand-gold-light, #e4cf9d); }
.seo-proc-card-local span { color: rgba(244, 240, 231, .75); }

/* ---------- Directorio de sedes ---------- */
.seo-country { margin-bottom: 64px; scroll-margin-top: 120px; }
.seo-country > h2 { font-size: clamp(34px, 3.6vw, 52px); margin: 0 0 24px; }
.seo-sede-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.seo-sede-card { display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--brand-white, #fffdf8); }
.seo-sede-card .location-landmark { aspect-ratio: 16 / 9; }
.seo-sede-card .location-landmark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seo-sede-card > div:last-child { padding: 26px; display: flex; flex-direction: column; }
.seo-sede-card small { font-size: 10px; letter-spacing: .16em; color: var(--brand-muted, #746f66); }
.seo-sede-card abbr { text-decoration: none; }
.seo-sede-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 6px 0 8px; }
.seo-sede-card p { font-size: 14px; margin: 0 0 14px; }
.seo-sede-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 13px; }
.seo-sede-card li { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; }
.seo-sede-card li span { color: var(--brand-muted, #746f66); }
.seo-sede-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.seo-sede-actions a { min-height: 44px; display: inline-flex; align-items: center; color: var(--brand-ink, #1a1c18); font-size: 13.5px; text-decoration: none; }
.seo-sede-actions .seo-card-primary { font-weight: 500; border-bottom: 1px solid var(--brand-gold, #c4a463); }

/* ---------- Blog ---------- */
.seo-blog-tools { display: grid; grid-template-columns: 1fr minmax(220px, 340px); gap: 18px 28px; align-items: center; margin-bottom: 30px; }
.seo-blog-tools h2 { margin: 0; }
.seo-search input { width: 100%; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--brand-white, #fffdf8); font: inherit; font-size: 14px; color: var(--brand-ink, #1a1c18); }
.seo-search input:focus-visible { outline: 2px solid var(--brand-gold, #c4a463); outline-offset: 2px; }
.seo-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: inherit; font-size: 13px; color: var(--brand-ink, #1a1c18); cursor: pointer; }
.seo-chip.is-active, .seo-chip[aria-pressed="true"] { background: var(--brand-black, #111310); color: var(--brand-ivory, #f4f0e7); border-color: var(--brand-black, #111310); }
.seo-chip:focus-visible { outline: 2px solid var(--brand-gold, #c4a463); outline-offset: 2px; }
.seo-empty { margin-top: 20px; color: var(--brand-muted, #746f66); }

/* ---------- Artículo ---------- */
.seo-article-hero h1 { max-width: 20ch; font-size: clamp(40px, 5.2vw, 76px); }
.seo-article-meta { font-size: 12.5px; color: var(--brand-muted, #746f66); margin-top: 18px; }
.seo-article-layout { display: grid; grid-template-columns: minmax(180px, 240px) minmax(0, 720px) minmax(220px, 280px); gap: clamp(26px, 4vw, 60px); align-items: start; padding-top: 30px; }
.seo-toc { position: sticky; top: 110px; display: grid; gap: 10px; font-size: 13px; }
.seo-toc strong { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-muted, #746f66); font-weight: 500; }
.seo-toc a { color: var(--brand-ink, #1a1c18); text-decoration: none; line-height: 1.45; opacity: .78; }
.seo-toc a:hover, .seo-toc a:focus-visible { opacity: 1; text-decoration: underline; }
.seo-article-body { font-size: 17px; line-height: 1.85; }
.seo-article-body h2 { font-size: clamp(30px, 3vw, 42px); margin: 48px 0 16px; scroll-margin-top: 110px; }
.seo-article-body h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 30px 0 10px; }
.seo-article-body p { margin: 0 0 18px; }
.seo-article-body ul, .seo-article-body ol { padding-left: 22px; margin: 0 0 22px; }
.seo-article-body li { margin-bottom: 8px; }
.seo-callout { background: var(--cream, #ebe4d7); border-left: 3px solid var(--brand-gold, #c4a463); border-radius: 0 18px 18px 0; padding: 22px 26px; margin: 28px 0; }
.seo-callout strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; margin-bottom: 6px; }
.seo-callout p { margin: 0; font-size: 15.5px; }
.seo-table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: 18px; }
.seo-table-wrap:focus-visible { outline: 2px solid var(--brand-gold, #c4a463); }
.seo-table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; line-height: 1.6; }
.seo-table-wrap th, .seo-table-wrap td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.seo-table-wrap th { background: var(--brand-black, #111310); color: var(--brand-ivory, #f4f0e7); font-weight: 500; font-size: 12px; letter-spacing: .06em; }
.seo-table-wrap tr:last-child td { border-bottom: 0; }
.seo-article-cta { position: sticky; top: 110px; display: grid; gap: 12px; padding: 26px; border-radius: 22px; background: var(--brand-black, #111310); color: var(--brand-ivory, #f4f0e7); }
.seo-article-cta small { font-size: 10px; letter-spacing: .16em; color: var(--brand-gold-light, #e4cf9d); }
.seo-article-cta strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--brand-white, #fffdf8); }
.seo-article-cta .button { min-width: 0; margin-top: 6px; background: var(--brand-gold, #c4a463); color: var(--brand-black, #111310); gap: 12px; }
.seo-article-cta .service-secondary-link { color: var(--brand-ivory, #f4f0e7); font-size: 13px; }

/* ---------- Doctor ---------- */
.seo-doctor-name { font-size: 13px; letter-spacing: .04em; color: var(--brand-muted, #746f66); margin: 10px 0 6px; }
.seo-doctor-focus { max-width: 52ch; font-size: 15px; line-height: 1.75; }
.seo-doctor-credential { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brand-gold, #c4a463); }

/* ---------- Resultados ---------- */
.seo-results-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.seo-results-actions .button { margin-top: 0; }
.seo-results-note .service-process-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* ---------- Distintivo de revisión (solo build de revisión) ---------- */
.review-badge { position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(17, 19, 16, .9); color: #f4f0e7; font-size: 11px; line-height: 1.35; max-width: 230px; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.review-badge strong { color: #e4cf9d; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .seo-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-article-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); }
  .seo-toc { display: none; }
}
@media (max-width: 860px) {
  .seo-pricing-layout, .seo-two-col, .seo-two-col-inner, .seo-location-layout { grid-template-columns: minmax(0, 1fr); }
  .seo-article-layout { grid-template-columns: minmax(0, 1fr); }
  .seo-article-cta { position: static; }
  .seo-blog-tools { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .seo-location-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-price-columns { grid-template-columns: minmax(0, 1fr); }
  .seo-facts-grid { grid-template-columns: 1fr 1fr; }
  .seo-facts-grid dd { font-size: 16px; }
  .seo-facts-grid > div { padding: 16px; }
  .seo-sede-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-article-body { font-size: 16px; }
  .seo-page .seo-hero .seo-figure { aspect-ratio: 4 / 4.4; }
  .review-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-article-card, .seo-proc-card { transition: none; }
  .seo-article-card:hover, .seo-proc-card:hover { transform: none; }
}

/* Nombres largos de procedimientos en la cuadrícula de relacionados */
.service-all-grid > a { min-width: 0; }
.service-all-grid > a > span { min-width: 0; flex: 1 1 auto; }
.service-all-grid > a strong, .service-all-grid > a small { white-space: normal; overflow-wrap: anywhere; }

.service-detail-page .service-all-grid > a > span { flex: 1 1 0 !important; width: auto !important; max-width: 100%; }


/* Palabras largas (p. ej. lipoabdominoplastia) en pantallas estrechas */
.seo-page h1, .seo-page h2, .seo-page h3, .seo-page dd, .seo-page strong { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 420px) { .seo-page h2 { font-size: clamp(30px, 8.4vw, 40px); } }


/* Migas de pan sobre hero oscuro */
.seo-hero .seo-breadcrumb ol { color: rgba(244, 240, 231, .62); }
.seo-hero .seo-breadcrumb a:hover, .seo-hero .seo-breadcrumb a:focus-visible, .seo-hero .seo-breadcrumb [aria-current="page"] span { color: var(--brand-ivory, #f4f0e7); }


/* Resumen de datos: tarjetas separadas (sin celdas vacías) */
.seo-facts-grid { background: none; border: 0; border-radius: 0; overflow: visible; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.seo-facts-grid > div { border: 1px solid var(--line); border-radius: 18px; }
@media (max-width: 560px) { .seo-facts-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }

@media (min-width: 561px) { .seo-facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .seo-facts-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } }

.seo-check-list + p { margin-top: 24px; }

.seo-page .service-info-card p + p, .seo-page .service-info-card p + ul, .seo-page .service-info-card ul + p { margin-top: 12px; }
.seo-page .service-info-card ul { padding-left: 18px; margin-bottom: 0; }


/* Directorio de sedes: una columna por país */
@media (min-width: 901px) {
  .seo-sedes-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
  .seo-sedes-list .seo-country { margin-bottom: 0; }
  .seo-sedes-list .seo-sede-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-sedes-list .seo-country > h2 { font-size: clamp(30px, 2.6vw, 40px); }
}
@media (min-width: 561px) and (max-width: 900px) { .seo-sedes-list .seo-sede-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }


/* =========================================================
   Lectura escaneable: iconos, "Leer más" y menos texto visible
   ========================================================= */
.seo-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(196, 164, 99, .12); color: var(--brand-gold, #c4a463); flex: 0 0 44px; }
.seo-icon svg { width: 22px; height: 22px; }
.seo-pricing .seo-icon, .seo-proc-card-local .seo-icon { background: rgba(228, 207, 157, .12); color: var(--brand-gold-light, #e4cf9d); }

/* Títulos de sección más contenidos en las páginas nuevas */
.seo-page .section h2 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.08; }
.seo-page .seo-two-col h2, .seo-page .seo-pricing h2 { max-width: 16ch; }

/* Leer más */
.seo-lead-short { font-size: 16.5px; line-height: 1.75; margin: 0 0 6px; }
.seo-readmore { margin: 8px 0 4px; }
.seo-readmore > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 13.5px; font-weight: 500; color: var(--brand-ink, #1a1c18); border-bottom: 1px solid var(--brand-gold, #c4a463); }
.seo-readmore > summary::-webkit-details-marker { display: none; }
.seo-readmore > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.seo-readmore[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.seo-readmore .seo-readmore-close, .seo-readmore[open] .seo-readmore-open { display: none; }
.seo-readmore[open] .seo-readmore-close { display: inline; }
.seo-readmore-body { padding-top: 14px; }
.seo-readmore-body p + p { margin-top: 12px; }
.seo-readmore > summary:focus-visible { outline: 2px solid var(--brand-gold, #c4a463); outline-offset: 3px; }
.seo-pricing .seo-readmore > summary { color: var(--brand-ivory, #f4f0e7); }

/* Datos con iconos */
.seo-facts-icons > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: center; padding: 18px 20px; }
.seo-facts-icons .seo-icon { grid-row: span 2; }
.seo-facts-icons dt { margin: 0; }
.seo-facts-icons dd { font-size: 17px; }

/* Lista con iconos */
.seo-icon-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.seo-icon-list li { display: flex; gap: 14px; align-items: center; }
.seo-icon-list li > div { display: grid; gap: 2px; }
.seo-icon-list strong { font-weight: 500; font-size: 15px; line-height: 1.4; }
.seo-icon-list span:not(.seo-icon) { font-size: 13.5px; color: var(--brand-muted, #746f66); line-height: 1.55; }
.seo-icon-list-compact .seo-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
.seo-icon-list-compact .seo-icon svg { width: 18px; height: 18px; }
.seo-icon-steps { counter-reset: paso; }
.seo-icon-steps li { position: relative; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.seo-icon-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.seo-process-card .button { margin-top: 22px; }

/* Formas de pago como etiquetas */
.seo-pay-chips { list-style: none; padding: 0 !important; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-pay-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--brand-white, #fffdf8); font-size: 13px; color: var(--brand-ink, #1a1c18); }
.seo-pay-chips .seo-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 50%; }
.seo-pay-chips .seo-icon svg { width: 16px; height: 16px; }
.seo-pricing .seo-pay-chips li { background: rgba(255, 253, 248, .05); border-color: rgba(244, 240, 231, .16); color: var(--brand-ivory, #f4f0e7); }

/* Factores del precio en tarjetas */
.seo-factor-grid { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seo-factor-grid li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255, 253, 248, .04); border: 1px solid rgba(244, 240, 231, .1); font-size: 13.5px; line-height: 1.45; color: rgba(244, 240, 231, .88); }
.seo-factor-grid .seo-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
.seo-factor-grid .seo-icon svg { width: 18px; height: 18px; }

/* Comparación y pasos con icono */
.seo-compare > div .seo-icon { margin-bottom: 14px; }
.seo-step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.seo-step-grid .seo-step-top > span:last-child { font-family: var(--serif); font-size: 24px; color: var(--brand-stone, #d8d0c3); }

/* Tarjetas de procedimiento con icono */
.seo-proc-card .seo-icon { margin-bottom: 8px; }
.seo-proc-card-compact { flex-direction: row; align-items: center; gap: 14px; }
.seo-proc-card-compact .seo-icon { margin: 0; width: 40px; height: 40px; flex-basis: 40px; }
.seo-proc-card-text { display: grid; gap: 2px; }
.seo-proc-card-compact strong { font-size: 18px; }

/* Tarjetas de contenido del procedimiento (v2) */
.seo-procedure .service-info-card .seo-icon { margin-bottom: 12px; }
.seo-dot-list { padding-left: 18px; margin: 10px 0 0; font-size: 14px; line-height: 1.7; }
.seo-dot-list li::marker { color: var(--brand-gold, #c4a463); }

@media (max-width: 560px) {
  .seo-factor-grid { grid-template-columns: minmax(0, 1fr); }
  .seo-facts-icons > div { grid-template-columns: 36px 1fr; padding: 14px; column-gap: 10px; }
  .seo-facts-icons .seo-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .seo-facts-icons dd { font-size: 15px; }
  .seo-page .section h2 { font-size: clamp(28px, 8vw, 36px); }
}
.seo-page .seo-two-col h2, .seo-page .seo-pricing h2 { margin-bottom: 18px; }


/* Home: los dos titulares en la serifa de marca, como el resto de títulos */
main .hero-v2 h1 { font-family: Gambetta, Georgia, serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
main .case-carousel-intro h2 { font-family: Gambetta, Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }

/* Cirugías combinadas: tarjetas por combinación */
.seo-combo-nav { margin: 0 0 30px; }
.seo-combo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.seo-combo-card { scroll-margin-top: 120px; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 34px); border-radius: 26px; border: 1px solid var(--line); background: var(--brand-white, #fffdf8); }
.seo-combo-card:target { border-color: var(--brand-gold, #c4a463); box-shadow: 0 0 0 3px rgba(196, 164, 99, .18); }
.seo-combo-head { display: flex; align-items: center; gap: 12px; }
.seo-combo-head small { font-size: 10px; letter-spacing: .16em; color: var(--brand-muted, #746f66); }
.seo-combo-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; margin: 6px 0 0; }
.seo-combo-short { font-size: 15px; line-height: 1.7; margin: 0; color: #4b4a44; }
.seo-combo-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.seo-combo-cols h4 { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--brand-muted, #746f66); margin: 0 0 12px; }
.seo-combo-cols h4 + p { font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.seo-combo-cols .seo-icon-list { gap: 10px; }
.seo-combo-cols .seo-icon-list strong { font-size: 14px; font-weight: 400; }
.seo-combo-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 360px)); gap: 18px; margin-top: 30px; }
.seo-video-card { margin: 0; border-radius: 22px; overflow: hidden; background: var(--brand-black, #111310); }
.seo-video-card video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 560px; object-fit: cover; background: #000; }
.seo-video-card figcaption { padding: 12px 16px; font-size: 12.5px; color: rgba(244, 240, 231, .75); }
@media (max-width: 900px) { .seo-combo-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .seo-combo-cols { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* Portada con resultado real (antes / después o video) */
.seo-page .seo-hero .seo-hero-result { margin: 0; border-radius: 26px; overflow: hidden; background: #0b0c0a; border: 1px solid rgba(228, 207, 157, .18); display: flex; flex-direction: column; max-height: 640px; }
.seo-hero-result-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 4 / 4.6; min-height: 0; }
.seo-hero-result-pair > div, .seo-hero-result-single { position: relative; overflow: hidden; min-height: 0; }
.seo-hero-result-single { aspect-ratio: 4 / 4.6; }
.seo-hero-result img, .seo-hero-result video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; }
.seo-hero-result-single video { background: #000; }
.seo-result-tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; font-size: 10px; letter-spacing: .16em; font-weight: 500; background: rgba(17, 19, 16, .72); color: #f4f0e7; backdrop-filter: blur(6px); }
.seo-result-tag-after { background: var(--brand-gold, #c4a463); color: var(--brand-black, #111310); }
.seo-hero-result-single .seo-result-tag-bottom { top: auto; bottom: 12px; }
.seo-hero-result-single video ~ .seo-result-tag { display: none; }
.seo-hero-result figcaption { display: grid; gap: 2px; padding: 12px 16px 14px; }
.seo-hero-result figcaption strong { font-size: 13px; font-weight: 500; color: var(--brand-gold-light, #e4cf9d); }
.seo-hero-result figcaption span { font-size: 11.5px; color: rgba(244, 240, 231, .62); }
@media (max-width: 560px) { .seo-hero-result-pair, .seo-hero-result-single { aspect-ratio: 4 / 4.4; } }

/* Pie: redes sociales con icono */
footer.footer-redesign .footer-social { display: grid; gap: 12px; margin-top: 18px; }
footer.footer-redesign .footer-social small { font-size: 10px; letter-spacing: .16em; opacity: .6; }
footer.footer-redesign .footer-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
footer.footer-redesign .footer-contact-block a.footer-social-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid rgba(255, 253, 248, .16); text-decoration: none; color: inherit; transition: border-color .2s, background .2s; }
footer.footer-redesign .footer-contact-block a.footer-social-link:hover, footer.footer-redesign .footer-contact-block a.footer-social-link:focus-visible { border-color: var(--brand-gold, #c4a463); background: rgba(196, 164, 99, .08); }
footer.footer-redesign .footer-social-link .link-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(196, 164, 99, .14); color: var(--brand-gold-light, #e4cf9d); margin: 0; }
footer.footer-redesign .footer-social-link .link-icon svg { width: 17px; height: 17px; }
footer.footer-redesign .footer-social-name { font-size: 13px; }

/* Antetítulo: más aire bajo el texto pequeño que acompaña a cada título */
main.seo-page .eyebrow { margin-bottom: 18px; }
main.seo-page .eyebrow + h1, main.seo-page .eyebrow + h2, main.seo-page .eyebrow + h3 { margin-top: 0; }
main.seo-page .service-hero .eyebrow { margin-bottom: 22px; }
main.seo-page .seo-country .eyebrow { margin-bottom: 10px; }

/* Subsecciones (p. ej. "Otros procedimientos que puedes consultar") */
.seo-subsection { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.seo-subsection .seo-subheading { margin-top: 0; }
.seo-proc-card em { color: var(--brand-ink, #1a1c18); }
.seo-proc-card-local em { color: var(--brand-gold-light, #e4cf9d); }
