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

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #2563eb;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
    --max-width: 1400px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.75;
    color: var(--text-color);
    background-color: #e9e9e9;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    overflow-x: hidden;
    width: 100%;
}

/* Prevenir desbordamientos */
img {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    max-width: 100%;
}

* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Prevenir desbordamientos generales */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }
    
    img, video, iframe, embed, object {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Asegurar que todos los contenedores principales no desborden */
    section, div, article, aside {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Ajustar textos */
    h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
    
    p, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.98);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    min-height: 85px;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.85;
}

.logo h1 {
    font-size: 1.875rem;
    margin-bottom: 0.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--primary-color);
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    position: relative;
    white-space: nowrap;
}

.main-nav > ul > li > a:hover {
    color: var(--primary-color);
}

.main-nav > ul > li > a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.main-nav > ul > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}


.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.phone-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.phone-btn::before {
    content: '📞';
    font-size: 1rem;
    line-height: 1;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    line-height: 1;
}

.menu-toggle:hover {
    background: var(--light-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: var(--white);
    padding: 8rem 0 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero con Imagen de Fondo */
.hero-with-image {
    padding: 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.75) 100%);
    z-index: 1;
}

.hero-with-image .hero-content {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.75rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.95);
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: left;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* Service Card con Imagen */
.service-card-with-image {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.service-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-card h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.service-card h3 a:hover {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.service-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* Municipios Grid */
.municipios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.municipio-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.municipio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.municipio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.municipio-card:hover::before {
    opacity: 1;
}

.municipio-card a {
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.municipio-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.municipio-card:hover h3 {
    color: var(--primary-dark);
}

.municipio-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

/* Municipio Header con Imagen */
.municipio-header {
    padding: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.municipio-header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.municipio-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 16, 239, 0.85) 0%, rgba(0, 16, 239, 0.75) 100%);
    z-index: 1;
}

.municipio-header .container {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
}

.municipio-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .municipio-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .municipio-header-text h1 {
        font-size: 2.25rem;
    }
    
    .municipio-header-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 120px;
        padding: 1rem 1.5rem;
    }
    
    .municipio-hero-image {
        margin: -3.5rem -2rem 2rem -2rem;
        height: 300px;
    }
    
    .municipio-hero-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .municipio-hero-overlay h2 {
        font-size: 1.75rem;
    }
}

.municipio-header-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.municipio-header-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.municipio-header-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.municipio-header-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.municipio-header-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hero Image del Municipio */
.municipio-hero-image {
    position: relative;
    margin: -3.5rem -3.5rem 3rem -3.5rem;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.municipio-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.municipio-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 16, 239, 0.9) 0%, transparent 100%);
    padding: 3rem 2rem 2rem;
    color: var(--white);
}

.municipio-hero-overlay h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.municipio-hero-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.7;
    max-width: 800px;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

.services-preview, .municipios-preview {
    background: var(--white);
}

.cta-box-large h3{color: var(--white) !important;}

.why-us {
    background: var(--light-gray);
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    color: var(--text-secondary);
    font-size: 1.1875rem;
    line-height: 1.8;
    font-weight: 400;
}

h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    padding-top: 4rem;
}

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

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.features-grid-3cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-with-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature:hover::before {
    opacity: 1;
}

.feature h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
    margin: 0;
}

/* Gallery Section */
.gallery-section {
    background: var(--light-gray);
    padding: 6rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--white);
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.testimonial-author strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    color: var(--white);
    text-align: center;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.cta-section p {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3.5rem 3rem;
    border-radius: 12px;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 16, 239, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-box .btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.cta-box .btn-primary:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
}

.cta-box .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.cta-box .btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}

.cta-box-large {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.cta-box-large h3 {
    color: var(--white);
}

.cta-box-large p {
    color: var(--white);
    font-size: 1.05rem;
}

.cta-box-large .btn-primary {
    background: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.cta-box-large .btn-primary:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
}

.cta-box-large .btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.cta-box-large .btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}

/* Service Main Headings */
.service-main h3, .municipio-main h3 {
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.service-main h3::after, .municipio-main h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.service-main h3:first-of-type, .municipio-main h3:first-of-type {
    margin-top: 0;
}

.service-main > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Service Detail */
.service-content, .municipio-content, .landing-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.landing-content {
    padding: 1rem 0;
}

.service-main, .municipio-main, .landing-main {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.municipio-main {
    position: relative;
}

.municipio-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px 0 0 16px;
    opacity: 0.3;
}

/* Imagen Principal del Servicio */
.service-image-header {
    margin: -3rem -3rem 3rem -3rem;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

.service-image-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 100%);
    pointer-events: none;
}

.service-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px;
}

/* Service Info Box */
.service-info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 16, 239, 0.1);
    position: relative;
    overflow: hidden;
}

.service-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.service-info-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

/* Service Guarantees */
.service-guarantees {
    margin: 3rem 0;
    padding: 2.5rem 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.service-guarantees h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    margin-top: 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guarantee-item {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.guarantee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.guarantee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 16, 239, 0.15);
    border-color: var(--primary-color);
}

.guarantee-item:hover::before {
    transform: scaleX(1);
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.guarantee-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.guarantee-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Service Additional Info */
.service-additional-info {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.info-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.info-item h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.landing-main h2,
.landing-main h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: left;
}

.landing-main h2:first-child,
.landing-main h3:first-child {
    margin-top: 0;
}

/* Intro Emocional */
.intro-emocional {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.intro-emocional .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Lista de qué incluye el servicio */
.servicio-incluye-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 0.75rem;
}

.servicio-incluye-list li {
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.servicio-incluye-list li:hover {
    background: #f8f9ff;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.servicio-incluye-list .check-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Presupuesto Box */
.presupuesto-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.presupuesto-box p {
    color: var(--white);
    margin-bottom: 1rem;
}

.presupuesto-box .highlight-text {
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

/* Zonas List */
.zonas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.zona-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.zonas-note {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* FAQ Container */
.faq-container {
    margin: 2rem 0;
}

.faq-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

/* Testimonios */
.testimonios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.testimonio-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
}

.testimonio-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonio-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.testimonio-author {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.testimonio-author strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonio-fecha {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Seguridad Box */
.seguridad-box {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.seguridad-highlight {
    font-size: 1.15rem;
    color: #92400e;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.seguridad-box p:last-child {
    color: var(--text-color);
    margin: 0;
}

.landing-main p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.landing-main ul,
.landing-main ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.landing-main li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contenido-principal,
.contenido-secundario,
.contenido-seccion {
    margin-bottom: 3rem;
    line-height: 1.8;
    color: var(--text-color);
}

.contenido-principal {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contenido-seccion {
    background: var(--white);
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    margin-top: 2.5rem;
    padding-top: 2.5rem;
}

.contenido-principal {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contenido-seccion {
    background: var(--white);
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    margin-top: 2.5rem;
    padding-top: 2.5rem;
}

.contenido-principal p,
.contenido-secundario p,
.contenido-seccion p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.contenido-principal p:last-child,
.contenido-secundario p:last-child,
.contenido-seccion p:last-child {
    margin-bottom: 0;
}

.contenido-principal h2,
.contenido-secundario h2,
.contenido-seccion h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.contenido-principal h2::after,
.contenido-secundario h2::after,
.contenido-seccion h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.contenido-principal h3,
.contenido-secundario h3,
.contenido-seccion h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.contenido-principal h2:first-child,
.contenido-secundario h2:first-child,
.contenido-seccion h2:first-child {
    margin-top: 0;
}

.contenido-principal h3:first-child,
.contenido-secundario h3:first-child,
.contenido-seccion h3:first-child {
    margin-top: 0;
}

.contenido-principal ul,
.contenido-secundario ul,
.contenido-seccion ul {
    margin: 2rem 0;
    padding-left: 2.5rem;
    line-height: 1.8;
    list-style: none;
}

.contenido-principal ul li,
.contenido-secundario ul li,
.contenido-seccion ul li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    position: relative;
    padding-left: 1.5rem;
}

.contenido-principal ul li::before,
.contenido-secundario ul li::before,
.contenido-seccion ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.contenido-principal strong,
.contenido-secundario strong,
.contenido-seccion strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(120deg, rgba(0, 16, 239, 0.1) 0%, rgba(0, 16, 239, 0.05) 100%);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.service-features, .features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.features-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 16, 239, 0.1);
    border-left-width: 4px;
}

.service-features li, .features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before, .features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-sidebar, .municipio-sidebar, .landing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-box:hover {
    box-shadow: 0 8px 20px rgba(0, 16, 239, 0.15);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.sidebar-box:hover::before {
    opacity: 1;
}

.sidebar-box h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.4rem;
    font-weight: 700;
    padding-bottom: 0.875rem;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.sidebar-box h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-box ul li {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.sidebar-box ul li:last-child {
    border-bottom: none;
}

.sidebar-box ul li::before {
    content: '→';
    position: absolute;
    left: -1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 700;
}

.sidebar-box ul li:hover {
    padding-left: 1.25rem;
    background: linear-gradient(90deg, rgba(0, 16, 239, 0.05) 0%, transparent 100%);
    border-radius: 6px;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: calc(1.25rem - 0.5rem);
    padding-right: 0.5rem;
}

.sidebar-box ul li:hover::before {
    opacity: 1;
    left: 0.5rem;
}

.sidebar-box a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    font-size: 1rem;
    line-height: 1.6;
}

.sidebar-box a:hover {
    color: var(--primary-color);
    font-weight: 500;
}

/* Landing Hero */
.landing-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.landing-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.landing-hero .breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.landing-hero .breadcrumb span {
    color: rgba(255,255,255,0.7);
}

.service-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.service-benefits li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.service-benefits li:last-child {
    border-bottom: none;
}

.service-benefits li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.related-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.related-service-link {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: all 0.3s;
}

.related-service-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Tabla de Servicios por Municipio */
.servicios-municipio-table {
    margin-top: 2rem;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.servicios-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    table-layout: auto;
}

.servicios-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.servicios-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.servicios-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.servicios-table tbody tr:last-child {
    border-bottom: none;
}

.servicios-table tbody tr:hover {
    background: var(--light-gray);
}

.servicios-table td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
}

.servicios-table .servicio-nombre {
    font-size: 1.05rem;
    color: var(--text-color);
    min-width: 200px;
}

.servicios-table .servicio-descripcion {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.servicios-table .servicio-accion {
    text-align: right;
    white-space: nowrap;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.services-grid-full, .municipios-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card-large, .municipio-card-large {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card-large h2, .municipio-card-large h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.service-card-large h2 a, .municipio-card-large h2 a {
    color: var(--primary-color);
    text-decoration: none;
}

.service-actions, .municipio-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.services-municipio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-municipio-card {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-municipio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.service-municipio-card:hover .service-municipio-image img {
    transform: scale(1.1);
}

.service-municipio-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-municipio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-municipio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 16, 239, 0.15);
    border-color: var(--primary-color);
}

.service-municipio-card:hover::before {
    transform: scaleX(1);
}

.service-municipio-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

.service-municipio-card h4 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.service-municipio-card h4 a:hover {
    color: var(--primary-dark);
}

.service-municipio-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    flex: 1;
}

.municipios-list, .services-list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.municipios-list a, .services-list-inline a {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.municipios-list a:hover, .services-list-inline a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Mapa de Municipios */
.municipios-map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.municipios-map {
    width: 100%;
    height: 450px;
    border-radius: 8px;
}

/* Lista de Municipios Organizada */
.municipios-grid-list {
    margin-top: 2rem;
}

.municipio-group {
    margin-bottom: 2rem;
}

.municipio-group h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.municipios-service {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.municipios-service a {
    background: var(--light-gray);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s;
    text-align: center;
    border: 1px solid transparent;
}

.municipios-service a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

/* Tabla Simple de Municipios */
.municipios-table-container {
    margin: 2rem 0;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.municipios-table-container {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}

.municipios-table-simple {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 0;
    table-layout: auto;
}

.municipios-table-simple thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.municipios-table-simple th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.municipios-table-simple tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.municipios-table-simple tbody tr:last-child {
    border-bottom: none;
}

.municipios-table-simple tbody tr:hover {
    background: linear-gradient(90deg, #f8f9ff 0%, #ffffff 100%);
    transform: scale(1.01);
}

.municipios-table-simple td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
}

.municipios-table-simple td:first-child {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.municipios-table-simple td:last-child {
    text-align: right;
    white-space: nowrap;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 5rem 0 2rem;
    border-top: 3px solid var(--primary-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

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

.footer-section {
    min-width: 0;
}

.footer-section:first-child {
    max-width: 400px;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-section p {
    color: #e2e8f0;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.footer-section p strong {
    color: #ffffff;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background-color 0.2s ease;
}

.footer-section ul li:last-child {
    border-bottom: none;
}

.footer-section ul li:hover {
    background-color: rgba(255,255,255,0.05);
    padding-left: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    background: rgba(30, 58, 138, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(30, 58, 138, 0.3);
    font-size: 0.95rem;
}

.footer-contact-link span {
    font-size: 1.2rem;
    filter: brightness(1.2);
}

.footer-contact-link:hover {
    background: rgba(30, 58, 138, 0.4);
    border-color: var(--primary-color);
    transform: translateX(5px);
    color: #ffffff !important;
}

.footer-cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    font-size: 1rem;
    border: 2px solid transparent;
}

.footer-cta-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.2);
    color: #ffffff !important;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-details p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-link-inline {
    color: #ffffff !important;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-contact-link-inline:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 4px;
}

.footer-address {
    color: #cbd5e1;
    line-height: 1.6;
    display: block;
    margin-top: 0.25rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

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

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.contenido-principal,
.contenido-secundario,
.contenido-seccion {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contenido-principal p,
.contenido-secundario p,
.contenido-seccion p {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        border-bottom-width: 2px;
    }
    
    .header-content {
        flex-wrap: wrap;
        padding: 1rem 0;
        min-height: auto;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .menu-toggle {
        display: block;
        order: 3;
    }
    
    .phone-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        order: 2;
    }
    
    .phone-btn::before {
        display: none;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        padding: 1rem 0;
        margin-top: 0;
        width: 100%;
        order: 4;
    }
    
    .main-nav.open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0;
    }
    
    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav > ul > li:last-child {
        border-bottom: none;
    }
    
    .main-nav > ul > li > a {
        width: 100%;
        padding: 1rem 1.5rem;
        border-radius: 0;
        justify-content: space-between;
    }
    
    .main-nav > ul > li > a.active::after {
        display: none;
    }
    
    .main-nav > ul > li > a.active {
        background: rgba(13, 71, 161, 0.06);
    }
    
    
    .header-contact {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-content, .municipio-content, .landing-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-main, .municipio-main, .landing-main {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Asegurar que las imágenes no desborden */
    .service-image-header,
    .service-main-image {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .service-image-header {
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        border-radius: 0;
    }
    
    .landing-content {
        padding: 2rem 0;
    }
    
    .cta-box-large {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .municipios-map {
        height: 350px;
    }
    
    .municipios-service {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }
    
    .municipios-service a {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Tabla de municipios responsive */
    .municipios-table-simple {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .municipios-table-simple thead {
        display: none;
    }
    
    .municipios-table-simple tbody {
        display: block;
    }
    
    .municipios-table-simple tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 0;
        background: var(--white);
        box-shadow: var(--shadow-sm);
    }
    
    .municipios-table-simple tbody tr:hover {
        box-shadow: var(--shadow-md);
    }
    
    .municipios-table-simple td {
        display: block;
        padding: 1rem;
        text-align: left !important;
        border: none;
    }
    
    .municipios-table-simple td:last-child {
        padding-top: 0.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .municipios-table-simple td:last-child .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Tabla de servicios responsive */
    .servicios-table {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .servicios-table thead {
        display: none;
    }
    
    .servicios-table tbody {
        display: block;
    }
    
    .servicios-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 0;
        background: var(--white);
        box-shadow: var(--shadow-sm);
    }
    
    .servicios-table tbody tr:hover {
        box-shadow: var(--shadow-md);
    }
    
    .servicios-table td {
        display: block;
        padding: 1rem;
        text-align: left !important;
        border: none;
    }
    
    .servicios-table .servicio-nombre {
        font-size: 1.1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0.5rem;
    }
    
    .servicios-table .servicio-descripcion {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .servicios-table .servicio-accion {
        padding-top: 0.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }
    
    .servicios-table .servicio-accion .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section:first-child {
        max-width: 100%;
    }
    
    .footer-section h3 {
        font-size: 1.35rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .footer-contact-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .footer-cta-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1.5rem;
        gap: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .services-grid, .municipios-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive nuevas secciones landing */
    .testimonios-container {
        grid-template-columns: 1fr;
    }
    
    .zonas-list {
        gap: 0.5rem;
    }
    
    .zona-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .intro-emocional,
    .presupuesto-box,
    .seguridad-box {
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .testimonio-box {
        padding: 1.5rem;
    }
    
    /* Responsive Home */
    .hero-with-image {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card-image {
        height: 180px;
    }
    
    .service-card-content {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid-3cols {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* Responsive nuevas secciones de servicio */
    .service-image-header {
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .service-info-box {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .service-incluye-list {
        padding-left: 1.5rem;
    }
    
    .service-incluye-list li {
        padding-left: 2rem;
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .guarantees-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .guarantee-item,
    .info-item {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .guarantee-item h4,
    .info-item h3 {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .guarantee-item p,
    .info-item p {
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    .guarantee-icon,
    .info-icon {
        font-size: 2rem;
    }
    
    /* Tablas responsive */
    .municipios-table-container,
    .servicios-municipio-table {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Botones responsive */
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-small {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* CTA boxes responsive */
    .cta-box,
    .cta-box-large {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Hero buttons responsive */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Page Header y Landing Hero responsive */
    .page-header,
    .landing-hero {
        padding: 2rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .page-header h1,
    .landing-hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        padding: 0 1rem;
    }
    
    .page-header p,
    .landing-hero .hero-subtitle {
        font-size: 0.95rem !important;
        padding: 0 1rem;
        word-wrap: break-word;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        padding: 0 1rem;
        word-wrap: break-word;
    }
    
    /* Sidebar responsive */
    .service-sidebar,
    .municipio-sidebar,
    .landing-sidebar {
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .sidebar-box {
        padding: 1.25rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Contenido principal responsive */
    .contenido-principal,
    .contenido-secundario,
    .contenido-seccion {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contenido-principal img,
    .contenido-secundario img,
    .contenido-seccion img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Listas responsive */
    ul, ol {
        padding-left: 1.25rem;
        word-wrap: break-word;
    }
    
    /* Presupuesto box responsive */
    .presupuesto-box {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .presupuesto-box p {
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    
    /* Zonas list responsive */
    .zonas-list {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .zona-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
        word-wrap: break-word;
    }
    
    /* FAQ responsive */
    .faq-item {
        padding: 1.25rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .faq-item h3 {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .faq-item p {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    /* Testimonios responsive */
    .testimonio-box {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .testimonio-text {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    /* Seguridad box responsive */
    .seguridad-box {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .seguridad-highlight {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    /* Intro emocional responsive */
    .intro-emocional {
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .intro-emocional .lead {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Responsive para WhatsApp */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   BANNER DE COOKIES
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

.cookie-banner-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cookie-banner-text p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: var(--primary-dark);
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.cookie-btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-btn-primary:active {
    transform: translateY(0);
}

.cookie-btn-secondary {
    background-color: #f3f4f6;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.cookie-btn-secondary:hover {
    background-color: #e5e7eb;
    border-color: var(--text-secondary);
}

.cookie-btn-secondary:active {
    background-color: #d1d5db;
}

/* Responsive para banner de cookies */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.25rem 1rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-banner-text {
        min-width: 100%;
    }
    
    .cookie-banner-text h4 {
        font-size: 1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.9rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    /* Ajustar posición del WhatsApp cuando el banner está visible */
    .cookie-banner-visible ~ .whatsapp-float {
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0.75rem;
    }
    
    .cookie-banner-text h4 {
        font-size: 0.95rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.85rem;
    }
    
    .cookie-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

