/* 
  Consultoría Jurídica Integral en Quintana Roo
  Premium Design System v4 - Divorce Focus
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,500&display=swap');

:root {
    --primary-dark: #0f172a;
    /* Slate 900 */
    --accent-coral: #ef4444;
    /* Red 500 for contrast */
    --accent-gold: #b45309;
    /* Amber 700 - darker for visibility on light */
    --bg-light: #ffffff;
    --bg-gray: #f1f5f9;
    --text-dark: #1e293b;
    --text-light: #334155;
    --text-muted: #64748b;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --container-width: 1200px;
    --gold-gradient: linear-gradient(135deg, #b45309 0%, #78350f 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    padding-bottom: 70px;
    /* Espacio para urgency-bar en bottom */
}

/* Offset content on pages with fixed header */
.service-page main {
    padding-top: 140px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
/* --- Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 999;
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav-container,
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Wrapper */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    height: 100%;
}

/* Advanced Dynamic Logo Handling */
.logo-logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;

    /* Forzamos transparencia: Si el PNG tiene fondo blanco, multiply lo elimina. */
    filter: grayscale(100%) contrast(1.2) brightness(1.1);
    mix-blend-mode: multiply;
    transition: all 0.5s ease;
}

/* Scrolled State */
header.scrolled .logo-logo-img {
    filter: grayscale(100%) contrast(1.2) brightness(1.1);
    mix-blend-mode: multiply;
}

/* Logo Text Container */
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--accent-gold);
    padding-left: 15px;
    transition: all 0.5s ease;
}

header.scrolled .logo-text {
    border-left-color: var(--accent-gold);
}

/* Typography */
.brand-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary-dark);
    /* Dark text always for light theme */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.5s ease;
}

.brand-subtitle {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 5px;
    transition: color 0.5s ease;
}

/* Scrolled Text Colors */
header.scrolled .brand-title {
    color: var(--primary-dark);
}

header.scrolled .brand-subtitle {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    /* Reduced gap slightly to give more room to the phone */
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    /* Dark text for light theme */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    position: relative;
    text-shadow: none;
}

/* Scrolled Nav Links */
header.scrolled .nav-links a {
    color: var(--text-dark);
    text-shadow: none;
}

.nav-links a:hover {
    color: var(--accent-coral);
}

/* --- Enhanced CTA Button in Header --- */
@keyframes pulse-cta {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

@keyframes bounce-subtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes pulse-count {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.nav-cta-wrapper {
    position: relative;
    display: inline-block;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--accent-coral) 0%, #dc2626 100%);
    color: white !important;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    animation: pulse-cta 2s ease-in-out infinite;
}

/* Badge "En línea" deshabilitado
.btn-nav-cta::before {
    content: "En línea";
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-nav-cta::after {
    content: "";
    position: absolute;
    top: -6px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    animation: pulse-count 1.5s ease-in-out infinite;
}
*/


.btn-nav-cta:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5);
    animation: none;
}

/* CTA Tooltip */
.cta-tooltip {
    position: absolute;
    bottom: -55px;
    right: 0;
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10000;
    border: 2px solid var(--accent-gold);
}

.cta-tooltip::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--accent-gold);
}

.cta-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Payment tooltip — se posiciona más abajo que el primero */
.cta-tooltip-payment {
    bottom: -100px;
    border-color: #1a1f71;
}

.cta-tooltip-payment::before {
    border-bottom-color: #1a1f71;
}

.cta-tooltip-payment .cta-tooltip-text i {
    color: #1a1f71;
}

.cta-tooltip-payment .cta-tooltip-text strong {
    color: #1a1f71;
}

.cta-tooltip-text {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cta-tooltip-text i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.cta-tooltip-text strong {
    color: var(--accent-coral);
}

.cta-tooltip-close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--accent-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    line-height: 1;
}

.cta-tooltip-close:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

/* Top Info Bar */
.top-info-bar {
    background: var(--primary-dark);
    color: white;
    padding: 8px 0;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    height: 40px;
    transition: transform 0.3s ease;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-phone {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-phone i {
    color: var(--accent-gold);
}

.top-phone .phone-number {
    font-weight: 700;
    color: var(--accent-gold);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

/* Payment label in top bar */
.top-bar-payment {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 16px;
    white-space: nowrap;
}

.top-bar-payment i {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.top-socials a:hover {
    color: var(--accent-gold);
}

.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}

.lang-switch:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* Nav Actions & CTA */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-nav-cta {
    background: var(--accent-coral);
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
}

.btn-nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Slider Controls (Dark for light bg) */
.slider-nav {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background: white;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.slider-btn:hover {
    background: var(--accent-coral);
    color: white;
    border-color: var(--accent-coral);
}

/* --- Hero Carousel --- */
.hero-slider {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #f8fafc;
    /* Light fallback */
    padding-bottom: 40px;
}

.hero-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    min-height: 100vh;
    padding: 2rem 0;
}

.hero-static {
    flex: 1.05;
    z-index: 2;
}

.hero-carousel {
    flex: 0.95;
    position: relative;
    min-height: 520px;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
    background: #e2e8f0;
}

.carousel-caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    right: 24px;
    z-index: 2;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.75);
    color: white;
    backdrop-filter: blur(6px);
}

.carousel-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fde68a;
    margin-bottom: 0.4rem;
}

.carousel-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.carousel-caption p {
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.slide.active {
    pointer-events: none;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform: none;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: opacity, transform;
    background-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.18) 100%),
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 35%, rgba(255, 255, 255, 0.4) 100%),
        var(--slide-image-png);
    background-size: cover, cover, cover;
    background-position: 50% 50%, 50% 50%, center;
    filter: saturate(1.05) contrast(1.02);
}

@supports (background-image: image-set(url("x") type("image/webp"))) {
    .slide-bg {
        background-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.18) 100%),
            linear-gradient(to right, rgba(255, 255, 255, 0.95) 35%, rgba(255, 255, 255, 0.4) 100%),
            image-set(var(--slide-image-webp) type("image/webp"), var(--slide-image-png) type("image/png"));
    }
}

.slide.active .slide-bg {
    opacity: 1;
}

/* Subtle cinematic pan + tone shift without zoom to avoid jump */
.slide.active .slide-bg {
    animation: cinematicPan 14s ease-in-out forwards, cinematicTone 14s ease-in-out forwards;
}

@keyframes cinematicPan {
    from {
        background-position: 50% 50%, 50% 50%, center;
    }

    to {
        background-position: 56% 46%, 56% 46%, center;
    }
}

@keyframes cinematicTone {
    from {
        filter: saturate(1.08) contrast(1.04) brightness(1.02);
    }

    to {
        filter: saturate(1) contrast(1) brightness(1);
    }
}


.hero-content {
    color: var(--text-dark);
    /* Dark text for light background */
    max-width: 800px;
    padding-left: 2rem;
    z-index: 1;
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.hero-tagline {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    border-left: 3px solid var(--accent-coral);
    padding-left: 20px;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--text-light);
    font-weight: 500;
}

/* Hero Buttons Mejorados */
.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    padding: 1.3rem 2.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary {
    background: var(--accent-coral);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero-primary:hover {
    background: #dc2626;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.4);
}

.btn-hero-primary i {
    font-size: 1.2rem;
}

.btn-hero-secondary {
    background: var(--accent-gold);
    color: white;
}

.btn-hero-secondary:hover {
    background: #92400e;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(180, 83, 9, 0.4);
}

.btn-hero-secondary i {
    font-size: 1.1rem;
}

/* --- Service Pages Hero --- */
.service-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.3) 100%),
        var(--slide-image-png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@supports (background-image: image-set(url("x") type("image/webp"))) {
    .service-hero-bg {
        background-image:
            linear-gradient(to right, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.3) 100%),
            image-set(var(--slide-image-webp) type("image/webp"), var(--slide-image-png) type("image/png"));
    }
}

.service-hero .hero-layout {
    min-height: auto;
    padding: 6rem 0;
}

.service-hero .hero-static {
    flex: 1;
    max-width: 900px;
}

.service-hero .hero-content {
    color: white !important;
    padding-left: 0;
}

.service-hero .hero-tagline {
    color: var(--accent-gold);
    border-left-color: var(--accent-coral);
}

.service-hero h1 {
    color: white !important;
    font-size: 3.8rem;
}

.service-hero p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.15rem;
}

.service-hero .hero-perks {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.service-hero .hero-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.service-hero .hero-perks i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* --- Lead Qualifier --- */
.lead-qualifier-section {
    padding: 40px 0 60px 0;
    background: white;
}

.lead-qualifier-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
}

.lead-qualifier-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-coral);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-qualifier-copy h2 {
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin: 0.6rem 0 1.2rem 0;
}

.lead-qualifier-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
}

.lead-qualifier-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.lead-qualifier-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.98rem;
    color: var(--text-dark);
}

.lead-qualifier-list i {
    color: var(--accent-coral);
}

.lead-qualifier-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

#lead-qualifier-form {
    display: grid;
    gap: 1rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field.full {
    grid-column: 1 / -1;
}

#lead-qualifier-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

#lead-qualifier-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    font-size: 0.95rem;
    background: white;
    color: var(--text-dark);
}

#lead-qualifier-form .btn {
    width: 100%;
    grid-column: 1 / -1;
}

.hero-secondary-link {
    display: inline-block;
    margin-top: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-gold);
    text-decoration: none;
}

.hero-secondary-link:hover {
    color: var(--accent-coral);
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-coral);
    border-color: var(--accent-coral);
}

/* --- Feature Bar --- */
.feature-wrapper {
    position: relative;
    z-index: 15;
    margin-top: -40px;
    padding: 50px 0;
}

.feature-bar {
    display: flex;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 3.5rem 2.5rem;
    transition: var(--transition);
}

.f-light {
    background: white;
    color: var(--text-dark);
}

.f-dark {
    background: var(--primary-dark);
    color: white;
}

.f-coral {
    background: var(--accent-coral);
    color: white;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.f-coral i {
    color: white;
}

.f-text h3 {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.f-text p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.f-coral .f-text h3 {
    font-size: 2.5rem;
}

/* --- Sections --- */
section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

/* --- Trust Signals --- */
.trust-signals {
    background: white;
    padding: 100px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8fafc;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.trust-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-coral);
}

.trust-icon {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--accent-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.trust-card:hover .trust-icon {
    background: var(--accent-coral);
    color: white;
    transform: rotateY(360deg);
}

.trust-card h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.trust-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Practice Grid Modern --- */
.practice-areas {
    background-color: var(--bg-gray);
    padding: 100px 0;
}

.practice-category-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-coral);
    display: inline-block;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

/* Keep linked practice cards visually consistent with non-linked ones */
.practice-grid a.practice-box {
    text-decoration: none;
    color: inherit;
}

.practice-grid a.practice-box:hover {
    text-decoration: none;
}

.practice-box {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    cursor: default;
    height: 100%;
}

.practice-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-coral);
}

.practice-box i {
    font-size: 2rem;
    color: var(--accent-coral);
    background: rgba(239, 68, 68, 0.08);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.practice-box:hover i {
    background: var(--accent-coral);
    color: white;
}

.practice-box h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.4;
    text-transform: none;
    /* Removed all caps for better readability */
    letter-spacing: normal;
}

/* Specific styling for the section headers inside the container */
.practice-areas .container h2 {
    margin-bottom: 10px;
}


/* --- Testimonials --- */
.testimonials-section {
    padding: 120px 0;
    background: white;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Subtly different card style for testimonials over white bg */
.testimonial-card {
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.quote {
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.client-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-dark);
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Lead Magnet --- */
.lead-magnet-section {
    padding: 80px 0 140px 0;
    background: var(--bg-gray);
    /* Gray background to make the dark card stand out */
}

.lead-magnet-card {
    background: var(--primary-dark);
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.lead-content {
    padding: 60px;
    color: white;
}

.lead-content h2 {
    font-size: 2.5rem;
    color: white;
    margin: 15px 0 20px 0;
}

.lead-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.badge {
    background: var(--accent-coral);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.guide-perks {
    list-style: none;
    margin-bottom: 40px;
}

.guide-perks li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.guide-perks i {
    color: var(--accent-gold);
}

.lead-image-mock {
    background: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.book-cover {
    width: 240px;
    height: 330px;
    background: var(--primary-dark);
    border-radius: 5px 20px 20px 5px;
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.4),
        inset 10px 0 10px rgba(0, 0, 0, 0.5);
    /* Spine shadow */
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-15deg);
    /* 3D perspective */
    transition: var(--transition);
}

.lead-magnet-card:hover .book-cover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}

.book-cover i {
    font-size: 4.5rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(180, 83, 9, 0.3));
}

.book-cover h3 {
    color: white;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.book-cover p {
    color: var(--accent-coral);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.book-tag {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--accent-coral);
    color: white;
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: 800;
}

@media (max-width: 992px) {
    .lead-magnet-card {
        grid-template-columns: 1fr;
    }

    .lead-image-mock {
        display: none;
    }
}

/* --- FAQ Section Refined --- */
.faq-section {
    background: white;
    /* Changed from gray to white to differentiate */
    padding: 120px 0;
    position: relative;
}

/* Decorative top border to separate from services */
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--bg-gray), transparent);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--bg-gray);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 1.8rem 2.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    padding-right: 1.5rem;
    line-height: 1.5;
}

.faq-question i {
    color: var(--accent-coral);
    background: rgba(239, 68, 68, 0.05);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2.2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 0 1.8rem 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.faq-item.active {
    border-color: var(--accent-coral);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.08);
}

.faq-item.active .faq-question {
    background: #fffafa;
}

.faq-item.active .faq-question i {
    background: var(--accent-coral);
    color: white;
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 800px;
}





/* --- Buttons --- */
.btn {
    padding: 1.2rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-coral {
    background: var(--accent-coral);
    color: white;
}

.btn-gold {
    background: var(--accent-gold);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1.2rem;
    margin-left: 15px;
}

header.scrolled .mobile-toggle {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

/* --- Language Switch --- */
.lang-switch {
    margin-left: 20px;
    background: none;
    border: 1px solid var(--primary-dark);
    color: var(--primary-dark);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-img-collage {
    position: relative;
}

.about-main-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-stat-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent-coral);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(255, 94, 58, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    margin: 0;
}

.stat-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.about-content h2 {
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feat i {
    color: var(--accent-coral);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feat h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.feat p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.about-quote {
    font-style: italic;
    font-size: 1.3rem;
    border-left: 4px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-dark);
}

/* --- Footer --- */
.main-footer {
    background: var(--primary-dark);
    padding: 5rem 0;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-coral);
    opacity: 1;
    transform: translateY(-3px);
}

.footer-title {
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-hours p {
    opacity: 0.8;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-credit a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--accent-coral);
}

/* --- Chat Redesign --- */
/* Animación pulsante para atraer atención */
@keyframes pulse-chat {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 94, 58, 0.4);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 15px 40px rgba(255, 94, 58, 0.7);
    }
}

@keyframes bounce-chat {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.chat-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--accent-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 94, 58, 0.4);
    z-index: 3000;
    animation: pulse-chat 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.chat-trigger:hover {
    animation: bounce-chat 0.6s ease;
    transform: scale(1.1);
    background: #dc2626;
}

/* Badge "En línea" */
.chat-trigger::before {
    content: "En línea";
    position: absolute;
    top: -10px;
    right: -12px;
    background: #10b981;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    animation: none;
}

/* Punto verde pulsante de estado */
.chat-trigger::after {
    content: "";
    position: absolute;
    top: -6px;
    right: -8px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.chat-list {
    margin: 0.4rem 0 0.8rem 1.1rem;
    padding: 0;
}

.chat-list li {
    margin-bottom: 0.35rem;
}

/* Tooltip del chat */
.chat-tooltip {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: white;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    z-index: 2999;
    max-width: 260px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-tooltip.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chat-tooltip::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.chat-tooltip-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.chat-tooltip-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.chat-tooltip-text {
    flex: 1;
}

.chat-tooltip-text strong {
    color: var(--accent-coral);
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.tooltip-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.tooltip-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-dark);
}

/* --- Exit Intent Modal --- */
@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.exit-intent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.3s ease;
}

.exit-intent-overlay.show {
    display: flex;
}

.exit-intent-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 24px;
    padding: 50px 45px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: slideInModal 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.exit-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.exit-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
    color: var(--primary-dark);
}

.exit-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: pulse-count 2s infinite;
}

.exit-modal-icon i {
    font-size: 2.5rem;
    color: white;
}

.exit-modal-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.exit-modal-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.exit-modal-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
    padding: 0 20px;
}

.exit-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.exit-benefit i {
    color: #10b981;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.exit-modal-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-exit-primary {
    background: #25d366;
    color: white;
    padding: 18px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.btn-exit-primary:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-exit-primary i {
    font-size: 1.5rem;
}

.btn-exit-secondary {
    background: transparent;
    color: var(--text-muted);
    padding: 12px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-exit-secondary:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

.exit-modal-timer {
    text-align: center;
    margin-top: 25px;
    color: var(--accent-coral);
    font-weight: 600;
    font-size: 0.95rem;
}

.exit-modal-timer i {
    margin-right: 8px;
}

#exit-timer {
    font-weight: 800;
    font-size: 1.1em;
    color: #dc2626;
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .exit-intent-modal {
        padding: 35px 25px;
        max-width: 95%;
    }

    .exit-modal-content h2 {
        font-size: 1.6rem;
    }

    .exit-modal-benefits {
        padding: 0;
    }

    .exit-benefit {
        font-size: 0.95rem;
    }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--primary-dark);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 3000;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-coral);
}

@media (max-width: 768px) {
    .back-to-top {
        right: 95px;
        bottom: 24px;
    }
}

/* --- Responsive Media Queries --- */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .lead-qualifier-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .lead-qualifier-copy h2 {
        font-size: 2.2rem;
    }

    .hero-layout {
        flex-direction: column;
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-carousel {
        width: 100%;
        min-height: 420px;
        order: -1;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .carousel-caption {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img-collage {
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Urgency bar more compact on mobile */
    .urgency-bar {
        font-size: 0.7rem;
        padding: 12px 14px;
        bottom: 85px;
        right: 10px;
        max-width: calc(100vw - 80px);
        min-width: 280px;
        left: auto;
    }

    .urgency-text {
        gap: 4px;
        font-size: 0.7rem;
    }

    .urgency-text strong {
        display: block;
        width: 100%;
        margin-bottom: 2px;
    }

    .urgency-cta {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    .urgency-content {
        gap: 6px;
        flex-wrap: wrap;
    }

    .urgency-icon {
        font-size: 0.9rem;
    }

    .urgency-count {
        font-size: 0.7rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    /* Hide top bar on mobile */
    .top-info-bar {
        display: none;
    }

    header {
        top: 0 !important;
    }

    .btn-nav-cta {
        display: none;
    }

    .top-contact .consult-text {
        display: none;
    }

    .phone-link {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .phone-link .phone-number {
        font-size: 0.85rem;
    }

    .hero-content {
        padding-left: 0;
        text-align: center;
    }

    .hero-tagline {
        border-left: none;
        border-bottom: 3px solid var(--accent-coral);
        padding-left: 0;
        padding-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    #lead-qualifier-form {
        grid-template-columns: 1fr;
    }

    .feature-bar {
        flex-direction: column;
    }

    .feature-wrapper {
        margin-top: -40px;
    }

    .feature-item {
        padding: 2.5rem 1.5rem;
    }

    .slider-nav {
        bottom: 12px;
        right: 12px;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .section-head h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .logo-logo-img {
        height: 80px;
    }

    .about-stat-badge {
        padding: 1.5rem;
        right: -10px;
        bottom: -20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ── Breadcrumb Navigation ── */
.breadcrumb-nav {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    font-size: 0.82rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    color: #64748b;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin-left: 6px;
    color: #94a3b8;
}

.breadcrumb-list li a {
    color: #c2882a;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: #9a6a1e;
    text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
    color: #334155;
    font-weight: 500;
}

/* ── Payment Badges (Footer) ── */
.footer-payments {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
    width: 100%;
}

.footer-payments-label {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.15);
}

.payment-badge.visa {
    background: #1a1f71;
    color: #fff;
}

.payment-badge.mc {
    background: #eb001b;
    color: #fff;
}

.payment-badge.amex {
    background: #007bc1;
    color: #fff;
}

.payment-badge.debit {
    background: transparent;
    color: #94a3b8;
    border-color: #475569;
}