*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black: #080808;
    --dark: #111111;
    --card: #161616;
    --border: #252525;
    --gold: #00D6FF;
    --gold-light: #E8C96A;
    --white: #F0EDE8;
    --muted: #888888;
    --red: #C0392B;
}

html { scroll-behavior: smooth; scroll-padding-top: 112px; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

body {
    background: var(--black);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* NAV */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 100px;
    background: rgba(8,8,8,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo { text-decoration: none; }
.nav-logo img { height: 80px; width: auto; display: block; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* HERO */
#hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 160px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,214,255,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 20%, rgba(0,214,255,0.05) 0%, transparent 60%),
        linear-gradient(rgba(8,8,8,0.72), rgba(8,8,8,0.72)),
        var(--hero-image, url('img/gallery/interior.jpg')) center/cover no-repeat;
}

.waveform-deco {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 0 10%;
    opacity: 0.25;
}
.waveform-deco span {
    display: block;
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
    animation: wave 1.8s ease-in-out infinite;
}
@keyframes wave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

.hero-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s ease both;
}

.hero-logo-img {
    height: auto;
    width: min(640px, 100%);
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s 0.15s ease both;
}

.hero-sub {
    font-size: 16px;
    color: #f1f1f1;
    margin-top: 24px;
    max-width: 480px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s 0.3s ease both;
}

.hero-cta {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 48px;
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.8s 0.45s ease both;
}

.btn-primary {
    padding: 14px 36px;
    background: var(--gold);
    color: var(--black);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
    padding: 14px 36px;
    border: 1px solid var(--border);
    color: var(--white);
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SECTIONS */
section { padding: 100px max(32px, calc((100% - 1344px) / 2)); }
section > *, .contact-layout > *, .instalaciones-layout > * { min-width: 0; }

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 48px;
}

/* SERVICIOS */
#servicios { background: var(--dark); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--dark);
    border: 1px solid var(--border);
}

.service-card {
    outline: 1px solid var(--border);
    background: var(--dark);
    padding: 48px 36px;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--card); }

.service-icon { font-size: 28px; color: var(--gold); margin-bottom: 24px; }

.service-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--white);
}
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.8; }

/* STATS */
.stats-bar {
    background: var(--gold);
    padding: 40px 48px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    color: var(--black);
    line-height: 1;
}
.stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(8,8,8,0.6);
    margin-top: 4px;
}

/* EQUIPO */
#equipo { background: var(--black); }
.equipment-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.equipment-photo { min-width: 0; background: var(--card); border: 1px solid var(--border); }
.equipment-slide { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; overflow: hidden; background: var(--dark); cursor: zoom-in; }
.equipment-slide[hidden] { display: none; }
.equipment-slides { touch-action: pan-y; }
.equipment-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; padding: 4px 8px 0; gap: 0; }
.equipment-dot { display: grid; place-items: center; width: 28px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.equipment-dot span { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.equipment-dot:hover span { background: var(--white); }
.equipment-dot[aria-pressed="true"] span { background: var(--gold); transform: scale(1.25); box-shadow: 0 0 9px rgba(0, 214, 255, 0.45); }
.equipment-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.equipment-photo button:hover img { transform: scale(1.04); }
.equipment-photo figcaption { padding: 18px 20px; font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px; }
.equipment-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; background: rgba(8, 8, 8, 0.85); color: var(--gold); border: 1px solid var(--gold); font-size: 22px; }
@media (max-width: 1000px) { .equipment-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .equipment-gallery { grid-template-columns: 1fr; gap: 20px; } }

.equipo-intro {
    max-width: 560px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* ── Tabs ── */
.gear-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}
.gear-tab {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.gear-tab i { font-size: 11px; opacity: 0.7; }
.gear-tab:hover {
    background: rgba(0,214,255,0.08);
    border-color: rgba(0,214,255,0.4);
    color: var(--gold);
}
.gear-tab.active {
    background: rgba(0,214,255,0.12);
    border-color: var(--gold);
    color: var(--gold);
}

/* ── Grid ── */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 24px;
}
.gear-cat-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    transition: opacity 0.25s, transform 0.25s;
}
.gear-cat-block.gear-hidden { display: none; }
.gear-grid { align-items: start; }
.gear-cat-header { cursor: pointer; min-height: 60px; list-style: none; }
.gear-cat-header::-webkit-details-marker { display: none; }
.gear-cat-block:not([open]) .gear-cat-header { border-bottom: 0; }
.gear-toggle { color: var(--gold); font-size: 24px; transition: transform 0.2s; }
.gear-cat-block[open] .gear-toggle { transform: rotate(45deg); }
.gear-cat-block[open] { border-color: var(--gold); }

.gear-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(0,214,255,0.04);
}
.gear-cat-header i { font-size: 14px; color: var(--gold); }
.gear-cat-name {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    flex: 1;
}
.gear-cat-count {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1px;
}

/* ── Items ── */
.gear-list { list-style: none; }
.gear-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 16px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.2s;
}
.gear-item:last-child { border-bottom: none; }
.gear-item:hover { background: rgba(0,214,255,0.05); }
.gear-item:hover .gear-bar { transform: scaleY(1); }
.gear-item:hover .gear-item-name { color: #d0f0ff; }
.gear-item:hover .gear-thumb img { transform: scale(1.08); }

/* accent bar */
.gear-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.2s;
}

/* thumbnail */
.gear-thumb {
    width: 54px;
    height: 54px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.gear-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.35s ease;
}
.gear-thumb-fallback {
    font-size: 20px;
    color: rgba(0,214,255,0.25);
    display: none;
}
.gear-thumb--err .gear-thumb-fallback { display: block; }

/* text */
.gear-item-body { flex: 1; min-width: 0; }
.gear-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.3;
    transition: color 0.2s;
    overflow-wrap: anywhere;
}
.gear-item-detail {
    font-size: 10px;
    color: var(--muted);
    margin-top: 3px;
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.3px;
}
.gear-item-idx {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: rgba(0,214,255,0.2);
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* INSTALACIONES */
#instalaciones { background: var(--dark); }

.instalaciones-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.instalaciones-text p { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 20px; }

.feature-list {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: var(--muted);
}
.feature-list li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    flex-shrink: 0;
}

.instalaciones-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ins-img-box {
    aspect-ratio: 1;
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.ins-img-box.tall { grid-row: span 2; aspect-ratio: auto; }

.ins-img-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s ease;
    display: block;
}
.ins-img-box:hover img { transform: scale(1.05); }

/* MODAL */
.studio-carousel { min-width: 0; border: 1px solid var(--border); background: var(--card); }
.studio-slides { aspect-ratio: 4 / 3; position: relative; touch-action: pan-y; }
.studio-slide { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--black); cursor: zoom-in; }
.studio-slide[hidden] { display: none; }
.studio-thumbnails { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(76px, 20%, 120px); gap: 10px; padding: 6px 12px 12px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold) var(--black); }
.studio-thumbnail { min-width: 0; min-height: 44px; aspect-ratio: 16 / 10; padding: 3px; border: 2px solid transparent; background: var(--black); cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; }
.studio-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-thumbnail:hover, .studio-thumbnail:focus-visible { opacity: 1; }
.studio-thumbnail[aria-pressed="true"] { opacity: 1; border-color: var(--gold); }
.studio-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.studio-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; }
.studio-carousel-controls button { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--gold); background: transparent; color: var(--gold); font-size: 24px; cursor: pointer; }
.studio-carousel-controls button:hover { background: var(--gold); color: var(--black); }
.studio-carousel-caption { font-family: 'Space Mono', monospace; font-size: 11px; line-height: 1.6; text-align: center; color: var(--white); }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.modal-overlay.open { display: flex; }

.modal-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 80px rgba(0,0,0,0.9);
    cursor: default;
    animation: modalIn 0.25s ease both;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 24px; right: 32px;
    font-size: 36px;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 1001;
}
.modal-close:hover { color: var(--gold); }

.modal-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.modal-nav { display:none; position:absolute; top:50%; transform:translateY(-50%); width:48px; height:64px; border:1px solid var(--gold); background:rgba(8,8,8,.8); color:var(--gold); font-size:32px; cursor:pointer; z-index:1001; }
.modal-nav.visible { display:block; }
.modal-nav:hover { background:var(--gold); color:var(--black); }
.modal-prev { left:24px; }
.modal-next { right:24px; }

/* CONTACTO */
#contacto { background: var(--black); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: var(--white);
    line-height: 1;
    margin-bottom: 20px;
}
.contact-info p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 32px; }

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}
.contact-detail i { color: var(--gold); width: 18px; }

.contact-map { margin-top: 64px; }
.contact-map-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}
.contact-map-heading h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 1px;
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: clamp(300px, 40vw, 440px);
    border: 1px solid var(--border);
    background: var(--card);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 14px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--card); }

.btn-submit {
    padding: 16px 36px;
    background: var(--gold);
    color: var(--black);
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}
.btn-submit:hover { background: var(--gold-light); }

/* FOOTER */
footer {
    background: var(--dark);
    border-top: 1px solid var(--border);
    padding: 28px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 4px; color: var(--gold); }
.footer-logo span { color: var(--muted); }
.footer-copy { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.social-links { display: flex; gap: 20px; }
.social-links a { color: var(--muted); font-size: 18px; text-decoration: none; line-height: 1; transition: color 0.2s; }
.social-links a:hover { color: var(--gold); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; background: transparent; border: 0; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: 0.3s; }

/* MOBILE NAV */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close { position: absolute; top: 16px; right: 16px; font-size: 32px; color: var(--muted); cursor: pointer; background: transparent; border: 0; min-width: 44px; min-height: 44px; }

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 150;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 20px 12px;
    border-radius: 6px;
    background: linear-gradient(120deg, #10191d, #050708 75%);
    border: 1px solid var(--gold);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(0, 214, 255, 0.2);
    animation: whatsapp-pulse 2.8s ease-out infinite;
    transition: transform 0.25s, filter 0.25s, padding 0.25s, gap 0.25s;
}
.whatsapp-float-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--gold);
    color: #051114;
    transition: width 0.25s, height 0.25s, background 0.25s, color 0.25s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.whatsapp-float-icon i { display: grid; place-items: center; width: 100%; height: 100%; font-size: 29px; line-height: 1; }
.whatsapp-float-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.whatsapp-float-kicker { font-family: 'Space Mono', monospace; color: var(--gold); font-size: 9px; letter-spacing: 1.1px; text-transform: uppercase; max-height: 20px; overflow: hidden; transition: max-height 0.25s, opacity 0.2s; }
.whatsapp-float-title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.whatsapp-float-arrow { color: var(--gold); font-size: 24px; width: 24px; overflow: hidden; transition: transform 0.25s, width 0.25s, opacity 0.2s; }
.whatsapp-float-equalizer { position: absolute; bottom: 0; left: 12px; right: 12px; height: 14px; display: flex; align-items: flex-end; gap: 3px; opacity: 0.55; pointer-events: none; transition: opacity 0.2s; }
.whatsapp-float-equalizer span { flex: 1; height: var(--bar-height); background: var(--gold); }
.whatsapp-float.is-scrolling { display: grid; place-items: center; padding: 0; gap: 0; width: 48px; height: 48px; min-width: 48px; min-height: 48px; animation: whatsapp-compact-pulse 1.8s ease-out infinite; }
.whatsapp-float.is-scrolling .whatsapp-float-icon { width: 30px; height: 30px; background: transparent; color: var(--gold); box-shadow: none; }
.whatsapp-float.is-scrolling .whatsapp-float-copy { display: none; }
.whatsapp-float.is-scrolling .whatsapp-float-kicker { max-height: 0; opacity: 0; }
.whatsapp-float.is-scrolling .whatsapp-float-arrow { display: none; }
.whatsapp-float.is-scrolling .whatsapp-float-equalizer { opacity: 0; }
.whatsapp-float:hover { transform: translateY(-4px); filter: brightness(1.08); }
.whatsapp-float:hover .whatsapp-float-arrow { transform: translate(2px, -2px); }
.whatsapp-float:active { transform: translateY(0) scale(0.98); }
.whatsapp-float:focus-visible { outline: 3px solid var(--white); outline-offset: 5px; }
@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 214, 255, 0.18); }
    50% { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 214, 255, 0.4); }
}
@keyframes whatsapp-compact-pulse {
    0% { box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3), 0 0 12px rgba(0, 214, 255, 0.4), 0 0 0 0 rgba(0, 214, 255, 0.5); }
    75%, 100% { box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 214, 255, 0.2), 0 0 0 10px rgba(0, 214, 255, 0); }
}
@media (max-width: 600px) {
    .whatsapp-float {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        padding: 10px 12px 18px 10px;
        font-size: 13px;
    }
    .whatsapp-float-icon { width: 40px; height: 40px; }
    .whatsapp-float-title { font-size: 13px; }
    .whatsapp-float-kicker { font-size: 8px; letter-spacing: 0.7px; }
    footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    section { padding: 72px 24px; }
    .instalaciones-layout,
    .contact-layout { grid-template-columns: 1fr; }
    .stats-bar { padding: 32px 24px; }
    footer { padding: 24px 24px 72px; }
    .instalaciones-layout, .contact-layout { gap: 40px; }
}

.mobile-nav { padding: 72px 24px 32px; overflow-y: auto; gap: 20px; }
body.menu-open { overflow: hidden; }
.mobile-nav a { font-size: clamp(28px, 6vh, 48px); flex-shrink: 0; }
.gear-tab { min-height: 44px; max-width: 100%; white-space: normal; text-align: left; }
.gear-cat-name, .gear-item-detail, .contact-detail span, .footer-copy { overflow-wrap: anywhere; min-width: 0; }
.contact-detail i { flex-shrink: 0; }
.form-group input, .form-group select, .form-group textarea { min-width: 0; font-size: 16px; }
.btn-primary, .btn-outline, .btn-submit { min-height: 44px; text-align: center; }
.social-links a { display: grid; place-items: center; min-width: 44px; min-height: 44px; text-decoration: none; }
footer { padding-bottom: 64px; }
.modal-img { max-height: calc(100dvh - 140px); }
.modal-caption { width: 90%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
.whatsapp-float { max-width: calc(100% - 32px); }

@media (max-width: 600px) {
    html { scroll-padding-top: 84px; }
    .services-grid { grid-template-columns: 1fr; }
    nav { height: 72px; padding: 0 16px; }
    .nav-logo { max-width: calc(100% - 60px); }
    .nav-logo img { height: 56px; object-fit: contain; }
    section { padding: 56px 16px; }
    #hero { padding: 120px 20px 104px; }
    .hero-eyebrow { letter-spacing: 3px; line-height: 1.8; }
    .hero-cta { width: 100%; flex-direction: column; gap: 12px; margin-top: 32px; }
    .hero-cta a { width: 100%; padding: 16px 20px; }
    .section-title { font-size: clamp(36px, 10vw, 48px); margin-bottom: 32px; }
    .service-card { padding: 32px 24px; }
    .stats-bar { gap: 28px; padding: 32px 16px; }
    .stat-item { flex: 1 1 100%; }
    .stat-label { line-height: 1.8; }
    .gear-tabs { margin-bottom: 28px; }
    .gear-grid { gap: 16px; }
    .gear-item { padding: 12px; gap: 10px; }
    .gear-cat-header { flex-wrap: wrap; }
    .gear-cat-name { letter-spacing: 1px; }
    .contact-map { margin-top: 40px; }
    .contact-map-heading .btn-outline, .btn-submit { width: 100%; }
    .social-links { gap: 8px; flex-wrap: wrap; }
    .footer-copy { line-height: 1.8; }
}

@media (max-height: 500px) {
    .mobile-nav { justify-content: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}