/* ==========================================================================
   Towing Pekan - Unified Stylesheet
   Color Scheme: Teal & Amber
   ========================================================================== */

:root {
    --primary: #0F766E;
    --primary-dark: #115E59;
    --primary-light: #14B8A6;
    --primary-lighter: #5EEAD4;
    --accent: #D97706;
    --accent-dark: #B45309;
    --call-red: #DC2626;
    --call-red-dark: #B91C1C;
    --whatsapp-green: #25D366;
    --whatsapp-green-dark: #128C7E;
    --text-dark: #1F2937;
    --text-medium: #4B5563;
    --text-light: #6B7280;
    --bg-light: #F0FDFA;
    --bg-gray: #F3F4F6;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --header-height: 70px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: 250ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font-family: var(--font-primary); font-size: 1rem; line-height: 1.7; color: var(--text-dark); background: var(--bg-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Section */
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }
.section-gray, .section-alt { background: var(--bg-gray); }
.section-light { background: var(--bg-light); }

/* Section Title */
.section-title { text-align: center; margin-bottom: 2rem; }
.section-title h2 { font-size: 1.75rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .section-title h2 { font-size: 2.25rem; } }
.section-title p, .section-desc { color: var(--text-medium); max-width: 700px; margin: 0 auto; }
h2.section-title { font-size: 1.75rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; }

/* ==========================================================================
   HEADER - Unified Structure
   HTML: .header > .container > nav.nav > .logo + .nav-toggle + .nav-menu + .nav-cta
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header > .container {
    height: var(--header-height);
}

/* Nav wraps everything */
nav.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
    z-index: 1001;
    flex-shrink: 0;
}
.logo img { height: 45px; width: auto; }
.logo span { display: none; }
@media (min-width: 768px) { .logo span { display: inline; } }
.logo:hover { color: var(--primary); }

/* Nav Toggle (hamburger) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav Menu - Mobile (slide-in overlay) */
.nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-white);
    padding: 1rem;
    transform: translateX(-100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 1000;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-menu > li {
    border-bottom: 1px solid var(--border-color);
}

.nav-menu > li:last-child {
    border-bottom: none;
}

.nav-menu > li > a {
    display: block;
    padding: 1rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > .dropdown-menu {
    display: none;
    padding-left: 1rem;
}

.dropdown.active > .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-medium);
}

.dropdown-menu li a:hover {
    color: var(--primary);
}

/* Nav CTA - hidden on mobile */
.nav-cta {
    display: none;
}

/* ==========================================================================
   DESKTOP NAV - 1024px+
   ========================================================================== */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        display: flex;
        align-items: center;
        gap: 2rem;
        padding: 0;
        margin-left: 3rem;
        background: none;
        overflow: visible;
    }

    .nav-menu > li {
        border-bottom: none;
    }

    .nav-menu > li > a {
        padding: 0.5rem 0;
        position: relative;
    }

    .nav-menu > li > a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width var(--transition);
    }

    .nav-menu > li > a:hover::after,
    .nav-menu > li > a.active::after {
        width: 100%;
    }

    .nav-menu > li > a.dropdown-toggle::after {
        display: none;
    }

    /* Desktop dropdown */
    .dropdown > .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: var(--bg-white);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all var(--transition);
        display: block;
    }

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

    .dropdown .dropdown-menu li a {
        padding: 0.5rem 1rem;
    }

    .dropdown .dropdown-menu li a:hover {
        background: var(--bg-light);
    }

    /* Show nav CTA on desktop */
    .nav-cta {
        display: inline-flex;
        flex-shrink: 0;
        margin-left: auto;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 150ms ease;
}
.btn svg, .btn .btn-icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); color: white; }
.btn-secondary { background: var(--accent); color: white; }
.btn-secondary:hover { background: var(--accent-dark); color: white; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-whatsapp { background: var(--whatsapp-green); color: white; }
.btn-whatsapp:hover { background: var(--whatsapp-green-dark); color: white; }
a[href^="tel:"].btn { background: var(--call-red); color: white; }
a[href^="tel:"].btn:hover { background: var(--call-red-dark); color: white; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 480px) { .btn-group { flex-direction: row; justify-content: center; flex-wrap: wrap; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}
@media (min-width: 768px) { .hero { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 4rem; } }
.hero h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
@media (min-width: 768px) { .hero h1 { font-size: 2.5rem; } }
.hero p, .hero-subtitle { font-size: 1.125rem; opacity: 0.9; max-width: 600px; margin: 0 auto 1.5rem; }
.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
}
.hero-phone:hover { color: var(--primary-lighter); }
.hero-phone svg { width: 32px; height: 32px; }

/* Page Hero / Page Header */
.page-hero, .page-header {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}
@media (min-width: 768px) { .page-hero, .page-header { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 4rem; } }
.page-hero h1, .page-header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
@media (min-width: 768px) { .page-hero h1, .page-header h1 { font-size: 2.25rem; } }
.page-hero p, .page-header p { font-size: 1.125rem; opacity: 0.9; max-width: 700px; margin: 0 auto; }
.hero-cta { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
@media (min-width: 480px) { .hero-cta { flex-direction: row; justify-content: center; } }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb, .breadcrumb-section { background: var(--bg-gray); padding: 1rem 0; }
.breadcrumb-list, .breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.breadcrumb-item, .breadcrumb li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb-item:not(:last-child)::after, .breadcrumb li:not(:last-child)::after { content: '/'; color: var(--text-light); }
.breadcrumb-item a, .breadcrumb a { color: var(--text-medium); }
.breadcrumb-item a:hover, .breadcrumb a:hover { color: var(--primary); }
.breadcrumb-item.active, .breadcrumb [aria-current="page"] { color: var(--primary); font-weight: 500; }

/* ==========================================================================
   CONTENT
   ========================================================================== */
.content, .content-block { max-width: 800px; margin: 0 auto; }
.content h2, .content-block h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: var(--text-dark); }
.content h2:first-child, .content-block h2:first-child { margin-top: 0; }
.content h3, .content-block h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--text-dark); }
.content p, .content-block p { margin-bottom: 1rem; color: var(--text-medium); }
.content strong, .content-block strong { color: var(--text-dark); }

/* Two Column */
.two-col { display: grid; gap: 2rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; align-items: center; } }
.two-col-content h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-dark); }
.two-col-content p { color: var(--text-medium); margin-bottom: 1rem; }
.two-col-image { order: -1; }
@media (min-width: 768px) { .two-col-image { order: 0; } }
.img-placeholder {
    background: var(--bg-gray);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */
.quote-form-section, .quote-section { background: var(--bg-light); padding: 3rem 0; }
.quote-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}
.quote-form-wrapper > h2 { font-size: 1.25rem; text-align: center; margin-bottom: 0.5rem; }
.quote-form-wrapper > p { text-align: center; color: var(--text-medium); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.25rem; color: var(--text-dark); }
.form-group .required { color: #EF4444; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: border-color 150ms ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; margin-top: 1rem; }
.form-message { margin-top: 1rem; padding: 1rem; border-radius: var(--border-radius); display: none; }
.form-message.success { display: block; background: #D1FAE5; color: #065F46; }
.form-message.error { display: block; background: #FEE2E2; color: #991B1B; }
.full-width { grid-column: 1 / -1; }

/* ==========================================================================
   FEATURES LIST
   ========================================================================== */
.features-list { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .features-list { grid-template-columns: repeat(2, 1fr); } }
.feature-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}
.feature-check {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-check svg { width: 20px; height: 20px; color: white; }
.feature-item strong { display: block; font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.feature-item p { color: var(--text-medium); font-size: 0.875rem; margin: 0; }

/* ==========================================================================
   CARD GRID
   ========================================================================== */
.card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(4, 1fr); } }
.card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.card-icon svg { width: 28px; height: 28px; color: white; }
.card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.card p { color: var(--text-medium); font-size: 0.875rem; margin: 0; }
.location-card { display: block; text-decoration: none; border: 2px solid transparent; }
.location-card:hover { border-color: var(--primary); }
.location-card h3 { color: var(--primary); }
.location-card p { margin-bottom: 1rem; }
.response-time {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Area Cards */
.area-cards { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .area-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .area-cards { grid-template-columns: repeat(3, 1fr); } }
.area-card {
    display: block;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
}
.area-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.area-card h3 { font-size: 1.125rem; color: var(--primary); margin-bottom: 0.5rem; }
.area-card p { color: var(--text-medium); font-size: 0.875rem; margin-bottom: 1rem; }

/* Services Grid */
.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: var(--bg-white); padding: 1.5rem; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); }
.service-card .icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.service-card .icon svg { width: 30px; height: 30px; color: white; }
.service-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--text-medium); font-size: 0.875rem; }

/* Features Grid */
.features-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--bg-white); padding: 1.5rem; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); text-align: center; }
.feature-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.feature-icon svg { width: 32px; height: 32px; color: var(--primary-dark); }
.feature-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-medium); font-size: 0.875rem; }

/* Coverage Links */
.coverage-links { margin-top: 2rem; }
.coverage-links h3 { margin-bottom: 1rem; }
.coverage-links .btn { margin: 0.25rem; }

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-responsive, .response-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}
.response-table-wrapper h3 { font-size: 1.125rem; margin-bottom: 1rem; color: var(--text-dark); }
.table, .response-table { width: 100%; border-collapse: collapse; }
.table th, .table td, .response-table th, .response-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.table th, .response-table th { background: var(--primary); color: white; font-weight: 600; }
.table th:first-child, .response-table th:first-child { border-radius: var(--border-radius) 0 0 0; }
.table th:last-child, .response-table th:last-child { border-radius: 0 var(--border-radius) 0 0; }
.table tr:hover, .response-table tr:hover { background: var(--bg-light); }
.table td:last-child, .response-table td:last-child { font-weight: 600; color: var(--primary); }
.table-note { margin-top: 0.5rem; font-size: 0.875rem; color: var(--text-light); font-style: italic; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-cards { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--bg-white); padding: 1.5rem; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); text-align: center; }
.contact-card .contact-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.contact-card .contact-icon svg { width: 40px; height: 40px; color: var(--primary-dark); }
.contact-card-primary .contact-icon { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.contact-card-primary .contact-icon svg { color: white; }
.contact-card-whatsapp .contact-icon { background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-green-dark) 100%); }
.contact-card-whatsapp .contact-icon svg { color: white; }
.contact-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--text-medium); font-size: 0.875rem; margin-bottom: 1rem; }
.contact-card .contact-number { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.contact-card .hours-text { font-size: 1.125rem; font-weight: 600; color: var(--text-dark); }

.contact-form-wrapper { display: grid; gap: 2rem; }
@media (min-width: 768px) { .contact-form-wrapper { grid-template-columns: 1fr 1.5fr; align-items: start; } }
.contact-form-info h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.contact-form-info p { color: var(--text-medium); margin-bottom: 1.5rem; }
.info-box {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-bottom: 1.5rem;
}
.info-box h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--accent-dark); }
.info-box p { font-size: 0.875rem; margin-bottom: 0; }
.contact-form { background: var(--bg-white); padding: 1.5rem; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-md); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list, .faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.section-gray .faq-item, .section-alt .faq-item { box-shadow: var(--shadow-md); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 150ms ease;
}
.faq-question:hover { color: var(--primary); }
.faq-question span { flex: 1; }
.faq-question svg { flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-question[aria-expanded="true"] { color: var(--primary); }
.faq-icon {
    width: 24px; height: 24px;
    position: relative;
    flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-dark);
    transition: transform var(--transition);
}
.faq-icon::before { width: 14px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.5rem; }
.faq-item.active .faq-answer { display: block; }
.faq-answer-content { color: var(--text-medium); }
.faq-answer p { color: var(--text-medium); margin: 0; }

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
}
@media (min-width: 768px) { .cta-section { padding: 4rem 0; } }
.cta-section h2 { font-size: 1.75rem; text-align: center; margin-bottom: 1rem; }
.cta-section p { text-align: center; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 1.75rem; margin-bottom: 1rem; }
.cta-content p { opacity: 0.9; margin-bottom: 2rem; }
.cta-buttons { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 480px) { .cta-buttons { flex-direction: row; justify-content: center; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--text-dark); color: white; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

/* Footer Brand */
.footer-brand h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary-light); }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.875rem; }

/* Footer About */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1rem;
}
.footer-about .footer-logo:hover { color: var(--primary-light); }
.footer-about .footer-logo img { width: 50px; height: 50px; }
.footer-about p { color: rgba(255,255,255,0.7); font-size: 0.875rem; }

/* Footer Links */
.footer-links h3, .footer-links h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--primary-light); }
.footer-links a { display: block; color: rgba(255,255,255,0.7); font-size: 0.875rem; padding: 0.25rem 0; }
.footer-links a:hover { color: white; }
.footer-links ul li { margin-bottom: 0.5rem; }

/* Footer Contact */
.footer-contact h3, .footer-contact h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--primary-light); }
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}
.footer-contact p svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--primary-light); }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: white; }
.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}
.footer-contact ul li svg { flex-shrink: 0; color: var(--primary-light); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.875rem; }

/* ==========================================================================
   FLOATING CTA
   ========================================================================== */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}
@media (min-width: 768px) { .floating-cta { display: none; } }
.floating-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
}
.floating-btn-call { background: var(--call-red); }
.floating-btn-call:hover { background: var(--call-red-dark); color: white; }
.floating-btn-whatsapp { background: var(--whatsapp-green); }
.floating-btn-whatsapp:hover { background: var(--whatsapp-green-dark); color: white; }
.floating-cta .btn { flex: 1; border-radius: 0; padding: 1rem; }
.floating-cta .btn-primary { background: var(--call-red); }
.floating-cta .btn-whatsapp { background: var(--whatsapp-green); }

@media (max-width: 767px) { body { padding-bottom: 60px; } }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.mb-lg { margin-bottom: 1.5rem; }

/* Footer Social */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: #1877F2;
    color: white;
}
.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Print */
@media print {
    .header, .floating-cta, .floating-btn, .nav-toggle, .nav-cta, .btn-whatsapp, .footer-social { display: none !important; }
    body { padding: 0; font-size: 12pt; line-height: 1.5; color: #000; background: #fff; }
    .hero, .page-hero, .page-header { padding-top: 1rem; background: none !important; color: #000; }
    a { color: #000; text-decoration: underline; }
    a[href^="tel:"]::after { content: " (" attr(href) ")"; font-size: 0.9em; }
    .container { max-width: 100%; }
    .section { page-break-inside: avoid; }
    .faq-item { page-break-inside: avoid; }
    img { max-width: 100% !important; }
}
