*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body { font-family:'Poppins',sans-serif; font-weight:400; background:#fff; color:#111; overflow-x:hidden; }
img { display:block; max-width:100%; }
a { text-decoration:none; }

:root {
    --orange:       #e07800;
    --orange-hover: #f08a10;
    --black:        #111;
    --white:        #fff;
    --gray-bg:      #f7f7f7;
    --gray-border:  #e8e8e8;
    --gray-text:    #666;
    --gray-muted:   #aaa;
    --height-nav: 65px;
}

/* ══ CURSOR PERSONALIZADO ══ */
body { cursor: none; }
.cursor {
    position: fixed; width: 12px; height: 12px;
    background: var(--orange); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: multiply;
}
.cursor-ring {
    position: fixed; width: 36px; height: 36px;
    border: 1.5px solid var(--orange); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}
a:hover ~ .cursor, button:hover ~ .cursor { width: 20px; height: 20px; }

/* ══ SCROLL REVEAL ══ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(.25,.46,.45,.94), transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity:0; transform:translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity:0; transform:translateX(40px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity:1; transform:translateX(0); }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* En mobile: reveal siempre visible, sin riesgo de pantalla blanca */
@media (max-width: 900px) {
    .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    }
}

/* ══ LOGO SVG (círculo de puntos) ══ */
.logo-icon {
    width: 38px; height: 38px; flex-shrink: 0;
}

.logo-text {
    font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #fff;
    text-transform: uppercase;
}

/* ══ NAV ══ */
.nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 52px;
    background: rgba(17,17,17,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(224,120,0,0.15);
    position: sticky; top: 0; z-index: 200;
    transition: background 0.4s, box-shadow 0.4s;
    height: var(--height-nav);
}
.nav.scrolled {
    background: rgba(17,17,17,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { width: auto; height: calc(var(--height-nav) / 2); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55);
    letter-spacing: 1.5px; text-transform: uppercase;
    position: relative; transition: color .3s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
    background: var(--orange); transition: width .3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.btn {
    display: inline-block; cursor: none;
    font-family: 'Poppins', sans-serif; border-radius: 2px;
    font-weight: 600; letter-spacing: 0.8px;
    transition: all .3s; border: none; text-transform: uppercase; font-size: 11px;
}
.btn-nav {
    background: var(--orange); color: #fff; padding: 11px 26px;
    position: relative; overflow: hidden;
}
.btn-nav::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: opacity .3s;
}
.btn-nav:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(224,120,0,.4); }
.btn-nav:hover::before { opacity: 1; }
.btn-primary { background: var(--orange); color: #fff; padding: 15px 36px; position: relative; overflow: hidden; }
.btn-primary::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,255,255,.15),transparent); opacity:0; transition:opacity .3s; }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(224,120,0,.45); }
.btn-primary:hover::after { opacity:1; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); padding: 15px 36px; font-weight: 400; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-white { background: #fff; color: var(--black); padding: 15px 36px; font-weight: 700; }
.btn-white:hover { background: #f5f5f5; transform: translateY(-1px); }
.btn-outline-w { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); padding: 15px 36px; font-weight: 400; }
.btn-outline-w:hover { border-color: #fff; transform: translateY(-1px); }

/* hamburger */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:none; background:none; border:none; padding:4px; }
.hamburger span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:all .3s; }
.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); }
.mobile-menu {
    display:none; flex-direction:column;
    background:#0d0d0d; border-bottom:1px solid rgba(224,120,0,.15);
    overflow:hidden; max-height:0; transition:max-height .35s ease;
}
.mobile-menu.open { display:flex; max-height:400px; }
.mobile-menu a {
    display:block; padding:16px 24px;
    font-size:12px; font-weight:600; color:rgba(255,255,255,.7);
    border-bottom:1px solid rgba(255,255,255,.06); letter-spacing:1px; text-transform:uppercase;
    transition:color .3s, background .3s;
}
.mobile-menu a:hover { color:#fff; background:rgba(224,120,0,.08); }
.mobile-menu .mobile-cta {
    margin:16px 24px; background:var(--orange);
    color:#fff; text-align:center; padding:14px;
    font-weight:700; border-radius:2px; border-bottom:none; letter-spacing:1px;
}

/* ══ HERO ══ */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 95vh;
    background: #0d0d0d;
    overflow: hidden;
    position: relative;
}

.hero-left {
    padding: 60px 60px 80px 72px;
    position: relative; z-index: 3;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(224,120,0,.1); border: 1px solid rgba(224,120,0,.3);
    padding: 7px 16px; border-radius: 20px; margin-bottom: 32px;
    animation: fadeInDown 0.8s ease 0.2s both;
}
@keyframes fadeInDown {
    from { opacity:0; transform:translateY(-12px); }
    to   { opacity:1; transform:translateY(0); }
}
.hero-badge-text {
    font-size: 11px; font-weight: 600; font-style: italic;
    color: var(--orange); letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(34px, 4.2vw, 62px);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 22px;
    letter-spacing: -1px;
    animation: fadeInUp 0.9s ease 0.35s both;
}
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(24px); }
    to   { opacity:1; transform:translateY(0); }
}
.hero-title em { font-style:italic; font-weight:800; color:var(--orange); }

.hero-sub {
    font-size: 14px; font-weight: 300; color: rgba(255,255,255,.55);
    line-height: 1.9; max-width: 400px; margin-bottom: 38px;
    animation: fadeInUp 0.9s ease 0.45s both;
}

.hero-ctas {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.55s both;
}

.hero-stats {
    display: flex; gap: 44px;
    margin-top: 56px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
    animation: fadeInUp 0.9s ease 0.65s both;
}
.stat-num   { font-size: 32px; font-weight: 800; color: var(--orange); letter-spacing: -1px; }
.stat-label { font-size: 11px; font-weight: 300; color: rgba(255,255,255,.35); margin-top: 2px; }

@keyframes zoomIn { from { transform: scale(1); } to { transform: scale(1.04); } }

/* hero dots decoration */
.hero-dots-deco {
    position: absolute; bottom: 40px; right: 40px; z-index: 3;
}
.hero-dots-deco svg { opacity: .2; animation: rotateSlow 30s linear infinite; }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* floating label on right */
.hero-float-label {
    position: absolute; bottom: 50px; left: 0; z-index: 4;
    background: var(--orange); color: #fff;
    padding: 16px 28px; font-size: 12px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    animation: slideInLeft 1s ease 0.8s both;
}
@keyframes slideInLeft {
    from { opacity:0; transform:translateX(-30px); }
    to   { opacity:1; transform:translateX(0); }
}

.hero-video-bg { position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-video-overlay { position:absolute; inset:0; z-index:1; background:linear-gradient(160deg, rgba(0,0,0,.72) 0%, rgba(10,5,0,.6) 50%, rgba(224,120,0,.35) 100%); }
.hero-video-desktop,
.hero-video-mobile { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-video-mobile { display: none; } /* mobile oculto en desktop */

/* ══ STRIP ANIMADO ══ */
.strip {
    background: linear-gradient(90deg, #111 0%, #1a0d00 50%, #e07800 100%);
    padding: 0; overflow: hidden; height: 44px;
    display: flex; align-items: center;
    border-top: 1px solid rgba(224,120,0,.2);
    border-bottom: 1px solid rgba(224,120,0,.2);
}
.strip-track {
    display: flex; align-items: center; gap: 0;
    animation: marquee 28s linear infinite; white-space: nowrap;
    will-change: transform;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.strip-item {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 0 36px; font-size: 11px; font-weight: 600; font-style: italic;
    color: rgba(255,255,255,.75); letter-spacing: 0.5px;
}
.strip-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); opacity: .8; flex-shrink: 0; }

/* ══ SECCIONES ══ */
.section { padding: 100px 72px; }
.section.white { background: #fff; }
.section.gray  { background: #f7f7f7; }
.section.dark  { background: #0d0d0d; }

.eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; font-weight: 600; font-style: italic;
    color: var(--orange); margin-bottom: 16px; letter-spacing: 0.5px;
}
.eyebrow::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--orange); }
.eyebrow.center { justify-content: center; }

.section-title {
    font-size: clamp(28px, 3vw, 46px);
    font-weight: 700; line-height: 1.1;
    color: var(--black); margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.section-title em { font-style: italic; color: var(--orange); font-weight: 700; }
.section-title.center { text-align: center; }
.section-title.white-text { color: #fff; }

/* ══ QUÉ ES ══ */
.que-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto;
}
.que-text p {
    font-size: 14px; font-weight: 300; line-height: 2;
    color: var(--gray-text); margin-bottom: 18px;
}
.que-text p strong { font-weight: 600; color: #444; }

.features { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.feat {
    display: flex; align-items: flex-start; gap: 14px;
    font-size: 13px; font-weight: 400; color: #444; line-height: 1.6;
    padding: 12px 0; border-bottom: 1px solid #f0f0f0;
    transition: transform .25s;
}
.feat:hover { transform: translateX(4px); }
.feat:last-child { border-bottom: none; }
.feat-dot {
    flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange); margin-top: 5px;
    box-shadow: 0 0 0 3px rgba(224,120,0,.15);
}

/* proceso card */
.proc-card {
    background: #111; border-left: 3px solid var(--orange); padding: 40px;
    border-radius: 2px;
    box-shadow: 0 24px 64px rgba(0,0,0,.15);
    position: relative; overflow: hidden;
}
.proc-card::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224,120,0,.08) 0%, transparent 70%);
    pointer-events: none;
}
.proc-step {
    display: flex; gap: 22px; padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.06); align-items: flex-start;
    transition: background .25s; border-radius: 2px;
}
.proc-step:last-child { border-bottom: none; }
.proc-step:hover { padding-left: 6px; }
.step-n {
    font-size: 10px; font-weight: 700; color: var(--orange);
    letter-spacing: 1px; min-width: 24px; padding-top: 3px;
    font-style: italic;
}
.proc-step h4 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: 0.5px; }
.proc-step p  { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.4); line-height: 1.8; }

/* ══ CARRUSEL ══ */
.carousel-track-container { overflow: hidden; border-radius: 2px; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }

.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; width: 48px; height: 48px;
    background: #fff; border: 1.5px solid var(--gray-border);
    border-radius: 50%; cursor: none;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    transition: all .3s;
}
.carousel-arrow:hover { background: var(--orange); border-color: var(--orange); box-shadow: 0 6px 22px rgba(224,120,0,.35); transform: translateY(-50%) scale(1.05); }
.carousel-arrow:hover svg polyline, .carousel-arrow:hover svg path { stroke: #fff; }
.carousel-arrow svg { width: 17px; height: 17px; }
.carousel-arrow svg polyline, .carousel-arrow svg path { stroke: #333; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.carousel-arrow:disabled { opacity: .2; cursor: default; pointer-events: none; }
.carousel-arrow.prev { left: -24px; }
.carousel-arrow.next { right: -24px; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gray-border); cursor: none; border: none;
    transition: background .3s, transform .3s, width .3s;
}
.carousel-dot.active { background: var(--orange); transform: scale(1.3); width: 24px; border-radius: 4px; }

/* SLIDER DE CASOS */
.casos-carousel-wrapper { position: relative; max-width: 1000px; margin: 56px auto 0; }
.caso-slide { flex-shrink: 0; width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.caso-card { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #eee; cursor: pointer; }
.caso-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); transition: transform .7s, filter .5s; }
.caso-card:hover img { transform: scale(1.08); filter: grayscale(0%); }
.caso-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 55%); }
.caso-card-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; z-index: 2; transform: translateY(4px); transition: transform .3s; }
.caso-card:hover .caso-card-info { transform: translateY(0); }
.caso-tag  { font-size: 10px; font-weight: 600; font-style: italic; color: var(--orange); margin-bottom: 4px; }
.caso-name { font-size: 13px; font-weight: 600; color: #fff; }
.caso-card .zoom-icon { width: 200px; padding: 8px 12px; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 8px; color: #e07800;  border: 1px solid rgba(224, 120, 0, .35); border-radius: 999px; background: #fff7f0;  backdrop-filter: blur(10px); font-size: 13px; font-weight: 400; cursor: pointer; transition: transform .25s ease,background .25s ease,border-color .25s ease; z-index: 5; }
.zoom-icon svg{ width: 18px; height: 18px; flex-shrink: 0; }
/* 
.caso-card .zoom-icon { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; background: #fff7f0; color: #e07800; border: 1px solid rgba(224, 120, 0, .35); border-radius: 50%;  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; transform: none; transition: all .3s; }
.caso-card:hover .zoom-icon { transform: translate(-50%,-50%) scale(1); } 
.zoom-icon svg { width: 15px; height: 15px; }
.zoom-icon svg path { stroke: #fff; stroke-width: 2; fill: none; stroke-linecap: round; } 
*/
.caso-card:hover .zoom-icon { background: var(--orange); color: #fff; }
.casos-cta { text-align: center; margin-top: 44px; }

/* ══ POPUP ══ */
.popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 500; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.popup-overlay.open { display: flex; }
@keyframes popIn { from{opacity:0;trnsform:scale(.92)} to{opacity:1;transform:scale(1)} }
.popup-box { background: #fff; border-radius: 3px; overflow: hidden; position: relative; width: fit-content; max-width: min(820px, 95vw); max-height: 95vh; animation: popIn .35s cubic-bezier(.34,1.56,.64,1); }
.popup-images { display: grid; grid-template-columns: 1fr 1fr; }
.popup-img-wrap { position: relative; display: flex; align-items: center; justify-content: center; background: #000; }
.popup-img-wrap img { display: block; width: auto; height: auto; max-width: 100%; max-height: 70vh; object-fit: contain; }
.popup-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 16px; font-size: 11px; font-weight: 600; font-style: italic; color: #fff; letter-spacing: .3px; }
.popup-label.antes { background: rgba(0,0,0,.6) }
.popup-label.despues { background: rgba(224,120,0,.8) }
.popup-info { padding: 10px; border-top: 1px solid var(--gray-border); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.popup-client-name { font-size: 14px; font-weight: 700; color: var(--black); }
.popup-client-tag { display: inline-block; margin-top: 3px; font-size: 11px; font-weight: 400; font-style: italic; color: var(--orange); }
.popup-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; background: #111; border: none; border-radius: 50%; cursor: none; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background .25s, transform .25s; }
.popup-close:hover { background: var(--orange); transform: rotate(90deg); }
.popup-close svg { width: 14px; height: 14px; }
.popup-close svg path { stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.popup-nav { display: flex; gap: 10px; }
.popup-nav button { width: 38px; height: 38px; background: #fff; border: 1px solid var(--gray-border); border-radius: 50%; cursor: none; display: flex; align-items: center; justify-content: center; transition: all .25s; }
.popup-nav button:hover { background: var(--orange); border-color: var(--orange); }
.popup-nav button:hover svg path { stroke: #fff; }
.popup-nav button svg { width: 14px; height: 14px; }
.popup-nav button svg path { stroke: var(--black); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }

/* ══ FAQ ══ */
.faq-container { max-width: 820px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,.08); }
.faq-question {
    width: 100%; background: none; border: none;
    padding: 22px 8px; display: flex; align-items: center;
    justify-content: space-between; gap: 16px; cursor: none;
    text-align: left; font-family: inherit; font-size: .95rem;
    font-weight: 700; color: #111; transition: color .25s;
    text-transform: uppercase; letter-spacing: .05em;
}
.faq-question:hover { color: var(--orange); }
.faq-question[aria-expanded="true"] { color: var(--orange); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1); stroke: currentColor; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.faq-answer.open { max-height: 500px; }
.faq-answer p { padding: 0 8px 22px; margin: 0; font-size: .93rem; line-height: 1.85; color: var(--gray-text); font-weight: 300; }

/* ══ SLIDER DE INSTAGRAM ══ */
.instagram-carousel-wrapper { position: relative; max-width: 1000px; margin: 56px auto 0; }
.instagram-slide { flex-shrink: 0; width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.instagram-card { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #eee; cursor: pointer; }
.instagram-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(40%); transition: transform .7s, filter .5s; }
.instagram-card:hover img { transform: scale(1.08); filter: grayscale(0%); }
.instagram-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 55%); }
.instagram-card .media-wrapper { position: relative; width: 100%; height: 100%; overflow: hidden; }
.media-wrapper img, .media-wrapper video { width: 100%; height: 100%; display: block; object-fit: cover; }
.instagram-overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: rgba(0,0,0,.6); display: flex; align-items: center; padding: 10px 14px; z-index: 2; }
.instagram-caption { color: white; font-size: 13px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ══ SLIDER DE RESEÑAS ══ */
.resenas-carousel-wrapper { position: relative; max-width: 1100px; margin: 56px auto 0; }
.resena-slide { flex-shrink: 0; width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.resena-card {
    background: #fff; border: 1px solid var(--gray-border); border-top: 3px solid var(--orange);
    padding: 32px; border-radius: 2px; position: relative;
    transition: box-shadow .35s, transform .35s;
}
.resena-card:hover { box-shadow: 0 12px 40px rgba(224,120,0,.12); transform: translateY(-4px); }
.stars { display: flex; gap: 4px; margin-bottom: 14px; }
.star { width: 14px; height: 14px; background: #ddd; clip-path: polygon( 50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35% ); }
.star.filled { background: var(--orange); }
.resena-q   { position: absolute; top: 18px; right: 20px; font-size: 60px; color: rgba(224,120,0,.07); font-family: Georgia,serif; line-height: 1; }
.resena-txt { font-size: 13px; font-weight: 300; font-style: italic; line-height: 1.95; color: var(--gray-text); margin-bottom: 22px; }
.resena-author { display: flex; align-items: center;  justify-content: flex-start; gap: 12px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.author-initials { width: 38px; height: 38px; border-radius: 50%; background: #fff7f0; border: 1px solid rgba(224,120,0,.35); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--orange); }
.author-data{ width: calc(100% - 38px); display: flex; align-items: center; justify-content: space-between; gap: 2px; }
.author-name { font-size: 12px; font-weight: 600; color: #222; }
.author-date { font-size: 10px; font-weight: 300; font-style: italic; color: var(--gray-muted); margin-top: 1px; }

/* ══ CTA ══ */
.cta-section {
    padding: 120px 72px;
    background: #0d0d0d;
    text-align: center; position: relative; overflow: hidden;
}
/* animated gradient orb */
.cta-section::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(224,120,0,.15) 0%, transparent 65%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    border-radius: 50%; animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.8;} 50%{transform:translate(-50%,-50%) scale(1.2);opacity:1;} }
.cta-bg-text {
    position: absolute; font-size: 160px; font-weight: 900;
    color: rgba(255,255,255,.02); top: 50%; left: 50%;
    transform: translate(-50%,-50%); white-space: nowrap; pointer-events: none;
    letter-spacing: 12px; z-index: 0;
}
.cta-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.cta-eyebrow {
    font-size: 11px; font-weight: 600; font-style: italic;
    color: rgba(255,255,255,.45); margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; gap: 10px; letter-spacing: 1px;
}
.cta-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 1px; background: rgba(255,255,255,.25); }
.cta-title { font-size: clamp(30px,4vw,52px); font-weight: 800; color: #fff; line-height: 1.05; margin-bottom: 16px; letter-spacing: -1px; }
.cta-title em { font-style: italic; color: var(--orange); }
.cta-sub   { font-size: 14px; font-weight: 300; color: rgba(255,255,255,.45); margin-bottom: 42px; line-height: 1.95; }
.cta-btns  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══ WHATSAPP FLOTANTE ══ */
.whatsapp-float { position: fixed; bottom: 34px; right: 34px; width: 50px; height: 50px; z-index: 999; transition: transform 0.2s ease; }
.whatsapp-float img { width: 100%; height: 100%; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ══ FOOTER ══ */
.footer { background: #0d0d0d; color: #fff; border-top: 1px solid rgba(224,120,0,.12); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; padding: 72px 72px 22px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand .footer-logo img { width: auto; height: calc(var(--height-nav) / 2); }
.footer-brand p { font-size: 13px; font-weight: 300; line-height: 2; color: rgba(255,255,255,.35); max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 26px; }
.social-btn {
    width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s; cursor: none; background: transparent;
}
.social-btn:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.social-btn svg { width: 16px; height: 16px; }
.social-btn svg path,.social-btn svg rect,.social-btn svg circle { stroke:#fff;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
.footer-col h5 { font-size: 10px; font-weight: 700; color: var(--orange); margin-bottom: 20px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.35); display: inline-block; }
.footer-col ul li a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.35); transition: color .3s, transform .3s; display: inline-block; }
.footer-col ul li a:hover { color: #fff; transform: translateX(4px); }
.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: 10px; }
.footer-col address p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.35); line-height: 1.6; }
.footer-col address a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.35); transition: color .3s; }
.footer-col address a:hover { color: var(--orange); }
.footer-map { padding: 22px 72px; border-radius: 16px; overflow: hidden; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 22px 72px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 11px; font-weight: 300; color: rgba(255,255,255,.18); text-align: center;}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 11px; font-weight: 300; color: rgba(255,255,255,.18); transition: color .3s; }
.footer-legal a:hover { color: var(--orange); }

/* ══ NUMBERS COUNTER ══ */
.counting { transition: all 0.3s; }
/* Fallback mobile: si el JS tarda, no se ve "0" */
@media (max-width: 900px) {
    .stat-num.counting:empty::before { content: attr(data-target); }
}

/* ══ ANIMACIONES MOBILE (no bloquean visibilidad) ══ */
@media (max-width: 900px) {
    .mob-anim {
    animation: mobFadeUp 0.5s ease both;
    }
    @keyframes mobFadeUp {
    from { opacity: 0.3; transform: translateY(16px); }
    to   { opacity: 1;   transform: translateY(0); }
    }
}

/* ══ RESPONSIVE ══ */

/* ── Tablet ── */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        padding: 60px 40px 40px;
        gap: 40px;
    }
    .footer-brand {
        grid-column: span 2; /* ocupa todo el ancho arriba */
    }
    .footer-brand p {
        max-width: 100%;
    }
}

/* ── Tablet ancho ── */
@media (max-width: 1100px) {
    .section { padding: 80px 40px; }
    .hero-left { padding: 80px 40px; }
    .cta-section { padding: 100px 40px; }
    .que-grid { gap: 48px; }
}

/* ── Tablet / mobile (nav colapsa) ── */
@media (max-width: 900px) {
    /* nav */
    .nav { padding: 14px 20px; }
    .nav-links, .btn-nav { display: none; }
    .hamburger { display: flex; }

    /* cursor: desactivar en touch */
    .cursor, .cursor-ring { display: none; }
    body { cursor: auto; }
    * { cursor: auto !important; }

    /* hero: una columna con fondo oscuro (sin video cargado) */
    .hero { grid-template-columns: 1fr; min-height: 100svh; background: #0d0d0d; position: relative; }
    .hero-video-bg { display: block; }
    .hero-video-desktop { display: none }
    .hero-video-mobile { display: block }
    .hero-left { padding: 40px 22px; position: relative; z-index: 3; grid-column: 1;}
    /* texto hero sobre fondo oscuro */
    .hero-title  { color: #fff; font-size: clamp(28px, 7vw, 44px); letter-spacing: -.5px; }
    .hero-sub    { color: rgba(255,255,255,.6); max-width: 100%; }
    .hero-badge  { background: rgba(255,255,255,.07); border-color: rgba(224,120,0,.4); }
    .hero-badge-text { color: var(--orange); }
    .hero-stats  { border-top-color: rgba(255,255,255,.12); flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
    .stat-num    { font-size: 26px; }
    .stat-label  { color: rgba(255,255,255,.4); }
    /* botón outline se ve sobre oscuro */
    .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
    .btn-outline:hover { border-color: var(--orange); color: var(--orange); }

    /* secciones */
    .section { padding: 60px 20px; }

    /* qué es */
    .que-grid { grid-template-columns: 1fr; gap: 36px; max-width: 100%; }

    /* casos carrusel */
    .casos-carousel-wrapper { margin-top: 36px; overflow: visible; }
    .caso-slide { grid-template-columns: 1fr; gap: 3px; }
    .caso-card  { height: auto; aspect-ratio: unset; }
    .caso-card img { width: 100% !important; height: auto !important; object-fit: unset !important; }
    .casos-carousel-wrapper .carousel-arrow.prev { left: 4px; }
    .casos-carousel-wrapper .carousel-arrow.next { right: 4px; }
    .carousel-arrow { width: 40px; height: 40px; }

    /* reseñas */
    .resenas-carousel-wrapper { margin-top: 36px; overflow: visible; }
    .resena-slide { grid-template-columns: 1fr; gap: 16px; }
    .resenas-carousel-wrapper .carousel-arrow.prev { left: 4px; }
    .resenas-carousel-wrapper .carousel-arrow.next { right: 4px; }

    /* popup  */
    .popup-overlay { padding: 4px;}
    .popup-box { max-width: 95vw; }
    .popup-images { grid-template-columns: 1fr;}
    .popup-img-wrap img { width: 100%; max-width: 100%; max-height: 40vh; height: auto;}
    .popup-info { padding: 5px;}

    /* faq */
    .faq-question { font-size: .8rem; padding: 18px 4px; letter-spacing: .03em; }

    /* instagram carrusel */
    .instagram-carousel-wrapper { margin-top: 36px; overflow: visible; }
    .instagram-slide { display: grid !important; grid-template-columns: 1fr !important; gap: 3px; }
    .instagram-card  { height: auto; aspect-ratio: 3/4; }
    .instagram-card img { width: 100% !important; height: auto !important; object-fit: unset !important; }
    .instagram-carousel-wrapper .carousel-arrow.prev { left: 4px; }
    .instagram-carousel-wrapper .carousel-arrow.next { right: 4px; }
    .carousel-arrow { width: 40px; height: 40px; }

    /* CTA */
    .cta-section { padding: 80px 20px; }
    .cta-bg-text { font-size: 48px; letter-spacing: 6px; }
    .cta-inner { max-width: 100%; }

    /* footer */
    .footer-main { grid-template-columns: 1fr; padding: 44px 20px 32px; gap: 32px; }
    .footer-bottom { padding: 16px 20px; flex-direction: column; text-align: center; gap: 10px; }
    .footer-brand p { max-width: 100%; }
    .footer-legal { justify-content: center; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .footer-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 40px 20px 30px;
        gap: 28px;
    }

    /* fila 1 */
    .footer-brand {
        grid-column: 1 / -1; /* ocupa ambas columnas */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* fila 2 */
    .footer-col.navegation {
        grid-column: 1 / 2;
        text-align: center;
    }

    .footer-col.services {
        grid-column: 2 / 3;
        text-align: center;
    }

    /* fila 3 */
    .footer-col.contact {
        grid-column: 1 / -1; /* ocupa ambas columnas */
        text-align: center;
    }

    .footer-col ul,
    .footer-col address {
        align-items: center;
    }

    .footer-bottom {
        padding: 18px 20px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ── Mobile pequeño ── */
@media (max-width: 600px) {
    .hero-title { font-size: 28px; }
    .hero-ctas  { flex-direction: column; }
    .hero-ctas .btn { width: 100%; text-align: center; padding: 16px; }
    .hero-stats { gap: 15px; }

    .que-text p { font-size: 13px; }
    .feat       { font-size: 12px; }

    .strip-item { padding: 0 22px; font-size: 10px; }

    .proc-card  { padding: 28px 20px; }
    .proc-step h4 { font-size: 11px; }
    .proc-step p  { font-size: 11px; }

    .resena-card { padding: 22px 18px; }
    .resena-txt  { font-size: 12px; }

    .cta-title  { font-size: 28px; letter-spacing: -.5px; }
    .cta-sub    { font-size: 13px; }
    .cta-btns   { flex-direction: column; align-items: stretch; }
    .cta-btns .btn { width: 100%; text-align: center; }

    .faq-question { font-size: .75rem; }
    .faq-answer p { font-size: .88rem; }
}

/* ── Mobile pequeño ── */
@media (max-width: 480px) {
    .footer-col h5 {
        font-size: 9px;
    }
    .footer-col ul li a,
    .footer-col address a,
    .footer-col address p {
        font-size: 12px;
    }
    .social-btn {
        width: 34px;
        height: 34px;
    }
    .footer-copy {
        font-size: 10px;
    }
}

/* ── Mobile muy pequeño ── */
@media (max-width: 380px) {
    .hero-title { font-size: 24px; }
    .logo-text  { font-size: 11px; letter-spacing: 1px; }
    .logo-icon  { width: 30px; height: 30px; }
}