/* ================================
   PALETA
================================ */
:root {
    --orange: #E8A24F;
    --orange-dark: #c8893f;
    --teal: #2F7E8A;
    --teal-light: #3fa5b4;
    --black: #111;
    --grey: #f3f3f3;
    --soft-white: #ffffff;
}

/* ================================
   GLOBAL
================================ */
body {
    font-family: 'Arial', sans-serif;
    color: var(--black);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background: #fff;
}

h1, h2, h3, h4, h5 {
    letter-spacing: -0.5px;
}

/* ================================
   NAVBAR
================================ */
.navbar {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    height: 100px;
}

.nav-link {
    color: #fff !important;
    margin-left: 18px;
    font-weight: 500;
    transition: .2s;
}

.nav-link:hover {
    color: var(--orange) !important;
}

/* ================================
   HERO (versión grande que querías)
================================ */
.hero {
    background:
        linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.78)),
        url("Resources/hero-bg.jpg") center/cover no-repeat;
    padding: 160px 0 140px;
    text-align: center;
    color: #fff;
}

.logo-hero {
    width: 280px;
    max-width: 80%;
    margin-bottom: 20px;
}

.main-title {
    font-size: 2.7rem;
    font-weight: 800;
}

.btn-cta {
    background: white;
    color: var(--teal);
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
}

.btn-cta:hover {
    background: var(--orange-dark);
    color: #fff;
}

/* ================================
   SECCIONES
================================ */
.section {
    padding: 110px 0;
}

.section-grey {
    background: var(--grey);
    padding: 110px 0;
}

.section-title {
    font-weight: 800;
    font-size: 2.3rem;
}

/* ================================
   EMPRESA – PREMIUM TECH CONSULTING
================================ */
#empresa .card-lite {
    border: 1px solid #eaeaea;
    padding: 32px;
    border-radius: 14px;
    transition: .3s;
}

#empresa .card-lite:hover {
    transform: translateY(-6px);
    border-color: var(--orange-dark);
}

/* ================================
   DIVIDER VIDEO
================================ */
.section-divider {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.section-divider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-divider .video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* ================================
   SERVICIOS (versión ampliada)
================================ */
.services-grid {
    margin-top: 60px;
}

.services-grid .service-box {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    transition: .3s;
}

.service-box:hover {
    transform: translateY(-7px);
}

/* Stats */
.service-stats {
    margin-top: 40px;
}

.service-stats .stat {
    text-align: center;
}

.service-stats h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--orange-dark);
}

/* ================================
   TECNOLOGÍAS (versión ampliada)
================================ */
.tech-card {
    padding: 32px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #efefef;
    transition: .3s;
}

.tech-card:hover {
    transform: translateY(-6px);
    border-color: var(--orange);
}

/* ================================
   CONTACTO – NUEVA VERSIÓN PREMIUM
================================ */
#contacto {
    background: linear-gradient(180deg, #ffffff, #f4f4f4);
    padding: 130px 0;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 50px;
}

/* Panel izquierdo */
.contact-info-box {
    background: var(--black);
    color: white;
    padding: 42px;
    width: 420px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.contact-info-box h3 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--orange);
}

.contact-info-box ul {
    list-style: none;
    padding: 0;
    margin-top: 22px;
}

.contact-info-box li {
    margin-bottom: 12px;
    opacity: 0.9;
    font-size: 1rem;
}

/* Botón info */
.btn-info-contact {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 22px;
    background: var(--orange);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.btn-info-contact:hover {
    background: var(--orange-dark);
}

/* Formulario derecho */
.contact-form-box {
    flex: 1;
    background: #fff;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border: 1px solid #ebebeb;
}

.contact-form-box label {
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-form-box input,
.contact-form-box textarea {
    width: 100%;
    border: 2px solid var(--teal);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 18px;
    transition: .25s;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 8px rgba(232,162,79,0.4);
}

/* Botón enviar */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--orange);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    transition: .3s;
}

.btn-submit:hover {
    background: var(--orange-dark);
}

/* ================================
   FOOTER
================================ */
.footer {
    background: var(--teal);
    color: white;
    padding: 18px 0;
    text-align: center;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {

    .contact-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-info-box {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* FIX WHATSAPP BUTTON */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: white;
    font-size: 26px;
    padding: 16px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: .3s;
    z-index: 9999 !important;   /* <-- EL FIX CRÍTICO */
}

.whatsapp-btn:hover {
    background: #1db857;
}
