/* ================================================================
   LANDINGS SEO COMPARTIDAS — Gestoría Garcés
   Estética premium: verde corporativo + dorado + blanco
   Usado por:
     - cambio-titularidad-coche.html
     - transferencia-vehiculo.html
     - transferencia-coche.html
     (matriculacion-coche-importado.html y transferencia-coche-online.html
      mantienen sus estilos in-line propios y los pueden sobrescribir)
   ================================================================ */

:root {
    --seo-teal: #003E3B;
    --seo-teal-deep: #002926;
    --seo-teal-light: #005f5a;
    --seo-gold: #C99852;
    --seo-paper: #fafafa;
    --seo-ink: #2a2a2a;
    --seo-ink-soft: #444;
    --seo-muted: #777;
}

/* Reset base página SEO */
.seo-page {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--seo-ink);
    background: #fff;
}

/* Defeat global h1/h2/h3 dark color from styles.css inside hero/final-cta */
.seo-page .seo-hero h1,
.seo-page .seo-hero h2,
.seo-page .seo-hero h3,
.seo-page .seo-hero p,
.seo-page .seo-final-cta h2,
.seo-page .seo-final-cta h3,
.seo-page .seo-final-cta p {
    color: inherit;
}

/* Contenedor principal */
.seo-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px clamp(16px, 4vw, 56px);
}

/* Breadcrumbs */
.seo-page .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: .84rem;
    color: var(--seo-muted);
    margin-bottom: 24px;
}
.seo-page .breadcrumbs a {
    color: var(--seo-teal);
    text-decoration: none;
    font-weight: 600;
}
.seo-page .breadcrumbs a:hover { text-decoration: underline; }

/* ============ HERO ============ */
.seo-hero {
    background: linear-gradient(135deg, var(--seo-teal-deep) 0%, var(--seo-teal) 50%, var(--seo-teal-light) 100%);
    color: #fff;
    border-radius: 24px;
    padding: 56px clamp(22px, 5vw, 64px);
    position: relative;
    overflow: hidden;
    margin-bottom: 56px;
    box-shadow: 0 24px 60px rgba(0, 62, 59, .28);
}
.seo-hero::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(201, 152, 82, .18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.seo-hero-content { position: relative; z-index: 2; max-width: 760px; }

.seo-eyebrow {
    display: inline-flex;
    padding: 7px 16px;
    background: rgba(201, 152, 82, .18);
    border: 1px solid rgba(201, 152, 82, .4);
    border-radius: 22px;
    color: var(--seo-gold);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.seo-hero h1 {
    color: #fff !important;
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    line-height: 1.15;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -.4px;
    font-family: 'Inter', system-ui, sans-serif;
}
.seo-hero-sub {
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 28px;
}

.seo-hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 12px;
    margin-bottom: 32px;
}
.seo-hero-bullet {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 22px;
    color: rgba(255, 255, 255, .96);
    font-size: .84rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.seo-hero-bullet::before {
    content: "✓";
    color: var(--seo-gold);
    font-weight: 800;
}

.seo-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.seo-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    background: var(--seo-gold);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(201, 152, 82, .35);
    transition: transform .2s, box-shadow .2s;
}
.seo-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(201, 152, 82, .45);
    color: #fff;
}
.seo-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}
.seo-cta-secondary:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

/* ============ SECCIONES ============ */
.seo-section { margin-bottom: 56px; }

.seo-section h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.1rem);
    color: var(--seo-teal);
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.2px;
    font-family: 'Inter', system-ui, sans-serif;
}
.seo-section .seo-section-intro {
    color: #5a5a5a;
    font-size: 1.04rem;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 760px;
}
.seo-section h3 {
    font-size: 1.15rem;
    color: var(--seo-teal);
    margin: 24px 0 10px;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
}
.seo-section p {
    color: var(--seo-ink-soft);
    line-height: 1.75;
    font-size: 1rem;
    margin: 0 0 14px;
}
.seo-section ul {
    padding: 0;
    list-style: none;
    margin: 14px 0 22px;
}
.seo-section ul li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--seo-ink-soft);
    line-height: 1.65;
}
.seo-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--seo-gold);
    font-weight: 800;
}
.seo-section ul li strong { color: var(--seo-teal); }

/* ============ GRID DE CARDS ============ */
.seo-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.seo-card {
    background: #fff;
    border: 1px solid rgba(0, 62, 59, .10);
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 8px 28px rgba(0, 62, 59, .05);
    transition: transform .25s, box-shadow .25s;
}
.seo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 62, 59, .10);
}
.seo-card-num {
    display: none;
}
.seo-card h3 {
    margin: 0 0 8px;
    color: var(--seo-teal);
    font-size: 1.08rem;
    font-weight: 700;
}
.seo-card p {
    margin: 0;
    color: #555;
    font-size: .96rem;
    line-height: 1.6;
}

/* ============ CALLOUT ============ */
.seo-callout {
    background: linear-gradient(135deg, rgba(201, 152, 82, .08) 0%, rgba(0, 62, 59, .05) 100%);
    border: 1px solid rgba(201, 152, 82, .25);
    border-left: 4px solid var(--seo-gold);
    border-radius: 14px;
    padding: 26px 28px;
    margin: 20px 0;
}
.seo-callout h3 {
    margin: 0 0 10px;
    color: var(--seo-teal);
    font-size: 1.15rem;
    font-weight: 700;
}
.seo-callout p {
    margin: 0 0 10px;
    color: var(--seo-ink-soft);
    line-height: 1.65;
}
.seo-callout p:last-child { margin: 0; }

/* ============ FAQ ============ */
.seo-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.seo-faq-item {
    background: #fff;
    border: 1px solid rgba(0, 62, 59, .10);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s;
}
.seo-faq-item[open] {
    border-color: rgba(0, 62, 59, .30);
    box-shadow: 0 6px 20px rgba(0, 62, 59, .08);
}
.seo-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--seo-teal);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.seo-faq-item summary::-webkit-details-marker { display: none; }
.seo-faq-item summary::after {
    content: "+";
    color: var(--seo-gold);
    font-size: 1.5rem;
    font-weight: 300;
    flex-shrink: 0;
    line-height: 1;
}
.seo-faq-item[open] summary::after { content: "−"; }
.seo-faq-answer {
    padding: 0 22px 18px;
    color: var(--seo-ink-soft);
    line-height: 1.7;
    font-size: .96rem;
}
.seo-faq-answer a { color: var(--seo-teal); font-weight: 700; text-decoration: none; }
.seo-faq-answer a:hover { text-decoration: underline; }

/* ============ FINAL CTA ============ */
.seo-final-cta {
    background: linear-gradient(135deg, var(--seo-teal-deep) 0%, var(--seo-teal) 60%, var(--seo-teal-light) 100%);
    color: #fff;
    text-align: center;
    border-radius: 24px;
    padding: 54px clamp(20px, 5vw, 60px);
    box-shadow: 0 20px 50px rgba(0, 62, 59, .25);
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}
.seo-final-cta::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 152, 82, .12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.seo-final-cta h2 {
    color: #fff !important;
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    margin: 0 0 12px;
    font-weight: 800;
    line-height: 1.2;
    font-family: 'Inter', system-ui, sans-serif;
    position: relative;
    z-index: 2;
}
.seo-final-cta p {
    color: rgba(255, 255, 255, .88);
    font-size: 1.04rem;
    max-width: 640px;
    margin: 0 auto 26px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}
.seo-final-cta .seo-hero-ctas { position: relative; z-index: 2; }
.seo-final-cta .seo-cta-primary { background: var(--seo-gold); }
.seo-final-cta .seo-cta-secondary {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .30);
}

/* ============ RELACIONADAS ============ */
.seo-related {
    margin-top: 24px;
    padding: 24px 26px;
    background: var(--seo-paper);
    border-radius: 14px;
    border: 1px solid rgba(0, 62, 59, .07);
}
.seo-related strong {
    display: block;
    color: var(--seo-teal);
    margin-bottom: 10px;
    font-size: .95rem;
}
.seo-related a {
    display: inline-block;
    margin: 4px 12px 4px 0;
    color: var(--seo-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: .94rem;
    border-bottom: 2px solid rgba(201, 152, 82, .4);
    transition: border-color .2s;
}
.seo-related a:hover { border-color: var(--seo-gold); }

/* ============ MOBILE ============ */
@media (max-width: 768px) {
    .seo-container { padding: 36px 14px; }
    .seo-hero {
        padding: 40px 22px;
        border-radius: 18px;
        margin-bottom: 40px;
    }
    .seo-section { margin-bottom: 40px; }
    .seo-cta-primary,
    .seo-cta-secondary {
        padding: 12px 20px;
        font-size: .94rem;
        width: 100%;
        justify-content: center;
    }
    .seo-hero-ctas { flex-direction: column; }
    .seo-card { padding: 22px 20px; }
    .seo-final-cta {
        padding: 40px 22px;
        border-radius: 18px;
    }
}
