/* ========================
   1. VARIABLES & RESET
   ======================== */
:root {
    --primary: #575757;
    --primary-dark: #404040;
    --white: #ffffff;
    --light: #f8fafb;
    --dark: #1a1a2e;
    --text: #2d3748;
    --text-light: #718096;
    --border: rgba(87, 87, 87, 0.1);
    --shadow: rgba(87, 87, 87, 0.1);
    --shadow-hover: rgba(87, 87, 87, 0.24);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s ease;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

a:focus-visible,
button:focus-visible,
.service-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========================
   PRELOADER
   ======================== */
.preloader {
    position: fixed; inset: 0;
    z-index: 3000;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
    animation: preloaderFailsafe 0s linear 4s forwards;
}
.preloader.is-hidden { transform: translateY(-100%); }
@keyframes preloaderFailsafe { to { transform: translateY(-100%); visibility: hidden; } }
.preloader-logo {
    width: min(150px, 40vw);
    height: auto;
    animation: preloaderPulse 1.4s ease-in-out infinite;
}
@keyframes preloaderPulse {
    0%, 100% { opacity: 0.45; transform: scale(0.95); }
    50%      { opacity: 1;    transform: scale(1); }
}

/* ========================
   2. SCROLL REVEAL
   ======================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--stagger, 0) * 80ms);
}
.reveal-group.visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   3. UTILITIES
   ======================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; background: var(--white); }
.section-alt { background: var(--light); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}
.section-header h2 span { color: var(--primary); }
.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }

/* ========================
   4. NAVBAR
   ======================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px var(--shadow); }
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}
.nav-logo img { height: 68px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: color var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================
   5. HERO
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    overflow: hidden;
    padding-top: var(--nav-height);
}
.hero-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.hero-overlay {
    position: absolute; inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
        rgba(20, 20, 20, 0.74) 0%,
        rgba(20, 20, 20, 0.55) 55%,
        rgba(20, 20, 20, 0.8) 100%);
}
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    padding: 7px 18px;
    margin-bottom: 36px;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}
.hero-title span { color: var(--primary); }
.hero-slogan {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    max-width: 540px;
    margin-bottom: 18px;
}
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 40px;
}
.hero-tagline i { opacity: 0.85; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ========================
   6. SERVICIOS
   ======================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.service-card {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}
.service-bg {
    position: absolute;
    inset: 0;
}
.service-bg video,
.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-bg video,
.service-card:hover .service-bg img { transform: scale(1.06); }
.service-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.5) 0%, rgba(26, 26, 46, 0.84) 100%);
}
.service-content {
    position: relative;
    z-index: 1;
    min-height: 300px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}
.service-icon {
    width: 52px; height: 52px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(255, 255, 255, 0.24); }
.service-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.service-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.84); line-height: 1.65; flex: 1; }
.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.service-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    transition: gap var(--transition);
}
.service-card:hover .service-more { gap: 10px; }
@media (prefers-reduced-motion: reduce) {
    .service-bg video,
    .service-bg img { transition: none; }
    .service-card:hover .service-bg video,
    .service-card:hover .service-bg img { transform: none; }
}

/* Modal de servicios */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(26, 26, 46, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeInOverlay 0.25s ease forwards;
}
.modal-overlay.is-open { display: flex; }
.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px;
    max-width: 520px;
    width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    animation: slideInModal 0.3s ease forwards;
}
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--dark); }
.modal-icon {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    background: rgba(87, 87, 87, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
}
.modal h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.modal p { color: var(--text-light); margin-bottom: 20px; }
.modal-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.modal-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}
.modal-list li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}
/* ========================
   7. PRECIOS / MERCADO (ACG)
   ======================== */
.precios-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: var(--white);
}
.precios-section .section-header h2 { color: var(--white); }
.precios-section .section-header h2 span { color: rgba(255, 255, 255, 0.6); }
.precios-section .section-header p { color: rgba(255, 255, 255, 0.78); }
.precios-section .section-tag { color: rgba(255, 255, 255, 0.85); }

.precios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}
.precio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 32px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    color: var(--white);
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.precio-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.38);
}
.precio-card__icon {
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.35rem;
    color: var(--white);
}
.precio-card h3 { font-size: 1.02rem; font-weight: 600; }
.precio-card p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); line-height: 1.55; flex: 1; }
.precio-card__link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 600;
    color: var(--white);
    margin-top: 4px;
    transition: gap var(--transition);
}
.precio-card__link i { font-size: 0.72rem; }
.precio-card:hover .precio-card__link { gap: 10px; }

.precios-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.btn-white {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 34px;
    background: var(--white);
    color: var(--dark);
    font-size: 0.95rem; font-weight: 600;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.precios-note {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 580px;
    line-height: 1.6;
}
.precios-note strong { color: rgba(255, 255, 255, 0.88); font-weight: 600; }

/* ========================
   8. NOSOTROS
   ======================== */
.nosotros-container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.nosotros-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 25%;
    border-radius: var(--radius);
    box-shadow: 0 16px 44px var(--shadow-hover);
}

.nosotros-content > p { margin-bottom: 16px; }
.nosotros-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 28px 0;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.nosotros-stat {
    text-align: center;
    padding: 2px 14px;
}
.nosotros-stat + .nosotros-stat { border-left: 1px solid var(--border); }
.nosotros-stat strong {
    display: block;
    font-size: clamp(1.5rem, 2.2vw, 2.1rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 8px;
    white-space: nowrap;
}
.nosotros-stat span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}
.nosotros-values { display: flex; flex-direction: column; gap: 20px; }
.nosotros-value { display: flex; align-items: flex-start; gap: 16px; }
.nosotros-value > i {
    width: 36px; height: 36px; min-width: 36px;
    background: rgba(87, 87, 87, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 2px;
}
.nosotros-value strong { display: block; color: var(--dark); font-size: 0.98rem; margin-bottom: 2px; }
.nosotros-value span { color: var(--text-light); font-size: 0.88rem; }

/* ========================
   9. GALERÍA
   ======================== */
.gallery-section { background: var(--dark); }
.gallery-section .section-header h2 { color: var(--white); }
.gallery-section .section-header h2 span { color: rgba(255, 255, 255, 0.55); }
.gallery-section .section-header p { color: rgba(255, 255, 255, 0.7); }
.gallery-section .section-tag { color: rgba(255, 255, 255, 0.8); }

.gallery { position: relative; }
.gallery-grid,
.gallery-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
/* Slider: viewport recorta, track desliza, cada página es un 3x3 */
.gallery-viewport { overflow: hidden; }
.gallery-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.gallery-page {
    flex: 0 0 100%;
    min-width: 100%;
    align-content: start;
}
.gallery-item {
    position: relative;
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: box-shadow var(--transition);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover,
.gallery-item:focus-visible { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px; bottom: 10px;
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.6);
    color: var(--white);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity var(--transition), transform var(--transition);
    pointer-events: none;
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }

/* Controles del slider */
.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 26px;
}
.gallery-arrow {
    width: 44px; height: 44px;
    flex: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background var(--transition), transform var(--transition);
}
.gallery-arrow:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.gallery-dots { display: flex; align-items: center; gap: 10px; }
.gallery-dot {
    width: 9px; height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.gallery-dot:hover { background: rgba(255, 255, 255, 0.5); }
.gallery-dot.is-active { background: var(--white); transform: scale(1.25); }

.gallery-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-align: center;
}
.gallery-hint i { color: rgba(255, 255, 255, 0.65); }

/* Lightbox (mobile / tap) */
.lightbox {
    position: fixed; inset: 0;
    z-index: 2000;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeInOverlay 0.25s ease forwards;
}
.lightbox.is-open { display: flex; }
.lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 92vw;
}
.lightbox-img {
    max-width: 92vw;
    max-height: 78dvh;
    width: auto; height: auto;
    border-radius: var(--radius);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: slideInModal 0.3s ease forwards;
}
.lightbox-caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    text-align: center;
    max-width: 640px;
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
    z-index: 1;
}
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.1rem; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-counter {
    position: absolute;
    bottom: 18px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* ========================
   10. CONTACTO
   ======================== */
.contact-inner { display: flex; flex-direction: column; gap: 40px; }
.contact-actions { display: grid; gap: 20px; }
.contact-actions--3 { grid-template-columns: repeat(3, 1fr); }
.contact-actions--4 { grid-template-columns: repeat(4, 1fr); }
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
    border-color: rgba(87, 87, 87, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 28px var(--shadow);
}
.contact-card__icon {
    width: 52px; height: 52px;
    background: rgba(87, 87, 87, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}
.contact-card--wpp .contact-card__icon { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.contact-card--fb  .contact-card__icon { background: rgba(24, 119, 242, 0.10); color: #1877F2; }
.contact-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
}
.contact-card__value { font-size: 0.95rem; font-weight: 600; color: var(--dark); }
.contact-card--mail .contact-card__value { font-size: 0.82rem; word-break: break-word; }

.contact-hours {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.contact-hours__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.contact-hours__title i { color: var(--primary); }
.contact-hours__title h3 { font-size: 1.1rem; font-weight: 600; color: var(--dark); }
.contact-schedule { display: flex; gap: 8px; margin-bottom: 16px; }
.schedule-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    padding: 12px 6px;
    background: rgba(87, 87, 87, 0.05);
    border: 1px solid rgba(87, 87, 87, 0.14);
    border-radius: var(--radius-sm);
}
.schedule-day { font-size: 0.78rem; font-weight: 600; color: var(--dark); text-transform: uppercase; }
.schedule-time { font-size: 0.78rem; color: var(--text-light); text-align: center; }
.schedule-item--today { background: var(--primary); border-color: var(--primary); }
.schedule-item--today .schedule-day,
.schedule-item--today .schedule-time { color: var(--white); }
.schedule-item--closed { background: var(--light); border-color: rgba(0, 0, 0, 0.06); }

.contact-address {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}
.contact-address i { color: var(--primary); }
.contact-address {
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 24px;
    background: var(--white);
}

/* ========================
   11. FOOTER
   ======================== */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.55); padding: 72px 0 0; }
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer-logo-wrap { display: inline-block; margin-bottom: 20px; }
.footer-logo { height: 180px; width: auto; }
.footer-slogan { font-size: 0.92rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
    transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    margin-bottom: 12px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ========================
   12. WHATSAPP BUTTON
   ======================== */
.whatsapp-btn {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    z-index: 900;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ========================
   KEYFRAMES
   ======================== */
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideInModal {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========================
   13. MEDIA QUERIES
   ======================== */
@media (max-width: 900px) {
    .nosotros-container { grid-template-columns: 1fr; gap: 48px; }
    .nosotros-img { max-width: 440px; margin: 0 auto; width: 100%; }
    .contact-actions--3 { grid-template-columns: repeat(2, 1fr); }
    .contact-actions--4 { grid-template-columns: repeat(2, 1fr); }
    .precios-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .section { padding: 72px 0; }
    .section-header { margin-bottom: 40px; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height); left: 0;
        width: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px var(--shadow);
        padding: 16px 0;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-link { display: block; padding: 14px 24px; font-size: 1rem; }
    .nav-link::after { display: none; }
    .hamburger { display: flex; }

    .hero { min-height: 100svh; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions a { text-align: center; }

    .services-grid { grid-template-columns: 1fr; }
    .precios-grid { grid-template-columns: 1fr; }
    .contact-actions--3 { grid-template-columns: 1fr; }
    .contact-actions--4 { grid-template-columns: 1fr; }
    .nosotros-stat { padding: 0 8px; }
    .contact-schedule { flex-wrap: wrap; }
    .schedule-item { min-width: 70px; }

    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { grid-column: auto; }
    .footer-logo-wrap { margin: 0 auto 20px; }
    .footer-contact p { justify-content: center; }
    .modal { padding: 36px 24px; }
}

/* Dispositivos táctiles: sin hover, se muestra la lupa fija */
@media (hover: none) {
    .gallery-item::after { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-item { opacity: 1; transform: none; }
    .gallery-track { transition: none; }
}
