/* ==========================================================================
   REFORMAS DAVICAT - HOJA DE ESTILOS PROFESIONAL DEFINITIVA
   Arquitectura moderna, paleta refinada, accesible y optimizada
   ========================================================================== */

/* --- FUENTES (alojadas en la propia web, subconjunto latino) --- */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/assets/fonts/plus-jakarta-sans-latin-wght.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-wght.woff2') format('woff2');
}

/* --- DESIGN TOKENS --- */
:root {
    --clr-navy-950: #070d1e;
    --clr-navy-900: #0c152e;
    --clr-navy-850: #111d3f;
    --clr-navy-800: #172554;
    --clr-navy-700: #1e293b;
    --clr-navy-600: #334155;
    
    /* Acentos de construcción y reformas: Azul técnico y Bronce/Dorado arquitectónico */
    --clr-primary-600: #0284c7;
    --clr-primary-700: #0369a1;
    --clr-primary-50: #f0f9ff;
    
    --clr-accent-gold: #d97706;
    --clr-accent-gold-hover: #b45309;
    --clr-accent-gold-light: #fef3c7;
    --clr-whatsapp: #25d366;
    --clr-whatsapp-hover: #1eb956;
    
    --clr-bg-main: #ffffff;
    --clr-bg-alt: #f8fafc;
    --clr-bg-subtle: #f1f5f9;
    
    --clr-border: #e2e8f0;
    --clr-border-dark: #334155;
    
    --clr-text-main: #0f172a;
    --clr-text-muted: #475569;
    --clr-text-light: #64748b;
    --clr-text-white: #ffffff;
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --container-max: 1240px;
    --header-height: 74px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    
    --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 15px 35px rgba(2, 132, 199, 0.25);
    
    --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--header-height);
    background-color: var(--clr-bg-main);
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* clip (no hidden) para que la cabecera sticky siga funcionando */
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
    padding-bottom: 0;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
}

:focus-visible {
    outline: 2px solid var(--clr-primary-600);
    outline-offset: 3px;
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 5rem 0;
    contain: layout style;
}

.section-alt {
    background-color: var(--clr-bg-alt);
}

.section-dark {
    background: linear-gradient(135deg, var(--clr-navy-950) 0%, var(--clr-navy-900) 100%);
    color: #ffffff;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.95rem;
    background: var(--clr-primary-50);
    color: var(--clr-primary-600);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

.section-tag.dark {
    background: rgba(2, 132, 199, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.25);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    font-weight: 800;
    color: var(--clr-navy-900);
    line-height: 1.2;
    margin-bottom: 0.85rem;
    letter-spacing: -0.025em;
}

.section-dark .section-title {
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.section-dark .section-subtitle {
    color: #cbd5e1;
}

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

/* --- BOTONES MODERNOS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-primary-600);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
    background-color: var(--clr-primary-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

.btn-accent {
    background: linear-gradient(135deg, var(--clr-accent-gold) 0%, #b45309 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.45);
}

.btn-whatsapp {
    background-color: var(--clr-whatsapp);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background-color: var(--clr-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--clr-navy-700);
    color: var(--clr-navy-700);
}

.btn-outline:hover {
    background: var(--clr-navy-700);
    color: #ffffff;
}

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

.btn-outline-white:hover {
    background: #ffffff;
    color: var(--clr-navy-950);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* --- 1. HEADER & NAVEGACIÓN --- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.22rem;
    color: var(--clr-navy-950);
    letter-spacing: -0.02em;
}

.logo-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--clr-navy-900) 0%, var(--clr-navy-800) 100%);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--clr-text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--clr-navy-700);
    transition: color var(--transition);
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--clr-primary-600);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-primary-600);
}

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

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

.header-phone-btn {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: var(--clr-primary-50);
    color: var(--clr-primary-600);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(2, 132, 199, 0.25);
    white-space: nowrap;
    transition: all var(--transition);
}

.header-phone-btn:hover {
    background: var(--clr-primary-600);
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    transition: background-color var(--transition);
}

.mobile-toggle:hover {
    background: #e2e8f0;
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background-color: var(--clr-navy-950);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.open .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- 2. HERO / PORTADA --- */
.hero {
    padding: 4rem 0 5rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4.8vw, 3.4rem);
    font-weight: 800;
    color: var(--clr-navy-950);
    line-height: 1.15;
    margin-bottom: 1.15rem;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    color: var(--clr-primary-600);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
    margin-bottom: 1.85rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-highlights {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clr-border);
}

.highlight-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-navy-700);
}

.highlight-chip svg {
    color: var(--clr-primary-600);
    flex-shrink: 0;
}

.hero-slider-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 4px solid #ffffff;
    background: var(--clr-navy-950);
    height: 480px;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.04);
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.75rem 1.5rem 1.75rem;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 13, 30, 0.95) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 2;
}

.hero-slide-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    width: fit-content;
}

.hero-slide-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    color: var(--clr-navy-950);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-slider-btn:hover {
    background: #ffffff;
    color: var(--clr-primary-600);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-btn.prev {
    left: 14px;
}

.hero-slider-btn.next {
    right: 14px;
}

.hero-slider-dots {
    position: absolute;
    bottom: 16px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    width: 24px;
    background: #f59e0b;
}

/* --- 3. SECCIÓN DE SERVICIOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}

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

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--clr-primary-50);
    color: var(--clr-primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-navy-950);
    margin-bottom: 0.6rem;
}

.service-desc {
    font-size: 0.925rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-action-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-primary-600);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    transition: gap var(--transition);
}

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

/* --- 4. GALERÍA DE TRABAJOS --- */
.gallery-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover {
    background: var(--clr-primary-50);
    color: var(--clr-primary-600);
    border-color: rgba(2, 132, 199, 0.3);
}

.filter-btn.active {
    background: var(--clr-navy-950);
    color: #ffffff;
    border-color: var(--clr-navy-950);
    box-shadow: 0 4px 12px rgba(12, 21, 46, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.75rem;
}

.gallery-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--clr-primary-600);
}

.gallery-thumb-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--clr-navy-950);
    overflow: hidden;
}

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

.gallery-item:hover .gallery-thumb-wrap img {
    transform: scale(1.06);
}

.gallery-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(7, 13, 30, 0.85);
    backdrop-filter: blur(6px);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}

.gallery-expand-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-navy-950);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-expand-icon {
    opacity: 1;
    transform: scale(1);
}

.gallery-body {
    padding: 1.4rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-navy-950);
    margin-bottom: 0.45rem;
}

.gallery-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.gallery-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-primary-600);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

.gallery-item[hidden] {
    display: none;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--clr-bg-alt);
    border-radius: var(--radius-md);
    color: var(--clr-text-muted);
}

/* --- 5. VÍDEO PRINCIPAL --- */
.video-section-box {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    background: var(--clr-navy-950);
    aspect-ratio: 16 / 9;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.video-poster-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.video-poster-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-tint {
    position: absolute;
    inset: 0;
    background: rgba(7, 13, 30, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay-tint:hover {
    background: rgba(7, 13, 30, 0.3);
}

.video-play-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--clr-primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: playPulse 2s infinite;
    margin-bottom: 1.25rem;
    transition: transform 0.25s ease;
}

.video-overlay-tint:hover .video-play-pulse {
    transform: scale(1.1);
}

@keyframes playPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 22px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.video-play-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.video-play-sub {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.video-player-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000000;
    object-fit: contain;
}

/* --- 6. SOBRE NOSOTROS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-img-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: #f1f5f9;
    border: 4px solid #ffffff;
}

.about-img-box img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--clr-navy-700);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0;
}

.about-pillar-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-subtle);
}

.about-pillar-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-navy-950);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.about-pillar-title svg {
    color: var(--clr-accent-gold);
}

.about-pillar-desc {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

/* --- 7. ZONA DE TRABAJO --- */
.location-box {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    box-shadow: var(--shadow-card);
}

.location-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.5rem 0;
}

.location-badge-item {
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-navy-700);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.map-placeholder-visual {
    height: 300px;
    background: var(--clr-navy-950);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.map-radar-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px dashed rgba(56, 189, 248, 0.35);
    border-radius: 50%;
    animation: rotateRing 24s linear infinite;
}

.map-radar-ring-2 {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 50%;
}

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

.radar-content {
    text-align: center;
    z-index: 2;
    padding: 1rem;
}

.radar-icon {
    margin-bottom: 0.65rem;
}

.radar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.radar-sub {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* --- 8. OPINIONES DE CLIENTES (GOOGLE BUSINESS PROFILE) --- */
.google-reviews-header {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-subtle);
}

.google-rating-summary {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.google-logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-score-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--clr-navy-950);
    line-height: 1;
}

.stars-row {
    color: #f59e0b;
    display: flex;
    gap: 2px;
    margin-bottom: 0.2rem;
}

.google-total-reviews {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary-600) 0%, var(--clr-navy-800) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-navy-950);
}

.review-date {
    font-size: 0.775rem;
    color: var(--clr-text-light);
}

.review-text {
    font-size: 0.925rem;
    color: var(--clr-navy-700);
    line-height: 1.6;
    margin-top: 0.75rem;
    flex-grow: 1;
}

.reviews-empty-state {
    background: #ffffff;
    border: 1px dashed var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--clr-text-muted);
}

/* --- 9. CONTACTO TELEFÓNICO DIRECTO Y PRESUPUESTOS (GIGANTE) --- */
.giant-contact-section {
    background: linear-gradient(135deg, var(--clr-navy-950) 0%, var(--clr-navy-900) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 4.5rem 2.5rem;
    box-shadow: var(--shadow-hover);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.giant-contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.giant-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.15rem;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

.giant-contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
}

.giant-contact-sub {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 2.75rem auto;
    line-height: 1.6;
}

.giant-phone-card {
    background: #ffffff;
    color: var(--clr-navy-950);
    max-width: 640px;
    margin: 0 auto 2.5rem auto;
    border-radius: var(--radius-lg);
    padding: 2.75rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    border: 3px solid rgba(2, 132, 199, 0.3);
    position: relative;
    z-index: 2;
    transition: transform var(--transition), box-shadow var(--transition);
}

.giant-phone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(2, 132, 199, 0.25);
}

.giant-phone-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--clr-primary-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.giant-phone-number {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 6.5vw, 3.8rem);
    font-weight: 800;
    color: var(--clr-navy-950);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    transition: color var(--transition);
}

.giant-phone-number:hover {
    color: var(--clr-primary-600);
}

.giant-phone-number svg {
    color: var(--clr-primary-600);
    flex-shrink: 0;
}

.giant-actions-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.giant-actions-row .btn {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.giant-phone-subtext {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.giant-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.giant-feature-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

.giant-feature-item svg {
    color: #f59e0b;
    flex-shrink: 0;
}

.giant-feature-title {
    display: block;
    color: #ffffff;
    margin-bottom: 2px;
}

.giant-feature-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: normal;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* --- 10. FOOTER --- */
.footer {
    background: var(--clr-navy-950);
    color: #94a3b8;
    padding: 4.5rem 0 calc(3.5rem + 70px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer a {
    color: inherit;
    transition: color var(--transition);
}

.footer a:hover {
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-col-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.9rem;
}

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

.admin-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.admin-login-link:hover {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
}

/* --- 11. BARRA MÓVIL FIJA INFERIOR --- */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--clr-navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0.65rem 0.5rem;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.4);
}

@media (min-width: 769px) {
    .mobile-bottom-bar {
        display: none !important;
    }
    .footer {
        padding-bottom: 3.5rem;
    }
}

.mobile-bottom-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: #ffffff;
    font-size: 0.775rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.mobile-bottom-btn.call-highlight {
    color: #38bdf8;
}

.mobile-bottom-btn.wa-highlight {
    color: #25d366;
}

.mobile-bottom-btn.quote-highlight {
    color: #f59e0b;
}

/* --- 12. LIGHTBOX MODAL --- */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(7, 13, 30, 0.96);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-box {
    position: relative;
    max-width: 960px;
    width: 100%;
    background: var(--clr-navy-950);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-box img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000000;
    display: block;
}

.lightbox-info {
    padding: 1.35rem 1.75rem;
    color: #ffffff;
    background: var(--clr-navy-950);
}

.lightbox-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    transition: background-color var(--transition);
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
}

.lightbox-nav-btn:hover {
    background: var(--clr-primary-600);
    border-color: var(--clr-primary-600);
}

.lightbox-nav-btn.prev {
    left: 1rem;
}

.lightbox-nav-btn.next {
    right: 1rem;
}

.lightbox-modal[hidden],
.legal-modal-overlay[hidden] {
    display: none;
}

.lightbox-tag {
    margin-bottom: 0.4rem;
}

.lightbox-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    margin-bottom: 0.35rem;
}

.lightbox-desc {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.legal-close-btn {
    position: static;
    background: var(--clr-bg-subtle);
    color: var(--clr-navy-950);
}

.legal-close-btn:hover {
    background: var(--clr-border);
}

.cookie-prefs {
    background: var(--clr-bg-alt);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    margin: 1.25rem 0;
    display: grid;
    gap: 0.75rem;
}

.cookie-pref-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-pref-note {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

.cookie-pref-always {
    color: var(--clr-primary-600);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.cookie-pref-check {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--clr-primary-600);
    flex-shrink: 0;
}

.cookie-pref-actions {
    display: flex;
    justify-content: flex-end;
}

/* --- 13. MODALES LEGALES Y COOKIES --- */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 25000;
    background: rgba(7, 13, 30, 0.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.legal-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.legal-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 820px;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.legal-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-navy-950);
}

.legal-modal-body {
    padding: 2rem;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
}

.legal-modal-body h3 {
    font-family: var(--font-heading);
    color: var(--clr-navy-950);
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.legal-modal-body p {
    margin-bottom: 1rem;
}

.legal-modal-body ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.legal-modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--clr-border);
    display: flex;
    justify-content: flex-end;
}

/* BANNER DE COOKIES (RGPD COMPLIANT) */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 680px;
    margin: 0 auto;
    background: rgba(12, 21, 46, 0.98);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 22000;
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    animation: slideUpCookie 0.4s ease forwards;
}

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

.cookie-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-text {
    font-size: 0.875rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* --- RESPONSIVE MEDIA QUERIES DEFINITIVAS --- */

/* 0. CABECERA EN PANTALLAS INTERMEDIAS: el menú pasa a desplegable antes de que deje de caber */
@media (max-width: 1240px) {
    .header-phone-btn {
        display: none !important;
    }
}

@media (max-width: 1080px) {
    .mobile-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1rem;
        gap: 1rem;
        border-bottom: 1px solid var(--clr-border);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0s linear 0.3s;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0s;
    }
}

/* 1. TABLET & PANTALLAS MEDIANAS (<= 1024px) */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .location-box {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-slider-box {
        height: 380px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 3. DISPOSITIVOS MÓVILES (<= 768px) */
@media (max-width: 768px) {
    /* HEADER COMPACTO Y SIN DESBORDAMIENTOS (IMAGEN 2 CORREGIDA) */
    .header {
        position: sticky;
        top: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .header-inner {
        padding: 0 1rem;
        height: 64px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Ocultar botones que saturan la cabecera en móvil */
    .header-phone-btn,
    .header-actions .btn {
        display: none !important;
    }

    .header-actions {
        gap: 0;
        margin-left: auto;
    }

    .logo {
        font-size: 1.05rem;
        gap: 0.5rem;
        max-width: calc(100% - 60px);
    }

    .logo-badge {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .logo-main {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-sub {
        display: none;
    }

    /* CONTENEDOR Y BOTONES GLOBALES */
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .section {
        padding: 3.5rem 0;
        overflow: hidden;
    }

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

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.1rem);
        line-height: 1.22;
    }

    .btn {
        white-space: normal;
        text-align: center;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* HERO */
    .hero {
        padding: 2.25rem 0 3.25rem 0;
        overflow: hidden;
    }

    .hero::before {
        width: 280px;
        height: 280px;
        right: -60px;
        top: -20px;
    }

    .hero-title {
        font-size: clamp(1.85rem, 6.5vw, 2.4rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-highlights {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        padding-top: 1.25rem;
    }

    .hero-slider-box {
        height: 270px;
        max-width: 100%;
        margin-top: 1rem;
    }

    /* SERVICIOS */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* GALERÍA */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gallery-filter-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        gap: 0.4rem;
        flex-wrap: nowrap;
        width: 100%;
    }

    .gallery-filter-bar .filter-btn {
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
        white-space: nowrap;
    }

    /* ZONA DE ACTUACIÓN (IMAGEN 1 CORREGIDA) */
    .location-box {
        padding: 2rem 1.25rem !important;
        gap: 1.75rem !important;
        border-radius: var(--radius-md) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .location-box h2.section-title {
        font-size: clamp(1.4rem, 5.5vw, 1.85rem);
        line-height: 1.25;
    }

    .location-box .section-subtitle {
        font-size: 0.925rem;
    }

    .location-badges {
        gap: 0.45rem;
        margin: 1.25rem 0;
    }

    .location-badge-item {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }

    .location-box .btn {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }

    .map-placeholder-visual {
        height: 220px;
        max-width: 100%;
    }

    /* RESEÑAS GOOGLE */
    .google-reviews-header {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .google-reviews-header .btn {
        width: 100%;
        justify-content: center;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* SECCIÓN DE CONTACTO Y TELÉFONO GIGANTE */
    .giant-contact-section {
        padding: 2.25rem 1rem !important;
        border-radius: var(--radius-md) !important;
        text-align: center !important;
    }

    .giant-contact-title {
        font-size: clamp(1.5rem, 5.5vw, 1.95rem) !important;
        line-height: 1.25;
    }

    .giant-contact-sub {
        font-size: 0.925rem !important;
        margin-bottom: 1.5rem !important;
    }

    .giant-phone-card {
        padding: 1.75rem 1rem !important;
        margin: 0 auto 1.5rem auto !important;
        border-radius: var(--radius-md) !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .giant-phone-number {
        font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
        gap: 0.45rem !important;
        margin-bottom: 1.25rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        word-break: break-word !important;
    }

    .giant-phone-number svg {
        width: 30px !important;
        height: 30px !important;
    }

    .giant-actions-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .giant-actions-row .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.85rem 1.25rem !important;
    }

    .giant-features-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .giant-feature-item {
        padding: 0.85rem 1rem !important;
        text-align: left !important;
        justify-content: flex-start !important;
        font-size: 0.85rem !important;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer {
        padding-bottom: calc(75px + 2rem);
    }

    /* MODALES LEGALES Y COOKIES */
    .legal-modal-card {
        max-width: 95vw !important;
        padding: 1.25rem !important;
    }

    .cookie-banner {
        left: 8px !important;
        right: 8px !important;
        bottom: 72px !important;
        padding: 1.15rem 1rem !important;
        border-radius: var(--radius-md) !important;
    }

    .cookie-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .cookie-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* 4. MOVIMIENTO REDUCIDO */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
