/* =========================================
   METHATECH - Styles
   Paleta: Azul corporativo + Amarillo Bitel + Blanco
   ========================================= */

:root {
    --blue-dark: #002b5b;
    --blue: #0046a8;
    --blue-light: #0096ff;
    --blue-accent: #00a6ff;
    --yellow: #ffcb05;
    --yellow-dark: #f5a623;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 40px -8px rgba(0,43,91,.25);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent { color: var(--blue-accent); }
.text-yellow { color: var(--yellow); }
.text-blue { color: var(--blue); }

/* =========================================
   HEADER
   ========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: var(--gray-200);
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 160px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 120px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: var(--gray-800);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: var(--transition);
}

.nav-link:hover { color: var(--blue); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 22px !important;
    font-size: 14px !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--blue-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* =========================================
   BOTONES
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--blue-dark);
    border-color: var(--yellow);
    font-weight: 700;
}

.btn-yellow:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,203,5,.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--blue-dark);
    border-color: var(--blue-dark);
}

.btn-outline-dark:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #1ebd5a;
    border-color: #1ebd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37,211,102,.4);
}

.btn-block { width: 100%; justify-content: center; }

/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-accent) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,203,5,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,166,255,.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 80%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-visual {
    position: relative;
    height: 520px;
}

.hero-img-wrap {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.5);
    border: 4px solid rgba(255,255,255,.1);
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img-main {
    top: 0;
    right: 0;
    width: 75%;
    height: 65%;
    animation: float-y 6s ease-in-out infinite;
}

.hero-img-secondary {
    bottom: 0;
    left: 0;
    width: 60%;
    height: 50%;
    z-index: 2;
    border-color: rgba(255,203,5,.4);
    animation: float-y 6s ease-in-out infinite reverse;
}

.hero-floating-card {
    position: absolute;
    bottom: 30%;
    right: -10px;
    background: var(--white);
    color: var(--blue-dark);
    padding: 16px 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.3);
    z-index: 3;
    animation: float-y 4s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-accent) 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.hero-floating-card strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1;
    margin-bottom: 2px;
}

.hero-floating-card span {
    font-size: 12px;
    color: var(--gray-600);
}

.hero-floating-badge {
    position: absolute;
    top: 10%;
    left: -10px;
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 12px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 30px -5px rgba(255,203,5,.5);
    z-index: 3;
    font-weight: 700;
    animation: float-y 5s ease-in-out infinite;
    animation-delay: .5s;
}

.hero-floating-badge i {
    font-size: 18px;
}

.hero-floating-badge span {
    font-size: 12px;
    line-height: 1.2;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,203,5,.15);
    color: var(--yellow);
    border: 1px solid rgba(255,203,5,.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: rgba(255,255,255,.85);
    max-width: 620px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-num {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* =========================================
   SECCIONES (generales)
   ========================================= */

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--gray-50);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-head-light .section-tag,
.section-head-light .section-title,
.section-head-light .section-desc {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: rgba(0,70,168,.1);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}

.section-head-light .section-tag {
    background: rgba(255,203,5,.15);
    color: var(--yellow);
}

.section-tag-dark {
    background: rgba(0,43,91,.1);
    color: var(--blue-dark);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--blue-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 620px;
    margin: 0 auto;
}

.section-desc-dark {
    color: var(--gray-800);
    font-size: 17px;
    margin-bottom: 28px;
}

/* =========================================
   SOBRE NOSOTROS
   ========================================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 19px;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-list {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-800);
    font-weight: 500;
}

.about-list i {
    color: var(--blue);
    font-size: 18px;
}

.about-card {
    position: relative;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--yellow);
    border-radius: 50%;
    opacity: .15;
}

.about-icon {
    font-size: 48px;
    color: var(--yellow);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.about-card p {
    color: rgba(255,255,255,.85);
    line-height: 1.7;
}

/* =========================================
   SERVICIOS
   ========================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-accent) 100%);
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(0,70,168,.25);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

.service-card-featured {
    background: linear-gradient(135deg, #fffbe6 0%, #fff7d6 100%);
    border-color: var(--yellow);
}

.service-card-featured .service-icon {
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
    box-shadow: 0 8px 20px rgba(255,203,5,.4);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--yellow);
    color: var(--blue-dark);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* =========================================
   ESTADÍSTICAS
   ========================================= */

.section-stats {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-accent) 100%);
    position: relative;
    overflow: hidden;
}

.section-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 90% 20%, rgba(255,203,5,.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(255,255,255,.05) 0%, transparent 40%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-4px);
}

.stat-card-icon {
    font-size: 36px;
    color: var(--yellow);
    margin-bottom: 16px;
}

.stat-card-num {
    display: block;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--white);
}

.stat-card-label {
    font-size: 14px;
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 500;
}

/* =========================================
   TRABAJA CON NOSOTROS
   ========================================= */

.section-jobs {
    background: linear-gradient(135deg, var(--yellow) 0%, #ffd83d 100%);
    position: relative;
    overflow: hidden;
}

.section-jobs::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(0,43,91,.05);
    border-radius: 50%;
}

.jobs-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.jobs-content .section-title {
    text-align: left;
}

.jobs-benefits {
    list-style: none;
    margin: 32px 0;
    display: grid;
    gap: 12px;
}

.jobs-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--blue-dark);
}

.jobs-benefits i {
    width: 24px;
    height: 24px;
    background: var(--blue-dark);
    color: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.jobs-direct {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.jobs-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -15px rgba(0,43,91,.3);
}

.jobs-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,70,168,.12);
}

.form-group input[type="file"] {
    padding: 8px;
    background: var(--gray-50);
    cursor: pointer;
}

.form-note {
    font-size: 12px;
    color: var(--gray-600);
    text-align: center;
    margin-top: 16px;
}

/* =========================================
   GALERÍA
   ========================================= */

.gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 3; grid-row: 2; }

.gallery-item-large { grid-column: unset; grid-row: unset; }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,43,91,.85) 0%, rgba(0,43,91,.2) 60%, transparent 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    gap: 6px;
}

.gallery-overlay i {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--yellow);
}

.gallery-overlay h3 { font-size: 22px; font-weight: 700; }
.gallery-overlay p { font-size: 14px; opacity: .9; }

.gallery-overlay-dark {
    background: linear-gradient(to top, rgba(0,43,91,.9) 0%, rgba(0,43,91,.3) 60%, transparent 100%);
}

.gallery-note {
    text-align: center;
    margin-top: 24px;
    color: var(--gray-600);
    font-size: 14px;
    font-style: italic;
}

/* =========================================
   CONTACTO
   ========================================= */

.section-contact { background: var(--gray-50); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: stretch;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-accent) 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.5;
}

.contact-item a:hover { color: var(--blue); }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.contact-map iframe { width: 100%; height: 100%; }

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

.footer {
    background: var(--blue-dark);
    color: rgba(255,255,255,.8);
    padding: 70px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 48px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 16px;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
}

.footer-col p { font-size: 14px; line-height: 1.7; }

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col ul a, .footer-col ul li {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul a:hover { color: var(--yellow); }

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.08);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--yellow);
    color: var(--blue-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); }

/* =========================================
   WHATSAPP FLOTANTE
   ========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37,211,102,.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.5); }
    50% { box-shadow: 0 8px 24px rgba(37,211,102,.9), 0 0 0 14px rgba(37,211,102,0); }
}

/* =========================================
   ANIMACIONES ON-SCROLL
   ========================================= */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { height: 420px; max-width: 520px; margin: 0 auto; }

    .about-grid,
    .jobs-wrapper,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 220px 220px;
    }

    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
    .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    .gallery-item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
    .gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }

    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: var(--white);
        width: 280px;
        height: calc(100vh - 80px);
        padding: 32px 24px;
        box-shadow: -10px 0 30px rgba(0,0,0,.1);
        transition: right .3s ease;
        align-items: flex-start;
        gap: 24px;
    }

    .nav.active { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .menu-toggle { display: flex; }

    .nav-cta { width: 100%; justify-content: center; }

    .section { padding: 70px 0; }

    .header-container { height: 90px; }
    .logo-img { height: 80px !important; max-width: 160px; }

    .hero { padding: 110px 0 80px; min-height: auto; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .hero-stats { gap: 24px; }

    .hero-visual { height: 360px; }

    .hero-floating-card {
        right: 0;
        padding: 12px 16px;
    }

    .hero-floating-card strong { font-size: 16px; }
    .hero-floating-card span { font-size: 11px; }

    .hero-floating-badge {
        left: 0;
        padding: 10px 14px;
    }

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

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

    .jobs-form-wrapper { padding: 28px 22px; }

    .footer-container { grid-template-columns: 1fr; gap: 32px; padding-bottom: 30px; }

    .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.1rem; }
    .section-title { font-size: 1.6rem; }
    .btn { padding: 12px 22px; font-size: 14px; }
    .stat-num { font-size: 1.6rem; }
}
