/* ===========================================================
   PERFORACIONES LUIS SRG — styles
   Paleta agua (azul) · estética propia, distinta a portones
   =========================================================== */

/* ===== VARIABLES ===== */
:root {
    --blue: #0B7DB8;
    --blue-dark: #085E8C;
    --blue-deep: #0A2E45;
    --aqua: #17B0C4;
    --blue-light: rgba(11, 125, 184, 0.09);
    --blue-mid: rgba(11, 125, 184, 0.16);

    --ink: #16232D;
    --ink-2: #3D4C57;
    --gray: #64727C;
    --gray-light: #93A1AB;

    --bg: #F3F7FA;
    --surface: #FFFFFF;
    --surface-2: #E9F0F5;
    --border: #DBE5EC;
    --white: #FFFFFF;

    --shadow-sm: 0 1px 3px rgba(10, 46, 69, 0.06);
    --shadow: 0 10px 34px rgba(10, 46, 69, 0.09);
    --shadow-hover: 0 20px 48px rgba(10, 46, 69, 0.16);
    --shadow-blue: 0 12px 30px rgba(11, 125, 184, 0.28);

    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 22px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 104px 0; position: relative; }

.highlight { color: var(--blue); }

/* ===== SECTION HEADER (centrado — distinto a portones) ===== */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light);
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: clamp(2rem, 4.4vw, 2.9rem);
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 14px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.04rem;
    margin: 0 auto;
}

/* ===== WAVE DIVIDERS ===== */
.wave-top, .wave-bottom { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 1; }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.wave-top svg, .wave-bottom svg { width: 100%; height: 60px; display: block; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(11,125,184,0.38); }

.btn-outline {
    background: transparent;
    color: var(--ink-2);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-white { background: var(--white); color: var(--blue-dark); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

.btn-ghost-white {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,0.16); }

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

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
#header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); background: var(--white); }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 20px;
}

.logo { display: flex; align-items: center; gap: 11px; font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--ink); }
.logo img { height: 40px; width: auto; }
.logo img.logo-mark {
    width: 46px; height: 46px;
    border-radius: 9px;
    object-fit: contain;
    background: #fff;
    flex-shrink: 0;
    display: block;
}
.footer-brand .logo img.logo-mark { padding: 3px; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo .logo-text strong { font-size: 1rem; letter-spacing: -0.02em; }
.logo .logo-text span { font-size: 0.64rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
    padding: 9px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--ink-2);
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue-dark); }

.nav-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.86rem;
    white-space: nowrap;
    box-shadow: var(--shadow-blue);
}
.nav-contact a:hover { background: var(--blue-dark); transform: translateY(-1px); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 150px 0 190px;
    background: linear-gradient(165deg, #0C3A57 0%, var(--blue-deep) 55%, #072536 100%);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 20%, rgba(23,176,196,0.22), transparent 45%),
                      radial-gradient(circle at 85% 0%, rgba(11,125,184,0.35), transparent 40%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(23,176,196,0.14);
    color: #7BE0EE;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 26px;
    border: 1px solid rgba(23,176,196,0.3);
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}
.hero h1 .highlight { color: #6FD0E8; }

.hero p {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 34px;
    max-width: 500px;
    line-height: 1.75;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.14);
}
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; font-weight: 500; color: rgba(255,255,255,0.62); }
.trust-item i { color: var(--aqua); font-size: 1rem; }

/* Hero illustration */
.hero-illus {
    border-radius: var(--radius-lg);
    padding: 10px;
    background: rgba(255,255,255,0.06);
    box-shadow: 0 30px 70px rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.12);
}
.hero-illus svg { width: 100%; height: auto; display: block; border-radius: 14px; }
.hero-illus img { width: 100%; display: block; border-radius: 16px; aspect-ratio: 4/5; object-fit: cover; }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 1; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ===== STATS (tarjeta flotante) ===== */
.stats-wrap { margin-top: -90px; position: relative; z-index: 5; }
.stats-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 26px;
    border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-icon {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
}
.stat strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat span { font-size: 0.8rem; color: var(--gray); }

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 34px 28px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--aqua));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(150deg, var(--blue-light), var(--blue-mid));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-icon i { font-size: 1.35rem; color: var(--blue); transition: var(--transition); }
.service-card:hover .service-icon { background: linear-gradient(150deg, var(--blue), var(--blue-dark)); }
.service-card:hover .service-icon i { color: #fff; }

.service-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 9px; color: var(--ink); }
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.68; }
.service-card .service-link { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 700; font-size: 0.85rem; }
.service-card .service-link:hover { color: var(--blue-dark); }

/* ===== PROCESS (timeline vertical) ===== */
.process { background: var(--surface); }
.process-timeline { max-width: 780px; margin: 0 auto; position: relative; }
.process-timeline::before {
    content: '';
    position: absolute;
    left: 27px; top: 12px; bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue), var(--aqua));
    opacity: 0.35;
}
.process-step { display: flex; gap: 26px; padding: 22px 0; position: relative; }
.process-dot {
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--blue);
    color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800; font-size: 1.15rem;
    position: relative; z-index: 2;
}
.process-step:hover .process-dot { background: var(--blue); color: #fff; }
.process-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.process-body p { color: var(--gray); font-size: 0.93rem; line-height: 1.7; }

/* ===== BRANDS ===== */
.brands { background: var(--bg); padding: 76px 0; }
.brands-label {
    text-align: center;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gray-light);
    margin-bottom: 30px;
}
.brands-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.brand-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 12px 22px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink-2);
    transition: var(--transition);
}
.brand-chip i { color: var(--blue); }
.brand-chip:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ===== GALLERY ===== */
.gallery { background: var(--surface); }
.gallery.gallery-alt { background: var(--bg); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, var(--surface-2), #D5E4EE);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-item .gallery-ph { text-align: center; padding: 20px; }
.gallery-item .gallery-ph i { font-size: 2rem; opacity: 0.5; margin-bottom: 10px; display: block; }
.gallery-item .gallery-ph span { font-size: 0.82rem; color: var(--gray); font-weight: 600; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-note { text-align: center; margin-top: 26px; font-size: 0.85rem; color: var(--gray-light); }

/* ===== COVERAGE ===== */
.coverage { background: var(--bg); }
.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.coverage-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.zone-item i { color: var(--aqua); font-size: 0.8rem; flex-shrink: 0; }
.zone-item:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateX(4px); }

.coverage-card {
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 46px 38px;
    text-align: center;
    box-shadow: var(--shadow-blue);
}
.coverage-card i { font-size: 2.6rem; color: rgba(255,255,255,0.85); margin-bottom: 16px; display: block; }
.coverage-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.coverage-card p { color: rgba(255,255,255,0.82); margin-bottom: 24px; font-size: 0.94rem; }

.coverage-map { margin-top: 46px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.coverage-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--surface); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stars { display: flex; gap: 3px; color: #F5A623; font-size: 0.85rem; margin-bottom: 15px; }
.testimonial-card > p { color: var(--ink-2); font-size: 0.93rem; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 13px; }
.author-avatar {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--blue), var(--aqua));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 0.8rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--ink); }
.testimonial-author span { font-size: 0.8rem; color: var(--gray); }

/* ===== FAQ ===== */
.faq { background: var(--bg); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); transition: border-color 0.2s; }
.faq-item.open { border-color: var(--blue); }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.98rem;
    font-weight: 700;
    font-family: 'Manrope', 'Inter', sans-serif;
    color: var(--ink);
}
.faq-question:hover { color: var(--blue); }
.faq-question i { color: var(--blue); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 24px 20px; color: var(--gray); line-height: 1.8; font-size: 0.94rem; }
.faq-item.open .faq-answer { max-height: 520px; }

/* ===== CONTACT ===== */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
}
.contact-icon.whatsapp { background: rgba(37,211,102,0.12); color: #22C55E; }
.contact-icon.phone { background: var(--blue-light); color: var(--blue); }
.contact-icon.location { background: var(--surface-2); color: var(--ink-2); }
.contact-icon.clock { background: var(--surface-2); color: var(--ink-2); }
.contact-item strong { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray-light); margin-bottom: 3px; }
.contact-item a, .contact-item span { font-size: 1rem; font-weight: 700; color: var(--ink); }
.contact-item a:hover { color: var(--blue); }

.contact-form-wrap {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}
.form-group { margin-bottom: 15px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 13px 17px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--surface);
    transition: var(--transition);
    outline: none;
    resize: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(11,125,184,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-light); }

/* ===== FOOTER ===== */
.footer { background: var(--blue-deep); color: #fff; padding: 72px 0 0; }
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo .logo-text span { color: var(--aqua); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; max-width: 340px; }
.footer-phones { display: flex; flex-direction: column; gap: 9px; }
.footer-phones a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.62); font-size: 0.9rem; }
.footer-phones a:hover { color: var(--aqua); }
.footer-links h4, .footer-zones h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--aqua);
    margin-bottom: 18px;
    font-weight: 800;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-zones li { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 9px; }
.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.82rem; }
.seo-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== GALERÍA: VIDEO ===== */
.gallery-item img { cursor: zoom-in; }
.gallery-video { cursor: pointer; }
.gallery-video video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gallery-video::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(10,46,69,0.18);
    transition: var(--transition);
    z-index: 1;
}
.gallery-video:hover::before { background: rgba(10,46,69,0.30); }
.gallery-video .play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(11,125,184,0.92);
    border: 3px solid rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 22px rgba(0,0,0,0.4);
    transition: var(--transition);
    z-index: 2;
}
.gallery-video:hover .play-btn { background: var(--blue); transform: translate(-50%, -50%) scale(1.08); }
.gallery-video .play-btn::after {
    content: '';
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

/* ===== LIGHTBOX GALERÍA ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 46, 69, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
    cursor: default;
    background: #000;
}
.lightbox-close {
    position: absolute;
    top: 16px; right: 20px;
    width: 46px; height: 46px;
    background: rgba(255,255,255,0.14);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); transform: rotate(90deg); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 26px; right: 26px;
    z-index: 9999;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    animation: waPulse 2.6s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); animation: none; }
@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== PAGE HERO (interiores) ===== */
.page-hero {
    padding: 150px 0 90px;
    background: linear-gradient(165deg, #0C3A57 0%, var(--blue-deep) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(23,176,196,0.22), transparent 45%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-badge { background: rgba(23,176,196,0.14); color: #7BE0EE; border: 1px solid rgba(23,176,196,0.3); margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.page-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto 30px; }
.page-hero .hero-buttons { justify-content: center; }
.page-hero .hero-wave svg path { fill: var(--bg); }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 14px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumb ol { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb li { font-size: 0.82rem; color: var(--gray); display: flex; align-items: center; }
.breadcrumb li a { color: var(--blue); }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin: 0 7px; color: var(--gray-light); }

/* ===== CONTENT SECTION ===== */
.content-section { background: var(--bg); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.content-text .section-badge { margin-bottom: 14px; }
.content-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.content-text > p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.content-text ul { display: flex; flex-direction: column; gap: 11px; margin: 22px 0; }
.content-text ul li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-2); font-size: 0.94rem; line-height: 1.6; }
.content-text ul li i { color: var(--aqua); margin-top: 4px; flex-shrink: 0; }

.content-visual {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.content-visual > img { width: 100%; display: block; border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.content-stat { display: flex; align-items: center; gap: 16px; }
.content-stat-icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.content-stat-icon i { font-size: 1.15rem; color: var(--blue); }
.content-stat strong { display: block; font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.content-stat span { font-size: 0.85rem; color: var(--gray); }

/* ===== FEATURE CARDS ===== */
.features-section { background: var(--surface); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feature-card { background: var(--bg); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card i { font-size: 1.7rem; color: var(--blue); margin-bottom: 13px; display: block; }
.feature-card h3 { font-size: 1.03rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }
.feature-card a { color: var(--blue); font-weight: 700; }

/* ===== CTA BAND ===== */
.cta-band {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
    padding: 84px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 100%, rgba(23,176,196,0.3), transparent 45%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.02rem; margin-bottom: 30px; }
.cta-band .hero-buttons { justify-content: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-illus { max-width: 460px; }
    .hero { padding: 130px 0 160px; }
    .stats-card { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
    .coverage-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    section { padding: 78px 0; }
    .nav-links {
        position: fixed;
        top: 78px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 18px 24px;
        gap: 4px;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        box-shadow: var(--shadow);
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { transform: translateY(0); opacity: 1; }
    .nav-links a { padding: 13px 16px; display: block; }
    .nav-contact { display: none; }
    .hamburger { display: flex; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { justify-content: center; }
    .stats-wrap { margin-top: -70px; }
    .footer-content { grid-template-columns: 1fr; gap: 34px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 540px) {
    .stats-card { grid-template-columns: 1fr; }
    .stat { border-right: none; border-bottom: 1px solid var(--border); }
    .stat:last-child { border-bottom: none; }
    .coverage-zones { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 26px 20px; }
    .process-step { gap: 16px; }
    .process-timeline::before { left: 22px; }
    .process-dot { width: 46px; height: 46px; font-size: 1rem; }
}
