/*
Theme Name: Solo Divorcios Landing
Theme URI: https://www.solodivorcios.cl/
Author: Ruta y Redes
Author URI: https://rutayredes.cl/
Description: Theme WordPress premium para la landing de captación de Solo Divorcios. Optimizado para Google Ads, CRO y rendimiento.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: solo-divorcios
*/

:root {
  --color-primary: #0b2230;
  --color-primary-dark: #06131c;
  --color-primary-soft: #173444;
  --color-accent: #a47a4d;
  --color-accent-soft: #ccb08c;
  --color-text: #172128;
  --color-muted: #5f6a70;
  --color-background: #f5f1e9;
  --color-surface: #fffdf9;
  --color-surface-dark: #0a1922;
  --color-border: #d8d3ca;
  --color-border-dark: rgba(255,255,255,.16);
  --color-success: #1f6a50;
  --color-error: #9b2f2f;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1280px;
  --section-space: clamp(4.2rem, 7vw, 8rem);
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-sm: 0 10px 28px rgba(6,19,28,.06);
  --shadow-md: 0 22px 60px rgba(6,19,28,.12);
  --transition: 280ms cubic-bezier(.2,.75,.2,1);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-surface); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #d6a66f; outline-offset: 3px; }
::selection { background: #d7c1a8; color: #07141d; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; background: #fff; color: #111; padding: .8rem 1rem; transform: translateY(-150%); border-radius: 4px; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: var(--section-space) 0; }
.section--ivory { background: var(--color-background); }

.eyebrow { margin: 0 0 1.2rem; text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; font-weight: 750; color: var(--color-accent-soft); }
.eyebrow--dark { color: #7f603e; }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.035em; line-height: .99; }
h1 { font-size: clamp(3rem, 5vw, 5.9rem); max-width: 900px; }
h2 { font-size: clamp(2.45rem, 4vw, 4.45rem); }
h3 { line-height: 1.15; }

.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .86rem 1.25rem; border: 1px solid transparent; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .055em; font-size: .78rem; line-height: 1; font-weight: 750; transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--color-accent); color: #fff; border-color: var(--color-accent); box-shadow: 0 7px 20px rgba(164,122,77,.16); }
.btn--primary:hover { background: #8f683f; border-color: #8f683f; box-shadow: 0 12px 28px rgba(164,122,77,.24); }
.btn--outline { border-color: #9e9388; color: var(--color-primary-dark); background: transparent; }
.btn--outline:hover { border-color: var(--color-primary); background: #f7f3ed; }
.btn--light { background: #f5f1e9; color: var(--color-primary-dark); border-color: #f5f1e9; }
.btn--light:hover { background: #fff; border-color: #fff; }
.btn--whatsapp { background: linear-gradient(180deg, #22c55e 0%, #169c4e 100%); color: #fff; border-color: #14914a; box-shadow: 0 12px 30px rgba(20,145,74,.24); }
.btn--whatsapp:hover { background: linear-gradient(180deg, #28cf64 0%, #138746 100%); border-color: #117b40; box-shadow: 0 16px 34px rgba(20,145,74,.32); }
.btn--whatsapp svg { width: 19px; height: 19px; }
.btn--whatsapp-compact { width: 100%; justify-content: center; }
.btn--ghost-light { border-color: rgba(255,255,255,.42); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--full { width: 100%; }
.btn svg, .text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--transition); }
.btn:hover svg, .text-link:hover svg { transform: translateX(4px); }

.text-link { display: inline-flex; align-items: center; gap: .55rem; padding-bottom: .22rem; border-bottom: 1px solid #a79c90; font-size: .87rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; transition: color var(--transition), border-color var(--transition); }
.text-link:hover { color: #715333; border-color: currentColor; }
.text-link--light { color: #f3ece0; border-color: rgba(255,255,255,.38); }
.text-link--light:hover { color: #fff; border-color: #fff; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; color: #fff; transition: background var(--transition), box-shadow var(--transition), transform var(--transition); }
.header-topline { border-bottom: 1px solid rgba(255,255,255,.13); font-size: .74rem; letter-spacing: .035em; }
.header-topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-topline__links { display: flex; align-items: center; gap: .7rem; }
.header-topline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-main { min-height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; transition: min-height var(--transition); }
.brand img { width: clamp(190px, 18vw, 226px); height: auto; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.35rem); }
.primary-nav a { position: relative; font-size: .82rem; font-weight: 650; color: rgba(255,255,255,.88); }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--color-accent-soft); transition: right var(--transition); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.header-cta { min-height: 44px; padding-inline: 1rem; }
.menu-toggle { display: none; }
.site-header.is-scrolled { background: rgba(7,20,29,.97); box-shadow: 0 8px 28px rgba(0,0,0,.16); backdrop-filter: blur(10px); }
.site-header.is-scrolled .header-topline { display: none; }
.site-header.is-scrolled .header-main { min-height: 62px; }

/* Hero */
.hero { min-height: 92vh; position: relative; overflow: hidden; background: var(--color-primary-dark); color: #fff; display: flex; align-items: stretch; }
.hero-media { position: absolute; inset: 0 40% 0 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: saturate(.7) contrast(1.04) brightness(.78); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,23,.78) 0%, rgba(4,15,23,.63) 34%, rgba(4,15,23,.35) 58%, rgba(4,15,23,.98) 60%, #07141d 73%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 59%) minmax(380px, 41%); min-height: 92vh; padding-top: 132px; padding-bottom: 46px; align-items: start; }
.hero-copy { padding: .8rem 5.6rem 3rem 0; align-self: start; }
.hero-copy h1 { margin-bottom: 1.55rem; text-wrap: balance; }
.hero-lead { max-width: 720px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.7; margin-bottom: 2rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 2.15rem 0 2.2rem; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(180deg, rgba(10,25,34,.68) 0%, rgba(7,20,29,.74) 100%); box-shadow: 0 24px 42px rgba(0,0,0,.16); backdrop-filter: blur(7px); }
.hero-proof > div { position: relative; padding: 1.25rem 1.2rem 1.2rem; min-height: 108px; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.025); }
.hero-proof > div::before { content: ''; position: absolute; left: 1.2rem; top: 1rem; width: 26px; height: 1px; background: rgba(204,176,140,.92); }
.hero-proof > div + div { border-left: 1px solid rgba(255,255,255,.16); padding-left: 1.2rem; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.24rem; font-weight: 500; color: #fff; padding-top: .85rem; }
.hero-proof span { font-size: .8rem; color: rgba(255,255,255,.76); margin-top: .3rem; max-width: 20ch; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn { min-height: 52px; padding-inline: 1.25rem; }
.hero-actions .text-link { width: 100%; margin-top: .2rem; }

.hero-form-shell { width: min(100%, 520px); justify-self: end; align-self: start; background: #f8f4ed; color: var(--color-text); border-top: 3px solid var(--color-accent); padding: clamp(1.45rem, 2.2vw, 2.25rem); box-shadow: 0 35px 90px rgba(0,0,0,.25); }
.form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.form-kicker { margin: 0 0 .55rem; color: #805d39; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 750; }
.form-head h2 { font-size: clamp(2rem, 2.5vw, 2.8rem); margin-bottom: 0; }
.lock-icon { flex: 0 0 auto; width: 24px; height: 24px; stroke: var(--color-accent); fill: none; stroke-width: 1.55; }
.form-intro { color: var(--color-muted); font-size: .9rem; margin: .65rem 0 1.05rem; }
.form-quick-actions { margin-bottom: 1rem; padding: .95rem 1rem; border: 1px solid #ddd3c4; background: linear-gradient(180deg, #fbf8f2 0%, #f3ede3 100%); }
.form-availability { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; }
.form-availability svg { width: 20px; height: 20px; margin-top: .05rem; fill: none; stroke: #14914a; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form-availability strong { display: block; font-size: .88rem; color: #203039; margin-bottom: .12rem; }
.form-availability span { font-size: .74rem; color: #687378; line-height: 1.45; }
.form-availability a { color: #11683c; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-availability a:hover { color: #0d5531; }
.lead-form { display: grid; gap: .85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field { display: grid; gap: .34rem; }
.field label { font-size: .78rem; font-weight: 700; color: #29383f; }
.field label span { color: var(--color-muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c9c2b7; background: #fffefb; color: #142128; border-radius: 5px; min-height: 49px; padding: .76rem .8rem; outline: none; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8e6843; box-shadow: 0 0 0 3px rgba(164,122,77,.15); background: #fff; }
.field [aria-invalid="true"] { border-color: var(--color-error); box-shadow: 0 0 0 3px rgba(155,47,47,.09); }
.field-help { color: #737b7f; font-size: .68rem; line-height: 1.3; }
.field-error { color: var(--color-error); font-size: .69rem; line-height: 1.3; min-height: .1px; }
.field-error--standalone { margin-top: -.55rem; }
.check-field { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; align-items: start; font-size: .72rem; color: #515a5e; line-height: 1.4; cursor: pointer; }
.check-field input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--color-primary); }
.submit-btn { position: relative; overflow: hidden; }
.submit-btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.submit-spinner { width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; display: none; animation: spin .75s linear infinite; }
.submit-btn.is-loading .submit-spinner { display: block; }
.submit-btn.is-loading .submit-label { opacity: .76; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin: -.1rem 0 0; display: flex; align-items: center; justify-content: center; gap: .4rem; color: #5b6469; font-size: .72rem; }
.form-note svg { width: 16px; height: 16px; fill: none; stroke: #7c5b3b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form-status { display: none; padding: .75rem .85rem; border-left: 3px solid; font-size: .8rem; }
.form-status.is-success { display: block; background: #edf6f1; color: #174d3b; border-color: var(--color-success); }
.form-status.is-error { display: block; background: #faeeee; color: #782323; border-color: var(--color-error); }

/* Authority */
.authority-strip { background: #fff; border-bottom: 1px solid var(--color-border); }
.authority-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.authority-item { padding: 2rem 1.6rem 1.9rem; min-height: 142px; display: flex; flex-direction: column; justify-content: center; }
.authority-item:first-child { padding-left: 0; }
.authority-item + .authority-item { border-left: 1px solid var(--color-border); }
.authority-item strong { font-family: var(--font-display); color: var(--color-primary); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.85rem); line-height: 1; }
.authority-item span { margin-top: .55rem; color: var(--color-muted); font-size: .8rem; max-width: 220px; }

.section-heading { max-width: 860px; margin-bottom: clamp(2.3rem, 4vw, 4rem); }
.section-heading > p:last-child { color: var(--color-muted); max-width: 680px; font-size: 1rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 5rem; align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin-bottom: .55rem; }

/* Services */
.service-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-panel { min-height: 420px; display: grid; grid-template-rows: auto 1fr; border: 1px solid #cfc8bd; border-top: 2px solid #a8835d; padding: clamp(1.5rem, 2.6vw, 2.35rem); background: rgba(255,255,255,.45); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition); }
.service-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #af9c86; background: #fffdf9; }
.service-num { font-family: var(--font-display); font-size: 2.2rem; color: #91714f; }
.service-body { align-self: end; }
.service-body h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 2.5vw, 2.55rem); font-weight: 500; margin-bottom: 1rem; }
.service-body p { color: var(--color-muted); font-size: .92rem; }
.service-panel--dark { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.service-panel--dark:hover { background: #0f2b3a; border-color: #1e4355; }
.service-panel--dark .service-num { color: var(--color-accent-soft); }
.service-panel--dark p { color: rgba(255,255,255,.71); }
.legal-note { margin: 1.35rem 0 0; color: #73787b; font-size: .74rem; }

/* Why */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.why-intro { position: sticky; top: 110px; }
.why-intro p:not(.eyebrow) { color: var(--color-muted); max-width: 560px; }
.why-list { border-top: 1px solid var(--color-border); }
.why-row { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.55rem 0; border-bottom: 1px solid var(--color-border); }
.why-row > span { font-family: var(--font-display); color: #9d7a55; font-size: 1.2rem; }
.why-row h3 { margin-bottom: .32rem; font-family: var(--font-display); font-size: 1.48rem; font-weight: 500; }
.why-row p { margin-bottom: 0; color: var(--color-muted); font-size: .86rem; }

/* Legacy */
.legacy { display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 52%); min-height: 760px; background: #07141d; color: #fff; }
.legacy-media { position: relative; overflow: hidden; background: #e9e4dc; }
.legacy-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 75%, rgba(7,20,29,.38)); pointer-events: none; }
.legacy-media img { width: 100%; height: 100%; object-fit: contain; padding: clamp(2rem, 5vw, 5rem); filter: saturate(.72) contrast(1.03); }
.legacy-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 7.5rem); }
.legacy-date { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); padding: 1.2rem 0; margin-bottom: 2.2rem; color: #e6d8c7; }
.legacy-date span { letter-spacing: .15em; font-size: .78rem; }
.legacy-date strong { font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 500; line-height: .9; }
.legacy-copy h2 { max-width: 650px; }
.legacy-copy > p:not(.eyebrow) { max-width: 690px; color: rgba(255,255,255,.72); }
.legacy-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.legacy-facts span { border-left: 1px solid rgba(255,255,255,.24); padding-left: 1rem; color: rgba(255,255,255,.66); font-size: .79rem; }
.legacy-facts strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }

/* About */
.about { background: #f8f5ef; }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 9rem); }
.about-title h2 { max-width: 620px; }
.about-copy { border-left: 1px solid #cfc8bd; padding-left: clamp(2rem, 4vw, 4rem); }
.about-copy p { color: var(--color-muted); max-width: 720px; }
.lead-paragraph { font-family: var(--font-display); color: var(--color-text) !important; font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.35; }

/* Process */
.process-section { background: #fff; }
.process-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--color-border); }
.process-line li { position: relative; min-height: 250px; padding: 2.2rem 2rem 1.8rem 0; }
.process-line li + li { border-left: 1px solid var(--color-border); padding-left: 2rem; }
.process-line li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--color-accent); transform: rotate(45deg); }
.process-line li + li::before { left: -5px; }
.process-index { font-family: var(--font-display); color: #997653; font-size: 2rem; }
.process-line h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; margin: 3rem 0 .6rem; }
.process-line p { color: var(--color-muted); font-size: .86rem; }

/* Situations */
.situations { background: #eef0ef; }
.situations-grid { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr); gap: clamp(3rem, 7vw, 8rem); }
.situations-heading { align-self: start; position: sticky; top: 110px; }
.situations-heading p:not(.eyebrow) { color: var(--color-muted); }
.situation-links { border-top: 1px solid #b9bfbe; }
.situation-links a { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.45rem 0; border-bottom: 1px solid #b9bfbe; transition: padding var(--transition), color var(--transition); }
.situation-links a:hover { padding-left: .6rem; color: #705335; }
.situation-links span { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.75rem); }
.situation-links em { font-style: normal; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 700; }

/* CTA */
.mid-cta { background: #0b2230; color: #fff; padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.mid-cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.mid-cta h2 { max-width: 780px; }
.mid-cta p { color: rgba(255,255,255,.7); max-width: 740px; }
.mid-cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.mid-cta-actions p { grid-column: 1 / -1; margin: .35rem 0 0; font-size: .72rem; }

/* FAQ */
.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(3rem, 8vw, 9rem); }
.faq-heading { align-self: start; position: sticky; top: 110px; }
.faq-heading p:not(.eyebrow) { color: var(--color-muted); }
.accordion { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item h3 { margin: 0; }
.faq-trigger { width: 100%; border: 0; background: transparent; color: inherit; min-height: 88px; padding: 1.2rem 0; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; text-align: left; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 500; }
.faq-trigger svg { width: 22px; height: 22px; fill: none; stroke: #80603f; stroke-width: 1.5; transition: transform var(--transition); }
.faq-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-panel { overflow: clip; }
.faq-panel > div { padding: 0 3.3rem 1.5rem 0; }
.faq-panel p { color: var(--color-muted); }
.faq-panel a { color: #755637; font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }

/* More info */
.more-info { background: var(--color-background); }
.editorial-links { border-top: 1px solid #c8c0b5; }
.editorial-links a { min-height: 108px; display: grid; grid-template-columns: 65px minmax(180px,.8fr) minmax(260px,1.2fr) auto; gap: 1.5rem; align-items: center; border-bottom: 1px solid #c8c0b5; transition: padding var(--transition), background var(--transition); }
.editorial-links a:hover { padding-inline: .75rem; background: rgba(255,255,255,.45); }
.editorial-links span { font-family: var(--font-display); color: #997653; font-size: 1.35rem; }
.editorial-links strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.editorial-links em { font-style: normal; color: var(--color-muted); font-size: .86rem; }
.editorial-links b { font-weight: 400; font-size: 1.3rem; }

/* Final contact */
.final-contact { padding: clamp(4rem, 7vw, 7rem) 0; background: #07141d; color: #fff; }
.final-contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.final-contact h2 { max-width: 720px; }
.final-contact p { color: rgba(255,255,255,.7); max-width: 700px; }
.final-actions { display: grid; gap: .8rem; }
.contact-line { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.contact-line span { color: rgba(255,255,255,.55); font-size: .75rem; }
.contact-line strong { font-weight: 600; font-size: .88rem; }

/* Footer */
.site-footer { background: #040e15; color: rgba(255,255,255,.72); padding: 4rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.footer-brand img { width: 210px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 440px; }
.footer-disclaimer { font-size: .73rem; color: rgba(255,255,255,.48); }
.site-footer h2 { font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; color: #fff; margin-bottom: 1rem; }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; font-size: .82rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact p { margin-bottom: .3rem; }
.footer-contact span { color: rgba(255,255,255,.46); font-size: .74rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; font-size: .72rem; color: rgba(255,255,255,.44); }
.footer-bottom p { margin: 0; }
.footer-bottom > a:last-child { justify-self: end; }
.site-credit { justify-self: center; color: rgba(255,255,255,.76); font-weight: 600; letter-spacing: .02em; text-align: center; }
.site-credit:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 950; display: flex; align-items: center; gap: .8rem; background: linear-gradient(180deg, #22c55e 0%, #169c4e 100%); color: #fff; border: 1px solid rgba(255,255,255,.16); min-height: 60px; padding: .8rem 1rem; border-radius: 10px; box-shadow: 0 16px 38px rgba(20,145,74,.34); font-size: .78rem; font-weight: 750; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(20,145,74,.42); background: linear-gradient(180deg, #27cf63 0%, #148646 100%); }
.whatsapp-float__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); flex: 0 0 auto; }
.whatsapp-float svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-float__text { display: grid; line-height: 1.15; }
.whatsapp-float__text small { font-size: .63rem; text-transform: uppercase; letter-spacing: .14em; opacity: .84; }
.whatsapp-float__text strong { font-size: .86rem; font-weight: 800; }
.mobile-conversion { display: none; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 650ms cubic-bezier(.2,.75,.2,1), transform 650ms cubic-bezier(.2,.75,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .header-cta { display: none; }
  .header-main { grid-template-columns: auto 1fr; }
  .primary-nav { justify-content: flex-end; gap: 1.2rem; }
  .hero-grid { grid-template-columns: minmax(0, 55%) minmax(360px, 45%); }
  .hero-copy { padding-right: 2.4rem; }
  .hero-proof { grid-template-columns: 1fr; max-width: 420px; border-bottom: 0; }
  .hero-proof > div { min-height: auto; padding: .95rem 1rem .95rem; border-bottom: 1px solid rgba(255,255,255,.18); }
  .hero-proof > div::before { left: 1rem; top: .82rem; }
  .hero-proof > div + div { border-left: 0; padding-left: 1rem; }
  .split-heading { gap: 2.5rem; }
  .service-panel { min-height: 470px; }
}

@media (max-width: 960px) {
  :root { --section-space: 5.2rem; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-topline__links span, .header-topline__links a[href^="mailto"] { display: none; }
  .header-main { grid-template-columns: 1fr auto; gap: 1rem; }
  .menu-toggle { display: grid; gap: 7px; place-content: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.12); color: #fff; border-radius: 5px; }
  .menu-toggle span { width: 20px; height: 1px; background: currentColor; transition: transform var(--transition); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 16px; right: 16px; background: #091923; border: 1px solid rgba(255,255,255,.12); display: none; flex-direction: column; align-items: stretch; padding: .7rem; box-shadow: var(--shadow-md); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .8rem .75rem; }
  .primary-nav a::after { display: none; }

  .hero { min-height: auto; }
  .hero-media { inset: 0 0 auto; height: 620px; }
  .hero-media img { object-position: center center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,16,24,.5) 0%, rgba(5,16,24,.9) 52%, #07141d 71%); }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 156px; padding-bottom: 4rem; }
  .hero-copy { padding: 3rem 0 2rem; max-width: 780px; }
  .hero-copy h1 { font-size: clamp(3.4rem, 9vw, 5.3rem); max-width: 760px; }
  .hero-proof { max-width: none; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid rgba(255,255,255,.23); }
  .hero-proof > div { border-bottom: 0; }
  .hero-proof > div + div { border-left: 1px solid rgba(255,255,255,.19); padding-left: 1rem; }
  .hero-form-shell { width: 100%; max-width: none; justify-self: stretch; }
  .form-quick-actions { grid-template-columns: 1fr; }
  .authority-grid { grid-template-columns: repeat(2,1fr); }
  .authority-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--color-border); padding-left: 0; }
  .authority-item:nth-child(4) { border-top: 1px solid var(--color-border); }
  .service-panels { grid-template-columns: 1fr; }
  .service-panel { min-height: 300px; }
  .why-grid, .about-grid, .situations-grid, .faq-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-intro, .situations-heading, .faq-heading { position: static; }
  .legacy { grid-template-columns: 1fr; }
  .legacy-media { min-height: 620px; }
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .process-line li:nth-child(3) { border-left: 0; border-top: 1px solid var(--color-border); }
  .process-line li:nth-child(4) { border-top: 1px solid var(--color-border); }
  .mid-cta-grid, .final-contact-grid { grid-template-columns: 1fr; }
  .editorial-links a { grid-template-columns: 55px 1fr auto; }
  .editorial-links em { grid-column: 2 / 3; margin-top: -.9rem; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --section-space: 4rem; }
  html { scroll-padding-top: 70px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .header-topline { display: none; }
  .header-main { min-height: 66px; }
  .brand img { width: 178px; }
  .hero-media { height: 520px; }
  .hero-grid { padding-top: 94px; padding-bottom: 3rem; }
  .hero-copy { padding-top: 2.2rem; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero-lead { font-size: .98rem; }
  .hero-proof { grid-template-columns: 1fr; border-bottom: 0; }
  .hero-proof > div { border-bottom: 1px solid rgba(255,255,255,.18); padding: .85rem .95rem .95rem; }
  .hero-proof > div::before { left: .95rem; top: .78rem; }
  .hero-proof > div + div { border-left: 0; padding-left: .95rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { width: auto; }
  .hero-form-shell { margin-top: 1rem; padding: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .authority-grid { grid-template-columns: 1fr; }
  .authority-item { min-height: 115px; padding: 1.45rem 0; }
  .authority-item + .authority-item { border-left: 0; border-top: 1px solid var(--color-border); padding-left: 0; }
  .split-heading { grid-template-columns: 1fr; gap: 1.3rem; }
  .service-panel { min-height: 320px; padding: 1.4rem; }
  .why-row { grid-template-columns: 42px 1fr; }
  .legacy-media { min-height: 510px; }
  .legacy-media img { padding: 1.5rem; }
  .legacy-copy { padding: 3.6rem 1.2rem; }
  .legacy-date { align-items: center; }
  .legacy-facts { grid-template-columns: 1fr; }
  .about-copy { border-left: 0; padding-left: 0; border-top: 1px solid #cfc8bd; padding-top: 2rem; }
  .process-line { grid-template-columns: 1fr; border-left: 1px solid var(--color-border); border-top: 0; padding-left: 1.3rem; }
  .process-line li, .process-line li + li { min-height: auto; border-left: 0; border-top: 0; border-bottom: 1px solid var(--color-border); padding: 1.6rem 0; }
  .process-line li::before, .process-line li + li::before { top: 2rem; left: -1.58rem; }
  .process-line h3 { margin: .8rem 0 .45rem; }
  .mid-cta-actions { grid-template-columns: 1fr; }
  .mid-cta-actions p { grid-column: 1; }
  .editorial-links a { grid-template-columns: 38px 1fr auto; gap: .8rem; padding: 1rem 0; }
  .editorial-links strong { font-size: 1.3rem; }
  .editorial-links em { grid-column: 2 / 4; margin-top: -.4rem; font-size: .78rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { grid-template-columns: 1fr; align-items: flex-start; }
  .footer-bottom > a:last-child, .site-credit { justify-self: start; }
  .whatsapp-float { display: none; }
  .mobile-conversion { display: grid; grid-template-columns: .9fr 1.1fr; position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom); background: #07141d; box-shadow: 0 -8px 24px rgba(0,0,0,.16); }
  .mobile-conversion a { min-height: 58px; display: grid; place-items: center; font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .035em; color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
  .mobile-conversion a:first-child { background: linear-gradient(180deg, #22c55e 0%, #169c4e 100%); }
  .mobile-conversion a + a { background: var(--color-accent); border-left: 1px solid rgba(255,255,255,.2); }
}

@media (max-width: 380px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .brand img { width: 160px; }
  .hero-copy h1 { font-size: 2.72rem; }
  .form-head { gap: .6rem; }
  .form-head h2 { font-size: 2rem; }
  .legacy-date { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .contact-line { flex-direction: column; gap: .2rem; }
}

@media (min-width: 1600px) {
  .hero-grid { grid-template-columns: minmax(0, 62%) minmax(420px, 38%); }
  .hero-media { right: 38%; }
  .hero-copy { padding-right: 7.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover, .service-panel:hover, .whatsapp-float:hover { transform: none !important; }
}
