/* ═══════════════════════════════════════
   MUDANTIX - ESTILOS GLOBALES
   Mobile First Approach
   ═══════════════════════════════════════ */

:root {
    /* Paleta: Carbón + Crema + Naranja Terracota */
    --carbon: #1a1a1a;
    --carbon-soft: #2d2d2d;
    --cream: #f8f5f0;
    --cream-dark: #e8e4dd;
    --terracotta: #d4663a;
    --terracotta-dark: #b8522a;
    --terracotta-light: #f0845a;
    --slate: #5c5c5c;
    --white: #ffffff;
    
    /* Tipografía */
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;
    
    /* Espaciado - Mobile First */
    --section-padding: 3rem;
    --container-width: 1280px;
}

/* Tablet+ */
@media (min-width: 768px) {
    :root {
        --section-padding: 5rem;
    }
}

/* Desktop+ */
@media (min-width: 1024px) {
    :root {
        --section-padding: 6rem;
    }
}

/* Large Desktop */
@media (min-width: 1280px) {
    :root {
        --section-padding: 8rem;
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--carbon);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container - Mobile First */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

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

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   NAVEGACIÓN - Mobile First
═══════════════════════════════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.875rem 0;
    background: var(--cream);
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .nav {
        padding: 1rem 0;
    }
}

@media (min-width: 1024px) {
    .nav {
        padding: 1.25rem 0;
    }
}

.nav.scrolled {
    background: rgba(248, 245, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(232, 228, 221, 0.5);
}

@media (min-width: 768px) {
    .nav.scrolled {
        padding: 0.875rem 0;
    }
}

.nav.scrolled .logo-icon {
    transform: rotate(0deg) scale(0.9);
}

.nav.hide-nav {
    transform: translateY(-100%);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo - Mobile First */
.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--carbon);
    text-decoration: none !important;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.5rem;
        gap: 0.6rem;
    }
}

.logo:hover {
    text-decoration: none !important;
    color: var(--carbon);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 102, 58, 0.3);
}

@media (min-width: 768px) {
    .logo-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

.logo:hover .logo-icon { 
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(212, 102, 58, 0.4);
}

.logo-icon svg { 
    width: 20px; 
    height: 20px; 
    fill: var(--white); 
}

@media (min-width: 768px) {
    .logo-icon svg {
        width: 22px;
        height: 22px;
    }
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Nav Links - Hidden on mobile by default */
.nav-links {
    display: none;
    list-style: none;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 2rem;
    }
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--carbon);
    text-decoration: none !important;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .nav-links a {
        font-size: 0.9rem;
    }
}

.nav-links a:hover {
    color: var(--terracotta);
    text-decoration: none !important;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Dropdown Menu */
.nav-links .has-dropdown {
    position: relative;
}

.nav-links .has-dropdown > a::after {
    display: none;
}

.nav-links .has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-links .has-dropdown > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-links .has-dropdown:hover > a::before {
    width: 100%;
}

.nav-links .has-dropdown > a span.arrow {
    font-size: 0.6em;
    transition: transform 0.3s ease;
}

.nav-links .has-dropdown:hover > a span.arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 0.75rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1001;
    border: 1px solid var(--cream-dark);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-links .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    color: var(--carbon) !important;
    transition: all 0.2s ease;
}

.dropdown a:hover {
    background: var(--cream);
    color: var(--terracotta) !important;
    padding-left: 1.5rem;
}

.dropdown a::after {
    display: none !important;
}

/* Nav CTA - Mobile First */
.nav-cta {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: var(--carbon);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (min-width: 1200px) {
    .nav-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

.nav-cta:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
    text-decoration: none;
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

/* Mobile Toggle - Visible by default, hidden on desktop */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

@media (min-width: 1024px) {
    .mobile-toggle {
        display: none;
    }
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--carbon);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu - Full screen overlay */
.nav-links.mobile-menu-active {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #FAF8F5 !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    z-index: 9999;
    padding: 70px 1.5rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Nav fijo cuando el menú móvil está abierto */
body.menu-open .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: #FAF8F5 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 10000 !important;
    box-shadow: none !important;
}

.nav-links.mobile-menu-active > li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--cream-dark);
}

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

.nav-links.mobile-menu-active > li > a {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    color: var(--carbon);
}

.nav-links.mobile-menu-active > li > a:hover {
    color: var(--terracotta);
}

.nav-links.mobile-menu-active > li > a::after {
    display: none;
}

@media (min-width: 480px) {
    .nav-links.mobile-menu-active {
        padding: 90px 2rem 2rem;
    }
    
    .nav-links.mobile-menu-active > li > a {
        font-size: 1.2rem;
        padding: 1.25rem 0;
    }
}

.nav-links.mobile-menu-active .has-dropdown .dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    background: var(--white) !important;
    padding: 0.5rem 0;
    min-width: auto;
    display: none;
    border-radius: 12px;
    margin: 0 0 0.5rem 0;
    max-height: none !important;
}

.nav-links.mobile-menu-active .has-dropdown.open .dropdown {
    display: block;
    animation: dropdownFade 0.2s ease-out;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links.mobile-menu-active .has-dropdown .dropdown::before {
    display: none;
}

.nav-links.mobile-menu-active .has-dropdown .dropdown li {
    border-bottom: none;
}

.nav-links.mobile-menu-active .has-dropdown .dropdown a {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    color: var(--slate) !important;
    display: block;
    border-radius: 8px;
    margin: 0.25rem 0.5rem;
}

.nav-links.mobile-menu-active .has-dropdown .dropdown a:hover {
    color: var(--terracotta) !important;
    background: var(--cream);
}

/* Mobile CTA button in menu */
.nav-links.mobile-menu-active .mobile-menu-cta {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 280px;
}

/* Show mobile CTA item only when menu is active */
.nav-links.mobile-menu-active .mobile-menu-cta-item {
    display: block !important;
    width: 100%;
    max-width: 280px;
}

.nav-links.mobile-menu-active .mobile-menu-cta-item .btn {
    animation: pulse-animation 2s ease-in-out infinite;
}

html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100% !important;
}

/* Improve mobile toggle visibility */
.mobile-toggle {
    position: relative;
    z-index: 10001;
    background: transparent;
    border: none;
    padding: 0.75rem;
    margin: -0.75rem;
    cursor: pointer;
}

/* Asegurar que el toggle siempre sea visible */
body.menu-open .mobile-toggle {
    z-index: 10001;
}

/* ═══════════════════════════════════════
   BOTONES - Mobile First
═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    min-height: 48px; /* Touch target */
}

@media (min-width: 768px) {
    .btn {
        padding: 1rem 1.75rem;
        font-size: 0.95rem;
        gap: 0.625rem;
    }
}

@media (min-width: 1024px) {
    .btn {
        padding: 1.125rem 2rem;
        font-size: 1rem;
        gap: 0.75rem;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 102, 58, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 102, 58, 0.35);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--carbon);
    border: 2px solid var(--carbon);
}

.btn-secondary:hover {
    background: var(--carbon);
    color: var(--white);
    text-decoration: none;
}

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

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--terracotta);
    border-color: var(--white);
    text-decoration: none;
}

.btn-block { width: 100%; justify-content: center; }
.btn-large { padding: 1.25rem 2.5rem; font-size: 1.1rem; }

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════
   SECCIONES
═══════════════════════════════════════ */
/* Section Header - Mobile First */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .section-header {
        margin: 0 auto 3rem;
    }
}

@media (min-width: 1024px) {
    .section-header {
        margin: 0 auto 4rem;
    }
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--terracotta);
    opacity: 0.5;
}

/* Section Title - Mobile First */
.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

@media (min-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--slate);
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* ═══════════════════════════════════════
   SERVICE HERO
═══════════════════════════════════════ */
/* Hero Sections - Mobile First */
.service-hero,
.local-hero,
.quote-hero,
.contact-hero,
.about-hero,
.faq-hero,
.legal-hero {
    padding: 100px 0 50px;
    background: var(--carbon);
    color: var(--white);
    position: relative;
}

@media (min-width: 768px) {
    .service-hero,
    .local-hero,
    .quote-hero,
    .contact-hero,
    .about-hero,
    .faq-hero,
    .legal-hero {
        padding: 130px 0 60px;
    }
}

@media (min-width: 1024px) {
    .service-hero,
    .local-hero,
    .quote-hero,
    .contact-hero,
    .about-hero,
    .faq-hero,
    .legal-hero {
        padding: 160px 0 80px;
    }
}

.service-hero-bg,
.local-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--carbon) 0%, var(--carbon-soft) 100%);
    z-index: 0;
}

.service-hero-bg::after,
.local-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
    opacity: 0.1;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

/* Breadcrumb - Mobile First */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .breadcrumb {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

.service-hero-content,
.local-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

/* Hero Titles - Mobile First */
.service-hero h1,
.local-hero h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

@media (min-width: 480px) {
    .service-hero h1,
    .local-hero h1 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .service-hero h1,
    .local-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .service-hero h1,
    .local-hero h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .service-hero h1,
    .local-hero h1 {
        font-size: 3.5rem;
    }
}

.service-hero h1 span,
.local-hero h1 span {
    color: var(--terracotta-light);
}

/* Hero Lead Text - Mobile First */
.service-hero-lead,
.local-hero-lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .service-hero-lead,
    .local-hero-lead {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .service-hero-lead,
    .local-hero-lead {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
}

/* Hero Actions - Mobile First */
.service-hero-actions,
.local-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 480px) {
    .service-hero-actions,
    .local-hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        width: auto;
    }
}

.service-hero-actions .btn,
.local-hero-actions .btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .service-hero-actions .btn,
    .local-hero-actions .btn {
        width: auto;
    }
}

/* Botones en hero oscuro - colores claros */
.service-hero-actions .btn-secondary,
.local-hero-actions .btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}

.service-hero-actions .btn-secondary:hover,
.local-hero-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--carbon);
    border-color: var(--white);
}

.service-hero-actions .btn-secondary svg,
.local-hero-actions .btn-secondary svg {
    fill: currentColor;
}

/* Local Hero Features - Mobile First */
.local-hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .local-hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .local-hero-features {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {
    .local-hero-features {
        gap: 2rem;
    }
}

.local-hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
}

.local-hero-features .feature svg {
    width: 20px;
    height: 20px;
    fill: var(--terracotta-light);
}

.local-badge {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════
   SERVICE TYPES
═══════════════════════════════════════ */
.service-types,
.service-includes,
.service-zones,
.service-pricing,
.service-faq,
.service-process,
.service-situations {
    padding: var(--section-padding) 0;
}

.alt-bg { background: var(--white); }

/* Types Grid - Mobile First */
.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

.types-grid--4 {
    grid-template-columns: 1fr;
}

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

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

/* Type Card - Mobile First */
.type-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    border: 1px solid var(--cream-dark);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@media (min-width: 768px) {
    .type-card {
        border-radius: 20px;
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .type-card {
        padding: 2.5rem;
    }
}

.type-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 102, 58, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.type-card.featured {
    border-color: var(--terracotta);
    box-shadow: 0 10px 40px rgba(212, 102, 58, 0.15);
}

.type-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-color: var(--terracotta);
}

.type-card:hover::after {
    opacity: 1;
}

.type-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--terracotta);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Type Icon - Mobile First */
.type-icon {
    width: 48px;
    height: 48px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .type-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .type-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }
}

.type-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--terracotta);
}

.type-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.type-card p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.type-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.type-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--slate);
}

.type-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    font-weight: bold;
}

.type-link {
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.type-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   INCLUDES SECTION
═══════════════════════════════════════ */
/* Includes Grid - Mobile First */
.includes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .includes-grid {
        gap: 3rem;
    }
}

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

/* Includes Content - Mobile First */
.includes-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .includes-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .includes-content h2 {
        font-size: 2rem;
    }
}

.includes-content > p {
    color: var(--slate);
    margin-bottom: 2rem;
}

.includes-list {
    display: grid;
    gap: 1.25rem;
}

.include-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.include-icon {
    width: 32px;
    height: 32px;
    background: var(--terracotta);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.include-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.include-item h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.include-item p {
    font-size: 0.9rem;
    color: var(--slate);
}

.includes-visual { position: relative; }

.includes-image {
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
}

.image-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--carbon-soft), var(--carbon));
}

.image-placeholder.large { height: 450px; }

/* Includes Stats - Mobile First */
.includes-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 480px) {
    .includes-stats {
        flex-direction: row;
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

.stat-box {
    background: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Stat Box Number - Mobile First */
.stat-box .stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--terracotta);
    display: block;
}

@media (min-width: 768px) {
    .stat-box .stat-number {
        font-size: 2rem;
    }
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: var(--slate);
}

/* ═══════════════════════════════════════
   ZONES
═══════════════════════════════════════ */
/* Zones Grid - Mobile First */
.zones-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .zones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 768px) {
    .zones-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

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

/* Zone Card - Mobile First */
.zone-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--carbon);
    border: 1px solid var(--cream-dark);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .zone-card {
        border-radius: 20px;
        padding: 2rem;
    }
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 102, 58, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.zone-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    border-color: var(--terracotta);
    text-decoration: none;
}

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

.zone-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.zone-card p {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 1rem;
}

.zone-link {
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
/* Pricing Grid - Mobile First */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

/* Pricing Card - Mobile First */
.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--cream-dark);
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .pricing-card {
        border-radius: 20px;
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .pricing-card {
        padding: 2.5rem;
    }
}

.pricing-card.featured {
    border-color: var(--terracotta);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 102, 58, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--terracotta);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-header p {
    color: var(--slate);
    font-size: 0.9rem;
}

.pricing-price {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}

.pricing-price .from {
    font-size: 0.9rem;
    color: var(--slate);
    display: block;
}

/* Pricing Amount - Mobile First */
.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--terracotta);
}

@media (min-width: 768px) {
    .pricing-price .amount {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .pricing-price .amount {
        font-size: 3rem;
    }
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--slate);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terracotta);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: var(--slate);
}

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
/* FAQ Grid - Mobile First */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

/* FAQ Item - Mobile First */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--cream-dark);
}

@media (min-width: 768px) {
    .faq-item {
        border-radius: 16px;
        padding: 1.5rem 2rem;
    }
}

.faq-item h3,
.faq-item summary {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.7;
}

.faq-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-item ul li {
    margin-bottom: 0.5rem;
    color: var(--slate);
}

details.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--terracotta);
}

details.faq-item[open] summary::after {
    content: '−';
}

.faq-categories {
    display: grid;
    gap: 3rem;
}

.faq-category h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: grid;
    gap: 1rem;
}

/* FAQ Contact - Mobile First */
.faq-contact {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
}

@media (min-width: 768px) {
    .faq-contact {
        margin-top: 3rem;
        padding: 2.5rem;
        border-radius: 20px;
    }
}

@media (min-width: 1024px) {
    .faq-contact {
        margin-top: 4rem;
        padding: 3rem;
    }
}

.faq-contact h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.faq-contact p {
    color: var(--slate);
    margin-bottom: 1.5rem;
}

/* FAQ Contact Buttons - Mobile First */
.faq-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

@media (min-width: 480px) {
    .faq-contact-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
}

.faq-contact-buttons .btn {
    width: 100%;
    max-width: 280px;
}

@media (min-width: 480px) {
    .faq-contact-buttons .btn {
        width: auto;
        max-width: none;
    }
}

/* ═══════════════════════════════════════
   PROCESS
═══════════════════════════════════════ */
/* Process Timeline - Mobile First */
.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

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

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

.process-timeline::before {
    display: none;
}

@media (min-width: 1024px) {
    .process-timeline::before {
        content: '';
        display: block;
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(to right, var(--terracotta), var(--cream-dark));
    }
}

.process-step {
    text-align: center;
    position: relative;
}

/* Step Number - Mobile First */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid var(--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--terracotta);
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
        margin: 0 auto 1.25rem;
    }
}

@media (min-width: 1024px) {
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.75rem;
        margin: 0 auto 1.5rem;
    }
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px dashed var(--terracotta);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    animation: none;
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
    transform: scale(1.15);
    box-shadow: 0 15px 40px rgba(212, 102, 58, 0.3);
}

.process-step:hover .step-number::before {
    opacity: 0.5;
    animation: rotateSlow 10s linear infinite;
}

/* Process Step Title - Mobile First */
.process-step h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .process-step h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .process-step h4 {
        font-size: 1.25rem;
    }
}

.process-step:hover h4 {
    color: var(--terracotta);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--slate);
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════
   SITUATIONS
═══════════════════════════════════════ */
/* Situations Grid - Mobile First */
.situations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

.situation-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--cream-dark);
    transition: all 0.3s ease;
}

.situation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.situation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.situation-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.situation-card p {
    font-size: 0.9rem;
    color: var(--slate);
}

/* ═══════════════════════════════════════
   LOCAL CONTENT
═══════════════════════════════════════ */
.local-content {
    padding: var(--section-padding) 0;
}

/* Local Content Grid - Mobile First */
.local-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .local-content-grid {
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .local-content-grid {
        grid-template-columns: 1fr 320px;
        gap: 3rem;
    }
}

@media (min-width: 1200px) {
    .local-content-grid {
        grid-template-columns: 1fr 350px;
        gap: 4rem;
    }
}

/* Local Main - Mobile First */
.local-main h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .local-main h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .local-main h2 {
        font-size: 2rem;
    }
}

.local-main h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .local-main h3 {
        font-size: 1.3rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .local-main h3 {
        font-size: 1.4rem;
    }
}

.local-main p {
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.local-main ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.local-main ul li {
    margin-bottom: 0.5rem;
    color: var(--slate);
}

.local-benefits li {
    margin-bottom: 0.75rem;
}

/* Local Areas - Mobile First */
.local-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

@media (min-width: 768px) {
    .local-areas {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
}

.local-areas span {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--carbon);
    border: 1px solid rgba(212, 102, 58, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

@media (min-width: 768px) {
    .local-areas span {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

.local-areas span::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.local-areas span:hover {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 102, 58, 0.25);
    border-color: transparent;
}

.local-areas span:hover::before {
    content: '\f00c';
    opacity: 1;
}

/* Variante destacada para barrios principales */
.local-areas span.pill-highlight {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: var(--white);
    font-weight: 600;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(212, 102, 58, 0.2);
}

.local-areas span.pill-highlight::before {
    content: '\f005';
    opacity: 1;
}

.local-areas span.pill-highlight:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(212, 102, 58, 0.35);
}

/* Sidebar */
.local-sidebar,
.quote-sidebar {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

/* Sidebar Card - Mobile First */
.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--cream-dark);
}

@media (min-width: 768px) {
    .sidebar-card {
        border-radius: 16px;
        padding: 1.5rem;
    }
}

.sidebar-card h4 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sidebar-card p {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 1rem;
}

/* Sidebar Phone - Mobile First */
.sidebar-phone {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
    text-decoration: none;
}

@media (min-width: 768px) {
    .sidebar-phone {
        font-size: 1.75rem;
    }
}

.sidebar-whatsapp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    justify-content: center;
}

.sidebar-whatsapp:hover {
    background: #128C7E;
    text-decoration: none;
}

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

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

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

.sidebar-links a {
    color: var(--carbon);
    font-size: 0.9rem;
}

.sidebar-links a:hover {
    color: var(--terracotta);
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.guarantee-list {
    list-style: none;
}

.guarantee-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.guarantee-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--terracotta);
}

/* ═══════════════════════════════════════
   QUOTE FORM
═══════════════════════════════════════ */
.quote-hero {
    padding: 160px 0 60px;
    background: var(--carbon);
    color: var(--white);
    text-align: center;
}

.quote-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.quote-hero h1 span {
    color: var(--terracotta-light);
}

.quote-hero p {
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto;
}

.quote-form-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

/* Quote Grid - Mobile First */
.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

/* Quote Form Wrapper - Mobile First */
.quote-form-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 50px rgba(0,0,0,0.05);
}

@media (min-width: 640px) {
    .quote-form-wrapper {
        padding: 2rem;
        border-radius: 20px;
    }
}

@media (min-width: 1024px) {
    .quote-form-wrapper {
        padding: 3rem;
        border-radius: 24px;
    }
}

.quote-form .form-section {
    margin-bottom: 2.5rem;
}

.quote-form .form-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cream);
}

/* Service Selector - Mobile First */
.service-selector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .service-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.service-option input {
    display: none;
}

.service-option .option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 2px solid var(--cream-dark);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option input:checked + .option-card {
    border-color: var(--terracotta);
    background: rgba(212, 102, 58, 0.05);
}

.service-option .option-card svg {
    width: 32px;
    height: 32px;
    fill: var(--slate);
    transition: fill 0.3s ease;
}

.service-option input:checked + .option-card svg {
    fill: var(--terracotta);
}

.service-option .option-card strong {
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   FORMS
═══════════════════════════════════════ */
/* Form Row - Mobile First */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--cream-dark);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

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

.checkbox-group {
    margin-top: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input {
    width: auto;
    margin-top: 3px;
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-hero {
    padding: 160px 0 60px;
    background: var(--carbon);
    color: var(--white);
}

.contact-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-hero h1 span {
    color: var(--terracotta-light);
}

.contact-hero p {
    color: rgba(255,255,255,0.7);
    max-width: 500px;
}

.contact-section {
    padding: var(--section-padding) 0;
}

/* Contact Grid - Mobile First */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        gap: 2.5rem;
    }
}

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

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

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    border: 1px solid var(--cream-dark);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--terracotta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-card a {
    color: var(--terracotta);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--slate);
}

/* Contact Form Wrapper - Mobile First */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 50px rgba(0,0,0,0.05);
}

@media (min-width: 640px) {
    .contact-form-wrapper {
        padding: 2rem;
        border-radius: 20px;
    }
}

@media (min-width: 1024px) {
    .contact-form-wrapper {
        padding: 3rem;
        border-radius: 24px;
    }
}

.contact-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-cta {
    padding: 0 0 var(--section-padding);
}

/* CTA Box - Mobile First */
.cta-box {
    background: var(--carbon);
    color: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-box {
        border-radius: 20px;
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .cta-box {
        border-radius: 24px;
        padding: 3rem;
    }
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.about-hero {
    padding: 160px 0 60px;
    background: var(--carbon);
    color: var(--white);
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-hero h1 span {
    color: var(--terracotta-light);
}

.about-hero p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
}

.about-intro {
    padding: var(--section-padding) 0;
}

/* About Intro Grid - Mobile First */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-intro-grid {
        gap: 3rem;
    }
}

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

/* About Intro Content - Mobile First */
.about-intro-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .about-intro-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .about-intro-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

.about-intro-content p {
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    background: var(--cream);
    border-radius: 24px;
    overflow: hidden;
}

.about-values {
    padding: var(--section-padding) 0;
    background: var(--white);
}

/* Values Grid - Mobile First */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

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

/* Value Card - Mobile First */
.value-card {
    text-align: center;
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .value-card {
        padding: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .value-card {
        padding: 2rem;
    }
}

.value-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    .value-icon {
        font-size: 3rem;
    }
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--slate);
}

.about-numbers {
    padding: var(--section-padding) 0;
    background: var(--terracotta);
    color: var(--white);
}

/* Numbers Grid - Mobile First */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

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

.number-item .number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.number-item .label {
    font-size: 1rem;
    opacity: 0.9;
}

.about-team {
    padding: var(--section-padding) 0;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-content p {
    color: var(--slate);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════ */
.legal-hero {
    padding: 160px 0 60px;
    background: var(--carbon);
    color: var(--white);
}

.legal-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal-hero p {
    color: rgba(255,255,255,0.6);
}

.legal-content {
    padding: var(--section-padding) 0;
}

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

.legal-text h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-text h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text p {
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.legal-text ul li {
    margin-bottom: 0.5rem;
    color: var(--slate);
}

.legal-note {
    background: #fef3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    color: #856404;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cookies-table th,
.cookies-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--cream-dark);
}

.cookies-table th {
    background: var(--cream);
    font-weight: 600;
}

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: float-slow 15s ease-in-out infinite;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    animation: float-slow 20s ease-in-out infinite reverse;
}

/* Animated gradient border for CTA */
.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* CTA Titles - Mobile First */
.cta h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.75rem;
}

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

@media (min-width: 768px) {
    .cta h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

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

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

.cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

@media (min-width: 768px) {
    .cta p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }
}

@media (min-width: 1024px) {
    .cta p {
        font-size: 1.2rem;
    }
}

/* CTA Buttons - Mobile First */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        width: auto;
    }
}

.cta-buttons .btn {
    width: 100%;
    max-width: 280px;
}

@media (min-width: 480px) {
    .cta-buttons .btn {
        width: auto;
        max-width: none;
    }
}

.cta-phone {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--white);
}

.cta-phone svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* CTA Phone - Mobile First */
.cta-phone a {
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-decoration: none;
}

@media (min-width: 768px) {
    .cta-phone a {
        font-size: 1.5rem;
    }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
/* Footer - Mobile First */
.footer {
    background: var(--carbon);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 5rem 0 2rem;
    }
}

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

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 102, 58, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Footer Grid - Mobile First */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta-light);
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: var(--terracotta-light);
    transform: translateX(5px);
}

.footer-column a:hover::after {
    width: 100%;
}

/* Footer Bottom - Mobile First */
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding-top: 2rem;
    }
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Footer Legal - Mobile First */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-legal {
        gap: 2rem;
    }
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.85rem;
}

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

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* Advanced Animations */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    75% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(212, 102, 58, 0); }
    50% { text-shadow: 0 0 30px rgba(212, 102, 58, 0.3); }
}

@keyframes scale-in {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slide-in-left {
    0% { transform: translateX(-60px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
    0% { transform: translateX(60px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Parallax */
.parallax-layer {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Magnetic Hover Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glow Effect */
.glow-hover {
    position: relative;
}

.glow-hover::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--terracotta), var(--terracotta-light), var(--terracotta));
    background-size: 200% 200%;
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(15px);
}

.glow-hover:hover::before {
    opacity: 0.6;
    animation: gradient-shift 3s ease infinite;
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: text-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes text-reveal {
    to { transform: translateY(0); }
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-children.active > *:nth-child(1) { animation: stagger-in 0.6s 0.1s forwards; }
.stagger-children.active > *:nth-child(2) { animation: stagger-in 0.6s 0.2s forwards; }
.stagger-children.active > *:nth-child(3) { animation: stagger-in 0.6s 0.3s forwards; }
.stagger-children.active > *:nth-child(4) { animation: stagger-in 0.6s 0.4s forwards; }
.stagger-children.active > *:nth-child(5) { animation: stagger-in 0.6s 0.5s forwards; }
.stagger-children.active > *:nth-child(6) { animation: stagger-in 0.6s 0.6s forwards; }

@keyframes stagger-in {
    to { opacity: 1; transform: translateY(0); }
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 102, 58, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ═══════════════════════════════════════
   AUTO ANIMATIONS (No hover required)
═══════════════════════════════════════ */

/* Floating animation for elements */
.float-animation {
    animation: autoFloat 6s ease-in-out infinite;
}

@keyframes autoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Pulse animation for CTAs */
.pulse-animation {
    animation: autoPulse 2s ease-in-out infinite;
}

@keyframes autoPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(212, 102, 58, 0.3); }
    50% { box-shadow: 0 8px 30px rgba(212, 102, 58, 0.5); }
}

/* Glow animation for highlights */
.glow-animation {
    animation: autoGlow 3s ease-in-out infinite;
}

@keyframes autoGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(212, 102, 58, 0.3)); }
    50% { filter: drop-shadow(0 0 25px rgba(212, 102, 58, 0.6)); }
}

/* Slide in from left */
.slide-in-left {
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Slide in from right */
.slide-in-right {
    animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Scale in */
.scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ═══════════════════════════════════════
   CONVERSION ELEMENTS
═══════════════════════════════════════ */

/* Trust Badges - Mobile First */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

@media (min-width: 480px) {
    .trust-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .trust-badges {
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 480px) {
    .trust-badge {
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
    .trust-badge {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--terracotta-light);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .trust-badge svg {
        width: 18px;
        height: 18px;
    }
}

.trust-badge--dark {
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    color: var(--carbon);
}

.trust-badge--dark svg {
    fill: var(--terracotta);
}

/* Urgency banner */
.urgency-banner {
    background: linear-gradient(90deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmerUrgency 3s infinite;
}

@keyframes shimmerUrgency {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Social Proof - Mobile First */
.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--cream-dark);
}

@media (min-width: 480px) {
    .social-proof {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1rem 1.5rem;
        border-radius: 16px;
    }
}

.social-proof-avatars {
    display: flex;
}

.social-proof-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--terracotta);
}

.social-proof-avatar:first-child {
    margin-left: 0;
}

.social-proof-text {
    font-size: 0.9rem;
}

.social-proof-text strong {
    color: var(--terracotta);
}

/* Floating WhatsApp Button - Mobile First */
/* Contenedor de botones flotantes */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

@media (min-width: 768px) {
    .floating-buttons {
        bottom: 30px;
        right: 30px;
        gap: 16px;
    }
}

/* Botón flotante base */
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

@media (min-width: 768px) {
    .float-btn {
        width: 64px;
        height: 64px;
    }
}

.float-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

@media (min-width: 768px) {
    .float-btn svg {
        width: 32px;
        height: 32px;
    }
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    text-decoration: none;
}

/* WhatsApp flotante */
.whatsapp-float {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* Teléfono flotante */
.phone-float {
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    box-shadow: 0 8px 25px rgba(212, 102, 58, 0.45);
    animation: phonePulse 2.5s ease-in-out infinite 0.5s;
}

.phone-float:hover {
    box-shadow: 0 12px 35px rgba(212, 102, 58, 0.6);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.65), 0 0 0 12px rgba(37, 211, 102, 0.12); }
}

@keyframes phonePulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(212, 102, 58, 0.45); }
    50% { box-shadow: 0 8px 35px rgba(212, 102, 58, 0.65), 0 0 0 12px rgba(212, 102, 58, 0.12); }
}

/* Tooltip en hover */
.float-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 100%;
    margin-right: 12px;
    padding: 8px 14px;
    background: var(--carbon);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.float-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Ocultar tooltip en móvil */
@media (max-width: 768px) {
    .float-btn::before {
        display: none;
    }
}

/* Botón Scroll to Top - Izquierda */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--carbon);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
    .back-to-top {
        bottom: 30px;
        left: 30px;
        width: 56px;
        height: 56px;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--terracotta);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 102, 58, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 768px) {
    .back-to-top svg {
        width: 28px;
        height: 28px;
    }
}

/* Hero with real image */
.hero-image-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* Service Hero Enhanced - Mobile First */
.service-hero-enhanced {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 60px;
}

@media (min-width: 768px) {
    .service-hero-enhanced {
        min-height: 70vh;
        padding: 130px 0 80px;
    }
}

@media (min-width: 1024px) {
    .service-hero-enhanced {
        padding: 160px 0 80px;
    }
}

.service-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

/* Hero Image Overlay - Mobile First */
.service-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.75) 50%, rgba(26, 26, 26, 0.6) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .service-hero-image::before {
        background: linear-gradient(90deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.8) 40%, rgba(26, 26, 26, 0.5) 70%, rgba(26, 26, 26, 0.3) 100%);
    }
}

/* Image with overlay gradient */
.image-with-overlay {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.image-with-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-with-overlay:hover img {
    transform: scale(1.05);
}

.image-with-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, 0.6) 100%);
}

/* Stats Bar - Mobile First */
.stats-bar {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-top: -40px;
    position: relative;
    z-index: 10;
    gap: 1rem;
}

@media (min-width: 640px) {
    .stats-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 1.5rem;
        border-radius: 20px;
        margin-top: -50px;
    }
}

@media (min-width: 1024px) {
    .stats-bar {
        padding: 2rem;
        margin-top: -60px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    }
}

.stats-bar-item {
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.stats-bar-item:last-child {
    border-bottom: none;
}

@media (min-width: 640px) {
    .stats-bar-item {
        border-bottom: none;
        border-right: 1px solid var(--cream-dark);
        padding: 0 1.5rem;
        flex: 1;
    }
    
    .stats-bar-item:last-child {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    .stats-bar-item {
        padding: 0 2rem;
    }
}

.stats-bar-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--terracotta);
    line-height: 1;
}

@media (min-width: 768px) {
    .stats-bar-number {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .stats-bar-number {
        font-size: 2.5rem;
    }
}

.stats-bar-label {
    font-size: 0.8rem;
    color: var(--slate);
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .stats-bar-label {
        font-size: 0.9rem;
    }
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(212, 102, 58, 0.1) 0%, rgba(240, 132, 90, 0.05) 100%);
    border: 1px solid rgba(212, 102, 58, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: var(--terracotta);
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Animated border */
.animated-border {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
}

.animated-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--terracotta), var(--terracotta-light), var(--cream), var(--terracotta));
    background-size: 400% 400%;
    border-radius: 22px;
    z-index: -1;
    animation: borderGradient 8s linear infinite;
}

@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Conversion elements responsive handled by mobile-first above */

/* ═══════════════════════════════════════
   RESPONSIVE HELPERS - Mobile First already applied above
═══════════════════════════════════════ */

/* Pricing Featured Card - Remove transform on small screens */
.pricing-card.featured {
    transform: none;
}

@media (min-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1.05);
    }
}

/* Mobile-specific adjustments (already handled by mobile-first above) */
/* Additional mobile tweaks */

/* Form inputs - prevent zoom on iOS */
.form-group input,
.form-group select,
.form-group textarea {
    font-size: 16px;
}

@media (min-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
    }
}

/* Sidebar order on mobile */
.local-sidebar,
.quote-sidebar {
    order: -1;
}

@media (min-width: 1024px) {
    .local-sidebar,
    .quote-sidebar {
        order: 0;
    }
}

/* Contact card mobile layout */
.contact-card {
    flex-direction: column;
    text-align: center;
}

.contact-icon {
    margin: 0 auto;
}

@media (min-width: 640px) {
    .contact-card {
        flex-direction: row;
        text-align: left;
    }
    
    .contact-icon {
        margin: 0;
    }
}

/* Number items mobile sizing */
.number-item .number {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .number-item .number {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .number-item .number {
        font-size: 4rem;
    }
}

/* Reduced animations on mobile */
@media (max-width: 768px) {
    .float-animation {
        animation: none;
    }
    
    .type-card:hover,
    .zone-card:hover {
        transform: translateY(-5px);
    }
}

/* ═══════════════════════════════════════
   EXTRA SMALL ADJUSTMENTS (under 375px)
═══════════════════════════════════════ */
@media (max-width: 375px) {
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Tablet landscape adjustments already handled by mobile-first breakpoints */

/* ═══════════════════════════════════════
   LANDSCAPE MODE PHONES
═══════════════════════════════════════ */
@media (max-width: 896px) and (orientation: landscape) {
    .service-hero,
    .local-hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .service-hero-enhanced {
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .trust-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* ═══════════════════════════════════════
   RETINA & HIGH DPI DISPLAYS
═══════════════════════════════════════ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-hero-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ═══════════════════════════════════════
   TOUCH DEVICES - IMPROVED INTERACTIONS
═══════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .type-card:hover,
    .zone-card:hover,
    .pricing-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 48px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
    }
    
    .sidebar-whatsapp {
        min-height: 48px;
    }
}

/* ═══════════════════════════════════════
   PREFERS REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .float-animation,
    .pulse-animation,
    .glow-animation {
        animation: none;
    }
}

/* Mobile menu styles handled by mobile-first .mobile-menu-active class above */

/* ═══════════════════════════════════════
   VIEWPORT HEIGHT VARIABLE (for mobile browsers)
═══════════════════════════════════════ */
.service-hero-enhanced,
.local-hero,
.service-hero {
    min-height: calc(var(--vh, 1vh) * 80);
}

@media (min-width: 768px) {
    .service-hero-enhanced,
    .local-hero,
    .service-hero {
        min-height: calc(var(--vh, 1vh) * 70);
    }
}


