/* =============================================
   GEONAC INGENIERÍA — Hoja de Estilos Principal
   Paleta: Grafito oscuro + Azul Blueprint
   ============================================= */

:root {
    --primary:        #1c2940;   /* Acero profundo — del grafito del logo */
    --primary-light:  #2d4158;   /* Acero medio */
    --accent:         #4a7fc1;   /* Azul blueprint — del fondo del logo */
    --accent-dark:    #3a6595;
    --text-dark:      #1c2940;
    --text-mid:       #4a5568;
    --text-light:     #f5f7f9;
    --bg-light:       #ffffff;
    --bg-alt:         #eef2f8;   /* Papel de planos — tono azul-gris muy suave */
    --bg-dark:        #111820;   /* Casi negro — secciones oscuras */
    --steel:          #8a9bb0;   /* Gris acero medio */
    --shadow:         0 4px 8px rgba(28, 41, 64, 0.08);
    --shadow-lg:      0 16px 48px rgba(28, 41, 64, 0.14);
    --transition:     all 0.3s ease;
    --radius:         14px;
}

/* ---- Reset & Base ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); }

/* ---- Fondo estilo plano técnico (blueprint grid) ---- */
.bg-blueprint {
    background-color: var(--bg-alt);
    background-image:
        linear-gradient(rgba(74, 127, 193, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 127, 193, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ---- Animaciones de scroll ---- */
.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ---- Navegación ---- */
nav {
    background: transparent;
    padding: 1.2rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
    background: var(--primary);
    padding: 0.8rem 6%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Logo como imagen */
.logo-link { display: flex; align-items: center; text-decoration: none; }
/* El PNG traia el fondo de plano incrustado y el filtro lo volvia un bloque blanco.
   Ahora img/logo-horizontal.webp ya viene recortado, blanco y con fondo transparente. */
.logo-img   { height: 46px; width: auto; transition: var(--transition); }
.logo-img:hover { opacity: 0.85; }

.nav-links { list-style: none; display: flex; gap: 1.8rem; }
.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
    text-transform: uppercase;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Hero Section ---- */
.hero {
    height: 100vh;
    background:
        linear-gradient(rgba(14, 22, 36, 0.86), rgba(14, 22, 36, 0.78)),
        url('img/hero.webp')
        no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 10%;
    position: relative;
}
.hero-badge {
    background: rgba(74, 127, 193, 0.15);
    border: 1px solid rgba(74, 127, 193, 0.5);
    color: #a8c4e8;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.hero h1 {
    font-size: 4.5rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    letter-spacing: 3px;
    line-height: 1.05;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: 1.2rem;
    max-width: 780px;
    margin-bottom: 3rem;
    font-weight: 300;
    color: rgba(245, 247, 249, 0.78);
}
.typewriter {
    border-right: 2px solid var(--accent);
    animation: blink 0.8s step-end infinite;
}
@keyframes blink { 50% { border-color: transparent; } }

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn {
    background: var(--accent);
    color: white;
    padding: 14px 38px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 18px rgba(74, 127, 193, 0.35);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}
.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 127, 193, 0.5);
}
.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    box-shadow: none;
}
.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Línea divisora técnica en hero */
.hero-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 2.5rem;
    position: relative;
}
.hero-divider::before,
.hero-divider::after {
    content: '';
    position: absolute;
    top: 0;
    height: 3px;
    background: rgba(74, 127, 193, 0.3);
}
.hero-divider::before { right: calc(100% + 8px); width: 20px; }
.hero-divider::after  { left:  calc(100% + 8px); width: 20px; }

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2.2s infinite;
}
.scroll-indicator i { font-size: 1.1rem; display: block; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Layout general ---- */
section { padding: 8rem 10%; }
.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title span { color: var(--accent); }
.section-subtitle {
    text-align: center;
    color: var(--text-mid);
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto 4.5rem;
}
.section-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

/* ---- Quiénes Somos ---- */
.about { background: var(--bg-light); }
.about-wrapper { display: flex; align-items: center; gap: 5rem; }
.about-text { flex: 1; }
.about-text p { margin-bottom: 1.4rem; font-size: 1.02rem; color: var(--text-mid); }
.about-img {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-img img { width: 100%; display: block; }
.about-img-badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--primary);
    color: white;
    padding: 18px 22px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--accent);
}
.about-img-badge strong { display: block; font-size: 2rem; color: var(--accent); font-family: 'Montserrat', sans-serif; }
.about-img-badge span { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: #aab; }

/* ---- Servicios (tarjetas grandes) ---- */
.services { background: var(--bg-dark); }
.services .section-title { color: var(--text-light); }
.services .section-subtitle { color: rgba(245,247,249,0.55); }
.services .section-label { color: var(--accent); }

.services-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.service-card-big {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 520px;
    cursor: pointer;
    transition: var(--transition);
}
.service-card-big:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.service-card-big .sbg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.service-card-big:hover .sbg { transform: scale(1.06); }
.service-card-big .soverlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(14, 22, 36, 0.97) 45%, rgba(14, 22, 36, 0.3) 100%);
    transition: var(--transition);
}
.service-card-big:hover .soverlay {
    background: linear-gradient(to top, rgba(14, 22, 36, 0.99) 55%, rgba(14, 22, 36, 0.4) 100%);
}
.service-card-big .scontent {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2.5rem;
    z-index: 1;
}
/* Línea técnica decorativa en tarjeta */
.service-card-big .scontent::before {
    content: '';
    display: block;
    width: 40px; height: 3px;
    background: var(--accent);
    margin-bottom: 1.2rem;
    transition: width 0.4s ease;
}
.service-card-big:hover .scontent::before { width: 80px; }
.sicon {
    width: 56px; height: 56px;
    background: rgba(74, 127, 193, 0.15);
    border: 1.5px solid rgba(74, 127, 193, 0.4);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    transition: var(--transition);
}
.service-card-big:hover .sicon { background: var(--accent); border-color: var(--accent); }
.sicon i { font-size: 1.5rem; color: var(--accent); transition: var(--transition); }
.service-card-big:hover .sicon i { color: white; }
.service-card-big h3 { font-size: 1.6rem; color: white; margin-bottom: 0.6rem; }
.service-card-big p { color: rgba(255,255,255,0.7); font-size: 0.93rem; margin-bottom: 1.3rem; line-height: 1.6; }
.service-card-big .stag { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.3rem; }
.service-card-big .stag span {
    background: rgba(74, 127, 193, 0.12);
    border: 1px solid rgba(74, 127, 193, 0.35);
    color: #a8c4e8;
    padding: 3px 11px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid rgba(74, 127, 193, 0.5);
    color: var(--accent);
    padding: 9px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}
.btn-card:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* ---- Secciones de detalle de servicios ---- */
.service-detail { padding: 8rem 10%; background: var(--bg-light); }
.service-detail.bg-blueprint { }
.service-detail-wrapper { display: flex; align-items: center; gap: 5rem; }
.service-detail-alt .service-detail-wrapper { flex-direction: row-reverse; }
.service-detail-img {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.service-detail-img img { width: 100%; display: block; }
.service-detail-img-badge {
    position: absolute; bottom: 20px; right: -15px;
    background: var(--primary);
    color: white;
    padding: 14px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--accent);
}
.service-detail-img-badge strong { display: block; font-size: 1.7rem; font-family: 'Montserrat', sans-serif; color: var(--accent); line-height: 1; }
.service-detail-img-badge span { font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; color: #aab; }
.service-detail-content { flex: 1; }
.service-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.service-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px; height: 2px;
    background: var(--accent);
}
.service-detail-content h2 { font-size: 2.1rem; margin-bottom: 1.1rem; line-height: 1.2; }
.service-detail-content > p { color: var(--text-mid); font-size: 1rem; margin-bottom: 1.8rem; line-height: 1.8; }
.service-list { list-style: none; margin-bottom: 2rem; }
.service-list li {
    display: flex; align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
    font-size: 0.97rem;
    color: #3a4a5c;
    line-height: 1.5;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #eef2f8;
}
.service-list li:last-child { border-bottom: none; }
.service-list li i { color: var(--accent); font-size: 0.8rem; margin-top: 5px; flex-shrink: 0; }
.service-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
    background: #eef2f8;
    border: 1.5px solid #d0d9e8;
    color: var(--primary-light);
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.chip:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ---- Estadísticas ---- */
.stats { background: var(--primary); padding: 6rem 10%; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { padding: 2rem 1rem; border-right: 1px solid rgba(255,255,255,0.07); }
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ---- Portafolio ---- */
.portfolio { background: var(--bg-dark); }
.portfolio .section-title { color: var(--text-light); }
.portfolio .section-subtitle { color: rgba(245,247,249,0.5); }
.portfolio .section-label { color: var(--accent); }

.portfolio-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.ptab {
    padding: 9px 24px;
    border: 1.5px solid rgba(74, 127, 193, 0.35);
    background: transparent;
    color: rgba(245,247,249,0.6);
    border-radius: 3px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}
.ptab:hover { color: white; border-color: var(--accent); }
.ptab.active { background: var(--accent); color: white; border-color: var(--accent); }

.portfolio-grid { display: none; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.portfolio-grid.active { display: grid; }

.pimg-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 10;
    position: relative;
}
.pimg-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.pimg-item:hover img { transform: scale(1.06); }
.pimg-hover {
    position: absolute; inset: 0;
    background: rgba(28, 41, 64, 0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pimg-item:hover .pimg-hover { opacity: 1; }
.pimg-hover i { font-size: 1.8rem; color: white; }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(7, 12, 22, 0.95);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap { position: relative; max-width: 90vw; max-height: 88vh; }
.lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 6px;
    box-shadow: 0 20px 70px rgba(0,0,0,0.6);
    display: block;
}
.lightbox-close {
    position: absolute;
    top: 18px; right: 22px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10;
}
.lightbox-close:hover { color: white; }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(74, 127, 193, 0.2);
    border: 1.5px solid rgba(74, 127, 193, 0.4);
    color: white;
    width: 48px; height: 48px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    z-index: 10;
}
.lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-counter {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

/* ---- Proceso ---- */
.process { background: var(--bg-light); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: center; }
.process-step {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 1.5px solid #dde5f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.process-step::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--accent);
    transition: width 0.4s ease;
}
.process-step:hover::after { width: 100%; }
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #dde5f0;
    position: absolute;
    top: 8px; right: 14px;
    line-height: 1;
}
.process-step i { font-size: 2.2rem; color: var(--primary-light); margin-bottom: 1rem; position: relative; z-index: 1; transition: var(--transition); }
.process-step:hover i { color: var(--accent); }
.process-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--primary); position: relative; z-index: 1; }
.process-step p { font-size: 0.88rem; color: var(--text-mid); position: relative; z-index: 1; }

/* ---- Testimonios ---- */
.testimonials { background: var(--bg-blueprint); padding: 8rem 10%; }
.testimonials-wrapper { position: relative; max-width: 800px; margin: 0 auto; }
.testimonial-slide { display: none; text-align: center; animation: fadeSlide 0.5s ease; }
.testimonial-slide.active { display: block; }
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.9;
    margin-bottom: 2rem;
    padding: 2.5rem 3rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 3px solid var(--accent);
}
.testimonial-quote::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.18;
    position: absolute;
    top: -5px; left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-author { font-weight: 700; color: var(--primary); font-size: 0.97rem; }
.testimonial-role { color: #8a9bb0; font-size: 0.83rem; }
.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.testimonial-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 42px; height: 42px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.testimonial-btn:hover { background: var(--accent); }
.testimonial-dots { display: flex; gap: 8px; }
.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #c5d0de;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: var(--accent); transform: scale(1.4); }

/* ---- Footer / Contacto ---- */
footer { background: var(--primary); color: var(--text-light); padding: 6rem 10% 2rem; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-bottom: 4rem; }
.footer-info h2 { font-size: 2rem; color: var(--text-light); margin-bottom: 1rem; }
.footer-info p { color: rgba(255,255,255,0.6); font-size: 0.97rem; margin-bottom: 0.7rem; line-height: 1.6; }
.footer-info a { color: rgba(255,255,255,0.6); text-decoration: none; transition: var(--transition); }
.footer-info a:hover { color: var(--accent); }
.footer-info .icon-row { display: flex; gap: 0.7rem; align-items: center; }
.footer-info .icon-row i { color: var(--accent); width: 16px; }

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    margin-top: 1.5rem;
}
.whatsapp-btn:hover { background: #1ebe57; transform: translateY(-2px); }
.whatsapp-btn i { font-size: 1.2rem; }

/* Formulario */
.contact-form h3 { font-size: 1.4rem; color: var(--text-light); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
    color: white;
    font-size: 0.93rem;
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.28); }
.form-group select option { background: var(--primary); color: white; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.09);
    box-shadow: 0 0 0 3px rgba(74, 127, 193, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
    margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.form-msg {
    margin-top: 1rem;
    padding: 11px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}
.form-msg.success { background: rgba(37,211,102,0.15); border: 1px solid #25d366; color: #25d366; display: block; }
.form-msg.error   { background: rgba(231,76,60,0.15);  border: 1px solid #e74c3c; color: #e74c3c;  display: block; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ---- Responsividad ---- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.4rem; }
    .about-wrapper { flex-direction: column; gap: 3rem; }
    .about-img-badge { bottom: -14px; left: 10px; }
    .footer-top { grid-template-columns: 1fr; gap: 3rem; }
    .services-featured { grid-template-columns: 1fr; }
    .service-card-big { height: 420px; }
    .service-detail-wrapper { flex-direction: column; gap: 3rem; }
    .service-detail-alt .service-detail-wrapper { flex-direction: column; }
    .service-detail-img-badge { right: 10px; bottom: 10px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 768px) {
    nav { padding: 0.9rem 5%; background: var(--primary); }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0;
        width: 100%;
        background: var(--primary);
        padding: 1.2rem 5%;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-links a { padding: 0.85rem 0; display: block; font-size: 0.82rem; }
    .hamburger { display: flex; }
    .logo-img { height: 36px; }

    .hero h1 { font-size: 2.4rem; letter-spacing: 1.5px; }
    .hero p  { font-size: 1rem; }
    .hero    { padding: 0 6%; }
    .hero-btns { flex-direction: column; align-items: center; }

    section { padding: 5rem 5%; }
    .service-detail { padding: 5rem 5%; }
    .stats { padding: 5rem 5%; }
    .section-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }

    .form-grid { grid-template-columns: 1fr; }
    .service-card-big { height: 380px; }
    .service-card-big .scontent { padding: 1.8rem; }
    .portfolio-tabs { gap: 0.4rem; }
    .ptab { font-size: 0.73rem; padding: 7px 16px; }

    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-nav { width: 38px; height: 38px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2.8rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .service-card-big { height: 340px; }
    .service-card-big h3 { font-size: 1.35rem; }
}
