/* ========================================
   BUSINESS CODE SAC - MODERN DESIGN
   Inspirado en diseño corporativo limpio
   Colores: Blanco, Naranja (#f26522), Negro/Azul oscuro
   ======================================== */

/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-darker: #0d0d0d;
    --bg-gray: #f8f9fa;
    --bg-gray-light: #fafbfc;
    --text-primary: #000000;
    --text-secondary: #4a4a4a;
    --text-tertiary: #666666;
    --text-muted: #999999;
    --accent-orange: #f26522;
    --accent-orange-hover: #d9561a;
    --accent-light: #f57c3a;
    --border-color: #e5e7eb;
    --border-color-light: #f0f0f0;
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ========================================
   TOP HEADER
   ======================================== */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color-light);
    padding: 3px 0;
    font-size: 13px;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Infra badges in top-header */
.th-infra-label {
    font-size: 11.5px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.th-infra-label .fas { color: #9ca3af; font-size: 10px; }
.th-infra-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}
.th-infra-badge img {
    height: 14px;
    width: auto;
    opacity: .7;
    transition: opacity .2s;
}
.th-infra-badge:hover img { opacity: 1; }
.th-infra-fallback {
    font-size: 11.5px;
    font-weight: 700;
    color: #6b7280;
    align-items: center;
    gap: 4px;
}
.th-infra-fallback .fas,
.th-infra-fallback .fab { font-size: 13px; }
/* GoDaddy = verde, AWS = naranja */
.th-infra-badge--godaddy .th-infra-fallback .fas { color: #1bdbdb; }
.th-infra-badge--godaddy .th-infra-fallback { color: #00b373; }
.th-infra-badge--aws .th-infra-fallback .fab { color: #ff9900; }
.th-infra-badge--aws .th-infra-fallback { color: #ff9900; }
.th-infra-sub {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}
.th-infra-sep { color: #d1d5db; font-size: 12px; }

.login-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 400;
    padding: 4px 0;
}

.login-link:hover {
    color: var(--accent-orange);
}

.login-link i {
    font-size: 14px;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 0;
}

.whatsapp-link:hover {
    color: #25d366;
}

.whatsapp-link i {
    font-size: 15px;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 400;
}

.country-selector:hover {
    background: var(--bg-gray);
    border-color: var(--text-secondary);
}

.flag-icon {
    width: 16px;
    height: auto;
    border-radius: 2px;
}

.country-selector span {
    color: var(--text-secondary);
}

.country-selector i {
    font-size: 8px;
    color: var(--text-muted);
}

/* ========================================
   MAIN HEADER & NAVIGATION
   ======================================== */
.main-header {
    position: fixed;
    top: 39px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #111111;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 11px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    color: var(--accent-orange);
    font-size: 30px;
}

.logo-text {
    display: inline-block;
    color: #ffffff;
}

.logo-highlight {
    color: var(--accent-orange);
}

.main-nav {
    display: flex;
    gap: 35px;
    align-items: center;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 12px;
    padding: 12px 0;
    border: 1px solid var(--border-color-light);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-gray);
    color: var(--text-primary);
}

.dropdown-item i {
    font-size: 20px;
    color: var(--accent-orange);
    width: 24px;
    text-align: center;
}

.dropdown-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-item span {
    font-size: 12px;
    color: var(--text-muted);
}

.dropdown-item:hover strong {
    color: var(--accent-orange);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-primary {
    padding: 11px 24px;
    background: var(--accent-orange);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
    background: var(--accent-orange-hover);
    border-color: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

.btn-secondary {
    padding: 11px 24px;
    background: transparent;
    color: var(--accent-orange);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid var(--accent-orange);
}

.btn-secondary:hover {
    background: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 81, 0, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* ── Mobile Menu ── */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -6px 0 32px rgba(0,0,0,.12);
    z-index: 2000;
    transition: right .3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.mobile-menu.active { right: 0; }

/* Header */
.mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}
.mm-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.mm-logo .fas { font-size: 20px; color: #f26522; }
.mm-logo span { font-size: 18px; font-weight: 800; color: #111; }
.mm-logo-hi { color: #f26522; }
.mm-close {
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.mm-close:hover { background: #fee2e2; color: #ef4444; }

/* Nav */
.mm-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 8px 0;
}
.mm-nav-icon { width: 16px; text-align: center; color: #94a3b8; font-size: 13px; }

/* Plain links */
.mm-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: color .2s, background .2s;
}
.mm-link:hover { color: #f26522; background: #fdf4ef; }
.mm-link:hover .mm-nav-icon { color: #f26522; }

/* Accordion */
.mm-accordion { border-bottom: 1px solid #f1f5f9; }
.mm-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    text-align: left;
    transition: color .2s, background .2s;
    gap: 10px;
}
.mm-accordion-trigger span { display: flex; align-items: center; gap: 10px; }
.mm-accordion-trigger:hover { color: #f26522; background: #fdf4ef; }
.mm-accordion-trigger:hover .mm-nav-icon { color: #f26522; }
.mm-chevron { font-size: 12px; color: #94a3b8; transition: transform .25s; flex-shrink: 0; }
.mm-accordion-trigger.active { color: #f26522; background: #fdf4ef; }
.mm-accordion-trigger.active .mm-chevron { transform: rotate(180deg); color: #f26522; }
.mm-accordion-trigger.active .mm-nav-icon { color: #f26522; }

.mm-accordion-body {
    display: none;
    flex-direction: column;
    background: #f8fafc;
    padding: 6px 0;
}
.mm-accordion-body.open { display: flex; }
.mm-sub-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px 11px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.mm-sub-link:hover { color: #f26522; background: #fdf4ef; }
.mm-sub-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

/* Actions */
.mm-actions {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}
.mm-btn--primary {
    background: #f1f5f9;
    color: #1e293b;
}
.mm-btn--primary:hover { background: #e2e8f0; }
.mm-btn--orange {
    background: #f26522;
    color: #fff;
}
.mm-btn--orange:hover { background: #d9561a; }

.mobile-login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-login-link:hover {
    color: var(--accent-orange);
}

.mobile-login-link i {
    font-size: 16px;
}

/* ========================================
   HERO BANNER
   ======================================== */
.hero-banner {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
    margin-top: 40px;
}

/* Network canvas */
.hb-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Main layout */
.hb-layout {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    min-height: 740px;
    align-items: center;
}
@media(max-width:1100px) {
    .hb-layout { grid-template-columns: 1fr; padding: 48px 24px; min-height: auto; gap: 40px; }
}

/* ── LEFT ── */
.hb-left { padding: 56px 0; }
@media(max-width:1100px) { .hb-left { padding: 0; } }

/* Trust bar */
.hb-trust {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.hb-trust-sep { color: #cbd5e1; }
.hb-trust-stat { color: #475569; }

/* Slides */
.hb-slides { position: relative; min-height: 360px; }
.hb-slide {
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease, transform .6s ease;
    transform: translateY(16px);
}
.hb-slide.active {
    opacity: 1; visibility: visible; position: relative; transform: translateY(0);
}

.hb-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 20px;
}
.hb-tag-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #475569;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
}

.hb-title {
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #0f172a;
    margin-bottom: 20px;
}
.hb-title em { color: #f26522; font-style: normal; }

.hb-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    max-width: 520px;
    margin-bottom: 28px;
}

.hb-feats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}
.hb-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.hb-feat .fa-check {
    width: 20px; height: 20px;
    background: rgba(34,197,94,.15);
    color: #22c55e;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; flex-shrink: 0;
}

.hb-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hb-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px;
    background: #0f172a; color: #fff;
    border-radius: 10px; font-size: 14px; font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.hb-btn-primary:hover { background: #f26522; transform: translateY(-2px); color: #fff; }
.hb-btn-wa {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 20px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    color: #374151; border-radius: 10px; font-size: 14px; font-weight: 700;
    text-decoration: none; transition: background .2s, border-color .2s;
}
.hb-btn-wa:hover { background: #f0fdf4; border-color: #86efac; color: #16a34a; }
.hb-btn-wa .fab { color: #16a34a; }

/* Progress bar */
.hb-progress {
    height: 2px;
    background: #e5e7eb;
    border-radius: 2px;
    margin: 28px 0 18px;
    overflow: hidden;
}
.hb-progress-bar {
    height: 100%;
    background: #f26522;
    border-radius: 2px;
    transition: width .1s linear;
    width: 0%;
}

/* Controls */
.hb-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hb-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    color: #374151; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.hb-arrow:hover { background: #f1f5f9; border-color: #cbd5e1; }
.hb-dots { display: flex; gap: 6px; }
.hb-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none; cursor: pointer;
    transition: all .3s; padding: 0;
}
.hb-dot.active { background: #f26522; width: 24px; border-radius: 4px; }
.hb-dot:hover  { background: #94a3b8; }
.hb-playpause {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    color: #64748b; font-size: 11px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.hb-playpause:hover { color: #0f172a; border-color: #94a3b8; }
.hb-counter { font-size: 12px; color: #64748b; font-weight: 600; margin-left: 4px; }

/* ── RIGHT — Form ── */
.hb-right { padding: 48px 0; }
@media(max-width:1100px) { .hb-right { padding: 0 0 48px; } }

.hb-form-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,.1), 0 0 0 1px #e5e7eb;
}

.hb-form-top {
    background: #0f172a;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hb-form-top-icon {
    width: 46px; height: 46px;
    background: rgba(255,255,255,.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; flex-shrink: 0;
}
.hb-form-top h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.hb-form-top p  { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 0; }
.hb-form-top strong { color: #f26522; }

/* Social proof row */
.hb-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
.hbsp-item {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hbsp-item .fas { color: #94a3b8; font-size: 11px; }
.hbsp-sep { width: 1px; height: 14px; background: #e2e8f0; }

/* Form inside card */
.hb-form-card form { padding: 18px 22px 0; }

.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:500px) { .hf-row { grid-template-columns: 1fr; } }

.hf-group { display: flex; flex-direction: column; margin-bottom: 10px; }
.hf-group label {
    font-size: 11.5px; font-weight: 700; color: #374151;
    margin-bottom: 4px;
    display: flex; align-items: center; gap: 5px;
}
.hf-group label .fas { color: #94a3b8; font-size: 10px; }
.hf-group .req { color: #ef4444; }
.hf-group input,
.hf-group select,
.hf-group textarea {
    padding: 9px 5px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #111;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    outline: none;
}
.hf-group input:focus,
.hf-group select:focus,
.hf-group textarea:focus {
    border-color: #f26522;
    box-shadow: 0 0 0 3px rgba(242,101,34,.08);
}
.hf-group textarea { resize: none; }

.hf-submit {
    width: 100%;
    padding: 13px;
    background: #f26522;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: filter .2s, transform .15s;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(242,101,34,.25);
}
.hf-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hf-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.hf-msg {
    margin: 10px 0 0;
    padding: 9px 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.hf-msg.ok  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.hf-msg.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* WhatsApp alt */
.hb-form-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 22px 18px;
    flex-wrap: wrap;
}
.hb-form-alt span { font-size: 12px; color: #94a3b8; font-weight: 600; }
.hb-form-wa {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px;
    background: #25d366; color: #fff;
    border-radius: 20px; font-size: 13px; font-weight: 700;
    text-decoration: none; transition: background .2s;
}
.hb-form-wa:hover { background: #1eb85a; color: #fff; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-20px); }
}

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: 80px 0;
    background: var(--bg-light);
}

section:nth-child(even) {
    /*background: var(--bg-gray);*/
}

.section-label {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-orange);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(242,101,34,.08);
    border: 1.5px solid rgba(242,101,34,.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 32px;
    color: var(--accent-orange);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 16px;
}

.service-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-tertiary);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: var(--accent-orange);
    margin-right: 12px;
    font-size: 16px;
}

/* ========================================
   PROJECTS GRID
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 28px;
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 81, 0, 0.1);
    color: var(--accent-orange);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 12px;
}

.project-client {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.project-client i {
    color: var(--accent-orange);
    margin-right: 8px;
}

.project-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-content {
    padding-right: 40px;
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(242,101,34,.08);
    border: 1.5px solid rgba(242,101,34,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 26px;
    color: var(--accent-orange);
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 32px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-tertiary);
}

/* ========================================
   BLOG GRID
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    background: rgba(15,23,42,.75);
    color: #e2e8f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.blog-meta i {
    color: var(--accent-orange);
    margin-right: 6px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--bg-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--accent-orange);
}

.blog-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-link {
    color: var(--accent-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--bg-dark);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 54px;
    height: 54px;
    background: rgba(242,101,34,.08);
    border: 1.5px solid rgba(242,101,34,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 24px;
    color: var(--accent-orange);
}

.info-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 6px;
}

.info-content p,
.info-content a {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-gray);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #ffffff;
    transform: translateY(-3px);
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 81, 0, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--bg-dark);
    border: 2px solid var(--bg-dark);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--bg-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
}

/* ========================================
   FOOTER
   ======================================== */

/* ── CTA Strip ── */
.ft-cta-strip {
    background: #1e293b;
    border-top: 3px solid #f26522;
    padding: 24px 0;
}
.ft-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.ft-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.ft-cta-text span {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 2px;
}
.ft-cta-text p {
    font-size: 13.5px;
    color: rgba(255,255,255,.8);
    margin: 0;
}
.ft-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ft-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
}
.ft-cta-btn--wa {
    background: #25d366;
    color: #fff;
}
.ft-cta-btn--wa:hover { background: #1eb85a; }
.ft-cta-btn--outline {
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.2);
    color: #cbd5e1;
}
.ft-cta-btn--outline:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ── Main footer ── */
.site-footer { background: #111111; color: #fff; }
.ft-main { padding: 64px 0 48px; }
.ft-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

/* ── Brand col ── */
.ft-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    margin-bottom: 16px;
}
.ft-logo .fas { font-size: 22px; color: #f26522; }
.ft-logo span { font-size: 20px; font-weight: 800; color: #fff; }
.ft-logo-hi { color: #f26522; }
.ft-brand-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 22px;
}
.ft-social {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
}
.ft-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 15px;
    text-decoration: none;
    transition: all .2s;
}
.ft-social-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.ft-social-link--wa:hover { background: rgba(37,211,102,.15); border-color: rgba(37,211,102,.3); color: #25d366; }
.ft-contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ft-contact-list li {
    font-size: 13.5px;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.5;
}
.ft-contact-list li .fas {
    color: #475569;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Nav cols ── */
.ft-col-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fff;
    margin-bottom: 20px;
}
.ft-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.ft-links a {
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.ft-links a .fas, .ft-links a .fab { font-size: 12px; color: #334155; transition: color .2s; }
.ft-links a:hover { color: #e2e8f0; }
.ft-links a:hover .fas, .ft-links a:hover .fab { color: #94a3b8; }

/* ── Bottom bar ── */
.ft-bottom {
    background: #0a0a0a;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.05);
}
.ft-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.ft-bottom-inner p {
    font-size: 13px;
    color: #334155;
    margin: 0;
}
.ft-bottom-badge {
    font-size: 12.5px;
    color: #334155;
}
.ft-bottom-badge .fas { color: #475569; font-size: 11px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .ft-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .ft-grid { grid-template-columns: 1fr; }
    .ft-col--brand { grid-column: auto; }
    .ft-cta-inner { flex-direction: column; align-items: flex-start; }
    .ft-bottom-inner { flex-direction: column; text-align: center; }
}

/* ── Infraestructura strip ── */
.ft-infra {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0;
}
.ft-infra-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.ft-infra-label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ft-infra-label .fas { color: #475569; }
.ft-infra-badges {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.ft-infra-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ft-infra-badge img {
    height: 22px;
    width: auto;
    opacity: .7;
    filter: brightness(0) invert(1);
    transition: opacity .2s;
}
.ft-infra-badge:hover img { opacity: 1; }
.ft-infra-badge-fallback {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ft-infra-badge-fallback .fas,
.ft-infra-badge-fallback .fab { font-size: 18px; }
.ft-infra-badge-fallback span { font-size: 13px; font-weight: 700; color: #94a3b8; }
/* GoDaddy = verde, AWS = naranja */
.ft-infra-badge--godaddy .ft-infra-badge-fallback .fas { color: #00b373; }
.ft-infra-badge--godaddy .ft-infra-badge-fallback span { color: #00b373; }
.ft-infra-badge--aws .ft-infra-badge-fallback .fab { color: #ff9900; }
.ft-infra-badge--aws .ft-infra-badge-fallback span { color: #ff9900; }
.ft-infra-badge-info strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.2;
}
.ft-infra-badge-info span {
    font-size: 11px;
    color: #334155;
}
.ft-infra-sep {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.08);
}
@media (max-width: 640px) {
    .ft-infra-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Keep back-top working ── */

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .slide-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .slide-text {
        max-width: 100%;
    }

    .slide-title {
        font-size: 38px;
    }

    .image-placeholder {
        width: 400px;
        height: 350px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

@media (max-width: 968px) {
    .main-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .top-header {
        font-size: 12px;
        padding: 6px 0;
    }

    .login-link span {
        display: none;
    }

    .whatsapp-link span {
        display: none;
    }

    .country-selector {
        padding: 4px 8px;
        font-size: 12px;
    }

    .country-selector span {
        display: none;
    }

    .main-header {
        top: 33px;
        padding: 14px 0;
    }

    .hero-slider {
        margin-top: 95px;
    }

    .logo {
        font-size: 20px;
    }

    .logo i {
        font-size: 24px;
    }

    .logo-text {
        font-size: 20px;
    }

    .slide-content {
        padding: 0 30px;
    }

    .slide-title {
        font-size: 32px;
    }

    .slide-description {
        font-size: 16px;
    }

    .image-placeholder {
        width: 300px;
        height: 280px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .play-pause-btn {
        top: 85px;
        right: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid,
    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid-legacy {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    nav {
        display: none; /* Aquí puedes agregar un menú móvil después */
    }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.wa-float {
    position: fixed;
    bottom: 13px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px 12px 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(37,211,102,.45);
    z-index: 1000;
    transition: transform .2s, box-shadow .2s, padding .3s;
    overflow: hidden;
    max-width: 180px;
    animation: wa-bounce 2.8s ease-in-out infinite;
}
.wa-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37,211,102,.55);
    color: #fff;
}
.wa-float-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}
.wa-float-label {
    white-space: nowrap;
    font-size: 13.5px;
    font-weight: 700;
}
.wa-float-dot {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 9px;
    height: 9px;
    background: #fff;
    border-radius: 50%;
    animation: wa-pulse 2s ease-in-out infinite;
}
@keyframes wa-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
@keyframes wa-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: .5; transform: scale(1.3); }
}
@media (max-width: 560px) {
    .wa-float { padding: 13px; border-radius: 50%; max-width: none; }
    .wa-float-label { display: none; }
    .wa-float-dot { top: 5px; right: 5px; }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: #1e293b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s, transform 0.2s;
    z-index: 999;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.back-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.back-top:hover {
    background: #e64900;
    transform: translateY(-2px);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.highlight {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
