/* =====================================================
   HA ÉLEC - Électricien Belfort
   Design basé sur le site original
   ===================================================== */

/* =====================================================
   GOOGLE FONTS
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* =====================================================
   CSS VARIABLES (matching original design)
   ===================================================== */
:root {
    /* Primary Orange (from logo) */
    --primary: 30 85% 50%;
    --primary-hsl: hsl(30, 85%, 50%);
    --primary-dark: hsl(30, 85%, 40%);
    --primary-light: hsl(30, 85%, 60%);
    --primary-50: hsl(35, 90%, 95%);
    --primary-100: hsl(35, 85%, 90%);
    
    /* Foreground/Background */
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    
    /* Grays */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Typography */
    --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    
    /* Radius */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--gray-200);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
}

address {
    font-style: normal;
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-hsl);
    outline-offset: 2px;
}

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

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

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-hsl);
    color: var(--primary-hsl);
}

.btn-outline:hover {
    background-color: var(--primary-hsl);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--gray-900);
}

.btn-white:hover {
    background-color: var(--gray-100);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Desktop Nav */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.nav-desktop a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--primary-hsl);
    background-color: var(--primary-50);
}

/* Header CTA */
.header-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

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

.header-phone svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: all 0.3s ease;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { bottom: -7px; }

.menu-toggle.active span {
    background-color: transparent;
}

.menu-toggle.active span::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active span::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobile Nav */
.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile a {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-mobile a:hover,
.nav-mobile a.active {
    color: var(--primary-hsl);
    background-color: var(--primary-50);
}

.nav-mobile .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Desktop styles */
@media (min-width: 1024px) {
    .header-container {
        height: 80px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-desktop {
        display: flex;
    }
    
    .header-cta {
        display: flex;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    padding: 7rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-container {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-100);
    color: var(--primary-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    width: 1rem;
    height: 1rem;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--primary-hsl);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

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

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-hsl);
    color: white;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.hero-feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.hero-feature span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.hero-image-badge {
    position: absolute;
    bottom: -1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.hero-image-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-hsl);
    color: white;
    border-radius: 50%;
}

.hero-image-badge-text strong {
    display: block;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.hero-image-badge-text span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0 5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

/* =====================================================
   SECTIONS COMMON
   ===================================================== */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background-color: var(--primary-50);
    color: var(--primary-hsl);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 6rem 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    background-color: var(--gray-50);
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

.service-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

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

.service-card-content {
    padding: 1.5rem;
}

.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-50);
    color: var(--primary-hsl);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.service-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-hsl);
    font-weight: 500;
    font-size: 0.875rem;
    transition: gap 0.2s ease;
}

.service-card-link:hover {
    gap: 0.75rem;
}

.service-card-link svg {
    width: 1rem;
    height: 1rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats {
    background-color: var(--primary-hsl);
    color: white;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why-us-grid {
    display: grid;
    gap: 2rem;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-us-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.why-us-item:hover {
    background-color: var(--primary-50);
}

.why-us-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-hsl);
    color: white;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.why-us-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.why-us-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.why-us-text p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.why-us-image {
    position: relative;
}

.why-us-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

/* =====================================================
   ZONES SECTION
   ===================================================== */
.zones {
    background-color: var(--gray-50);
}

.zones-content {
    display: grid;
    gap: 2rem;
}

.zones-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.zones-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.zones-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.zone-tag {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background-color: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.zone-tag:hover {
    border-color: var(--primary-hsl);
    color: var(--primary-hsl);
}

.zone-tag.primary {
    background-color: var(--primary-hsl);
    color: white;
    border-color: var(--primary-hsl);
}

.zones-map {
    background-color: var(--gray-100);
    border-radius: var(--radius-lg);
    min-height: 350px;
    overflow: hidden;
    border: 2px dashed var(--gray-300);
}

.zones-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

@media (min-width: 1024px) {
    .zones-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-hsl);
    fill: var(--primary-hsl);
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-100);
    color: var(--primary-hsl);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-900);
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq {
    background-color: var(--gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-hsl);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-hsl);
    transition: transform 0.3s ease;
}

.faq-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-hsl) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (min-width: 768px) {
    .cta h2 {
        font-size: 2.25rem;
    }
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-50);
    color: var(--primary-hsl);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-method-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method-text p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.contact-method-text a {
    color: var(--primary-hsl);
    font-weight: 500;
}

.contact-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--gray-50);
    border-radius: 1rem;
}

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

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.hours-list li span:first-child {
    font-weight: 500;
    color: var(--gray-700);
}

.hours-list li span:last-child {
    color: var(--gray-600);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-hsl);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-row {
    display: grid;
    gap: 1.25rem;
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    accent-color: var(--primary-hsl);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary-hsl);
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary-hsl);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-contact-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-hsl);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-contact-item a {
    color: var(--gray-300);
}

.footer-contact-item a:hover {
    color: var(--primary-hsl);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8125rem;
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: white;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    padding: 1rem 0;
    background-color: var(--gray-50);
    margin-top: 70px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    color: var(--gray-400);
}

.breadcrumb-list a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: var(--primary-hsl);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--gray-700);
    font-weight: 500;
}

@media (min-width: 1024px) {
    .breadcrumb {
        margin-top: 80px;
    }
}

/* =====================================================
   PAGE HERO (Inner Pages)
   ===================================================== */
.page-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .page-hero {
        padding: 4rem 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

/* =====================================================
   EMERGENCY BANNER
   ===================================================== */
.emergency-banner {
    background-color: var(--primary-hsl);
    color: white;
    padding: 1rem 0;
}

.emergency-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.emergency-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.emergency-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.emergency-text h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.emergency-text p {
    font-size: 0.875rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .emergency-content {
        flex-direction: row;
        text-align: left;
    }
    
    .emergency-text {
        flex: 1;
    }
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-content {
    padding: 3rem 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-hsl);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section a {
    color: var(--primary-hsl);
    text-decoration: underline;
}

.legal-info-box {
    background-color: var(--gray-50);
    border-left: 4px solid var(--primary-hsl);
    padding: 1.25rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1rem 0;
}

.legal-info-box p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.legal-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-list li {
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    line-height: 1.7;
    list-style-type: disc;
}

.legal-list li::marker {
    color: var(--primary-hsl);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-primary {
    color: var(--primary-hsl);
}

.bg-gray {
    background-color: var(--gray-50);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    background-color: var(--gray-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    margin-top: 80px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--gray-400);
}

.breadcrumb-list a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--primary-hsl);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--gray-900);
    font-weight: 500;
}

/* =====================================================
   PAGE HERO
   ===================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white !important;
}

.page-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0;
    }
    
    .page-hero h1 {
        font-size: 1.875rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
}

/* =====================================================
   EMERGENCY BANNER
   ===================================================== */
.emergency-banner {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 1.5rem 0;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.emergency-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

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

.emergency-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.emergency-text p {
    font-size: 0.875rem;
    opacity: 0.9;
}

@media (max-width: 640px) {
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-50);
    color: var(--primary-hsl);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.contact-method-text p,
.contact-method-text a {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.contact-method-text a:hover {
    color: var(--primary-hsl);
}

.contact-hours h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9375rem;
}

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

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

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

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: #dc2626;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background-color: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-hsl);
    box-shadow: 0 0 0 3px rgba(234, 138, 41, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    accent-color: var(--primary-hsl);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--primary-hsl);
    text-decoration: underline;
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-content {
    padding: 3rem 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-hsl);
}

.legal-section h3 {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section a {
    color: var(--primary-hsl);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--primary-dark);
}

.legal-info-box {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1rem 0;
}

.legal-info-box p {
    margin-bottom: 0.5rem;
}

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

.legal-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background-color: var(--primary-hsl);
    border-radius: 50%;
}

/* =====================================================
   ZONES MAP PLACEHOLDER
   ===================================================== */
.zones-map {
    background-color: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1rem;
}

/* =====================================================
   WHATSAPP BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

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

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* =====================================================
   TESTIMONIAL STARS ONLY
   ===================================================== */
.stars-only {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
}

.stars-only .rating-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-right: 0.5rem;
}

.stars-only svg {
    width: 28px;
    height: 28px;
    fill: #fbbf24;
    stroke: #fbbf24;
}

/* =====================================================
   BG GRAY UTILITY
   ===================================================== */
.bg-gray {
    background-color: var(--gray-50);
}

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
    .header, .footer, .btn, .cta, .emergency-banner {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .container {
        max-width: 100%;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
