/* Corporate Modern Style for Mudanzas Pablo e Hijos */
:root {
    /* Brand Colors */
    --primary-color: #013b31;
    /* Deep Forest Green */
    --primary-dark: #002a22;
    --accent-color: #fecb00;
    /* Gold/Amber */
    --accent-hover: #e5b800;

    /* Neutrals */
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --section-padding: 6rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.text-gold {
    color: var(--accent-color);
}

.text-white {
    color: #fff;
}

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

.uppercase {
    text-transform: uppercase;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    /* Full width */
    margin: 0 auto;
    padding: 0 4rem;
    /* More padding for desktop */
    gap: 1rem;
    /* Prevent overlap */
}

.logo img {
    height: 80px;
    display: block;
    /* Remove line-height gap */
}

.logo {
    flex-shrink: 0;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

.mobile-nav-header {
    display: none;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.88rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

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

.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border-top: 3px solid var(--accent-color);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.8rem;
}

/* Nested Dropdown */
.nested-dropdown {
    position: relative;
}

.nested-dropdown .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border-left: 3px solid var(--accent-color);
}

.nested-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e5b800 100%);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(254, 203, 0, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 203, 0, 0.6);
}

.btn-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(1, 59, 49, 0.3);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 59, 49, 0.45);
}

.full-width {
    width: 100%;
}

/* Mobile Toggle Styling */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--primary-color) !important;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    z-index: 1005;
}

/* Nav Overlay for Mobile */
.nav-overlay {
    position: fixed;
    top: 70px; /* Below header */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .glass-header {
        background: #fff;
        padding: 5px 0;
        height: 70px; /* Reduced fixed height */
    }

    .nav-wrapper {
        padding: 0 10px;
        position: relative;
        display: flex;
        justify-content: flex-start; /* Default, then use margins */
        align-items: center;
        height: 100%;
        gap: 0;
        overflow: visible;
    }

    .logo {
        flex: 1; /* Pushes everything else */
        display: flex;
        align-items: center;
        max-width: 45%; /* Don't take too much space */
    }

    .logo img {
        height: 35px;
        width: auto;
    }

    .header-actions {
        order: 2;
        margin-left: auto;
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        order: 3;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        color: var(--primary-color) !important;
        z-index: 1005;
        margin-left: 5px;
    }

    .mobile-toggle i {
        font-size: 2rem !important;
        color: var(--primary-color) !important;
        line-height: 1;
        display: block;
    }

    .header-actions .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .header-actions .phone-link {
        display: none;
    }

    .desktop-nav {
        position: absolute;
        top: 70px; /* match header height */
        left: 0;
        width: 100%;
        height: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        transform: none;
        transition: height 0.3s ease;
        z-index: 998;
        overflow: hidden;
        border-bottom: 0px solid rgba(0,0,0,0.1);
    }

    .desktop-nav.active {
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
        padding: 1rem 0;
        border-bottom-width: 1px;
    }

    .mobile-nav-header {
        display: none;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-item-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        background: #fdfdfd;
        box-shadow: none;
        border: none;
        transform: none;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-item-dropdown.active > .dropdown-menu {
        max-height: 1000px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li a {
        padding: 0.8rem 3rem;
        border-bottom: 1px solid rgba(0,0,0,0.02);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Nested Submenu Mobile */
    .nested-dropdown .submenu {
        position: static;
        width: 100%;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        background: #f5f5f5;
        box-shadow: none;
        border-left: 4px solid var(--accent-color);
        transform: none;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nested-dropdown.active > .submenu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .nested-dropdown .submenu li a {
        padding: 0.8rem 4rem;
    }

    .header-actions .btn {
        display: flex;
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    .logo img {
        height: 50px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    /* Extra padding for header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(1, 59, 49, 0.9) 0%, rgba(1, 59, 49, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.hero-text {
    color: #fff;
}

.premium-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #fff;
}

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

/* Glass Card Form */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: 2.5rem;
}

.hero-form-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hero-form-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    opacity: 0.6;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(1, 59, 49, 0.1);
}

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

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.checkbox-wrapper input {
    margin-top: 3px;
}

/* Services */
.section {
    padding: var(--section-padding) 0;
}

.bg-light {
    background: linear-gradient(160deg, #eef4f1 0%, #f9f9f9 50%, #f0f4f2 100%);
}

.dropdown-divider-item {
    height: 1px;
    background: #eee;
    margin: 0.5rem 1.5rem;
    pointer-events: none;
}

.section-header {
    margin-bottom: 4rem;
}

.subheading {
    display: block;
    color: var(--accent-color);
    /* Gold */
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.subheading-contrast {
    color: #b98900;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.divider-center {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-card-light {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(1, 59, 49, 0.07);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
    border-top: 1px solid rgba(1, 59, 49, 0.06);
    cursor: pointer;
}

.glass-card-light:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(1, 59, 49, 0.13);
    border-bottom-color: var(--accent-color);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(1, 59, 49, 0.08), rgba(1, 59, 49, 0.04));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.9rem;
    transition: 0.3s;
}

.glass-card-light:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--accent-color);
}

.glass-card-light h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.glass-card-light p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Corporate Section (Why Us) */
.corporate-bg {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.content-col h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.feature-list-fancy {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.f-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(254, 203, 0, 0.3);
    /* Transparent Gold */
    font-weight: 700;
    line-height: 1;
}

.f-text h5 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.f-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.visual-col {
    position: relative;
    height: 400px;
    background: url('assets/fotos/mudanza-nacional.webp') center/cover no-repeat;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.visual-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 59, 49, 0.4);
    border-radius: 20px;
}

/* Floating Glass Stats */
.glass-stat-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    margin-bottom: 1.5rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Partners */
.logos-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.logos-flex img {
    height: 48px;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.75;
    filter: grayscale(30%);
    transition: 0.3s;
}

.logos-flex img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

.partners-section {
    background: linear-gradient(160deg, #f0f5f2 0%, #ffffff 60%, #f0f5f2 100%);
}

.divider-vertical {
    width: 1px;
    height: 40px;
    background: #ccc;
}

/* Green separator between partners and footer */
.footer-separator {
    height: 22px;
    background-color: var(--primary-dark);
}

/* Footer */
.corporate-footer {
    background-color: #fff;
    color: var(--primary-dark);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.footer-logo {
    display: inline-block;
    background-color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
}

.footer-brand p {
    color: var(--text-light);
    max-width: 300px;
    font-size: 0.9rem;
}

.social-icons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(1, 59, 49, 0.08);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary-dark);
    color: #fff;
}

.footer-links-col h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    font-size: 0.95rem;
}

.footer-links-col li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-col a {
    color: var(--text-light);
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links-col a:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

.footer-bottom {
    background-color: var(--primary-dark);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Google Reviews widget */
.google-reviews-widget {
    margin-top: 2rem;
    padding: 1.1rem 1.3rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 240px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.google-reviews-top {
    display: flex;
    align-items: center;
}

.google-logo-svg {
    height: 22px;
    width: auto;
}

.google-reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #202124;
    line-height: 1;
}

.stars-outer {
    position: relative;
    display: inline-block;
    color: #ddd;
    font-size: 1.15rem;
    line-height: 1;
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #fbbc04;
    width: 94%; /* 4.7 / 5 */
}

.rating-count {
    font-size: 0.82rem;
    color: #5f6368;
}

.google-review-btn {
    display: inline-block;
    margin-top: 0.2rem;
    padding: 0.45rem 1rem;
    background-color: transparent;
    color: var(--primary-dark) !important;
    border: 1.5px solid var(--primary-dark);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.google-review-btn:hover {
    background-color: var(--primary-dark);
    color: #fff !important;
    padding-left: 1rem;
}

/* WhatsApp Btn */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.cookie-hidden {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2200;
    background: #ffffff;
    border: 1px solid #e2e8e6;
    border-radius: 14px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

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

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

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.cookie-btn-secondary {
    border: 1px solid #ced9d5;
    background: #fff;
    color: var(--primary-color);
    padding: 0.68rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
}

.cookie-btn-secondary:hover {
    border-color: var(--primary-color);
}

.cookie-settings-overlay {
    position: fixed;
    inset: 0;
    z-index: 2300;
    background: rgba(1, 59, 49, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-settings-card {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 1.3rem;
    position: relative;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.cookie-settings-close {
    position: absolute;
    right: 0.85rem;
    top: 0.4rem;
    border: none;
    background: transparent;
    font-size: 1.8rem;
    color: #61706b;
    cursor: pointer;
}

.cookie-settings-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.cookie-settings-card>p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.92rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid #e2e8e6;
    border-radius: 10px;
    padding: 0.8rem;
    margin-bottom: 0.7rem;
}

.cookie-option input {
    margin-top: 0.2rem;
}

.cookie-option span {
    color: var(--text-dark);
    font-size: 0.88rem;
    line-height: 1.4;
}

.cookie-option-required {
    background: #f7faf9;
}

.cookie-settings-actions {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

/* Modal Reuse */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 59, 49, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.glass-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 1100px;
    width: 90%;
    max-height: 85vh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 3rem;
    overflow-y: auto;
}

/* Links inside legal/policy modal pages */
.modal-page a {
    color: #1a73e8;
    text-decoration: underline;
}
.modal-page a:hover {
    color: #1558b0;
}

/* Service Modal Content */
.service-modal-content {
    margin: -3rem;
}

.service-modal-hero {
    padding: 3rem;
    text-align: center;
    color: #fff;
    border-radius: 16px 16px 0 0;
}

.service-modal-hero i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.service-modal-hero h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-modal-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.local-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/mudanza-12.webp') center/cover no-repeat;
}

.nacional-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/mudanza-nacional.webp') center/cover no-repeat;
}

.maritimo-hero-background {
    background: linear-gradient(120deg, rgba(10, 40, 70, 0.55), rgba(2, 80, 107, 0.45)),
    url('assets/fotos/mudanza-maritima.webp') center/cover no-repeat;
}

.aereo-hero-background {
    background: linear-gradient(120deg, rgba(10, 30, 80, 0.55), rgba(2, 60, 107, 0.45)),
    url('assets/fotos/aereo-hero.webp') center/cover no-repeat;
}

.carretera-hero-background {
    background: linear-gradient(120deg, rgba(40, 25, 10, 0.55), rgba(2, 80, 55, 0.45)),
    url('assets/fotos/carretera-hero.webp') center/cover no-repeat;
}

.embalajes-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/embalajes-hero.webp') center/cover no-repeat;
}

.montamuebles-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/montamuebles-hero.webp') center/cover no-repeat;
}

.laboratorios-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/laboratorios-hero.webp') center/cover no-repeat;
}

.liberacion-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/liberacion-hero.webp') center/cover no-repeat;
}

.service-center-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.oficinas-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/oficinas-hero.webp') center/cover no-repeat;
}

.guardamuebles-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/guardamuebles-hero.webp') center/cover no-repeat;
}

.faq-hero-background {
    background: linear-gradient(135deg, rgba(1, 59, 49, 0.88), rgba(2, 107, 85, 0.78)),
    url('assets/fotos/mudanza-07.webp') center/cover no-repeat;
}

.sevilla-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/sevilla-hero.webp') center/cover no-repeat;
}

.madrid-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/madrid-hero.webp') center/cover no-repeat;
}

.barcelona-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/barcelona-hero.webp') center/cover no-repeat;
}

.bruselas-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/bruselas-hero.webp') center/cover no-repeat;
}

.contacto-hero-background {
    background: linear-gradient(120deg, rgba(1, 59, 49, 0.50), rgba(2, 107, 85, 0.40)),
    url('assets/fotos/contacto-hero.webp') center/cover no-repeat;
}

/* ==================== FAQ ACORDEÓN ==================== */

.faq-search-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.faq-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--primary-color);
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    border: 2px solid rgba(1, 59, 49, 0.15);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.faq-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 59, 49, 0.08);
    background: #fff;
}

.faq-search-input::placeholder {
    color: #aaa;
}

.faq-no-results {
    text-align: center;
    color: var(--text-light);
    padding: 2rem 0;
    font-style: italic;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.faq-category-title i {
    font-size: 1.15rem;
    color: var(--accent-color);
}

.faq-item {
    border: 1px solid #e5ece9;
    border-radius: 10px;
    margin-bottom: 0.45rem;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 14px rgba(1, 59, 49, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.2s, color 0.2s;
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.faq-question i {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-question {
    color: var(--primary-color);
    background: var(--bg-light);
}

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

.faq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
    border-top: 1px solid #f0f5f3;
}

.faq-answer p {
    margin: 0.6rem 0 0;
}

.faq-answer p:first-child {
    margin-top: 0.8rem;
}

.service-modal-body {
    padding: 2.5rem;
}

.service-modal-body > p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-modal-body h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

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

.service-feature {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: 0.3s;
}

.service-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-feature i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    display: block;
}

.service-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.service-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.service-steps {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.service-steps li {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 1px solid #eee;
}

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

.service-list {
    padding-left: 0;
    margin-bottom: 2rem;
}

.service-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
}

.service-tiers {
    margin-bottom: 2rem;
}

.service-tiers .tier {
    padding: 0.8rem 1.2rem;
    background: var(--bg-light);
    border-left: 3px solid var(--accent-color);
    margin-bottom: 0.5rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.local-modal-helper {
    margin-top: -0.8rem;
    margin-bottom: 1.4rem !important;
    font-size: 0.92rem !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.local-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.local-mode-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6ecea;
    background: #fff;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.local-mode-card:hover,
.local-mode-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(1, 59, 49, 0.12);
    border-color: rgba(1, 59, 49, 0.25);
    outline: none;
}

.local-mode-card.is-active {
    border-color: var(--accent-color);
    box-shadow: 0 10px 24px rgba(254, 203, 0, 0.18);
}

.local-mode-image {
    width: 100%;
    height: 220px;
    object-fit: fill;
    display: block;
}

.local-mode-content {
    padding: 1rem 1rem 1.2rem;
}

.local-mode-content h4 {
    font-size: 1.08rem;
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.local-mode-content h4 span {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-light);
}

.local-mode-content p {
    margin: 0 0 0.45rem;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.55;
}

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

.service-detail-img {
    display: block;
    width: 100%;
    height: auto;
    border-top: 1px solid #e6ecea;
    animation: fadeSlideIn 0.3s ease;
}

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

.service-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(1, 59, 49, 0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(1, 59, 49, 0.1);
}

.service-highlight i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-highlight p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
}

.service-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 2rem;
}

.service-cta p {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-cta .btn i {
    margin-right: 0.5rem;
}

/* Delegation Modal */
.delegation-info {
    margin-bottom: 1.5rem;
}

.delegation-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.delegation-details p {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.delegation-details p:last-child {
    margin-bottom: 0;
}

.delegation-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.delegation-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.delegation-details a:hover {
    color: var(--accent-hover);
}

.delegation-map {
    margin-top: 1.5rem;
}

/* Contact Modal */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.contact-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.contact-card a {
    color: var(--primary-color);
}

.contact-extra {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.contact-extra p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.contact-extra p:last-child {
    margin-bottom: 0;
}

.contact-extra i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.contact-extra a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-social a:hover {
    color: var(--accent-hover);
}

.contact-social i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }

    .service-features-grid {
        grid-template-columns: 1fr;
    }

    .local-modal-grid {
        grid-template-columns: 1fr;
    }

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

    .service-modal-hero h2 {
        font-size: 1.5rem;
    }

    .service-modal-body {
        padding: 1.5rem;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
    }

    .cookie-banner-actions {
        justify-content: flex-start;
    }

}

/* Animations via classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Autocomplete dropdown */
.autocomplete-wrapper {
    position: relative;
}

.places-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.places-dropdown.active {
    display: block;
}

.places-dropdown-item {
    padding: 0.6rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

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

.places-dropdown-item:hover,
.places-dropdown-item.active {
    background: #f5f5f5;
}

.places-dropdown-item .main-text {
    font-weight: 500;
}

.places-dropdown-item .secondary-text {
    color: #888;
    font-size: 0.8rem;
}

/* Form overlay */
.form-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 100;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
}

.form-overlay.active {
    display: flex;
}

.form-overlay-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #ddd;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
        gap: 3rem;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .visual-col {
        height: 300px;
    }
}