/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003b71;
    --secondary-color: #00a0b6;
    --accent-color: #ffb03a;
    --dark-color: #101828;
    --light-color: #f5f7fb;
    --text-color: #1f2933;
    --text-light: #6b7280;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #003b71 0%, #00a0b6 100%);
    --gradient-dark: linear-gradient(135deg, #020617 0%, #0b1120 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --bgHeaderTop : linear-gradient(70deg,#4f3ab4,rgb(9, 9, 67));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== LOADER ===== */
.loader-main {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--white);
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-main.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-main img {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}

.caja-loader {
    width: 100px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.loader {
    width: 40px;
    height: 20px;
    --c: no-repeat radial-gradient(farthest-side, var(--primary-color) 93%, transparent);
    background:
        var(--c) 0 0,
        var(--c) 50% 0,
        var(--c) 100% 0;
    background-size: 8px 8px;
    position: relative;
    animation: l4-0 1s linear infinite alternate;
}

.loader:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 12px;
    background: var(--secondary-color);
    left: 0;
    top: 0;
    animation:
        l4-1 1s linear infinite alternate,
        l4-2 0.5s cubic-bezier(0, 200, .8, 200) infinite;
}

@keyframes l4-0 {
    0% { background-position: 0 100%, 50% 0, 100% 0; }
    8%, 42% { background-position: 0 0, 50% 0, 100% 0; }
    50% { background-position: 0 0, 50% 100%, 100% 0; }
    58%, 92% { background-position: 0 0, 50% 0, 100% 0; }
    100% { background-position: 0 0, 50% 0, 100% 100%; }
}

@keyframes l4-1 {
    100% { left: calc(100% - 8px); }
}

@keyframes l4-2 {
    100% { top: -0.1px; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HEADER ===== */
.header {
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}
.contenido-numeros{
    width: 100%;
    height: 40px;
    display: flex;
    background: var(--dark-color);
    align-items: center;
    justify-content: space-between;
}
.contenido-numeros span
{
    display: block;
    color: var(--white);
    font-size: 16px;
    margin-right: 20px;
    margin-left: 30px;
}
.contenido-numeros span i
{
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 20px;
}

.redes-contenido-numeros{
    display: flex;
    gap: 15px;
    margin-right: 20px;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
    margin-bottom: 1em;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.contact-info {
    display: flex;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 20px;
}

.info-text p {
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    font-size: 14px;
}

.info-text span {
    font-size: 12px;
    color: var(--text-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: black;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-cotizar {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-cotizar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

#containerlinknav{
    background: linear-gradient(135deg, #3673ab 0%, #056d7a 100%);
}
/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(2, 6, 23, 0.92) 0%, rgba(0, 160, 182, 0.5) 60%, rgba(248, 250, 252, 0.1) 100%);
    z-index: -1;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 640px;
    color: var(--white);
}

.hero-kicker {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #f9fafb;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 40px;
    color: rgba(241, 245, 249, 0.9);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.5);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-secondary:hover {
    background: #e5e7eb;
    color: var(--dark-color);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.hero-highlight-item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-highlight-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 4px;
}

.hero-highlight-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f9fafb;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-visual-card {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.1), rgba(15, 23, 42, 0.95));
    padding: 18px 18px 0;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-visual-card img {
    display: block;
    width: 100%;
    height: auto;
}

#trescamiones {
    position: relative;
    right: auto;
    bottom: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    animation: arrow 1.5s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

@keyframes arrow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--white);
    margin-top: 20px;
}

/* ===== NOSOTROS SECTION ===== */
.nosotros {
    background: var(--light-color);
    position: relative;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.nosotros-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.nosotros-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.nosotros-complemento{
    width: 100%;
    display: block;
    line-height: 1.8;
    background: #0b1120;
    padding: 40px 20px 56px;
}

.nosotros-complemento h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.nosotros-complemento p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.nosotros-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: var(--transition);
}

.image-wrapper:hover .image-overlay {
    opacity: 0;
}

#tractoAtras{
    width: 400px;
    position: absolute;
    right: 4em;
    bottom: 6em;
}

#tractotarimas{
    width: 450px;
    position: absolute;
    right: 15em;
    bottom: 1em;
}
.imagenes-directores{
    width: 100%;
    min-height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.imagenes-directores img{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 20px;
    border: solid 5px white;
}
/* contenedor-video */
.contenedor-video {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 380px;
    padding: 0 20px 60px;
}
.contenedor-video video{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}
.descripcion-complemento{
    width: 100%;
    display: flex;
    line-height: 1.8;
    flex-wrap: wrap;
    color: whitesmoke;
    justify-content: center;
    align-items: center;
    padding-bottom: 5em;
}
.descripcion-complemento p{
    font-size: 1.1rem;
    color: white;
    font-size: 20px;
    text-align: justify;
}
.descripcion-audacity{
    width: 70%;
    display: block;
    line-height: 1.8;
    margin-top: 4em;
    padding: 2em;
    min-height: 500px;
}
.descripcion-audacity h3{
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.descripcion-audacity h4{
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.descripcion-audacity h5{
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.descripcion-complemento p{
    width: 60%;
    display: block;
    font-size: 1.1rem;
    color: white;
    font-size: 20px;
    text-align: justify;
}
.nosotros-audacity{
    width: 100%;
    display: flex;
    background: #ffffff;
    margin-top: 0;
}
.descripcion-imagen{
    width: 30%;
    display: block;
    height: 500px;
}
.descripcion-imagen img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ===== SERVICIOS SECTION ===== */
.servicios {
    background: #ffffff;
    position: relative;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.servicio-card {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
    transform: rotate(360deg) scale(1.1);
}

.servicio-icon i {
    font-size: 2rem;
    color: var(--white);
}

.servicio-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.servicio-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.servicio-card ul {
    list-style: none;
}

.servicio-card ul li {
    padding: 8px 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.servicio-card ul li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}


#tractoDeLado{
    width: 450px;
    position: absolute;
    right: -8em;
    bottom: -8em;
}



/* ====== PATIO SECTION ======= */
.patio{
    width: 100%;
    display: block;
    height: 360px;
}
.patio img{
    width: 100%;
    height: 360px;
    object-fit: cover;
}
/* ===== CONTACTO SECTION ===== */
.contacto {
    background: var(--light-color);
    position: relative;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contacto-info h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contacto-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-text h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
}

/* ===== FORM STYLES ===== */
.contacto-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 128, 244, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    justify-content: center;
    margin-top: 10px;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
#secretaria{
    width: 400px;
    display: block;
    position: absolute;
    left: -8em;
    bottom: 0em;

}
/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}
#secretariaFooter{
    display: none;
    width: 280px;
    position: absolute;
    right: -17em;
    bottom: -1em;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: 32px;
        padding-top: 130px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nosotros-content {
        gap: 40px;
    }
    
    .contacto-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: var(--transition);
        gap: 15px;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .btn-cotizar {
        width: 100%;
        margin-top: 10px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 120px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nosotros-content {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    #video-nosotros{
        width: 100%;
    }
    .descripcion-complemento p{
        width: 80%;
    }
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .contacto-content {
        grid-template-columns: 1fr;
    }
    
    .contacto-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width : 800px) {
    .header{
        display: none;
    } 
    #trescamiones{
        width: 350px;
        right: -2em;
        bottom: -4em;
    }   
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nosotros-text h3 {
        font-size: 1.5rem;
    }
    
    .contacto-info h3 {
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ===== REDESIGN: HERO SLIDER + BLOQUES REFERENCIA ===== */

.hero--slider {
    min-height: 100vh;
    color: var(--white);
    position: relative;
    padding-top: 100px; /* espacio para el header fijo */
}

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 700ms ease, transform 900ms ease;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(0, 160, 182, 0.35), rgba(2, 6, 23, 0.92) 55%, rgba(2, 6, 23, 0.98) 100%);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    padding: 110px 20px 70px;
    max-width: 980px;
}

.hero--slider .hero-kicker {
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
}

.hero--slider .hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.05;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.hero--slider .hero-description {
    font-size: 1.05rem;
    color: rgba(241, 245, 249, 0.95);
    margin-bottom: 26px;
    max-width: 62ch;
}

.hero-slider-ui {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.slider-control {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(2, 6, 23, 0.45);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-control:hover {
    background: rgba(0, 160, 182, 0.25);
    transform: translateY(-2px);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    width: 26px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.hero-stats {
    background: linear-gradient(90deg, rgba(255, 230, 160, 0.95) 0%, rgba(255, 196, 77, 0.95) 55%, rgba(255, 179, 60, 0.95) 100%);
    padding: 52px 0 60px;
    margin-top: -72px;
    position: relative;
    z-index: 5;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.hero-stat .stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.hero-stat-label {
    font-weight: 700;
    color: rgba(17, 24, 39, 0.75);
}

/* Quality Services */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.quality-tile {
    min-height: 220px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    display: block;
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.quality-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.05) 0%, rgba(2, 6, 23, 0.65) 60%, rgba(2, 6, 23, 0.85) 100%);
}

.quality-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.18);
}

.quality-tile-content {
    position: relative;
    z-index: 2;
    padding: 18px 16px;
    color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.quality-tile h3 {
    font-size: 1.25rem;
    margin: 0;
}

.quality-tile p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    font-weight: 500;
}

/* Committed */
.committed {
    background: #46847e;
    padding: 86px 0;
}

.committed-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 26px;
    align-items: center;
}

.committed-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.18);
}

.committed-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 380px;
}

.committed-media-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(0, 160, 182, 0.25), rgba(2, 6, 23, 0.62) 55%, rgba(2, 6, 23, 0.72) 100%);
}

.committed-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 14px 16px;
    color: var(--white);
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.committed-badge span {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.committed-content .section-title {
    font-size: 2.25rem;
}

.committed-points {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.committed-point {
    display: flex;
    gap: 14px;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.03);
    border: 1px solid rgba(2, 6, 23, 0.06);
}

.committed-point i {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    flex-shrink: 0;
}

.committed-point h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.committed-point p {
    margin: 0;
    color: var(--white);
    line-height: 1.5;
}

.committed-cta {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

/* Misión y visión */
.misionvision {
    padding: 88px 0;
    background: linear-gradient(165deg, #eef5fc 0%, #ffffff 42%, #f4f9fb 100%);
}

.misionvision .section-header {
    text-align: center;
}

.misionvision .section-subtitle {
    color: var(--text-light);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.mv-card {
    border-radius: 22px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0, 59, 113, 0.1);
    box-shadow: 0 20px 50px rgba(0, 59, 113, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 64px rgba(0, 59, 113, 0.12);
}

.mv-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.mv-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mv-card:hover .mv-card-media img {
    transform: scale(1.04);
}

.mv-card-accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.mv-card--vision .mv-card-accent {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.mv-card-body {
    padding: 28px 26px 34px;
}

.mv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.mv-kicker i {
    font-size: 1rem;
    opacity: 0.9;
}

.mv-card-body h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 14px;
    line-height: 1.3;
}

.mv-card-body p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.75;
    font-size: 1.02rem;
}

/* Best Field */
.best-field {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    padding: 74px 0;
}

.best-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.best-summary {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.best-summary-item {
    background: rgba(2, 6, 23, 0.03);
    border: 1px solid rgba(2, 6, 23, 0.06);
    border-radius: 16px;
    padding: 14px 14px;
    min-width: 220px;
}

.best-summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.best-summary-label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 6px;
}

.best-list--cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.best-card {
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(2, 6, 23, 0.07);
    box-shadow: 0 14px 40px rgba(2, 6, 23, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.best-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.1);
}

.best-card-image {
    height: 132px;
    overflow: hidden;
}

.best-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.best-card:hover .best-card-image img {
    transform: scale(1.06);
}

.best-card-content {
    padding: 16px 18px 22px;
}

.best-card-content h3 {
    font-size: 1.08rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 800;
}

.best-card-content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Team */
.team {
    background: var(--white);
    padding: 88px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.team-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(2, 6, 23, 0.06);
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.06);
    padding: 16px 16px 22px;
    text-align: center;
}

.team-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(0, 160, 182, 0.12);
    margin: -6px auto 14px;
    display: block;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.team-card p {
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.5;
}

/* ===== Ocultar secciones viejas (ya no siguen el diseño) ===== */
.contenedor-video,
.nosotros-complemento,
.nosotros-audacity {
    display: none !important;
}

/* Slider UI: ocultar controles en celular para evitar desajustes */
@media (max-width: 799px) {
    .hero-stats {
        margin-top: 0 !important;
    }
    .hero-slider-ui,
    .slider-control,
    .slider-dots {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-slider-ui {
        transform: translateY(-95px);
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .quality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .committed-grid {
        grid-template-columns: 1fr;
    }
    .committed-media img {
        min-height: 320px;
    }
    .best-grid {
        grid-template-columns: 1fr;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero--slider {
        padding-top: 80px;
    }
    .hero-slide-content {
        padding: 95px 16px 60px;
    }
    .hero--slider .hero-title {
        font-size: 2.1rem;
    }
    .hero-stats {
        margin-top: -56px;
        padding: 44px 0 52px;
    }
    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
    .quality-grid {
        grid-template-columns: 1fr;
    }
    .best-list--cards {
        grid-template-columns: 1fr;
    }
    .hero-slider-ui {
        transform: translateY(-75px);
    }
}
