:root {
    --primary: #f5a400;
    --primary-dark: #d98f00;
    --dark: #101820;
    --dark-2: #17232d;
    --text: #26323b;
    --muted: #69757e;
    --light: #f5f7f8;
    --white: #ffffff;
    --green: #25d366;
    --border: #e5e9ec;
    --shadow: 0 18px 45px rgba(16, 24, 32, .10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* BARRA SUPERIOR */

.topbar {
    background: var(--dark);
    color: #dce3e7;
    font-size: 13px;
}

.topbar-content {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-contact {
    display: flex;
    gap: 24px;
}

/* HEADER */

.header {
    background: rgba(255, 255, 255, .97);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--dark);
    color: var(--primary);
    font-weight: 900;
    font-size: 24px;
    border: 3px solid var(--primary);
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    color: var(--dark);
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1;
}

.brand span {
    color: var(--primary-dark);
    font-size: 10px;
    letter-spacing: 4px;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 700;
}

.nav-links > a:not(.nav-quote) {
    transition: .2s ease;
}

.nav-links > a:not(.nav-quote):hover {
    color: var(--primary-dark);
}

.nav-quote {
    background: var(--primary);
    color: var(--dark);
    padding: 12px 19px;
    border-radius: 7px;
    transition: .2s ease;
}

.nav-quote:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 25%, rgba(245, 164, 0, .25), transparent 23%),
        linear-gradient(115deg, #0c141b 0%, #172630 55%, #233842 100%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    right: -220px;
    bottom: -300px;
    border: 100px solid rgba(245, 164, 0, .08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 45px 45px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 80px;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-copy {
    max-width: 700px;
}

.eyebrow,
.section-kicker {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.2px;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(44px, 5.5vw, 76px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    margin: 18px 0 25px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-copy > p {
    max-width: 650px;
    color: #d6dfe4;
    font-size: 19px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #ffb20c;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.35);
    color: var(--white);
    background: rgba(255,255,255,.05);
}

.btn-secondary:hover {
    border-color: var(--primary);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.hero-benefits {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 32px;
    color: #bfcbd1;
    font-size: 13px;
}

.hero-benefits span::first-letter {
    color: var(--primary);
}

.hero-card {
    background: rgba(255,255,255,.97);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
    border-top: 5px solid var(--primary);
}

.hero-card-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--primary-dark);
    font-weight: 900;
}

.hero-card h2 {
    color: var(--dark);
    font-size: 30px;
    line-height: 1.15;
    margin: 12px 0 15px;
}

.hero-card p {
    color: var(--muted);
    font-size: 14px;
}

.saving-box {
    background: var(--light);
    margin: 25px 0;
    padding: 22px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.saving-box small,
.saving-box strong,
.saving-box span {
    display: block;
}

.saving-box small {
    font-size: 10px;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 1px;
}

.saving-box strong {
    color: var(--dark);
    font-size: 34px;
    line-height: 1.2;
    margin-top: 4px;
}

.saving-box span {
    color: var(--muted);
    font-size: 12px;
}

.hero-card > a {
    color: var(--dark);
    font-weight: 800;
    font-size: 14px;
}

/* FRANJA DE BENEFICIOS */

.benefit-strip {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    position: relative;
    z-index: 3;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.benefit-grid article {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 115px;
    padding: 22px 25px;
    border-right: 1px solid var(--border);
}

.benefit-grid article:last-child {
    border-right: 0;
}

.benefit-grid article > strong {
    color: var(--primary-dark);
    font-size: 30px;
}

.benefit-grid h3 {
    color: var(--dark);
    font-size: 15px;
}

.benefit-grid p {
    color: var(--muted);
    font-size: 12px;
}

/* SECCIONES GENERALES */

.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.section-heading > span {
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.section-heading h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    margin: 12px 0 16px;
    letter-spacing: -1.3px;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

/* SERVICIOS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 34px;
    transition: .25s ease;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.featured-service {
    border-top: 4px solid var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff6df;
    color: var(--primary-dark);
    font-size: 30px;
    margin-bottom: 28px;
}

.service-tag {
    font-size: 10px;
    color: var(--primary-dark);
    font-weight: 900;
    letter-spacing: 1.5px;
}

.service-card h3 {
    color: var(--dark);
    font-size: 25px;
    margin: 6px 0 14px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    min-height: 90px;
}

.service-card a {
    display: inline-block;
    margin-top: 20px;
    color: var(--dark);
    font-weight: 800;
    font-size: 13px;
}

/* ENERGÍA SOLAR */

.solar-section {
    background: var(--light);
    padding: 110px 0;
}

.solar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solar-visual {
    position: relative;
}

.image-placeholder {
    min-height: 480px;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(16,24,32,.88), rgba(27,47,58,.88)),
        #172630;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 40px;
    box-shadow: var(--shadow);
}

.image-placeholder > span {
    color: var(--primary);
    font-size: 85px;
    line-height: 1;
}

.image-placeholder strong {
    margin-top: 20px;
    letter-spacing: 2px;
}

.image-placeholder small {
    max-width: 320px;
    color: #bdc8ce;
    margin-top: 8px;
}

.experience-card {
    position: absolute;
    right: -25px;
    bottom: 35px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 12px;
    padding: 20px 30px;
    box-shadow: var(--shadow);
}

.experience-card strong,
.experience-card span {
    display: block;
}

.experience-card strong {
    font-size: 35px;
    line-height: 1;
}

.experience-card span {
    font-size: 11px;
    font-weight: 800;
    margin-top: 5px;
}

.solar-copy h2 {
    color: var(--dark);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 14px 0 25px;
    letter-spacing: -1.5px;
}

.solar-copy > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.check-list {
    margin: 28px 0 34px;
    display: grid;
    gap: 12px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
}

.check-list div::first-letter {
    color: var(--primary-dark);
}

/* PROYECTOS */

.projects-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    transition: .25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.project-photo {
    height: 260px;
    background:
        linear-gradient(135deg, #172630, #304957);
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.project-info {
    padding: 25px;
}

.project-info span {
    color: var(--primary-dark);
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 900;
}

.project-info h3 {
    color: var(--dark);
    font-size: 20px;
    margin: 5px 0 7px;
}

.project-info p {
    color: var(--muted);
    font-size: 13px;
}

/* FINANCIAMIENTO */

.finance-section {
    background: var(--dark);
    color: var(--white);
    padding: 95px 0;
}

.finance-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.section-kicker.light {
    color: var(--primary);
}

.finance-grid > div:first-child h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 12px 0 20px;
}

.finance-grid > div:first-child p {
    color: #bdc7cd;
    max-width: 520px;
    margin-bottom: 30px;
}

.finance-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.finance-cards article {
    min-height: 210px;
    padding: 30px;
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
}

.finance-cards span {
    color: var(--primary);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
}

.finance-cards strong {
    display: block;
    font-size: 25px;
    margin: 15px 0;
}

.finance-cards p {
    color: #b9c4ca;
    font-size: 13px;
}

/* CONTACTO */

.contact-section {
    padding: 105px 0;
    background: #f8fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 70px;
    align-items: center;
}

.contact-copy h2 {
    color: var(--dark);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 12px 0 20px;
}

.contact-copy > p {
    color: var(--muted);
    max-width: 620px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 35px;
}

.contact-details div {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.contact-details strong,
.contact-details span {
    display: block;
}

.contact-details strong {
    color: var(--dark);
    font-size: 12px;
}

.contact-details span {
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

.contact-card {
    background: var(--dark);
    color: var(--white);
    border-radius: 18px;
    padding: 45px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.contact-card > span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.contact-card h3 {
    font-size: 32px;
    line-height: 1.1;
    margin: 12px 0 18px;
}

.contact-card p {
    color: #c1cbd0;
    margin-bottom: 28px;
    font-size: 14px;
}

.btn-whatsapp {
    background: var(--green);
    color: #092f17;
    width: 100%;
}

/* FOOTER */

.footer {
    background: #0a1015;
    color: #aeb9bf;
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-brand strong {
    color: var(--white);
    font-size: 20px;
    letter-spacing: 2px;
}

.footer-brand p {
    max-width: 340px;
    font-size: 13px;
    margin-top: 15px;
}

.footer h4 {
    color: var(--white);
    font-size: 13px;
    margin-bottom: 15px;
}

.footer a,
.footer-grid > div > span {
    display: block;
    font-size: 12px;
    margin: 8px 0;
}

.footer a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 11px;
}

/* WHATSAPP FLOTANTE */

.whatsapp-floating {
    position: fixed;
    z-index: 1100;
    right: 25px;
    bottom: 25px;
    background: var(--green);
    color: #083a19;
    min-height: 54px;
    padding: 0 8px 0 19px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(0,0,0,.22);
    transition: .2s ease;
}

.whatsapp-floating:hover {
    transform: translateY(-3px);
}

.whatsapp-floating strong {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    font-size: 20px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 25px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 30px rgba(0,0,0,.08);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .nav-quote {
        text-align: center;
        margin-top: 8px;
        padding: 12px !important;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-card {
        max-width: 600px;
    }

    .benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .benefit-grid article:nth-child(2) {
        border-right: 0;
    }

    .benefit-grid article:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .solar-grid,
    .finance-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .solar-grid {
        gap: 55px;
    }

    .experience-card {
        right: 20px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .topbar-content {
        justify-content: center;
        text-align: center;
    }

    .topbar-content > span {
        display: none;
    }

    .topbar-contact {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar {
        min-height: 72px;
    }

    .nav-links {
        top: 72px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: 45px;
        letter-spacing: -1.5px;
    }

    .hero-copy > p {
        font-size: 16px;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 8px;
    }

    .hero-card {
        padding: 27px;
    }

    .benefit-grid,
    .services-grid,
    .projects-grid,
    .finance-cards,
    .contact-details,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefit-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .benefit-grid article:last-child {
        border-bottom: 0;
    }

    .section,
    .solar-section,
    .contact-section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .service-card p {
        min-height: auto;
    }

    .image-placeholder {
        min-height: 350px;
    }

    .experience-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: max-content;
        margin: -35px 20px 0 auto;
    }

    .finance-section {
        padding: 75px 0;
    }

    .finance-grid,
    .contact-grid {
        gap: 45px;
    }

    .contact-card {
        padding: 30px;
    }

    .footer-grid {
        gap: 30px;
    }

    .whatsapp-floating span {
        display: none;
    }

    .whatsapp-floating {
        width: 56px;
        height: 56px;
        padding: 8px;
        border-radius: 50%;
    }

    .whatsapp-floating strong {
        width: 40px;
        height: 40px;
    }
}
/* WhatsApp de asesores */

.whatsapp-advisors {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.whatsapp-advisors strong {
    display: block;
    margin-bottom: 8px;
}

.whatsapp-advisors a {
    display: block !important;
    width: 100%;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 6px 0;
    text-decoration: none;
}

.whatsapp-advisors a:hover {
    color: #128c4a;
}
/* =====================================================
   PROYECTOS DINÁMICOS
===================================================== */

.project-photo {
    height: 260px;
    overflow: hidden;
    background: #eef1f3;
}

.project-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-photo img {
    transform: scale(1.04);
}

.project-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #7b848c;
    letter-spacing: 1px;
}

.project-location {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #66717a;
}

.projects-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    background: #f7f8f9;
    border-radius: 18px;
    color: #66717a;
}

/* =====================================================
   GALERÍA DE PROYECTOS
===================================================== */

.project-card-clickable {
    cursor: pointer;
}

.project-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.project-gallery-modal.active {
    display: flex;
}

.project-gallery-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 18, 0.92);
}

.project-gallery-dialog {
    position: relative;
    z-index: 2;
    width: min(1100px, 95vw);
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.project-gallery-dialog h3 {
    margin: 0 55px 20px 0;
    font-size: 24px;
    line-height: 1.25;
    color: #101820;
}

.project-gallery-close {
    position: absolute;
    top: 15px;
    right: 18px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #101820;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.project-gallery-viewer {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    border-radius: 16px;
    background: #111820;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-gallery-viewer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #101820;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.gallery-arrow:hover {
    background: #ffffff;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.project-gallery-counter {
    margin: 12px 0;
    text-align: center;
    font-weight: 700;
    color: #66717a;
}

.project-gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0 3px;
}

.gallery-thumbnail {
    flex: 0 0 auto;
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.55;
    border: 3px solid transparent;
    transition: .2s ease;
}

.gallery-thumbnail:hover {
    opacity: .85;
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: #f5a400;
}

@media (max-width: 760px) {

    .project-gallery-modal {
        padding: 10px;
    }

    .project-gallery-dialog {
        padding: 16px;
        border-radius: 16px;
    }

    .project-gallery-dialog h3 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .project-gallery-viewer {
        height: 420px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-thumbnail {
        width: 76px;
        height: 56px;
    }
}
/* =====================================================
   FOTO PRINCIPAL - SECCIÓN ENERGÍA SOLAR
===================================================== */

.solar-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.solar-visual {
    position: relative;
    width: 100%;
    min-width: 0;
}

.solar-main-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.solar-copy {
    min-width: 0;
}

.solar-visual .experience-card {
    position: absolute;
    right: -25px;
    bottom: 35px;
    z-index: 5;
}

@media (max-width: 1000px) {
    .solar-grid {
        grid-template-columns: 1fr;
    }

    .solar-main-image {
        height: 450px;
    }

    .solar-visual .experience-card {
        right: 20px;
    }
}

@media (max-width: 760px) {
    .solar-main-image {
        height: 350px;
    }

    .solar-visual .experience-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: max-content;
        margin: -35px 20px 0 auto;
    }
}

/* =====================================================
   LOGO + NOMBRE NEXUS SOLUTIONS
===================================================== */

.header {
    background: rgba(255, 255, 255, .97);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 0;
    padding-bottom: 0;
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 85px;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.brand-name strong {
    display: block;
    color: #101820;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1.5px;
    line-height: 1;
}

.brand-name span {
    display: block;
    color: #f5a400;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-top: 6px;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    margin-left: auto;
    flex-wrap: nowrap;
}

.nav-links a {
    height: auto;
}

/* TABLET / MÓVIL */

@media (max-width: 1000px) {

    .navbar {
        min-height: 82px;
    }

    .brand-logo {
        height: 54px;
        max-width: 78px;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 25px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-left: 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
    }
}

@media (max-width: 760px) {

    .navbar {
        min-height: 72px;
    }

    .brand {
        gap: 9px;
    }

    .brand-logo {
        height: 46px;
        max-width: 65px;
    }

    .brand-name strong {
        font-size: 17px;
    }

    .brand-name span {
        font-size: 9px;
        letter-spacing: 3px;
        margin-top: 4px;
    }

    .nav-links {
        top: 72px;
    }
}

/* AJUSTE DE DISTRIBUCIÓN DEL ENCABEZADO */

.navbar {
    justify-content: flex-start;
}

.nav-links {
    margin-left: auto;
}

.brand {
    margin-right: 40px;
}

/* ================================
   TIENDA WEB
================================ */

.store-section {
    background: #f7f9fb;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.store-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.store-image {
    width: 100%;
    height: 240px;
    background: #eef2f4;
    overflow: hidden;
}

.store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-content {
    padding: 22px;
}

.store-category {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5d6b75;
}

.store-content h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
}

.store-content p {
    margin-bottom: 18px;
    color: #66737d;
    line-height: 1.6;
}

.store-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.store-info strong {
    font-size: 24px;
    font-weight: 800;
}

.store-info span {
    font-size: 13px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef7f1;
}

.store-content .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 980px) {
    .store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .store-grid {
        grid-template-columns: 1fr;
    }

    .store-image {
        height: 220px;
    }
}

/* =================================
   PÁGINA TIENDA
================================= */

.store-page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e9eef2;
}

.store-page-nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.store-brand {
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #173042;
}

.store-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.store-nav-links a {
    text-decoration: none;
    font-weight: 700;
    color: #334955;
}

.store-nav-links a:hover {
    opacity: 0.7;
}

.store-hero {
    width: 100%;
    min-height: 620px;
    padding: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
    
.store-hero h1 {
    max-width: 760px;
    margin: 12px 0 18px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
}

.store-hero p {
    max-width: 680px;
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #64717a;
}

.store-catalog {
    background: #ffffff;
}

.store-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.store-toolbar h2 {
    margin: 0 0 6px;
    font-size: 34px;
}

.store-toolbar p {
    margin: 0;
    color: #6e7a82;
}

.store-search-box {
    width: min(100%, 380px);
}

.store-search-box input {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #d8e0e5;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    background: #ffffff;
}

.store-search-box input:focus {
    border-color: #8da3ae;
    box-shadow: 0 0 0 3px rgba(80, 112, 128, 0.08);
}

.store-category-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.store-filter {
    border: 1px solid #d7e0e4;
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #41535d;
}

.store-filter:hover,
.store-filter.active {
    background: #173042;
    border-color: #173042;
    color: #ffffff;
}

.store-catalog .store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.store-catalog .store-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.store-catalog .store-image {
    height: 220px;
}

.store-catalog .store-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.store-catalog .store-content p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.store-catalog .store-info {
    margin-top: auto;
}

.store-no-results {
    margin-top: 30px;
    padding: 30px;
    border-radius: 16px;
    background: #f6f8f9;
    text-align: center;
    font-weight: 700;
    color: #586872;
}

.store-footer {
    padding: 45px 0;
    background: #152b39;
    color: #ffffff;
}

.store-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.store-footer h4 {
    margin: 0 0 14px;
    font-size: 17px;
    color: #ffffff;
}

.store-footer-brand strong {
    display: block;
    font-size: 21px;
    margin-bottom: 10px;
}

.store-footer-brand p,
.store-footer-contact p {
    margin: 0 0 10px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.store-footer a {
    color: #ffffff;
    text-decoration: none;
}

.store-footer a:hover {
    opacity: 0.75;
}

.store-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.store-social-links a {
    font-weight: 700;
}

@media (max-width: 850px) {
    .store-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 1100px) {
    .store-catalog .store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .store-page-nav {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .store-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .store-search-box {
        width: 100%;
    }

    .store-catalog .store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .store-nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }

    .store-hero {
        padding: 48px 0;
    }

    .store-catalog .store-grid {
        grid-template-columns: 1fr;
    }

    .store-footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* LOGO TIENDA */

.store-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.store-brand-logo img {
    display: block;
    width: auto;
    max-width: 220px;
    max-height: 70px;
    object-fit: contain;
}

.store-brand-logo strong {
    font-size: 22px;
    font-weight: 800;
    color: #173042;
}

@media (max-width: 850px) {
    .store-brand-logo img {
        max-width: 180px;
        max-height: 60px;
    }
}