/* CSS Design System for María Jesús Aparicio */
:root {
    /* Primary Colors - Refined for better depth */
    --primary-color: #0c2461;
    --primary-light: #1e3799;
    --primary-dark: #061231;
    --accent-color: #d4af37;
    --accent-hover: #b8860b;
    --accent-soft: rgba(212, 175, 55, 0.1);

    /* Neutral Colors - Modern grayscale */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;

    /* Semantic Colors */
    --success: #10b981;
    --error: #ef4444;

    /* Layout & Polish */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;

    /* Modern layered shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3,
h4 {
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-justify {
    text-align: justify;
    hyphens: auto;
    text-justify: inter-word;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.phone-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: var(--primary-color);
    color: white;
    user-select: none;
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Layout Components */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: var(--section-padding);
    scroll-margin-top: 90px;
    /* Ajustado al nuevo tamaño de barra */
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 0;
    /* Asegura simetría total */
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    /* Más estrecho (antes 100px) */
    transition: var(--transition);
    position: relative;
}

header.scrolled nav {
    height: 55px;
    /* Súper compacto al hacer scroll */
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--bg-light);
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
    z-index: 1001;
}

.logo img {
    height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

header.scrolled .logo img {
    height: 65px;
    /* Se reduce proporcionalmente */
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
        /* Reducido de 90px */
    }

    header.scrolled .logo img {
        height: 45px;
    }

    nav {
        height: 80px;
        /* Reducido de 110px */
    }

    header.scrolled nav {
        height: 60px;
    }
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
}

.header-cta {
    display: flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(12, 36, 97, 0.8), rgba(12, 36, 97, 0.7)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 110px 0 60px;
    /* Reducido el espacio inferior */
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 0 80px;
        /* Aumentado de 120px para evitar el solapamiento */
        min-height: auto;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease-out;
    color: white;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 20px;
    /* Reducido para un aspecto más compacto */
    font-weight: 500;
    color: white;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    /* Reducido de 40px */
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Stats Section */
.stats {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 30px 0;
    /* Reducido de 60px para estrechar la franja */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* Services Section */
.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.services-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 30px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--border-radius-sm);
    padding: 10px 20px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.service-card p {
    text-align: left;
    hyphens: auto;
    margin-bottom: 10px;
}

.service-card ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.service-card li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 15px;
}

.service-card p:last-child,
.service-card ul:last-child {
    margin-bottom: 0;
}

/* About Section */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.75rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-text p {
    text-align: justify;
    hyphens: auto;
    text-justify: inter-word;
    margin-bottom: 15px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent);
}

.contact-info h3 {
    margin-bottom: 40px;
    font-size: 2.25rem;
    color: white;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.info-item i {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.info-item:hover i {
    background: var(--accent-color);
    color: var(--primary-dark);
}

.contact-form {
    padding: 80px;
    background: white;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(12, 36, 97, 0.1);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 40px;
    /* Reducido de 100px para estrechar verticalmente */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    /* Reducido de 80px */
    margin-bottom: 60px;
    text-align: left;
    align-items: start;
    max-width: 1000px;
    /* Estrecha el ancho total del contenido del footer */
    margin-left: auto;
    margin-right: auto;
}

.footer-about .logo {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.footer-about p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links,
.footer-social {
    text-align: center;
}

.footer-links h4,
.footer-social h4 {
    margin-top: 0;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}


.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 12px;
    list-style: none;
    /* Quita puntos si los hubiera */
}

.footer-links ul {
    padding: 0;
    margin: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 36, 97, 0.98);
    color: white;
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(105%);
    /* Oculta el banner fuera de la pantalla */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* API Data Section */
.api-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.api-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.api-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.api-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.15rem;
}

.api-card p {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-weight: 600;
}

/* BOCM Section */
@media (max-width: 768px) {
    .bocm-container {
        flex-direction: column;
        text-align: center;
        gap: 20px !important;
    }
}

/* RRSS Section */
@media (max-width: 768px) {
    .rrss-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px !important;
    }

    .rrss-icons {
        flex-wrap: wrap;
        justify-content: center !important;
        gap: 30px !important;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay children for staggered effect */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger.active>*:nth-child(6) {
    transition-delay: 0.6s;
}

.reveal-stagger.active>*:nth-child(7) {
    transition-delay: 0.7s;
}

.reveal-stagger.active>*:nth-child(8) {
    transition-delay: 0.8s;
}

.reveal-stagger.active>*:nth-child(9) {
    transition-delay: 0.9s;
}

.reveal-stagger.active>*:nth-child(10) {
    transition-delay: 1.0s;
}

/* Responsive */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .header-cta {
        display: none;
        /* Hide phone button on small headers to save space, or keep it in menu */
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        display: flex;
    }

    .nav-links.active {
        left: 0;
    }

    .about-split,
    .contact-container,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        text-align: center;
        padding-top: 100px;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 30px;
    }
}

/* Toast Notifications - Modern replacement for alerts */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: #ffffff;
    color: var(--text-dark);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    border-left: 4px solid var(--primary-color);
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--error);
}

.toast i {
    font-size: 1.4rem;
}

.toast.success i {
    color: var(--success);
}

.toast.error i {
    color: var(--error);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
    display: block;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

@media (max-width: 480px) {
    .toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .toast {
        min-width: 0;
        padding: 12px 20px;
    }
}

/* Service Detail Pages Styles */
body.service-page {
    padding-top: 100px;
}

.service-detail-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.service-hero {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.service-hero-text {
    flex: 1;
    min-width: 300px;
}

.service-hero-image {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background: #e2e8f0;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-hero-image i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.service-page h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.detail-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* List Styles to match image precisely */
.detail-text ul {
    margin: 30px 0;
    padding-left: 0;
}

.detail-text li {
    margin-bottom: 20px;
    /* More space like in the image */
    position: relative;
    padding-left: 0;
}

.detail-text li strong {
    display: block;
    /* Title on its own line if it gets long, or just bold start */
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* CTA Box - Service Detail Pages */
.cta-box {
    margin-top: 40px;
    padding: 60px 40px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

.cta-box h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 800;
}

.cta-box p {
    margin-bottom: 35px;
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid for Maquinas Recreativas (List items if needed) */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.list-item {
    background: var(--bg-white);
    padding: 15px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-color);
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.6;
}

.legal-content h1 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.legal-content p {
    margin-bottom: 15px;
}