/* ============================================================
   MiTaller — Estilos principales
   Paleta: Naranja #FF6B35 · Oscuro #0d0d0d · Gris #1a1a1a
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────── */
:root {
    --orange:    #FF6B35;
    --orange-dk: #e05a25;
    --orange-lt: #ff8c5e;
    --dark:      #0d0d0d;
    --dark-2:    #141414;
    --dark-3:    #1a1a1a;
    --dark-4:    #242424;
    --border:    rgba(255,107,53,.18);
    --border-2:  rgba(255,255,255,.07);
    --text:      #a0a0a0;
    --text-lt:   #c8c8c8;
    --white:     #ffffff;
    --wa-green:  #25D366;
    --wa-dk:     #128C7E;

    --font-head: 'Bebas Neue', 'Poppins', sans-serif;
    --font-body: 'Inter', 'Poppins', sans-serif;

    --radius:    12px;
    --radius-lg: 20px;
    --shadow:    0 4px 24px rgba(0,0,0,.45);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.65);
    --glow:      0 0 32px rgba(255,107,53,.25);

    --nav-h:     72px;
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text-lt);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Utility ────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section { padding: 100px 0; }
.accent { color: var(--orange); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    background: rgba(255,107,53,.12);
    color: var(--orange);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 18px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    line-height: 1.1;
    letter-spacing: .01em;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 580px;
    margin: 0 auto;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255,107,53,.35);
}
.btn-primary:hover {
    background: var(--orange-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,107,53,.5);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,.25);
    color: var(--white);
}
.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

.btn-wa {
    background: var(--wa-green);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover {
    background: var(--wa-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

/* Pulse animation on primary CTA */
.pulse {
    animation: pulse-ring 2.5s ease infinite;
}
@keyframes pulse-ring {
    0%,100% { box-shadow: 0 4px 20px rgba(255,107,53,.35); }
    50%      { box-shadow: 0 4px 36px rgba(255,107,53,.65); }
}

/* ─── Header / Nav ───────────────────────────────────────── */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: transparent;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(13,13,13,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-2);
    box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.nav {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-head);
    font-size: 1.7rem;
    color: var(--white);
    letter-spacing: .04em;
    flex-shrink: 0;
}
.nav__logo span { color: var(--orange); }
.logo-gear {
    font-size: 1.4rem;
    color: var(--orange);
    animation: spin-slow 12s linear infinite;
    display: inline-block;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.nav__link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-lt);
    transition: var(--transition);
}
.nav__link:hover,
.nav__link.active {
    color: var(--orange);
    background: rgba(255,107,53,.1);
}
.nav__cta { margin-left: 8px; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    margin-left: auto;
    transition: var(--transition);
}
.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-h);
}

/* Dot grid background */
.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-color: var(--dark);
    background-image:
        radial-gradient(circle, rgba(255,107,53,.08) 1px, transparent 1px);
    background-size: 36px 36px;
}

/* Glowing blobs */
.hero__glow {
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.hero__glow--left {
    background: radial-gradient(circle, rgba(255,107,53,.22) 0%, transparent 70%);
    top: -200px; left: -200px;
}
.hero__glow--right {
    background: radial-gradient(circle, rgba(233,69,96,.15) 0%, transparent 70%);
    bottom: -200px; right: -200px;
}

/* Decorative gears */
.hero__deco {
    position: absolute;
    font-size: 8rem;
    color: rgba(255,107,53,.06);
    pointer-events: none;
    line-height: 1;
}
.hero__deco--1 { top: 10%; right: 6%; font-size: 10rem; }
.hero__deco--2 { bottom: 15%; right: 14%; font-size: 6rem; }
.hero__deco--3 { bottom: 20%; left: 5%; font-size: 5rem; transform: rotate(-30deg); }
.fa-spin-slow { animation: spin-slow 20s linear infinite; }
.fa-spin-slow-reverse { animation: spin-slow 16s linear infinite reverse; }

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,53,.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 24px;
}
.hero__title {
    font-family: var(--font-head);
    font-size: clamp(3.2rem, 7vw, 6rem);
    color: var(--white);
    line-height: 1.0;
    letter-spacing: .01em;
    margin-bottom: 24px;
}
.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.8;
}
.hero__subtitle strong { color: var(--text-lt); }
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: .82rem;
    color: var(--text-lt);
}
.pill i { color: var(--orange); }
.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero__scroll-hint a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 2px solid var(--border-2);
    border-radius: 50%;
    color: var(--text);
    animation: bounce 2s ease infinite;
    transition: var(--transition);
}
.hero__scroll-hint a:hover { border-color: var(--orange); color: var(--orange); }
@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ─── Reveal animation ───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
[data-aos] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
[data-aos].visible { opacity: 1; transform: translateY(0); }
[data-aos-delay="50"].visible  { transition-delay: .05s; }
[data-aos-delay="100"].visible { transition-delay: .1s;  }
[data-aos-delay="150"].visible { transition-delay: .15s; }
[data-aos-delay="200"].visible { transition-delay: .2s;  }
[data-aos-delay="250"].visible { transition-delay: .25s; }
[data-aos-delay="300"].visible { transition-delay: .3s;  }

/* ─── Stats ──────────────────────────────────────────────── */
.stats {
    background: var(--dark-2);
    border-top: 1px solid var(--border-2);
    border-bottom: 1px solid var(--border-2);
    padding: 56px 0;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}
.stat-card {
    text-align: center;
    padding: 36px 24px;
    position: relative;
}
.stat-card + .stat-card::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--border-2);
}
.stat-card__ico {
    width: 56px; height: 56px;
    background: rgba(255,107,53,.1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--orange);
    margin: 0 auto 16px;
}
.stat-card__num {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    color: var(--white);
    line-height: 1;
    letter-spacing: .02em;
}
.stat-card__lbl {
    font-size: .85rem;
    color: var(--text);
    margin-top: 8px;
    font-weight: 500;
}

/* ─── Why ────────────────────────────────────────────────── */
.why { background: var(--dark); }
.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.why-card {
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,53,.05) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}
.why-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--glow); }
.why-card:hover::before { opacity: 1; }
.why-card__icon {
    width: 60px; height: 60px;
    background: rgba(255,107,53,.12);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 20px;
    transition: var(--transition);
}
.why-card:hover .why-card__icon { background: var(--orange); color: var(--white); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p  { font-size: .9rem; color: var(--text); line-height: 1.7; }

/* ─── Services ───────────────────────────────────────────── */
.services { background: var(--dark-2); }

.tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
    transition: var(--transition);
}
.tab-btn.active {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255,107,53,.35);
}
.tab-btn:hover:not(.active) { color: var(--white); background: var(--border-2); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.svc-card {
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.svc-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.svc-card__icon {
    width: 52px; height: 52px;
    background: rgba(255,107,53,.1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--orange);
    transition: var(--transition);
}
.svc-card:hover .svc-card__icon { background: var(--orange); color: var(--white); }
.svc-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.svc-card p  { font-size: .87rem; color: var(--text); flex: 1; line-height: 1.6; }
.svc-card__link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    margin-top: auto;
}
.svc-card__link:hover { gap: 10px; }

.services__bottom {
    margin-top: 56px;
    text-align: center;
    padding: 40px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.services__bottom p { font-size: 1.05rem; color: var(--text-lt); font-weight: 500; }

/* ─── About ──────────────────────────────────────────────── */
.about { background: var(--dark); }
.about__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about__visuals {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px;
    gap: 16px;
}
.about__card {
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--border-2);
    transition: var(--transition);
    overflow: hidden;
}
.about__card i { font-size: 2.8rem; }
.about__card span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-lt);
    text-align: center;
}
.about__card--main {
    grid-column: 1 / 3;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
    color: var(--orange);
}
.about__card--secondary {
    background: linear-gradient(135deg, var(--dark-3) 0%, #202020 100%);
    color: var(--orange);
}
.about__card:hover { border-color: var(--border); transform: scale(1.02); }

.about__badge {
    background: var(--orange);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--glow);
}
.about__badge-num {
    font-family: var(--font-head);
    font-size: 2.6rem;
    color: var(--white);
    line-height: 1;
}
.about__badge-num sup { font-size: 1.4rem; }
.about__badge-txt {
    font-size: .75rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1.4;
    margin-top: 6px;
}

.about__content p {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.8;
}
.about__mv {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0 36px;
}
.mv-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}
.mv-item:hover { border-color: var(--border); }
.mv-item__icon {
    width: 44px; height: 44px;
    background: rgba(255,107,53,.12);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--orange);
    flex-shrink: 0;
}
.mv-item h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.mv-item p  { font-size: .85rem; color: var(--text); line-height: 1.6; }

/* ─── Portfolio / Gallery ────────────────────────────────── */
.portfolio { background: var(--dark-2); }

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 220px;
    gap: 16px;
}
.gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row:    span 2; }

.gallery__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, var(--dark-3) 0%, #202020 100%);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.gallery__placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr, #FF6B35) 0%, transparent 60%);
    opacity: .12;
    border-radius: inherit;
}
.gallery__placeholder i {
    font-size: 2.8rem;
    color: var(--clr, var(--orange));
    position: relative;
    z-index: 1;
}
.gallery__placeholder span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-lt);
    position: relative;
    z-index: 1;
    text-align: center;
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(4px);
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__item:hover .gallery__placeholder { transform: scale(1.04); }
.gallery__overlay i { font-size: 2rem; color: var(--orange); }
.gallery__overlay strong { color: var(--white); font-size: 1rem; }
.gallery__overlay p { color: var(--text); font-size: .82rem; }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonials {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: '"';
    position: absolute;
    top: -40px; left: 20px;
    font-size: 20rem;
    color: rgba(255,107,53,.04);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}
.testi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: var(--transition);
}
.testi-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-card:hover::before { opacity: 1; }
.testi-card__stars { color: #FFD700; margin-bottom: 16px; font-size: .9rem; gap: 3px; display: flex; }
.testi-card p { color: var(--text); font-size: .92rem; line-height: 1.75; margin-bottom: 24px; }
.testi-card__author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--clr, var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    color: var(--white);
    flex-shrink: 0;
}
.testi-card__author strong { display: block; color: var(--white); font-size: .92rem; }
.testi-card__author span   { font-size: .8rem; color: var(--text); }

/* ─── Contact ────────────────────────────────────────────── */
.contact { background: var(--dark-2); }
.contact__layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.contact__info { display: flex; flex-direction: column; gap: 16px; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
}
.contact-info-item:hover { border-color: var(--border); }
.contact-info-item--wa {
    background: rgba(37,211,102,.08);
    border-color: rgba(37,211,102,.25);
    color: inherit;
}
.contact-info-item--wa:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.4); }

.contact-info-item__icon {
    width: 44px; height: 44px;
    background: rgba(255,107,53,.1);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--orange);
    flex-shrink: 0;
}
.contact-info-item--wa .contact-info-item__icon {
    background: rgba(37,211,102,.15);
    border-color: rgba(37,211,102,.3);
    color: var(--wa-green);
    font-size: 1.4rem;
}
.contact-info-item h4 { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.contact-info-item p  { font-size: .85rem; color: var(--text); line-height: 1.6; }
.contact-info-item span { font-size: .95rem; color: var(--wa-green); font-weight: 600; }
.contact-info-item small { color: var(--text); font-size: .78rem; }

/* Form */
.contact-form {
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-lt);
    margin-bottom: 8px;
}
label span { color: var(--orange); }
input, textarea, select {
    width: 100%;
    background: var(--dark-4);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 13px 16px;
    font-size: .92rem;
    color: var(--white);
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(160,160,160,.5); }
input:focus, textarea:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,.12); }
textarea { resize: vertical; min-height: 120px; }
select { cursor: pointer; }
select option { background: var(--dark-4); }
.form-note {
    margin-top: 14px;
    font-size: .78rem;
    color: var(--text);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.form-note i { color: var(--orange); }

/* Map placeholder */
.contact__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-2);
}
.map-placeholder {
    height: 240px;
    background: var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 32px;
}
.map-placeholder i { font-size: 3rem; color: var(--orange); }
.map-placeholder strong { display: block; color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.map-placeholder p { font-size: .87rem; color: var(--text); margin-bottom: 16px; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border-2);
    padding-top: 80px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 60px;
}
.footer__logo { font-size: 1.6rem; margin-bottom: 16px; display: inline-flex; }
.footer__brand p {
    font-size: .88rem;
    color: var(--text);
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 24px;
}
.footer__social { display: flex; gap: 10px; }
.soc-link {
    width: 38px; height: 38px;
    border: 1px solid var(--border-2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--text);
    transition: var(--transition);
}
.soc-link:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,107,53,.08); }
.soc-link--wa:hover { border-color: var(--wa-green); color: var(--wa-green); background: rgba(37,211,102,.08); }

.footer__col h4 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.footer__col ul li {
    font-size: .86rem;
    color: var(--text);
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer__col ul li a {
    color: var(--text);
    transition: var(--transition);
}
.footer__col ul li a:hover { color: var(--orange); }
.footer__contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer__contact-list i { color: var(--orange); width: 16px; }

.footer__bottom {
    border-top: 1px solid var(--border-2);
    padding: 20px 0;
}
.footer__bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer__bottom p { font-size: .82rem; color: var(--text); }
.footer__bottom a { color: var(--orange); }

/* ─── WhatsApp Floating ───────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 999;
    width: 62px; height: 62px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 6px 28px rgba(37,211,102,.5);
    transition: var(--transition);
}
.wa-float:hover {
    background: var(--wa-dk);
    transform: scale(1.08);
    box-shadow: 0 8px 36px rgba(37,211,102,.65);
}
.wa-float__tooltip {
    position: absolute;
    right: 72px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    color: var(--white);
    font-size: .78rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.wa-float__tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--dark-3);
}
.wa-float:hover .wa-float__tooltip { opacity: 1; }

/* Ping ring */
.wa-float__ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--wa-green);
    animation: ping 2s ease infinite;
    pointer-events: none;
}
@keyframes ping {
    0%   { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* ─── Back to top ────────────────────────────────────────── */
.back-top {
    position: fixed;
    bottom: 32px;
    right: 108px;
    z-index: 998;
    width: 44px; height: 44px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: 50%;
    color: var(--text-lt);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { border-color: var(--orange); color: var(--orange); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .why__grid        { grid-template-columns: repeat(2, 1fr); }
    .stats__grid      { grid-template-columns: repeat(2, 1fr); }
    .stat-card + .stat-card::before { display: none; }
    .footer__grid     { grid-template-columns: 1fr 1fr; }
    .about__wrap      { grid-template-columns: 1fr; gap: 56px; }
    .about__visuals   { max-width: 500px; }
    .contact__layout  { grid-template-columns: 1fr; }
    .testimonials__grid { grid-template-columns: 1fr 1fr; }
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery__item--wide { grid-column: span 2; }
    .gallery__item--tall { grid-row: span 1; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .section { padding: 72px 0; }
    .section-title { font-size: 2rem; }

    .nav__menu, .nav__cta {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(13,13,13,.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-2);
        padding: 24px 20px;
        z-index: 999;
    }
    .nav__menu.open, .nav__cta.nav__cta-mobile.open {
        display: flex;
    }
    .nav__menu {
        flex-direction: column;
        gap: 4px;
    }
    .nav__link { font-size: 1.1rem; padding: 14px 20px; }
    .nav__burger { display: flex; }
    .nav__cta { display: none !important; }

    /* Mobile menu open state: show menu */
    .nav__menu.open {
        display: flex !important;
    }

    .hero__title { font-size: clamp(2.5rem, 8vw, 4rem); }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }

    .why__grid     { grid-template-columns: 1fr; }
    .stats__grid   { grid-template-columns: repeat(2, 1fr); }

    .testimonials__grid { grid-template-columns: 1fr; }

    .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery__item--wide { grid-column: span 1; }
    .gallery__item { height: 200px; }

    .about__visuals {
        grid-template-columns: 1fr;
        grid-template-rows: 220px 120px 80px;
    }
    .about__card--main { grid-column: span 1; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px 20px; }

    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .footer__bottom .container { flex-direction: column; text-align: center; }

    .services__bottom { flex-direction: column; text-align: center; }

    .wa-float { bottom: 20px; right: 20px; width: 56px; height: 56px; font-size: 1.6rem; }
    .back-top { right: 90px; bottom: 20px; }
}

@media (max-width: 480px) {
    .hero__pills { display: none; }
    .tabs { flex-direction: column; width: 100%; }
    .services__grid { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .map-placeholder { flex-direction: column; text-align: center; gap: 16px; }
    .section-tag { font-size: .72rem; }
}

/* ─── Cursor personalizado ───────────────────────────────── */
body.has-custom-cursor * { cursor: none !important; }

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: opacity .3s ease;
}
.cursor-dot {
    width: 8px; height: 8px;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
    transition: transform .1s ease, width .2s ease, height .2s ease, background .2s ease;
}
.cursor-ring {
    width: 38px; height: 38px;
    border: 2px solid rgba(255,107,53,.6);
    background: rgba(255,107,53,.06);
    /* position updated via JS requestAnimationFrame lerp */
    transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
}

/* Estado: hover sobre elemento clicable */
body.cursor-hover .cursor-dot {
    width: 6px; height: 6px;
    background: var(--white);
    box-shadow: 0 0 10px var(--orange);
}
body.cursor-hover .cursor-ring {
    width: 52px; height: 52px;
    border-color: var(--orange);
    background: rgba(255,107,53,.12);
}

/* Estado: click */
body.cursor-click .cursor-dot {
    transform: translate(-50%,-50%) scale(.6);
}
body.cursor-click .cursor-ring {
    transform: translate(-50%,-50%) scale(.88);
    border-color: var(--orange-lt);
}

/* Ocultar en móvil */
@media (hover: none) {
    .cursor-dot, .cursor-ring { display: none; }
    body.has-custom-cursor * { cursor: auto !important; }
}

/* ─── Workflow / OT States ───────────────────────────────── */
.workflow { background: var(--dark-2); }
.workflow__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 24px;
}
.wf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 24px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    min-width: 148px;
    position: relative;
    transition: var(--transition);
}
.wf-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wf-step__dot {
    position: absolute;
    top: -1px; left: 50%; transform: translateX(-50%);
    width: 100%; height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.wf-step--amber  .wf-step__dot { background: #f7b731; }
.wf-step--indigo .wf-step__dot { background: #4b7bec; }
.wf-step--green  .wf-step__dot { background: #20bf6b; }
.wf-step--gray   .wf-step__dot { background: #888; }

.wf-step__icon {
    width: 52px; height: 52px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.wf-step--amber  .wf-step__icon { background: rgba(247,183,49,.12);  color: #f7b731; }
.wf-step--indigo .wf-step__icon { background: rgba(75,123,236,.12);  color: #4b7bec; }
.wf-step--green  .wf-step__icon { background: rgba(32,191,107,.12);  color: #20bf6b; }
.wf-step--gray   .wf-step__icon { background: rgba(136,136,136,.12); color: #888; }

.wf-step h4 { font-size: .92rem; font-weight: 700; color: var(--white); }
.wf-step p  { font-size: .78rem; color: var(--text); text-align: center; }

.wf-step__arrow {
    font-size: .85rem;
    color: var(--border-2);
    padding: 0 4px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .workflow__steps { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto; }
    .wf-step__arrow  { transform: rotate(90deg); text-align: center; }
}

/* ─── Hero foto de fondo ─────────────────────────────────── */
.hero__bg-photo {
    position: absolute;
    inset: 0;
    background: url('../img/photos/hero_bg.jpg') center center / cover no-repeat;
    opacity: .07;
    z-index: 0;
}

/* ─── About cards con fotos reales ───────────────────────── */
.about__card img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    transition: transform .5s ease;
}
.about__card:hover img { transform: scale(1.04); }

/* ─── Slider / Carrusel ──────────────────────────────────── */
.slider-section { background: var(--dark); padding-bottom: 0; }
.slider-section .container { padding-bottom: 0; }

.slider {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding-bottom: 70px;
}

.slider__track {
    display: flex;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.slider__slide {
    min-width: 100%;
    padding: 0 clamp(16px, 5vw, 120px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Browser mockup frame */
.browser-frame {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-2);
    box-shadow: 0 24px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,107,53,.08);
    background: var(--dark-3);
}

.browser-frame__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--dark-4);
    border-bottom: 1px solid var(--border-2);
}
.bfb {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.bfb--red    { background: #ff5f57; }
.bfb--yellow { background: #febc2e; }
.bfb--green  { background: #28c840; }

.browser-frame__url {
    flex: 1;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: 6px;
    padding: 5px 14px;
    font-size: .75rem;
    color: var(--text);
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 8px;
}

.browser-frame__body {
    overflow: hidden;
    max-height: 520px;
    position: relative;
}
.browser-frame__body img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

.slider__caption {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 16px 24px;
    max-width: 1000px;
    width: 100%;
}
.slider__caption i {
    font-size: 1.4rem;
    color: var(--orange);
    flex-shrink: 0;
}
.slider__caption strong {
    display: block;
    color: var(--white);
    font-size: .95rem;
    margin-bottom: 2px;
}
.slider__caption span {
    font-size: .82rem;
    color: var(--text);
}

/* Botones de navegación */
.slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    z-index: 10;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--dark-3);
    border: 1px solid var(--border-2);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}
.slider__btn:hover { background: var(--orange); border-color: var(--orange); }
.slider__btn--prev { left: clamp(4px, 1.5vw, 24px); }
.slider__btn--next { right: clamp(4px, 1.5vw, 24px); }

/* Dots */
.slider__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}
.slider__dot.active {
    background: var(--orange);
    transform: scale(1.3);
    width: 24px;
    border-radius: 4px;
}

/* ─── Gallery con imágenes reales ────────────────────────── */
.gallery__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-lg);
    transition: transform .5s ease;
    display: block;
}
.gallery__item:hover img { transform: scale(1.04); }

/* ─── Photostrip ─────────────────────────────────────────── */
.photostrip { background: var(--dark-2); padding-bottom: 0; }
.photostrip .container { padding-bottom: 40px; }

.photostrip__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 240px 240px;
    gap: 4px;
    margin-top: 0;
}
.photostrip__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.photostrip__item--tall  { grid-row: span 2; }
.photostrip__item--wide  { grid-column: span 2; }

.photostrip__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
    filter: brightness(.75) saturate(.9);
}
.photostrip__item:hover img {
    transform: scale(1.06);
    filter: brightness(.9) saturate(1.1);
}

.photostrip__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
}
.photostrip__item:hover .photostrip__overlay { opacity: 1; }
.photostrip__overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .02em;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

@media (max-width: 768px) {
    .photostrip__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .photostrip__item--tall { grid-row: span 1; }
    .photostrip__item { height: 180px; }

    .browser-frame__body { max-height: 240px; }
    .slider__btn { display: none; }
}
@media (max-width: 480px) {
    .photostrip__grid { grid-template-columns: 1fr; }
    .photostrip__item--wide { grid-column: span 1; }
    .photostrip__item { height: 200px; }
}

/* ─── Scrollbar personalizado ────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ─── Selection ──────────────────────────────────────────── */
::selection { background: rgba(255,107,53,.25); color: var(--white); }
