/* ============================================================
   TAMAYO ABOGADOS - CSS COMPILADO
   Generado: 2026-03-02 23:12:22
   NO EDITAR ESTE ARCHIVO. Editar los módulos en /modules/
   Regenerar con: php build-css.php
   ============================================================ */


/* --- modules/variables.css --- */
/* ============================================================================
   VARIABLES GLOBALES - TAMAYO ABOGADOS
   ============================================================================ */

:root {
    /* Paleta Simple: Solo Verde Tamayo #307163 y Blanco */
    --color-principal: #307163;
    --white-cream: #ffffff;
    --gray-light: #e2e8f0;
    --gray-medium: #718096;
    --gray-text: #4a5568;
    --navy-deep: #307163;
    
    /* Tipografía */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, system-ui, sans-serif;
    
    /* Espaciado */
    --spacing-xs: 15px;
    --spacing-sm: 30px;
    --spacing-md: 60px;
    --spacing-lg: 90px;
    --spacing-xl: 120px;
}


/* --- modules/base.css --- */
/* ============================================================================
   BASE - RESET Y TIPOGRAFÍA
   ============================================================================ */

/* TIPOGRAFÍA PREMIUM */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

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

html {
    margin: 0 !important;
    padding: 0 !important;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.9;
    color: var(--gray-text);
    background: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 !important;
    padding: 0 !important;
}

/* Contenedores */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-sm);
}

.page-content {
    background: white;
    min-height: 60vh;
    padding: 10px var(--spacing-sm) 30px;
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    color: #307163;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-content h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.page-content h3 {
    font-size: 1.8em;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.page-content h4 {
    font-size: 1.4em;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.page-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1em;
    line-height: 1.9;
}

/* Enlaces globales */
a {
    color: #307163;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #265a4f;
}

.page-content a {
    color: #307163;
    text-decoration: underline;
    text-decoration-color: rgba(48,113,99,0.3);
    text-underline-offset: 3px;
}

.page-content a:hover {
    color: #265a4f;
    text-decoration-color: #265a4f;
}

/* Excluir enlaces que ya tienen estilos propios */
.page-content .city-link-tag,
.page-content .area-link-tag,
.page-content .cta-phone,
.page-content .cta-whatsapp,
.page-content .cta-form,
.page-content .specialty-link,
.page-content nav a {
    text-decoration: none;
}


/* --- modules/typography.css --- */
/* ============================================================================
   TYPOGRAPHY - TIPOGRAFÍA GENERAL
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 600;
    color: #307163;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-content h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
}

.page-content h3 {
    font-size: 1.5em;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.page-content h4 {
    font-size: 1.4em;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.page-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1em;
    line-height: 1.9;
}


/* --- modules/navigation.css --- */
/* ============================================================================
   NAVIGATION - MENÚ PRINCIPAL
   ============================================================================ */

nav {
    background: #307163;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 10px 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 0 var(--spacing-sm);
}

/* Estilos SOLO para desktop */
@media (min-width: 769px) {
    nav a {
        color: white;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: all 0.3s;
        position: relative;
        padding-bottom: 5px;
    }

    nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1px;
        background: white;
        transition: width 0.3s ease;
    }

    nav a:hover::after {
        width: 100%;
    }

    nav a:hover {
        color: white;
        opacity: 0.9;
    }
}

/* ============================================================================
   MOBILE NAVIGATION - MENÚ MÓVIL RESPONSIVE
   ============================================================================ */

/* Barra móvil - OCULTA en escritorio */
.mobile-nav-bar {
    display: none;
}

/* Logo móvil */
.mobile-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600; /* Semi-Bold */
    color: #307163;
    letter-spacing: -0.05em; /* Letras pegadas */
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-logo:hover {
    opacity: 0.8;
}

/* Botón hamburguesa */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #307163;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive para móvil */
@media (max-width: 768px) {
    /* Barra de navegación móvil - MOSTRAR en móvil */
    nav {
        position: sticky;
        padding: 0;
        background: white;
    }
    
    .mobile-nav-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 25px;
        background: white;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menú desplegable */
    nav ul {
        position: fixed;
        top: 62px;
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 62px);
        background: white;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        padding: 0;
        margin: 0;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: none;
        z-index: 998;
    }
    
    nav ul.active {
        left: 0;
    }
    
    /* Elementos del menú principal */
    nav ul > li {
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        border-bottom: 1px solid #e2e8f0;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    
    nav ul > li > a {
        display: block;
        width: 100%;
        max-width: 100%;
        padding: 18px 25px;
        font-size: 15px;
        color: #307163 !important;
        font-weight: 500;
        position: relative;
        text-decoration: none !important;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mantener color verde */
    nav ul > li > a:active,
    nav ul > li > a:focus,
    nav ul > li > a:visited,
    nav ul > li > a:link {
        color: #307163 !important;
        text-decoration: none !important;
    }
    
    /* Hover en móvil */
    nav ul > li > a:hover {
        background: #ffffff;
        color: #307163 !important;
    }
    
    /* ELIMINAR la línea de hover del desktop en móvil */
    nav a::after {
        display: none !important;
        content: none !important;
    }
    
    nav ul > li > a::after {
        display: none !important;
        content: none !important;
    }
}


/* --- modules/dropdown-menu.css --- */
/* ============================================================================
   DROPDOWN MENU - MEGA-MENÚ
   ============================================================================ */

nav ul li.mega-menu-item {
    position: static;
}

.mega-menu-toggle {
    cursor: pointer;
    user-select: none;
}

/* SOLO EN ESCRITORIO (>768px) */
@media (min-width: 769px) {
    .mega-menu-dropdown {
        display: none;
        position: fixed;
        top: 58px;
        padding-top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: none;
        background: white;
        width: 90vw;
        max-width: 1100px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        border-radius: 0 0 4px 4px;
        padding: 35px 25px;
        z-index: 1001;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mega-menu-item:hover .mega-menu-dropdown {
        display: block;
        opacity: 1;
    }

    .mega-menu-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }
    
    /* Estilos del título SOLO en escritorio */
    .mega-menu-title {
        font-size: 14px;
        font-weight: 700;
        color: #307163;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: var(--spacing-xs);
        padding-bottom: 10px;
        border-bottom: 2px solid #307163;
        font-family: var(--font-sans);
        text-decoration: none;
        display: block;
    }

    .mega-menu-title:hover {
        color: #265a4f;
    }
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
}

.mega-menu-column a:not(.mega-menu-title) {
    font-size: 13px;
    color: var(--gray-text);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: all 0.3s;
    font-weight: 400;
    border-left: 2px solid transparent;
    padding-left: 10px;
}

.mega-menu-column a:not(.mega-menu-title):hover {
    color: #307163;
    border-left-color: #307163;
    padding-left: 15px;
    font-weight: 500;
}

/* Responsive para mega-menú en escritorio pequeño */
@media (min-width: 769px) and (max-width: 1100px) {
    .mega-menu-dropdown {
        width: 98vw;
        padding: 25px 15px;
    }
    
    .mega-menu-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .mega-menu-column a:not(.mega-menu-title) {
        font-size: 12px;
        padding: 6px 0;
        padding-left: 8px;
    }
    
    .mega-menu-title {
        font-size: 12px;
    }
}

@media (min-width: 769px) and (max-width: 850px) {
    .mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .mega-menu-column a:not(.mega-menu-title) {
        font-size: 13px;
        padding: 7px 0;
        padding-left: 10px;
    }
    
    .mega-menu-title {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Mega menú contenedor */
    .mega-menu-dropdown {
        display: none !important;
        position: static !important;
        transform: none !important;
        left: 0 !important;
        box-shadow: none;
        background: #ffffff;
        margin: 0;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    .mega-menu-item.open .mega-menu-dropdown {
        display: block !important;
        max-height: 3000px;
        padding: 5px 0;
    }
    
    /* Grid en columna vertical */
    .mega-menu-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    /* Cada columna (área legal) es colapsable */
    .mega-menu-column {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
        padding: 0;
        overflow: hidden;
    }
    
    .mega-menu-column:last-child {
        border-bottom: none;
    }
    
    /* Título de cada área (clicable para expandir) */
    .mega-menu-title {
        padding: 14px 20px !important;
        padding-bottom: 14px !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
        border: none !important;
        border-bottom: none !important;
        font-size: 13px;
        background: #ffffff;
        color: #307163 !important;
        text-decoration: none !important;
        font-weight: 700;
        display: block;
        width: 100%;
        cursor: pointer;
        position: relative;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        box-shadow: none !important;
    }
    
    /* DESACTIVAR hover en móvil para evitar línea al pasar el dedo */
    .mega-menu-title:hover,
    .mega-menu-title:active,
    .mega-menu-title:focus {
        border: none !important;
        border-bottom: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
        background: #ffffff !important; /* Mantener fondo blanco */
        color: #307163 !important; /* Mantener color verde */
    }
    
    /* Indicador +/- para cada área */
    .mega-menu-title::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: 400;
        color: #307163;
        transition: transform 0.3s ease;
    }
    
    .mega-menu-column.expanded .mega-menu-title::after {
        content: '−';
    }
    
    /* Contenedor de sublinks (oculto por defecto) */
    .mega-menu-column-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: white;
    }
    
    .mega-menu-column.expanded .mega-menu-column-content {
        max-height: 800px;
    }
    
    /* Sublinks dentro de cada área */
    .mega-menu-column a:not(.mega-menu-title) {
        padding: 11px 20px 11px 40px;
        font-size: 13px;
        border-left: none !important;
        border-bottom: none !important;
        position: relative;
        color: #4a5568 !important;
        text-decoration: none !important;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mega-menu-column a:not(.mega-menu-title):active,
    .mega-menu-column a:not(.mega-menu-title):visited,
    .mega-menu-column a:not(.mega-menu-title):link {
        color: #4a5568 !important;
        text-decoration: none !important;
    }
    
    .mega-menu-column a:not(.mega-menu-title):hover {
        background: #f7faf9;
        color: #307163 !important;
        padding-left: 42px;
        border-left: none !important;
    }
    
    /* Eliminar línea hover desktop en sublinks móvil */
    .mega-menu-column a::after {
        display: none !important;
        content: none !important;
    }
    
    .mega-menu-column a:not(.mega-menu-title)::before {
        content: '→';
        position: absolute;
        left: 12px;
        color: #307163;
        font-size: 11px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    nav ul li.mega-menu-item {
        position: static;
    }
    
    /* Indicador del menú principal - SOLO en el toggle principal */
    .mega-menu-toggle {
        position: relative;
        padding-right: 30px !important;
    }
    
    .mega-menu-toggle::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        font-weight: 300;
        color: #307163;
    }
    
    .mega-menu-item.open .mega-menu-toggle::after {
        content: '−';
    }
}


/* --- modules/header.css --- */
/* ============================================================================
   HEADER - HERO FULLSCREEN — ESTILO APPLE / GARRIGUES
   ============================================================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ── Imagen de fondo: Ken Burns al cargar ── */
.hero-bg {
    position: absolute;
    inset: -8%;
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
    will-change: transform;
    animation: heroPan 14s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroPan {
    from { transform: scale(1.10) translateY(0px);   }
    to   { transform: scale(1.0)  translateY(-16px); }
}

/* ── Overlay cinematográfico ── */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0,0,0,0.18) 0%,
            rgba(0,0,0,0.05) 30%,
            rgba(0,0,0,0.05) 55%,
            rgba(0,0,0,0.55) 100%
        ),
        linear-gradient(
            135deg,
            rgba(48, 113, 99, 0.72) 0%,
            rgba(30,  75, 60, 0.60) 45%,
            rgba(15,  45, 35, 0.80) 100%
        );
    z-index: 1;
}

/* ── Contenido central ── */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 28px;
    max-width: 900px;
}

/* ── Eyebrow: aparece el primero, pequeño y espaciado ── */
.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.78em;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
    margin-bottom: 8px;
    text-align: center;
    width: 100%;
    display: block;
    opacity: 0;
    animation: eyebrowIn 0.5s ease-out 0.05s forwards;
}

@keyframes eyebrowIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Título grande, serif, con salto de línea y cursiva ── */
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8em, 6.5vw, 5.2em);
    font-weight: 600;
    line-height: 1.06;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: appleIn 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.90);
}

/* ── Subtítulo ── */
.hero-subtitle {
    font-family: var(--font-sans);
    font-size: clamp(1.0em, 2vw, 1.20em);
    color: rgba(255,255,255,0.78);
    font-weight: 300;
    line-height: 1.65;
    margin: 0 auto 42px;
    max-width: 580px;
    opacity: 0;
    animation: appleIn 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

/* ── Botones CTA ── */
.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 52px;
    opacity: 0;
    animation: appleIn 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

.hero-btn-primary {
    display: inline-block;
    padding: 15px 38px;
    background: #fff;
    color: #307163;
    font-family: var(--font-sans);
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn-primary:hover {
    background: #307163;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.30);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    background: #fff;
    color: #307163;
    font-family: var(--font-sans);
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-btn-secondary:hover {
    background: #307163;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.30);
}

/* ── Barra de confianza (trust bar) ── */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    animation: appleIn 1.0s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.hero-trust-item strong {
    font-family: var(--font-serif);
    font-size: 1.80em;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.hero-trust-item span {
    font-family: var(--font-sans);
    font-size: 0.70em;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.62);
}

.hero-trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.22);
}

/* ── Scroll hint (flecha inferior) ── */
.hero-scroll-hint {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.50);
    font-family: var(--font-sans);
    font-size: 0.70em;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    animation:
        scrollHintIn 1.0s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards,
        heroScrollBounce 2.4s ease-in-out 2.6s infinite;
}

@keyframes scrollHintIn {
    from { opacity: 0; transform: translateX(-50%) translateY(14px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 0.50; }
    50%       { transform: translateX(-50%) translateY(7px);  opacity: 0.88; }
}

/* ── Animación base Apple: fade + slide-up ── */
@keyframes appleIn {
    from {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ── Espaciado para páginas sin hero ── */
.no-hero-spacer {
    height: 0;
    display: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        height: calc(100svh - 62px);
        min-height: 540px;
    }

    .hero-content {
        padding: 0 22px;
        transform: translateY(-20px);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-eyebrow {
        margin-bottom: 8px;
        font-size: 0.70em;
    }

    .hero-title {
        font-size: clamp(1.75em, 7vw, 2.4em);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        margin-bottom: 16px;
        font-size: 0.90em;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
        margin-bottom: 18px;
        gap: 10px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 270px;
        text-align: center;
        justify-content: center;
        padding: 13px 30px;
        font-size: 0.82em;
    }

    .hero-trust {
        gap: 20px;
    }

    .hero-trust-item strong {
        font-size: 1.35em;
    }

    .hero-trust-divider {
        height: 24px;
    }

    .hero-scroll-hint {
        bottom: 16px;
    }

/* Versión móvil dentro del flow — oculta en escritorio */
}


/* --- modules/carousel.css --- */
/* ============================================================================
   CAROUSEL - CARRUSEL DE IMÁGENES
   ============================================================================ */

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: var(--spacing-md) auto;
    padding: 0 var(--spacing-sm);
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(48,113,99,0.85);
    color: white;
    padding: var(--spacing-sm);
    text-align: left;
}

.carousel-caption h3 {
    font-size: 2em;
    margin-bottom: var(--spacing-xs);
    color: white;
}

.carousel-caption p {
    font-size: 1.1em;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-nav.prev {
    left: 25px;
}

.carousel-nav.next {
    right: 25px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 16px;
    border-radius: 20px;
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    font-size: 0.88em;
    letter-spacing: 0.05em;
    z-index: 10;
}


/* --- modules/values.css --- */
/* ============================================================================
   VALUES - VALORES DEL DESPACHO — Estilo minimalista numerado
   ============================================================================ */

.values {
    background: #fff;
    padding: 52px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* Encabezado de la sección */
.values-header {
    text-align: center;
    margin-bottom: 48px;
}

.values-header .values-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-principal);
    margin-bottom: 14px;
}

.values-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6em, 3vw, 2.2em);
    font-weight: 400;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Grid horizontal: 3 columnas en escritorio */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
}

/* Separador vertical entre columnas */
.value-item + .value-item {
    border-left: 1px solid rgba(0,0,0,0.09);
}

.value-item {
    padding: 32px 52px;
    text-align: center;
}

/* Número estilizado */
.value-number {
    font-family: var(--font-serif);
    font-size: 3.2em;
    font-weight: 300;
    color: var(--color-principal);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.value-item h3 {
    font-family: var(--font-serif);
    font-size: 1.35em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.value-item p {
    font-family: var(--font-sans);
    font-size: 0.95em;
    color: #666;
    line-height: 1.75;
}

/* Responsive */
@media (max-width: 900px) {
    .values {
        padding: 44px 24px;
    }

    .values-header {
        margin-bottom: 36px;
    }

    .values-header h2 {
        font-size: 1.5em;
    }

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

    .value-item + .value-item {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.09);
    }

    .value-item {
        padding: 28px 20px;
    }

    .value-number {
        font-size: 2.4em;
    }
}


/* --- modules/achievements.css --- */
/* ============================================================================
   ACHIEVEMENTS - CONTADOR ANIMADO — Estilo editorial oscuro premium
   ============================================================================ */

.achievements {
    background: #307163;
    padding: 90px var(--spacing-sm);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Línea decorativa superior */
.achievements::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
}

.achievements h2 {
    font-family: var(--font-serif) !important;
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-bottom: 64px;
    letter-spacing: 0.02em;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Separadores verticales entre columnas */
.achievement-item + .achievement-item {
    border-left: 1px solid rgba(255,255,255,0.10);
}

.achievement-item {
    padding: 20px 40px 28px;
}

/* Número con serif grande — el protagonista */
.achievement-number {
    font-family: var(--font-serif) !important;
    font-size: clamp(3.5em, 7vw, 5.5em);
    font-weight: 300;
    color: #fff;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

/* Pequeño detalle blanco bajo el número */
.achievement-item::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.35);
    margin: 0 auto 14px;
}

.achievement-label {
    font-family: var(--font-sans);
    font-size: 0.88em;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.achievement-sublabel {
    font-family: var(--font-sans);
    font-size: 0.80em;
    color: rgba(255,255,255,0.40);
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 700px) {
    .achievements {
        padding: 64px var(--spacing-sm);
    }
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    .achievement-item + .achievement-item {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.10);
    }
    .achievement-item {
        padding: 28px 20px;
    }
    .achievement-number {
        font-size: clamp(3.0em, 12vw, 4.0em);
    }
}


/* --- modules/services-cards.css --- */
/* ============================================================================
   SERVICES CARDS - TARJETAS DE SERVICIOS PREMIUM
   ============================================================================ */

.services-premium {
    padding: 90px var(--spacing-sm);
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.services-premium-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-md);
}

.services-premium-intro h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.0em, 4vw, 2.8em);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.services-premium-subtitle {
    font-size: 1.2em;
    color: var(--gray-text);
    line-height: 1.9;
}

/* Grid Principal - 2 Tarjetas Grandes */
.services-premium-grid-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

/* Grid Secundario - 2 Tarjetas Medianas */
.services-premium-grid-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: var(--spacing-md);
}

/* Tarjetas Premium con Imagen de Fondo */
.service-premium-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s cubic-bezier(0.22,1,0.36,1);
    text-decoration: none;
    display: block;
}

.service-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 55px rgba(48,113,99,0.28), 0 6px 18px rgba(0,0,0,0.12);
}

.service-premium-card.large {
    min-height: 450px;
    height: auto;
}

.service-premium-card.medium {
    min-height: 320px;
    height: auto;
}

.service-premium-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-premium-card:hover .service-premium-image {
    transform: scale(1.08);
}

/* Overlay cinematográfico: oscuro abajo para leer texto, limpio arriba para ver foto */
.service-premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(10, 25, 20, 0.96) 0%,
        rgba(10, 25, 20, 0.60) 45%,
        rgba(10, 25, 20, 0.10) 100%
    );
    transition: background 0.4s ease;
}

.service-premium-card:hover .service-premium-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 25, 20, 0.98) 0%,
        rgba(48, 113, 99, 0.55) 50%,
        rgba(10, 25, 20, 0.15) 100%
    );
}

.service-premium-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 40px;
    color: white;
}

/* Línea verde corporativo encima del título — desactivada */
.service-premium-content::before {
    display: none;
}

.service-premium-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: white;
    opacity: 0.9;
}

.service-premium-card.large .service-premium-icon {
    font-size: 4em;
}

/* Título en serif para coherencia con el sistema editorial */
.service-premium-title {
    font-family: var(--font-serif) !important;
    font-size: clamp(1.6em, 3vw, 2.2em);
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.service-premium-card.large .service-premium-title {
    font-size: clamp(2.0em, 3.5vw, 2.6em);
}

.service-premium-description {
    font-size: 1.05em;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    margin-bottom: 20px;
}

.service-premium-card.large .service-premium-description {
    font-size: 1.15em;
}

.service-premium-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.service-premium-link:hover {
    gap: 15px;
    opacity: 0.9;
}

/* Lista de Highlights */
.service-premium-highlights {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px 0;
}

.service-premium-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.95);
    font-size: 0.95em;
}

.service-premium-highlights li i {
    color: rgba(255,255,255,0.60);
    font-size: 0.85em;
    flex-shrink: 0;
}

/* CTA estilo Apple: uppercase pequeño, underline que se expande */
.service-premium-cta {
    display: inline-block;
    color: rgba(255,255,255,0.75);
    font-family: var(--font-sans);
    font-size: 0.75em;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.30);
    transition: color 0.3s ease, border-color 0.3s ease;
    margin-top: 8px;
}

.service-premium-card:hover .service-premium-cta {
    color: #fff;
    border-color: #307163;
}

.service-premium-card.medium .service-premium-content {
    justify-content: flex-end;
    padding: 36px 32px;
}
.services-premium-cta {
    text-align: center;
    margin-top: 40px;
}


/* --- modules/calculadora.css --- */
/* ============================================================================
   CALCULADORA REVOLVING
   ============================================================================ */

.calculator-revolving {
    background: white;
    padding: 60px 30px;
    margin: 60px 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.calculator-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.calculator-header h3 {
    font-size: 2.5em;
    color: #307163;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-sans);
}

.calculator-header h3 i {
    margin-right: 15px;
    color: #307163;
}

.calculator-subtitle {
    font-size: 1.2em;
    color: var(--gray-text);
    margin: 0;
}

.calculator-alert {
    background: #fff8e1;
    border-left: 5px solid #ff9800;
    padding: 25px;
    margin-bottom: var(--spacing-md);
    border-radius: 4px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
}

.calculator-alert i {
    font-size: 2em;
    color: #ff9800;
    flex-shrink: 0;
}

.calculator-alert strong {
    color: #e65100;
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 1.1em;
}

.calculator-alert p {
    margin: 5px 0 0 0;
    color: #4a4a4a;
    line-height: 1.7;
}

.calculator-form {
    max-width: 700px;
    margin: 0 auto;
}

.calculator-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.calculator-form label {
    display: block;
    font-size: 1.15em;
    color: #1a5f54;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.calculator-form label i {
    margin-right: 10px;
    color: #1a5f54;
    font-size: 1.1em;
}

.calculator-form input {
    width: 100%;
    padding: 16px 18px;
    font-size: 1.15em;
    border: 3px solid #307163;
    border-radius: 6px;
    transition: all 0.3s;
    font-family: var(--font-sans);
    background: white;
    color: #1a202c;
    font-weight: 600;
}

.calculator-form input:focus {
    outline: none;
    border-color: #1a5f54;
    box-shadow: 0 0 0 4px rgba(48,113,99,0.2);
    background: #f0fdf4;
}

.calculator-form input::placeholder {
    color: #718096;
    font-weight: 500;
}

.calculator-form .hint {
    font-size: 0.95em;
    color: #4a5568;
    font-style: italic;
    margin-top: 8px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calculator-button {
    width: 100%;
    background: #307163;
    color: white;
    padding: 20px;
    font-size: 1.3em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-sans);
    margin-top: 30px;
}

.calculator-button i {
    margin-right: 10px;
}

.calculator-button:hover {
    background: #2a5f54;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48,113,99,0.3);
}

.calculator-result {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    display: none;
}

.calculator-result.show {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculator-result h3 {
    font-size: 2em;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
}


/* --- modules/reviews.css --- */
/* ============================================================================
   REVIEWS - RESEÑAS GOOGLE — Estilo editorial premium
   ============================================================================ */

.reviews {
    padding: 90px var(--spacing-sm);
    background: #ffffff;
    border-top: 1px solid rgba(48,113,99,0.10);
}

.reviews-header {
    text-align: center;
    margin-bottom: 64px;
}

.reviews-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.0em, 4vw, 2.8em);
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.reviews-header p {
    font-family: var(--font-sans);
    font-size: 1.05em;
    color: #888;
    letter-spacing: 0.04em;
}

.google-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
    background: #fff;
    border: 1px solid rgba(48,113,99,0.18);
    border-radius: 50px;
    padding: 12px 28px;
    box-shadow: 0 2px 12px rgba(48,113,99,0.08);
}

.google-rating .score {
    font-family: var(--font-serif);
    font-size: 1.8em;
    font-weight: 600;
    color: #307163;
    line-height: 1;
}

.stars {
    color: #f4b400;
    font-size: 1.1em;
    letter-spacing: 3px;
}

.review-count {
    font-family: var(--font-sans);
    font-size: 0.88em;
    color: #999;
    border-left: 1px solid #ddd;
    padding-left: 16px;
}

/* Grid editorial: 3 columnas en desktop */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1140px;
    margin: 0 auto;
}

/* Tarjeta review — minimalista con comilla grande */
.review-card {
    background: #fff;
    padding: 36px 32px 28px;
    border-radius: 3px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    position: relative;
    border-bottom: 2px solid var(--color-principal);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.4s cubic-bezier(0.22,1,0.36,1);
}

/* Comilla decorativa grande */
.review-card::before {
    content: '\201C';
    position: absolute;
    top: 18px;
    left: 28px;
    font-family: var(--font-serif);
    font-size: 5em;
    color: var(--color-principal);
    opacity: 0.12;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(48,113,99,0.16), 0 2px 8px rgba(0,0,0,0.06);
}

/* Icono Google — pequeño, arriba derecha */
.google-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 28px;
    height: 28px;
    opacity: 0.7;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-sans);
    font-size: 1.1em;
    font-weight: 600;
    flex-shrink: 0;
}

.review-info h4 {
    font-family: var(--font-sans);
    font-size: 0.98em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.review-stars {
    color: #f4b400;
    font-size: 0.85em;
    letter-spacing: 2px;
}

.review-text {
    font-family: var(--font-sans);
    font-size: 0.96em;
    color: #555;
    line-height: 1.85;
    font-style: italic;
}

/* Badge verificado */
.verified-badge {
    display: inline-block;
    background: #307163;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.70em;
    font-style: normal;
    margin-left: 6px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .reviews {
        padding: 64px var(--spacing-sm);
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .review-card {
        padding: 28px 22px 22px;
    }
}


/* --- modules/videocall.css --- */
/* ============================================================================
   VIDEOCALL - SECCIÓN VIDEOLLAMADA — Estilo Apple sobre verde corporativo
   ============================================================================ */

.videocall {
    padding: 90px var(--spacing-sm);
    background: #307163;
    text-align: center;
    color: white;
}



.videocall-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

/* Icono minimalista */
.videocall-icon {
    margin-bottom: 24px;
}

.videocall-icon i {
    font-size: 2.8em;
    color: rgba(255,255,255,0.70);
}

/* Título serif coherente con el sistema */
.videocall h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8em, 3.5vw, 2.6em);
    font-weight: 400;
    color: white;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.videocall p {
    font-family: var(--font-sans);
    font-size: 1.05em;
    line-height: 1.85;
    color: rgba(255,255,255,0.80);
    margin-bottom: 36px;
}

/* Botón estilo Apple: blanco plano, sin redondeo exagerado */
.cta-button-videocall {
    display: inline-block;
    background: white;
    color: #307163;
    padding: 18px 44px;
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.88em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.35s cubic-bezier(0.22,1,0.36,1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-button-videocall i {
    margin-right: 10px;
    opacity: 0.75;
}

.cta-button-videocall:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.22);
}

/* Responsive */
@media (max-width: 768px) {
    .videocall {
        padding: 64px 20px;
    }
    .cta-button-videocall {
        padding: 16px 32px;
    }
}


/* --- modules/contact.css --- */
/* ============================================================================
   CONTACT - SECCIÓN DE CONTACTO Y MAPA
   ============================================================================ */

.contact {
    background: white;
    padding: 90px var(--spacing-sm) 60px;
    text-align: center;
}

.contact h2 {
    color: #1a1a1a;
    margin-bottom: 52px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto var(--spacing-md);
}

.contact-item {
    text-align: center;
    padding: var(--spacing-sm);
}

.contact-item h3 {
    font-size: 1.5em;
    color: #307163;
    margin-bottom: var(--spacing-sm);
}

.contact-item p {
    font-size: 1.1em;
    color: var(--gray-text);
    line-height: 1.9;
}

.contact-item a {
    color: var(--color-principal);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #307163;
    text-decoration: underline;
}

/* Mapa de Google */
.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    height: 400px;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Formulario de contacto */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.contact-form .form-group label,
.contact-form-container .form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    margin-bottom: var(--spacing-xs);
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1em;
    font-family: var(--font-sans);
    border: 1.5px solid #e2e8f0;
    border-radius: 2px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    color: #1a1a1a;
    background: #fafafa;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    outline: none;
    border-color: #307163;
    box-shadow: 0 0 0 3px rgba(48,113,99,0.1);
}

.contact-form .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95em;
}

.checkbox-label input {
    margin-right: 10px;
    margin-top: 4px;
}

/* Estilos adicionales para formulario de consulta */
.contact-form-container {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 40px;
    background: linear-gradient(135deg, #307163 0%, #245a4f 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(48,113,99,0.3);
}

.contact-form-container h3 {
    font-family: var(--font-serif);
    font-size: 1.9em;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: white;
    text-align: center;
    margin-bottom: 12px;
}

.form-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-size: 1.05em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group small {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9em;
    margin-top: 5px;
}

/* Labels del formulario de contacto (página principal) */
.contact-form-container .form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    margin-bottom: var(--spacing-xs);
}

/* Formulario dentro del bloque verde — también blanco */
.contact-form .form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    margin-bottom: var(--spacing-xs);
}

.contact-form-container .form-group input,
.contact-form-container .form-group textarea,
.contact-form-container .form-group select,
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1em;
    font-family: var(--font-sans);
    border: 1.5px solid rgba(255,255,255,0.30);
    border-radius: 2px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background: rgba(255,255,255,0.95);
    color: #1a1a1a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.form-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: white;
    color: #307163;
    border: none;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.90em;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: #ffffff;
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #ffffff;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Checkbox LOPD */
.form-group-checkbox {
    margin-top: 5px;
    margin-bottom: 15px;
}

.form-group-checkbox .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.90) !important;
    font-family: var(--font-sans);
    font-size: 0.72em;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none !important;
    line-height: 1.6;
}

.form-group-checkbox input[type="checkbox"] {
    width: auto;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.9);
    border-radius: 3px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.form-group-checkbox .checkbox-text a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-group-checkbox .checkbox-text a:hover {
    opacity: 0.80;
}

.form-message ul {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}

.form-message li {
    margin: 5px 0;
}

/* Responsive móvil */
@media (max-width: 768px) {
    .map-container {
        height: 350px;
        margin: 30px auto;
    }
    
    .contact-form-container {
        padding: 30px 20px;
        margin: 40px auto 30px;
    }
    
    .contact-form-container h3 {
        font-size: 1.6em;
    }
}


/* --- modules/faq.css --- */
/* ============================================================================
   FAQ - PREGUNTAS FRECUENTES
   ============================================================================ */

.faq-section {
    padding: 90px var(--spacing-sm);
    background: #fff;
    text-align: center;
}

.faq-section h2 {
    color: #1a1a1a;
    margin-bottom: var(--spacing-xs);
}

.faq-subtitle {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1.05em;
    color: #888;
    margin-bottom: 52px;
    letter-spacing: 0.04em;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: white;
    border-radius: 2px;
    margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,0.07);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(48,113,99,0.10);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(48, 113, 99, 0.03);
}

.faq-question h3 {
    font-size: 1.25em;
    color: #2d2d2d;
    margin: 0;
    font-weight: 600;
    flex: 1;
    font-family: var(--font-sans);
}

.faq-question i {
    color: #307163;
    font-size: 1.2em;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 30px 30px 30px;
}

.faq-answer p {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 1.05em;
    margin: 0;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-section h2 {
        font-size: 2.2em;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1em;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}


/* --- modules/articles.css --- */
/* ============================================================================
   ARTICLES - ARTÍCULOS Y NOTICIAS
   ============================================================================ */

.articles {
    background: #ffffff;
    padding: 90px var(--spacing-sm);
}

.articles .section-eyebrow {
    text-align: center;
}

.articles h2 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
}

.articles-subtitle {
    text-align: center;
    font-family: var(--font-sans);
    font-size: 1.05em;
    color: #888;
    margin-bottom: 52px;
    letter-spacing: 0.04em;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-sm);
    max-width: 1200px;
    margin: 0 auto 15px;
}

.article-card {
    background: white;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.article-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-content {
    padding: 30px;
}

.article-content h3 {
    font-size: 1.4em;
    color: #307163;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.article-content a {
    color: #307163;
    text-decoration: none;
    transition: color 0.3s;
}

.article-content a:hover {
    color: var(--color-principal);
}

.articles-button {
    text-align: center;
}

.articles p.articles-empty {
    text-align: center;
    color: #666;
    margin-bottom: 5px;
}

.articles-button .cta-button {
    margin-top: 10px;
    color: #ffffff !important;
}

.articles-button .cta-button i {
    margin-left: 8px;
}


/* --- modules/casos-exito.css --- */
/* ============================================================================
   CASOS DE ÉXITO - GENERAL
   ============================================================================ */

.casos-exito-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.caso-card {
    background: white;
    padding: var(--spacing-sm);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #307163;
}

.caso-card h3 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: var(--spacing-sm);
}

.star-method {
    margin-bottom: var(--spacing-sm);
}

.star-item {
    margin-bottom: var(--spacing-sm);
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.star-item:last-child {
    border-bottom: none;
}

.star-label {
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-principal);
    margin-bottom: var(--spacing-xs);
}

.star-content {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--gray-text);
}

/* ============================================================================
   CTA FINAL - CASOS DE ÉXITO
   ============================================================================ */

.success-cta {
    background: #307163;
    color: white;
    padding: 60px 50px;
    border-radius: 2px;
    text-align: center;
    margin: 60px 0 20px;
}

.success-cta h3 {
    color: white;
    font-size: 2.2em;
    margin-bottom: 15px;
    margin-top: 0;
}

.success-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: white;
    color: #307163;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 1.05em;
    font-weight: 700;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

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

.btn-secondary {
    display: inline-block;
    background: white;
    color: #307163;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 1.05em;
    font-weight: 700;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: #f0f7f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-secondary i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .success-cta {
        padding: 40px 25px;
    }
    .success-cta h3 {
        font-size: 1.6em;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
    }
}


/* --- modules/casos-exito-star.css --- */
/* ============================================================================
   CASOS DE ÉXITO - METODOLOGÍA STAR
   ============================================================================ */

.star-case {
    border-left: none;
    position: relative;
    overflow: hidden;
}

.case-badge {
    display: inline-block;
    background: #307163;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
}

.star-section {
    background: #f8faf9;
    padding: 25px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #307163;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.star-section h4 {
    color: #307163;
    font-size: 1.3em;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-sans);
}

.star-section h4 i {
    margin-right: 10px;
    font-size: 0.9em;
}

.star-section p {
    margin: 0;
    line-height: 1.8;
    color: var(--gray-text);
}

.success-highlight {
    background: white;
    border-left: 6px solid #307163;
    box-shadow: 0 4px 16px rgba(48, 113, 99, 0.2);
}

.success-highlight h4 {
    color: #307163;
}

.success-highlight strong {
    color: #307163;
    font-weight: 700;
}


/* --- modules/sobre-nosotros.css --- */
/* ============================================================================
   SOBRE NOSOTROS - PÁGINA
   ============================================================================ */

.about-intro {
    background: white;
    padding: var(--spacing-md);
    border-left: 3px solid var(--color-principal);
    margin-bottom: var(--spacing-md);
    font-size: 1.15em;
}

.about-section {
    margin-bottom: var(--spacing-md);
}

.team-section .team-content {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    flex-wrap: wrap;
}

.team-section .team-image {
    width: 320px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    object-fit: cover;
}

.specialty-intro {
    background: white;
    padding: var(--spacing-md);
    border-left: 3px solid var(--color-principal);
    margin-bottom: var(--spacing-md);
    border-radius: 2px;
}

.specialty-intro p {
    font-size: 1.2em;
    line-height: 1.9;
}


/* --- modules/seo-local.css --- */
/* ============================================================================
   SEO LOCAL - PÁGINA ABOGADOS PUERTO REAL
   ============================================================================ */

.seo-intro .lead {
    font-size: 1.3em;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 40px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.city-card {
    background: white;
    padding: 25px;
    border-radius: 4px;
    border-left: 4px solid #307163;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(48,113,99,0.15);
}

.city-card h4 {
    color: #307163;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-family: var(--font-sans);
}

.city-card h4 i {
    margin-right: 10px;
    font-size: 0.9em;
}

.specialty-local {
    background: white;
    padding: 30px;
    margin: 30px 0;
    border-radius: 4px;
    border-left: 4px solid #307163;
}

.specialty-local h4 {
    color: #307163;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.specialty-local ul {
    margin-top: 20px;
    padding-left: 25px;
}

.specialty-local li {
    margin: 10px 0;
    line-height: 1.8;
}

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

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.advantage-item i {
    font-size: 3.5em;
    color: #307163;
    margin-bottom: 20px;
    display: block;
}

.advantage-item h4 {
    color: #307163;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-family: var(--font-sans);
}

.contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info-local h4 {
    color: #307163;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.testimonial-highlight {
    background: white;
    padding: 40px;
    border-radius: 4px;
    border-left: 4px solid #307163;
    margin: 30px 0;
}

.testimonial-highlight .stars {
    color: #fbbc04;
    font-size: 2em;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2em;
    font-style: italic;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: #307163;
}

.google-reviews-link {
    text-align: center;
    margin: 40px 0;
}

.review-score {
    margin-top: 15px;
}

.big-score {
    font-size: 4em;
    font-weight: 700;
    color: #307163;
    font-family: var(--font-sans);
}

.stars-inline {
    color: #fbbc04;
    font-size: 2em;
    margin-left: 15px;
}

.faq-item {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 4px;
    border-left: 4px solid #e2e8f0;
    transition: all 0.3s;
}

.faq-item:hover {
    border-left-color: #307163;
}

.faq-item h4 {
    color: #307163;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-family: var(--font-sans);
}

/* ============================================================================
   SEO LOCAL PAGES - NUEVAS PÁGINAS GEOLOCALIZADAS
   ============================================================================ */

.seo-local-page h1 {
    font-size: 2.8em;
    color: #307163;
    margin-bottom: 30px;
    line-height: 1.2;
}

.seo-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.95em;
    color: #666;
}

.seo-breadcrumb a {
    color: #307163;
    text-decoration: none;
}

.seo-breadcrumb a:hover {
    text-decoration: underline;
}

/* Trust Block */
.trust-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}

.trust-item i {
    font-size: 1.8em;
    color: #307163;
    min-width: 40px;
    text-align: center;
}

.trust-item span {
    font-size: 1em;
    color: #333;
    font-weight: 500;
}

.trust-item a {
    color: #307163;
    text-decoration: none;
    font-weight: 600;
}

/* SEO Sections */
.seo-section {
    margin: 50px 0;
}

.seo-section h2 {
    font-size: 2em;
    color: #307163;
    margin-bottom: 25px;
}

.seo-section p {
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Services List SEO */
.services-list-seo ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.services-list-seo li {
    padding: 15px 20px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #307163;
    box-shadow: 0 1px 5px rgba(0,0,0,0.04);
    line-height: 1.6;
}

.services-list-seo li i {
    color: #307163;
    margin-right: 10px;
}

/* City Links Grid */
.city-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.city-link-tag {
    display: inline-block;
    padding: 8px 18px;
    background: white;
    border: 2px solid #307163;
    border-radius: 25px;
    color: #307163;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
}

.city-link-tag:hover {
    background: #307163;
    color: white;
}

/* Area Links Grid */
.area-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.area-link-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    color: #307163;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s;
}

.area-link-tag:hover {
    border-color: #307163;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(48,113,99,0.15);
}

.area-link-tag i {
    font-size: 1.4em;
    color: #307163;
}

/* Servicios detallados */
.servicio-detalle {
    background: white;
    padding: 30px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid #307163;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.servicio-detalle h3 {
    color: #307163;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.servicio-detalle h3 i {
    margin-right: 10px;
    font-size: 0.9em;
}

.servicio-detalle p {
    line-height: 1.9;
    color: var(--gray-text);
}

/* CTA Block */
.seo-cta-block {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #307163 0%, #265a4f 100%);
    border-radius: 12px;
    margin: 60px 0 40px;
    color: white;
}

.seo-cta-block h2 {
    color: white;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.seo-cta-block p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15em;
    margin-bottom: 25px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0 20px;
}

.cta-phone, .cta-whatsapp, .cta-form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
}

.cta-phone {
    background: white;
    color: #307163;
}

.cta-phone:hover {
    background: #f0f9f6;
    transform: translateY(-2px);
}

.cta-whatsapp {
    background: #25D366;
    color: white;
}

.cta-whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-2px);
}

.cta-form {
    background: white;
    color: #307163 !important;
    border: 2px solid white;
}

.cta-form i {
    color: #307163 !important;
}

.cta-form:hover {
    background: #f0f9f6;
    color: #1a3d34 !important;
    transform: translateY(-2px);
}

.cta-address {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.95em !important;
    margin-top: 15px !important;
}

/* Footer SEO Links */
.footer-seo-grid {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-seo-grid > h4 {
    color: white !important;
    font-size: 1.1em;
    margin-bottom: 20px;
    font-family: var(--font-sans);
    text-align: center;
}

.footer-seo-columns {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px;
}

.footer-seo-column h5 {
    color: rgba(255,255,255,0.95) !important;
    font-size: 0.95em;
    margin-bottom: 10px;
    font-family: var(--font-sans);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
}

footer .footer-seo-column a {
    display: block;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    font-size: 0.82em;
    padding: 3px 0;
    transition: color 0.3s;
    line-height: 1.6;
}

footer .footer-seo-column a:hover {
    color: white !important;
}

/* Responsive SEO Local */
@media (max-width: 768px) {
    .contact-map-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }

    .seo-local-page h1 {
        font-size: 2em;
    }

    .trust-block {
        grid-template-columns: 1fr 1fr;
    }

    .services-list-seo ul {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 480px) {
    .trust-block {
        grid-template-columns: 1fr;
    }

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


/* --- modules/silo-pages.css --- */
/* ============================================================================
   SILO PAGES - PÁGINAS SILO
   ============================================================================ */

.page-content .container > h1 {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.silo-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.silo-intro .lead {
    font-size: 1.4em;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 25px;
}

.stats-banking {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
    padding: 40px;
    background: white;
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4em;
    font-weight: 700;
    color: #307163;
    font-family: var(--font-sans);
    line-height: 1;
}

.stat-label {
    font-size: 1.1em;
    color: var(--gray-text);
    margin-top: 10px;
    font-weight: 500;
}

.specialty-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin: 40px 0;
}

.specialty-card-silo {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 35px;
    transition: all 0.3s;
}

.specialty-card-silo:hover {
    border-color: #307163;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(48,113,99,0.15);
}

.specialty-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.specialty-icon i {
    font-size: 2em;
    color: #307163;
}

.specialty-card-silo h4 {
    color: #307163;
    font-size: 1.6em;
    text-align: center;
    margin-bottom: 20px;
}

.specialty-card-silo > p {
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.8;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.benefits-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.benefits-list li i {
    position: absolute;
    left: 0;
    top: 10px;
    color: #307163;
    font-size: 1.1em;
}

.specialty-link {
    display: inline-block;
    color: #307163;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s;
}

.specialty-link:hover {
    color: #265a4f;
    transform: translateX(5px);
}

.specialty-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.specialty-link:hover i {
    transform: translateX(5px);
}

/* Proceso de Trabajo */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #307163;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: 700;
    margin: 0 auto 20px;
    font-family: var(--font-sans);
}

.step-item h4 {
    color: #307163;
    font-size: 1.4em;
    margin-bottom: 15px;
}

/* Razones para Elegirnos */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin: 40px 0;
}

.reason-item {
    text-align: center;
    padding: 30px 20px;
}

.reason-item i {
    font-size: 3em;
    color: #307163;
    margin-bottom: 20px;
    display: block;
}

.reason-item h4 {
    color: #307163;
    font-size: 1.3em;
    margin-bottom: 15px;
}

/* Bancos/Entidades */
.banks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.bank-tag {
    display: inline-block;
    background: white;
    color: #307163;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
    border: 2px solid #307163;
    transition: all 0.3s;
}

.bank-tag:hover {
    background: #307163;
    color: white;
}


/* --- modules/pages-especificas.css --- */
/* ============================================================================
   PÁGINAS ESPECÍFICAS - ESTILOS COMPARTIDOS
   ============================================================================ */

/* Localidades */
.localities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: var(--spacing-sm) 0;
}

.locality-card {
    background: white;
    border: 2px solid white;
    padding: 30px;
    border-radius: 2px;
    transition: all 0.3s;
    border-top: 3px solid var(--color-principal);
}

.locality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(48,113,99,0.15);
    border-top-color: #307163;
}

.locality-card h3 {
    color: #307163;
    margin-bottom: var(--spacing-xs);
    font-size: 1.4em;
}

/* Servicios Internacionales */
.services-international {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
}

.service-int-card {
    background: #ffffff;
    padding: var(--spacing-sm);
    border-radius: 2px;
    border-left: 3px solid var(--color-principal);
}

.service-int-card h3 {
    color: #307163;
    margin-bottom: var(--spacing-xs);
    margin-top: 0;
}

.why-choose-us {
    background: white;
    padding: var(--spacing-sm);
    border-radius: 2px;
    margin: var(--spacing-sm) 0;
}

.why-choose-us h3 {
    margin-top: 0;
}

/* Videollamada - estilos en videocall.css */

/* ============================================================================
   SUBPÁGINAS DE SERVICIO (compraventa, negligencias, accidentes, etc.)
   Clases usadas en: compraventa-inmuebles.php, accidentes-trafico.php,
   diagnosticos-erroneos.php, errores-medicacion.php,
   infecciones-hospitalarias.php, negligencias-odontologicas.php,
   negligencias-urgencias.php, partos-neonatologia.php,
   responsabilidad-productos.php
   ============================================================================ */

/* Intro section */
.intro-section {
    max-width: 900px;
    margin: 0 auto 50px;
}

.intro-section .lead {
    font-size: 1.35em;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: 20px;
}

/* Services section heading */
.services-section {
    margin: 50px 0;
}

.services-section h2 {
    font-size: 2em;
    color: #307163;
    margin-bottom: 35px;
    text-align: center;
}

/* Grid de tarjetas de servicio */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 35px 30px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    border-color: #307163;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(48,113,99,0.12);
}

/* Icono dentro de la tarjeta */
.service-icon {
    width: 64px;
    height: 64px;
    background: #f0f9f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.8em;
    color: #307163;
}

.service-card h3 {
    color: #307163;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 0.95em;
}

.service-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #307163;
    font-weight: 700;
}

/* Responsive subpáginas servicio */
@media (max-width: 768px) {
    .service-cards {
        grid-template-columns: 1fr;
    }

    .services-section h2 {
        font-size: 1.6em;
    }

    .intro-section .lead {
        font-size: 1.15em;
    }
}


/* --- modules/subpages.css --- */
/* ============================================================================
   SUBPAGES.CSS — ESTILOS COMPLETOS PARA TODAS LAS SUBPÁGINAS DE SERVICIO
   Cubre: specialty-*, cta-section, legal-section, process-*, consequence-*,
   proof-*, faq-*, benefit-*, indemnization-*, table-section, highlight-box,
   gastos-table, calculator-alert, achievement-*, legal-list, service-section,
   why-us-section, deadline-*, defect-*, liable-*, banks-*, recovery-amount
   ============================================================================ */

/* ─── INTRO / LEAD ─────────────────────────────────────────────────────────── */

.specialty-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 30px 35px;
    background: #f0f9f6;
    border-left: 4px solid #307163;
    border-radius: 0 8px 8px 0;
}

.specialty-intro p {
    font-size: 1.2em;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.specialty-intro p + p {
    margin-top: 15px;
}

/* ─── SPECIALTY CONTENT (texto plano con h3) ───────────────────────────────── */

.specialty-content {
    max-width: 900px;
    margin: 0 auto;
}

.specialty-content h3 {
    color: #307163;
    font-size: 1.5em;
    margin: 40px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2f0ec;
}

.specialty-content h3:first-child {
    margin-top: 0;
}

.specialty-content p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

.specialty-content ul,
.specialty-content ol {
    padding-left: 0;
    margin: 15px 0 25px;
    list-style: none;
}

.specialty-content ul li,
.specialty-content ol li {
    padding: 7px 0 7px 28px;
    position: relative;
    line-height: 1.7;
    color: #555;
}

.specialty-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #307163;
    font-weight: 700;
}

.specialty-content ol {
    counter-reset: specialty-counter;
}

.specialty-content ol li {
    counter-increment: specialty-counter;
}

.specialty-content ol li::before {
    content: counter(specialty-counter) ".";
    position: absolute;
    left: 0;
    color: #307163;
    font-weight: 700;
}

/* ─── ACHIEVEMENTS (logros tipo contador) ─────────────────────────────────── */

/* .achievements, .achievements-grid, .achievement-item, .achievement-number,
   .achievement-label, .achievement-sublabel → definidos en achievements.css
   Se omiten aquí para evitar conflicto con la home */

/* ─── LEGAL SECTION ────────────────────────────────────────────────────────── */

.legal-section {
    margin: 50px 0;
    padding: 35px 40px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #307163;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.legal-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.legal-section p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 18px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

/* ─── HIGHLIGHT BOX ────────────────────────────────────────────────────────── */

.highlight-box {
    background: #f0f9f6;
    border: 2px solid #307163;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: #307163;
    font-size: 1.3em;
    margin-bottom: 12px;
}

.highlight-box p {
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* ─── TABLE SECTION ────────────────────────────────────────────────────────── */

.table-section {
    margin: 50px 0;
    overflow-x: auto;
}

.table-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 25px;
}

.legal-table,
.gastos-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    font-size: 0.95em;
}

.legal-table thead th,
.gastos-table thead th {
    background: #307163;
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
}

.legal-table tbody tr:nth-child(even),
.gastos-table tbody tr:nth-child(even) {
    background: #f8fcfa;
}

.legal-table tbody tr:hover,
.gastos-table tbody tr:hover {
    background: #e8f5f1;
}

.legal-table tbody td,
.gastos-table tbody td {
    padding: 13px 18px;
    border-bottom: 1px solid #edf2f0;
    line-height: 1.6;
    color: #444;
    vertical-align: top;
}

.gastos-table td.consumidor { color: #307163; font-weight: 600; }
.gastos-table td.banco { color: #c0392b; font-weight: 600; }
.gastos-table td.compartido { color: #e67e22; font-weight: 600; }
.gastos-table td.reclamable { color: #27ae60; font-weight: 600; }
.gastos-table td.depende { color: #8e44ad; font-weight: 600; }

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

/* ─── PROCESS SECTION / TIMELINE ──────────────────────────────────────────── */

.process-section {
    margin: 50px 0;
}

.process-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.process-timeline {
    position: relative;
    padding-left: 0;
}

.process-step {
    background: white;
    border-radius: 8px;
    padding: 30px 35px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    position: relative;
    padding-left: 85px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.process-step:hover {
    border-color: #307163;
    box-shadow: 0 4px 15px rgba(48,113,99,0.1);
}

.process-step .step-number {
    position: absolute;
    left: 20px;
    top: 25px;
    width: 44px;
    height: 44px;
    background: #307163;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 700;
    flex-shrink: 0;
}

.process-step h3 {
    color: #307163;
    font-size: 1.3em;
    margin-bottom: 12px;
}

.process-step p {
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* Process steps (grid style) ya en silo-pages.css, aquí step-item standalone */

.service-section {
    margin: 45px 0;
    padding: 30px 35px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #307163;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-section h3 {
    color: #307163;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.service-section p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

/* ─── LEGAL LIST ───────────────────────────────────────────────────────────── */

.legal-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px;
}

.legal-list li {
    padding: 10px 15px 10px 40px;
    position: relative;
    line-height: 1.7;
    color: #555;
    background: white;
    margin-bottom: 8px;
    border-radius: 6px;
    border-left: 3px solid #307163;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}

.legal-list li:hover {
    box-shadow: 0 3px 10px rgba(48,113,99,0.1);
}

.legal-list li::before {
    content: "⚖";
    position: absolute;
    left: 12px;
    color: #307163;
}

/* ─── CONSEQUENCE / BENEFIT / DEFECT GRIDS ─────────────────────────────────── */

.consequences-section,
.why-us-section,
.defect-types-section,
.liable-section,
.risks-section {
    margin: 50px 0;
}

.consequences-section h2,
.why-us-section h2,
.defect-types-section h2,
.liable-section h2,
.risks-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.consequence-grid,
.benefits-grid,
.defect-grid,
.liable-grid,
.risks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.consequence-item,
.benefit-item,
.defect-item,
.liable-item,
.risk-item {
    background: white;
    border-radius: 8px;
    padding: 28px 25px;
    border: 2px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s;
}

.consequence-item:hover,
.benefit-item:hover,
.defect-item:hover,
.liable-item:hover,
.risk-item:hover {
    border-color: #307163;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(48,113,99,0.12);
}

.consequence-item > i,
.benefit-item > i,
.defect-item > i,
.liable-item > i,
.risk-item > i {
    font-size: 2.5em;
    color: #c0392b;
    margin-bottom: 15px;
    display: block;
}

.consequence-item h3,
.benefit-item h3,
.defect-item h3,
.liable-item h3,
.risk-item h3 {
    color: #307163;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.consequence-item p,
.benefit-item p,
.defect-item p,
.liable-item p,
.risk-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95em;
    margin: 0;
}

/* ─── PROOF SECTION ────────────────────────────────────────────────────────── */

.proof-section {
    margin: 50px 0;
}

.proof-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.proof-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proof-item {
    background: white;
    border-radius: 8px;
    padding: 28px 35px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.proof-item:hover {
    border-color: #307163;
    box-shadow: 0 4px 15px rgba(48,113,99,0.1);
}

.proof-item h3 {
    color: #307163;
    font-size: 1.3em;
    margin-bottom: 12px;
}

.proof-item p {
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ─── INDEMNIZATION SECTION ─────────────────────────────────────────────────── */

.indemnization-section {
    margin: 50px 0;
    padding: 35px 40px;
    background: white;
    border-radius: 8px;
    border-top: 4px solid #307163;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.indemnization-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.indemnization-section > p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

.indemnization-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.indemnization-list li {
    padding: 12px 15px 12px 40px;
    position: relative;
    line-height: 1.7;
    color: #555;
    border-bottom: 1px solid #e8f5f1;
}

.indemnization-list li:last-child {
    border-bottom: none;
}

.indemnization-list li > i {
    position: absolute;
    left: 10px;
    top: 14px;
    color: #307163;
    font-size: 1.1em;
}

/* ─── FAQ SECTION ───────────────────────────────────────────────────────────── */

.page-content .faq-section {
    margin: 50px 0;
}

.page-content .faq-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.page-content .faq-item {
    background: white;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    transition: border-color 0.3s;
}

.page-content .faq-item:hover {
    border-color: #307163;
}

.page-content .faq-item h3 {
    color: #307163;
    font-size: 1.2em;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.page-content .faq-item h3::before {
    content: "?";
    position: absolute;
    left: 0;
    top: -1px;
    width: 20px;
    height: 20px;
    background: #307163;
    color: white;
    border-radius: 50%;
    font-size: 0.75em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.page-content .faq-item p {
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ─── CTA SECTION ───────────────────────────────────────────────────────────── */

.cta-section {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #307163 0%, #265a4f 100%);
    border-radius: 12px;
    margin: 60px 0 40px;
    color: white;
}

.cta-section h2,
.cta-section h3 {
    color: white;
    font-size: 2em;
    margin-bottom: 15px;
}

.cta-section h3 {
    font-size: 1.7em;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: white;
    color: #307163 !important;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s;
    border: 2px solid white;
    margin: 8px;
}

.cta-button:hover {
    background: #f0f9f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: #307163;
    color: white !important;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s;
    border: 2px solid #307163;
    margin: 8px;
}

.cta-button-primary:hover {
    background: #265a4f;
    transform: translateY(-2px);
}

/* ─── CALCULATOR ALERT ─────────────────────────────────────────────────────── */

.calculator-alert {
    background: #fff8e8;
    border: 2px solid #f0a500;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.calculator-alert i {
    font-size: 1.8em;
    color: #f0a500;
    flex-shrink: 0;
    margin-top: 2px;
}

.calculator-alert p {
    line-height: 1.7;
    color: #444;
    margin: 0;
    font-size: 1em;
}

/* ─── RECOVERY / BANKS / DEADLINES ─────────────────────────────────────────── */

.recovery-amount {
    text-align: center;
    padding: 35px;
    background: linear-gradient(135deg, #f0f9f6 0%, #e8f5f0 100%);
    border-radius: 12px;
    border: 2px solid #307163;
    margin: 30px 0;
}

.recovery-amount .amount {
    font-size: 4em;
    font-weight: 700;
    color: #307163;
    font-family: var(--font-sans);
    line-height: 1;
}

.recovery-amount p {
    color: #555;
    font-size: 1.1em;
    margin-top: 10px;
}

.banks-beaten {
    margin: 30px 0;
}

.banks-beaten h3 {
    color: #307163;
    font-size: 1.4em;
    margin-bottom: 20px;
    text-align: center;
}

.banks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 15px 0;
}

.bank-tag {
    display: inline-block;
    background: white;
    color: #307163;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
    border: 2px solid #307163;
    transition: all 0.3s;
}

.bank-tag:hover {
    background: #307163;
    color: white;
}

.deadlines-section {
    margin: 50px 0;
}

.deadlines-section h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 25px;
    text-align: center;
}

.deadline-alert {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.deadline-alert i {
    font-size: 1.8em;
    color: #e6a200;
    flex-shrink: 0;
}

.deadline-alert p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

/* ─── EXPERTISE CONTENT ────────────────────────────────────────────────────── */

.expertise-content {
    background: white;
    border-radius: 8px;
    padding: 35px 40px;
    margin: 40px 0;
    border-top: 4px solid #307163;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.expertise-content h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.expertise-content p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

.expertise-content p:last-child {
    margin-bottom: 0;
}

/* ─── SPECIALTIES SILO (contenedor con title) ────────────────────────────── */

.specialties-silo {
    margin: 45px 0;
}

.specialties-silo > h3 {
    color: #307163;
    font-size: 1.7em;
    margin-bottom: 25px;
    text-align: center;
}

/* ─── QUIEN PAGA (gastos hipoteca) ─────────────────────────────────────────── */

.quien-paga {
    margin: 35px 0;
    overflow-x: auto;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .process-step {
        padding-left: 25px;
        padding-top: 70px;
    }

    .process-step .step-number {
        left: 20px;
        top: 18px;
    }

    .legal-section,
    .indemnization-section,
    .expertise-content {
        padding: 25px 20px;
    }

    .specialty-intro {
        padding: 22px 20px;
    }
}

@media (max-width: 768px) {
    .consequence-grid,
    .benefits-grid,
    .defect-grid,
    .liable-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 35px 20px;
    }

    .cta-section h2 {
        font-size: 1.6em;
    }

    .cta-button,
    .cta-button-primary {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 8px auto;
    }

    .specialty-content h3 {
        font-size: 1.3em;
    }

    .legal-table,
    .gastos-table {
        font-size: 0.85em;
    }

    .proof-item {
        padding: 22px 20px;
    }
}

@media (max-width: 480px) {
    .page-content .faq-item {
        padding: 20px;
    }
}

/* ============================================================================
   CLASES ADICIONALES DE SUBPÁGINAS
   compensation-*, damage-*, indicator-*, error-*, case-*, common-cases
   ============================================================================ */

/* Sección genérica de compensaciones/daños — aliased a consequence-* */
.compensation-section,
.damages-section,
.indicators-section,
.errors-section,
.common-cases {
    margin: 50px 0;
}

.compensation-section h2,
.damages-section h2,
.indicators-section h2,
.errors-section h2,
.common-cases h2 {
    color: #307163;
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.compensation-grid,
.damage-grid,
.error-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.compensation-item,
.damage-item,
.error-item {
    background: white;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(48,113,99,0.06);
}

.compensation-item:hover,
.damage-item:hover,
.error-item:hover {
    transform: translateY(-4px);
    border-color: #307163;
    box-shadow: 0 6px 20px rgba(48,113,99,0.15);
}

.compensation-item i,
.damage-item i,
.error-item i {
    font-size: 2.5em;
    color: #307163;
    margin-bottom: 15px;
    display: block;
}

.compensation-item h3,
.damage-item h3,
.error-item h3 {
    color: #1a2e2a;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.compensation-item p,
.damage-item p,
.error-item p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95em;
    margin: 0;
}

/* Lista de indicadores */
.indicator-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.indicator-item {
    background: white;
    border-left: 4px solid #307163;
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.indicator-item i {
    color: #307163;
    font-size: 1.1em;
    flex-shrink: 0;
    margin-top: 2px;
}

.indicator-item p,
.indicator-item span {
    color: #444;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

/* Casos comunes / case-examples */
.case-examples {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.case-item {
    background: #f8fffe;
    border-radius: 8px;
    padding: 20px 25px;
    border-left: 4px solid #307163;
}

.case-item h3 {
    color: #1a2e2a;
    font-size: 1.05em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-item h3 i {
    color: #307163;
}

.case-item p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .compensation-grid,
    .damage-grid,
    .error-grid {
        grid-template-columns: 1fr;
    }

    .indicator-list {
        grid-template-columns: 1fr;
    }
}


/* --- modules/footer.css --- */
/* ============================================================================
   FOOTER
   ============================================================================ */

footer {
    background: #307163;
    color: white;
    padding: var(--spacing-md) var(--spacing-sm);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.footer-section h4 {
    font-size: 1.3em;
    margin-bottom: var(--spacing-sm);
    color: white;
    font-family: var(--font-sans);
}

.footer-section p,
.footer-section a {
    font-size: 0.95em;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.footer-section a:hover {
    color: #ffffff;
}

/* Todos los enlaces del footer en blanco */
footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9em;
    color: rgba(255,255,255,0.7);
}

/* Footer SEO Links Grid */
.footer-seo-grid {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 30px 15px 0;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-seo-grid > h4 {
    color: white;
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

.footer-seo-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.footer-seo-column h5 {
    color: rgba(255,255,255,0.95);
    font-size: 0.95em;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 8px;
}

.footer-seo-column a {
    display: block;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    font-size: 0.82em;
    padding: 3px 0;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-seo-column a:hover {
    color: white !important;
}

@media (max-width: 768px) {
    .footer-seo-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-seo-columns {
        grid-template-columns: 1fr;
    }
}


/* --- modules/whatsapp.css --- */
/* ============================================================================
   WHATSAPP FLOTANTE
   ============================================================================ */

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 35px;
    right: 35px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}


/* --- modules/animations.css --- */
/* ============================================================================
   ANIMATIONS CSS - ESTILOS PARA ANIMACIONES PROFESIONALES
   ============================================================================ */

/* ========================================================================
   1. FADE-IN GENERAL
   ======================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================================
   2. SUBRAYADO ANIMADO EN TÍTULOS
   ======================================================================== */

.animated-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-principal), var(--color-acento));
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.underline-active .animated-underline {
    width: 80%;
}

/* ========================================================================
   3. HOVER EN TARJETAS
   ======================================================================== */

.service-card,
.value-card,
.review-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.value-card:hover,
.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================================================
   4. BOTONES CON EFECTO RIPPLE
   ======================================================================== */

button,
.cta-button,
.btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
.cta-button:hover,
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

button:active,
.cta-button:active,
.btn:active {
    transform: scale(0.98);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================================================
   5. SCROLL PROGRESS BAR
   ======================================================================== */

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-principal), var(--color-acento));
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(48, 113, 99, 0.5);
}

/* ========================================================================
   6. PARALLAX SUTIL
   ======================================================================== */

.hero,
header {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* ========================================================================
   7. ANIMACIONES DE ENTRADA ESPECÍFICAS
   ======================================================================== */

/* Fade in desde la izquierda */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.fade-in-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in desde la derecha */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.fade-in-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Escala desde el centro */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.fade-in-visible {
    opacity: 1;
    transform: scale(1);
}

/* ========================================================================
   8. NÚMEROS CONTADORES
   ======================================================================== */

.achievement-number {
    display: inline-block;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

/* ========================================================================
   9. LOADING SKELETON (opcional)
   ======================================================================== */

@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* ========================================================================
   10. PULSE SUAVE (para elementos destacados)
   ======================================================================== */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================================================
   11. GLOW EFFECT (para CTAs importantes)
   ======================================================================== */

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--color-principal),
                    0 0 10px var(--color-principal),
                    0 0 15px var(--color-principal);
    }
    50% {
        box-shadow: 0 0 10px var(--color-principal),
                    0 0 20px var(--color-principal),
                    0 0 30px var(--color-principal);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* ========================================================================
   12. TYPING CURSOR
   ======================================================================== */

@keyframes blink {
    0%, 49% { border-color: var(--color-principal); }
    50%, 100% { border-color: transparent; }
}

.typing-cursor {
    border-right: 2px solid var(--color-principal);
    animation: blink 1s step-end infinite;
}

/* ========================================================================
   13. SMOOTH TRANSITIONS EN NAVEGACIÓN
   ======================================================================== */

nav a,
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

nav a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-principal);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after,
.nav-link:hover::after {
    width: 100%;
}

/* ========================================================================
   14. IMAGEN ZOOM EN HOVER
   ======================================================================== */

.zoom-image {
    overflow: hidden;
}

.zoom-image img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.zoom-image:hover img {
    transform: scale(1.1);
}

/* ========================================================================
   15. REDUCIR MOVIMIENTO PARA ACCESIBILIDAD
   ======================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-progress-bar,
    .parallax {
        animation: none !important;
        transform: none !important;
    }
}

/* ========================================================================
   16. PERFORMANCE OPTIMIZATION
   ======================================================================== */

.fade-in,
.fade-in-left,
.fade-in-right,
.scale-in {
    will-change: opacity, transform;
}

.service-card,
.value-card,
.review-card {
    will-change: transform, box-shadow;
}

/* Limpiar will-change después de la animación */
.fade-in-visible {
    will-change: auto;
}


/* --- modules/scroll-animations.css --- */
/* ============================================================================
   SCROLL ANIMATIONS — Estilo Apple / Intersection Observer
   Tamayo Abogados
   ============================================================================ */

/* Estado inicial: invisible + desplazado hacia abajo */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity  0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        filter   0.75s cubic-bezier(0.22, 1, 0.36, 1);
    filter: blur(1.5px);
}

/* Estado visible: animación completada */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Variante: entrada desde la izquierda */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity   0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Variante: entrada desde la derecha */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity   0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Títulos de sección: escala sutil */
.section-title.reveal {
    transform: translateY(24px) scale(0.98);
}

.section-title.reveal.is-visible {
    transform: translateY(0) scale(1);
}

/* Sin animaciones si el usuario prefiere reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}


/* --- modules/utilities.css --- */
/* ============================================================================
   UTILITIES - CLASES AUXILIARES
   ============================================================================ */

/* ── Eyebrow label — aparece encima de todos los títulos de sección ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.72em;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #307163;
    margin-bottom: 16px;
    display: block;
    text-align: center;
}

/* ── Títulos de sección estilo editorial — coherentes en toda la web ── */
.services-premium-intro h2,
.reviews-header h2,
.achievements h2,
.faq-header h2,
.articles-header h2,
.videocall h2,
.contact h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.0em, 4vw, 2.8em);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
}


/* Botón CTA — página principal únicamente */
.contact .cta-button,
.articles .cta-button,
.cta-section .cta-button {
    display: inline-block;
    background: var(--color-principal);
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.90em;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 25px;
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
}

.contact .cta-button:hover,
.articles .cta-button:hover,
.cta-section .cta-button:hover {
    background: #265a4f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 113, 99, 0.3);
}

/* Botón CTA Grande */
.cta-button-large {
    display: inline-block;
    background: #307163;
    color: white;
    padding: 20px 52px;
    text-decoration: none;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 0.90em;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.35s cubic-bezier(0.22,1,0.36,1);
    box-shadow: 0 8px 25px rgba(48, 113, 99, 0.25);
}

.cta-button-large:hover {
    background: #265a4f;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(48, 113, 99, 0.4);
}

.cta-button-large i {
    margin-right: 12px;
}

/* Sección CTA */
.cta-section {
    background: #307163;
    color: white;
    padding: var(--spacing-lg);
    border-radius: 2px;
    text-align: center;
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.cta-section h3 {
    color: white;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    font-size: 2.5em;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2em;
    margin-bottom: var(--spacing-sm);
}

.cta-section .cta-button {
    background: white;
    color: #307163;
    padding: 18px 50px;
    font-weight: 700;
}

.cta-section .cta-button:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* ============================================================================
   BANNER DE COOKIES
   ============================================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 25px 30px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid #307163;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    color: #4a5568;
    font-size: 0.95em;
    line-height: 1.6;
}

.cookie-content p strong {
    color: #307163;
    font-size: 1.1em;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.cookie-link {
    color: #307163;
    text-decoration: underline;
    font-size: 0.9em;
    white-space: nowrap;
    transition: all 0.3s;
}

.cookie-link:hover {
    color: #265a4f;
}

.cookie-accept,
.cookie-reject {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-accept {
    background: #307163;
    color: white;
}

.cookie-accept:hover {
    background: #265a4f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48,113,99,0.3);
}

.cookie-reject {
    background: #ffffff;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.cookie-reject:hover {
    background: #ffffff;
    border-color: #cbd5e0;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-content p {
        font-size: 0.9em;
    }
    
    .cookie-buttons {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .cookie-link {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .cookie-accept,
    .cookie-reject {
        flex: 1;
        min-width: 120px;
        padding: 10px 20px;
        font-size: 0.9em;
    }
}


/* --- modules/responsive.css --- */
/* ============================================================================
   RESPONSIVE - MEDIA QUERIES
   ============================================================================ */

/* ============================================================================
   ANTI OVERFLOW HORIZONTAL - PREVIENE DESPLAZAMIENTO LATERAL EN MÓVIL
   ============================================================================ */

html, body {
    overflow-x: clip;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: touch;
}

td, th {
    word-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    table {
        font-size: 0.85em;
    }

    td, th {
        min-width: 80px;
    }
}

/* === ESCRITORIO GRANDE - MÁS ESPACIO PARA CONTENIDO === */
@media (min-width: 1025px) {
    /* Eliminar cualquier espacio arriba del body/nav */
    body {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    nav {
        margin-top: 0 !important;
    }
    
    .service-premium-card.large {
        min-height: 550px;
    }
    
    .service-premium-card.medium {
        min-height: 460px;
    }
    
    .service-premium-content {
        padding: 60px 50px;
        justify-content: flex-end;
    }
    
    /* Más espacio entre elementos en escritorio */
    .service-premium-icon {
        margin-bottom: 30px;
    }
    
    .service-premium-title {
        margin-bottom: 20px;
    }
    
    .service-premium-description {
        margin-bottom: 25px;
    }
    
    /* === AJUSTAR ESPACIADOS ENTRE SECCIONES === */
    
    /* Reducir padding de videocall */
    .videocall {
        padding: 50px 30px; /* Antes: 80px 30px */
    }
    
    /* Reducir padding de contact */
    .contact {
        padding: 50px var(--spacing-sm); /* Antes: var(--spacing-lg) que es 100px */
    }
    
    /* ASEGURAR que el h2 de contact esté centrado */
    .contact h2 {
        text-align: center !important;
    }
    
    /* Reducir padding de reviews */
    .reviews {
        padding: 50px var(--spacing-sm); /* Antes: var(--spacing-lg) que es 100px */
    }
    
    /* Reducir margen inferior del grid de servicios */
    .services-premium-grid-secondary {
        margin-bottom: 40px; /* Antes: var(--spacing-md) que es 60px */
    }
    
    /* Reducir padding de la sección services-premium */
    .services-premium {
        padding: 60px var(--spacing-sm) 40px; /* Top reducido, bottom reducido */
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4em;
    }
    
    .carousel {
        height: 400px;
    }
    
    .services-premium-grid-main,
    .services-premium-grid-secondary {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-premium-card.large {
        min-height: 400px;
    }
    
    .service-premium-card.medium {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    /* === ASEGURAR CONSISTENCIA DE FUENTES MÓVIL = ESCRITORIO === */
    .service-premium-title,
    .service-premium-card.large .service-premium-title,
    .achievement-number,
    .achievements h2,
    .services-premium-intro h2 {
        font-family: var(--font-serif) !important;
    }

    .service-premium-description,
    .achievement-label,
    .achievement-sublabel,
    .services-premium-subtitle {
        font-family: var(--font-sans) !important;
    }

    :root {
        --spacing-sm: 20px;
        --spacing-md: 40px;
        --spacing-lg: 60px;
        --spacing-xl: 80px;
    }
    
    .hero h1 {
        font-size: 3em;
    }
    
    .hero .subtitle {
        font-size: 1.3em;
    }
    
    nav ul {
        gap: 20px;
        font-size: 12px;
    }
    
    .services-intro,
    .page-content {
        padding: var(--spacing-sm);
    }
    
    .carousel-container {
        padding: 0;
        margin: 10px 0;
        overflow: hidden;
    }
    
    .carousel {
        height: 310px;
        /* Scroll horizontal con snap en móvil */
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none; /* Firefox */
        box-shadow: none;
        border-radius: 0;
    }
    
    .carousel::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .carousel-slide {
        position: relative;
        min-width: 100%;
        width: 100%;
        height: 310px;
        flex-shrink: 0;
        scroll-snap-align: start;
        opacity: 1;
        transition: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .carousel-slide img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        flex-shrink: 0;
        filter: brightness(0.85);
    }
    
    .carousel-slide.active {
        opacity: 1;
    }
    
    .carousel-caption {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        background: rgba(48,113,99,0.95);
        padding: 12px 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .carousel-caption h3 {
        font-size: 1.1em;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    
    .carousel-caption p {
        font-size: 0.8em;
        line-height: 1.35;
        margin: 0;
    }
    
    .carousel-indicators {
        position: absolute;
        bottom: auto;
        top: 10px;
        right: 10px;
        left: auto;
        padding: 5px 12px;
        font-size: 0.75rem;
        z-index: 5;
        border-radius: 20px;
        background: rgba(0,0,0,0.35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid rgba(255,255,255,0.20);
        color: rgba(255,255,255,0.90);
    }
    
    .carousel-nav {
        display: none;
    }
    
    .service-card,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-image {
        height: 220px;
    }
    
    .achievement-number {
        font-size: 3.5em;
    }
    
    .team-section .team-content {
        flex-direction: column;
    }
    
    .team-section .team-image {
        width: 100%;
        max-width: 320px;
    }
    
    /* === TARJETAS PREMIUM EN MÓVIL === */
    .services-premium-intro h2 {
        font-size: 2em;
    }
    
    /* Ajustar padding del contenido */
    .service-premium-content {
        padding: 25px;
    }
    
    /* Reducir tamaño del ícono */
    .service-premium-icon {
        font-size: 2.5em;
        margin-bottom: 12px;
    }
    
    .service-premium-card.large .service-premium-icon {
        font-size: 3em;
    }
    
    /* Títulos más pequeños */
    .service-premium-title {
        font-size: 1.6em;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .service-premium-card.large .service-premium-title {
        font-size: 1.9em;
    }
    
    /* Descripción más pequeña */
    .service-premium-description {
        font-size: 0.95em;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .service-premium-card.large .service-premium-description {
        font-size: 1em;
    }
    
    /* En móvil: la tarjeta fluye con el contenido, imagen como fondo */
    .service-premium-card.large,
    .service-premium-card.medium {
        min-height: 0;
        height: auto;
        background-size: cover;
        background-position: center;
    }
    
    /* Ocultar el elemento img absoluto en móvil */
    .service-premium-image {
        display: none;
    }
    
    /* El overlay cubre toda la tarjeta y fluye con el contenido */
    .service-premium-overlay {
        position: relative;
        width: 100%;
        height: auto;
        background: linear-gradient(135deg, rgba(48,113,99,0.95) 0%, rgba(30,80,65,0.97) 100%);
    }
    
    /* Contenido fluido, sin altura fija */
    .service-premium-content {
        position: relative;
        height: auto;
        justify-content: flex-start;
        padding: 28px 22px;
    }
    
    /* Lista de highlights en móvil - Mejor espaciado */
    .service-premium-highlights {
        margin: 12px 0 15px 5px;
    }
    
    .service-premium-highlights li {
        gap: 12px;
        margin-bottom: 6px;
        font-size: 0.9em;
        padding-left: 5px;
    }
    
    .service-premium-highlights li i {
        font-size: 1em;
    }
    
    .service-premium-cta {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2em;
        letter-spacing: -0.5px;
    }
    
    .page-content h2 {
        font-size: 2.2em;
    }
    
    .page-content h3 {
        font-size: 1.6em;
    }
    
    /* === TARJETAS PREMIUM EN MÓVILES MUY PEQUEÑOS === */
    .services-premium-intro h2 {
        font-size: 2em;
    }
    
    .services-premium-subtitle {
        font-size: 1em;
    }
    
    /* Padding reducido */
    .service-premium-content {
        padding: 20px;
    }
    
    /* Íconos más pequeños */
    .service-premium-icon {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .service-premium-card.large .service-premium-icon {
        font-size: 2.5em;
    }
    
    /* Títulos compactos */
    .service-premium-title {
        font-size: 1.4em;
        margin-bottom: 8px;
        line-height: 1.15;
    }
    
    .service-premium-card.large .service-premium-title {
        font-size: 1.6em;
    }
    
    /* Descripción compacta */
    .service-premium-description {
        font-size: 0.9em;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .service-premium-card.large .service-premium-description {
        font-size: 0.95em;
    }
    
    /* Ajustes menores para pantallas muy pequeñas */
    .service-premium-content {
        padding: 22px 18px;
    }
    
    /* Link más pequeño */
    .service-premium-link {
        font-size: 0.9em;
    }
    
    /* Lista de highlights en móviles muy pequeños */
    .service-premium-highlights {
        margin: 10px 0 12px 8px;
    }
    
    .service-premium-highlights li {
        gap: 10px;
        margin-bottom: 5px;
        font-size: 0.85em;
        padding-left: 3px;
    }
    
    .service-premium-highlights li i {
        font-size: 0.95em;
    }
    
    .service-premium-cta {
        font-size: 0.85em;
    }
}


/* --- modules/fullpage.css --- */
/* ============================================================
   APPLE SCROLL - Tamayo Abogados
   Scroll continuo con animaciones de entrada tipo Apple
   ============================================================ */

/* ─── Dot nav lateral (se mantiene pero más ligero) ─────── */
#fp-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* ─── Secciones: altura natural, sin snap ────────────────── */
.values.snap-slide,
.achievements.snap-slide,
.videocall.snap-slide {
  min-height: auto;
  height: auto;
}

/* ─── Apple StaggeredFadeIn ───────────────────────────────── */

/* Estado inicial: invisible y desplazado */
[data-apple-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Variante: solo fade (sin desplazamiento) */
[data-apple-reveal="fade"] {
  opacity: 0;
  transform: none;
  transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Variante: zoom ligero (estilo hero secundario) */
[data-apple-reveal="zoom"] {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Variante: desde izquierda */
[data-apple-reveal="left"] {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Variante: desde derecha */
[data-apple-reveal="right"] {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Estado visible: animación completada */
[data-apple-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ─── Delays escalonados (stagger) ──────────────────────── */
[data-apple-delay="1"] { transition-delay: 0.1s; }
[data-apple-delay="2"] { transition-delay: 0.2s; }
[data-apple-delay="3"] { transition-delay: 0.35s; }
[data-apple-delay="4"] { transition-delay: 0.50s; }
[data-apple-delay="5"] { transition-delay: 0.65s; }
[data-apple-delay="6"] { transition-delay: 0.80s; }

/* ─── Línea separadora animada (estilo Apple) ───────────── */
.apple-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(48,113,99,0.4), transparent);
  margin: 0 auto;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.apple-divider.is-revealed {
  width: 80%;
}

/* ─── Eyebrow (etiqueta pequeña sobre títulos) ──────────── */
.section-eyebrow-apple {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-principal);
  margin-bottom: 16px;
}

/* ─── Móvil: sin dots ────────────────────────────────────── */
@media (max-width: 768px) {
  #fp-dots {
    display: none;
  }

  [data-apple-reveal],
  [data-apple-reveal="fade"],
  [data-apple-reveal="zoom"],
  [data-apple-reveal="left"],
  [data-apple-reveal="right"] {
    /* Reducir desplazamiento en móvil */
    transform: translateY(20px);
  }

  [data-apple-reveal="left"]  { transform: translateX(-16px); }
  [data-apple-reveal="right"] { transform: translateX(16px); }
  [data-apple-reveal="zoom"]  { transform: scale(0.98); }
  [data-apple-reveal="fade"]  { transform: none; }
}

/* ─── Accesibilidad: respetar prefers-reduced-motion ────── */
@media (prefers-reduced-motion: reduce) {
  [data-apple-reveal],
  [data-apple-reveal="fade"],
  [data-apple-reveal="zoom"],
  [data-apple-reveal="left"],
  [data-apple-reveal="right"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

