@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');


/* ========================================
   ROOT VARIABLES
======================================== */

:root {
    --navy: #061b43;
    --blue: #0b4ca5;
    --red: #e92d1d;
    --yellow: #ffc928;
    --green: #18a65b;
    --muted: #687791;
    --line: #e6ebf2;
    --soft: #f6f8fb;
    --max: 1180px;
    --shadow: 0 18px 50px rgba(6, 27, 67, .12);
}


/* ========================================
   GLOBAL
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--navy);
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(var(--max), calc(100% - 36px));
    margin: auto;
}


/* ========================================
   TOP BAR
======================================== */

.topbar {
    height: 38px;
    background: var(--navy);
    color: #d9e3f3;
    font-size: 11px;
}

.topbar .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar a {
    color: #fff;
    font-weight: 700;
}


/* ========================================
   NAVIGATION
======================================== */

.nav {
    height: 82px;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.logo-image {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 15px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 8px 18px rgba(6, 27, 67, .08);
}

.logo-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--yellow);
    position: relative;
    overflow: hidden;
}

.logo-icon:before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    left: 14px;
    top: 8px;
}

.logo-icon:after {
    content: "";
    position: absolute;
    width: 39px;
    height: 16px;
    border-top: 5px solid var(--navy);
    border-radius: 50%;
    left: 7px;
    bottom: 9px;
    transform: rotate(-17deg);
}

.logo-text b {
    font: 800 21px Manrope;
    color: var(--blue);
    display: block;
    line-height: 1;
}

.logo-text small {
    font-size: 8px;
    color: var(--red);
    font-weight: 800;
    letter-spacing: .18em;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 700;
    padding: 29px 0;
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--red);
}

.nav-links a.active:after {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--yellow);
    border-radius: 5px;
}

.nav-links.open a:after,
.nav-links.open a.active:after {
    display: none;
}

.nav-buttons {
    display: flex;
    gap: 9px;
}


/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 11px 19px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 20px #e92d1d2b;
}

.btn-outline {
    border-color: #bdc8da;
    color: var(--blue);
    background: #fff;
}

.btn-yellow {
    background: var(--yellow);
    color: var(--navy);
}

.menu {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    font-size: 22px;
    color: var(--blue);
}


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

.hero {
    padding: 75px 0 62px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #fff 0 58%,
        #fff7d7
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 45px;
    align-items: center;
    position: relative;
}

.hero-panel {
    display: block;
    width: 100%;
    max-width: 800px;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .15);
    margin: 0 auto;
}

.solar-badge {
    position: absolute;
    right: 6%;
    bottom: 28px;
    background: rgba(255, 255, 255, .92);
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, .12);
    font-weight: 800;
    z-index: 2;
}

.solar-badge b,
.solar-badge span {
    display: block;
}

.solar-badge b {
    color: var(--red);
    font: 800 21px Manrope;
    line-height: 1.1;
}

.solar-badge span {
    font: 800 22px Manrope;
    color: var(--blue);
    line-height: 1.1;
}

.eyebrow {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    margin-right: 8px;
}

h1,
h2,
h3 {
    font-family: Manrope;
    line-height: 1.08;
    margin: 0;
}

h1 {
    font-size: clamp(44px, 6vw, 70px);
    letter-spacing: -.055em;
    margin: 16px 0 20px;
}

h1 span {
    color: var(--red);
}

.lead {
    color: var(--muted);
    font-size: 17px;
    max-width: 610px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}


/* ========================================
   HERO WHATSAPP BUTTON
======================================== */

.hero-actions .whatsapp {
    position: static;
    right: auto;
    bottom: auto;

    width: auto;
    height: 45px;
    min-height: 45px;

    padding: 11px 19px;

    border-radius: 999px;

    background: #fff;
    border: 1px solid #bdc8da;

    color: var(--blue);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    box-shadow: none;

    z-index: auto;

    overflow: visible;
    line-height: 1;

    transform: none;
}

.hero-actions .whatsapp:hover {
    transform: translateY(-2px);

    border-color: var(--green);
    color: var(--green);
}

.hero-actions .whatsapp img {
    width: 20px;
    height: 20px;

    display: block;

    object-fit: contain;

    filter: none;
}


/* ========================================
   STATS
======================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 45px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.stat {
    padding: 0 15px;
    border-left: 1px solid var(--line);
}

.stat:first-child {
    padding-left: 0;
    border-left: 0;
}

.stat strong {
    font: 800 21px Manrope;
    color: var(--blue);
    display: block;
}

.stat small {
    font-size: 11px;
    color: var(--muted);
}


/* ========================================
   SOLAR ART
======================================== */

.solar-art {
    height: 430px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sun {
    position: absolute;
    width: 235px;
    height: 235px;
    top: 5px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        #fff2aa 0 14%,
        var(--yellow) 55%,
        #f0a700 72%,
        transparent 73%
    );

    box-shadow: 0 0 90px #ffc92870;
}

.solar-panel {
    position: relative;
    width: 405px;
    margin-top: 150px;
    padding: 15px;

    border-radius: 27px;

    background: linear-gradient(
        145deg,
        #1555ad,
        #051b51
    );

    transform:
        perspective(700px)
        rotateX(48deg)
        rotateZ(-2deg);

    box-shadow: 0 35px 60px #061b4350;
}

.cells {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.cell {
    aspect-ratio: 1.1;
    border: 1px solid #ffffff38;
    border-radius: 4px;

    background: linear-gradient(
        145deg,
        #4b7eca,
        #031a50
    );
}


/* ========================================
   SECTIONS
======================================== */

.section {
    padding: 88px 0;
}

.soft {
    background: var(--soft);
}

.heading {
    text-align: center;
    max-width: 710px;
    margin: 0 auto 42px;
}

.heading h2 {
    font-size: clamp(31px, 4vw, 46px);
    letter-spacing: -.035em;
    margin: 10px 0 13px;
}

.heading p {
    color: var(--muted);
    margin: 0;
}


/* ========================================
   ABOUT
======================================== */

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

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 24px;
}

.feature,
.service,
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
}

.feature b {
    display: block;
    color: var(--blue);
    font-size: 14px;
}

.feature span {
    font-size: 12px;
    color: var(--muted);
}


/* ========================================
   DARK CARD
======================================== */

.dark-card {
    background: linear-gradient(
        145deg,
        var(--navy),
        #0d438f
    );

    color: #fff;

    border-radius: 28px;

    padding: 34px;

    box-shadow: var(--shadow);
}

.dark-card h3 {
    font-size: 27px;
}

.dark-card p {
    color: #cbd8ec;
}

.fact {
    display: flex;
    justify-content: space-between;

    border-top: 1px solid #ffffff20;

    padding: 13px 0;

    font-size: 13px;
}

.fact span {
    color: #b4c3d9;
}


/* ========================================
   SERVICES
======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.service {
    transition: .25s;
}

.service:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.icon {
    width: 51px;
    height: 51px;

    border-radius: 15px;

    background: #fff1b9;

    display: grid;
    place-items: center;

    font-size: 23px;

    margin-bottom: 18px;
}

.service:nth-child(3n+2) .icon {
    background: #e7eefb;
}

.service:nth-child(3n) .icon {
    background: #ffe5e1;
}

.service h3 {
    font-size: 19px;
    color: var(--blue);
    margin-bottom: 7px;
}

.service p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}


/* ========================================
   BRANDS
======================================== */

.brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.brand {
    padding: 12px 17px;

    border: 1px solid var(--line);
    border-radius: 33px;

    background: #fff;

    color: var(--blue);

    font-weight: 800;
    font-size: 13px;
}


/* ========================================
   CTA
======================================== */

.cta {
    padding: 42px;

    border-radius: 30px;

    background: linear-gradient(
        120deg,
        var(--navy),
        #0d438f
    );

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.cta h2 {
    font-size: 34px;
}

.cta p {
    color: #cbd8ec;
    margin: 7px 0 0;
}


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

.page-hero {
    padding: 72px 0;

    background: linear-gradient(
        135deg,
        var(--navy),
        #0d438f
    );

    color: #fff;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(42px, 5vw, 60px);
    max-width: 820px;
}

.page-hero p {
    color: #cbd8ec;
    max-width: 680px;
    font-size: 16px;
}


/* ========================================
   PROCESS
======================================== */

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step {
    background: #fff;

    border: 1px solid var(--line);
    border-radius: 20px;

    padding: 24px;
}

.number {
    font: 800 29px Manrope;
    color: var(--yellow);

    -webkit-text-stroke: 1px var(--blue);
}

.step h3 {
    font-size: 18px;
    color: var(--blue);
    margin: 7px 0;
}

.step p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}


/* ========================================
   CONTACT
======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 22px;
}

.contact-stack {
    display: grid;
    gap: 13px;
}

.contact-card h3 {
    font-size: 18px;
    color: var(--blue);
    margin-bottom: 7px;
}

.contact-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.contact-card a {
    color: var(--red);
    font-weight: 800;
}


/* ========================================
   FORM
======================================== */

.form {
    background: #fff;

    border: 1px solid var(--line);
    border-radius: 25px;

    padding: 29px;

    box-shadow: var(--shadow);
}

.form h2 {
    font-size: 29px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.full {
    grid-column: 1 / -1;
}

label {
    display: block;

    font-size: 12px;
    font-weight: 800;

    color: var(--blue);

    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;

    padding: 12px 13px;

    border: 1.5px solid var(--line);
    border-radius: 11px;

    background: #fbfcfe;

    outline: 0;

    font: inherit;
}

textarea {
    min-height: 125px;
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 17px;
}


/* ========================================
   MAP
======================================== */

.map {
    height: 280px;

    border: 1px solid var(--line);
    border-radius: 25px;

    background: linear-gradient(
        135deg,
        #e9eff9,
        #fff3c5
    );

    display: grid;
    place-items: center;

    text-align: center;
}

.map-pin {
    font-size: 45px;
}

.map b {
    display: block;
    color: var(--blue);
}

.map small {
    color: var(--muted);
}


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

footer {
    background: #05142f;
    color: #aebfd9;

    padding: 48px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;

    gap: 35px;

    padding-bottom: 30px;

    border-bottom: 1px solid #ffffff18;
}

.footer-grid h4 {
    color: #fff;
    margin: 0 0 10px;
}

.footer-grid ul {
    list-style: none;

    margin: 0;
    padding: 0;

    display: grid;
    gap: 7px;

    font-size: 12px;
}


/* ========================================
   SOCIAL MEDIA
======================================== */

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 18px;
}

.social-links a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.22);

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


/* IMPORTANT:
   Your HTML uses IMG, not SVG.
   These rules prevent the images
   from becoming huge.
*/

.social-links a img {
    width: 22px !important;
    height: 22px !important;

    max-width: 22px !important;
    max-height: 22px !important;

    min-width: 22px !important;
    min-height: 22px !important;

    object-fit: contain;

    display: block;

    margin: 0;
}


/* Instagram */

.social-links a:nth-child(1) {
    background: rgba(225, 48, 108, 0.12);
}


/* Facebook */

.social-links a:nth-child(2) {
    background: rgba(24, 119, 242, 0.12);
}


/* YouTube */

.social-links a:nth-child(3) {
    background: rgba(255, 0, 0, 0.12);
}


/* Hover */

.social-links a:hover {
    transform: translateY(-3px);

    background: #fff;

    border-color: #fff;
}

.social-links a:hover img {
    transform: scale(1.08);
}


/* ========================================
   COPYRIGHT
======================================== */

.copyright {
    display: flex;
    justify-content: space-between;

    padding-top: 17px;

    font-size: 11px;
}


/* ========================================
   FLOATING WHATSAPP BUTTON
======================================== */

.whatsapp {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 58px;
    height: 58px;

    border-radius: 50%;

    z-index: 100;
}

.whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
}

.whatsapp svg {
    width: 30px;
    height: 30px;

    display: block;

    object-fit: contain;

    filter: drop-shadow(
        0 2px 2px rgba(0, 0, 0, .08)
    );
}

.whatsapp img {
    width: 58px;
    height: 58px;

    object-fit: contain;

    display: block;
}

.whatsapp:focus-visible {
    outline: 3px solid rgba(24, 166, 91, .35);
    outline-offset: 4px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .menu {
        display: block;
        margin-left: auto;
    }

    .nav-inner {
        position: relative;
    }

    .nav-links.open {
        display: flex;

        position: absolute;

        top: 72px;
        left: -18px;
        right: -18px;

        background: #fff;

        flex-direction: column;

        gap: 0;

        padding: 15px 18px;

        border-bottom: 1px solid var(--line);

        box-shadow: 0 18px 30px #061b4314;
    }

    .nav-links.open a {
        padding: 11px;
        width: 100%;
    }

    .hero-grid,
    .about,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .solar-art {
        order: -1;
        min-height: 340px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .stat {
        border: 0;
        padding: 0;
    }

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

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

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

    .cta {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 28px);
    }

    .topbar {
        display: none;
    }

    .hero {
        padding: 48px 0 55px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .hero-grid > div:first-child {
        order: 3;
    }

    .hero-panel {
        order: 1;
        width: 100%;
        max-width: 100%;
    }

    .solar-badge {
        order: 2;
        position: static;
        width: fit-content;
        margin: 0 auto;
    }

    h1 {
        font-size: 42px;
    }

    .lead {
        font-size: 15px;
    }

    .solar-art {
        min-height: 300px;
    }

    .sun {
        width: 175px;
        height: 175px;
    }

    .solar-panel {
        width: 285px;
        margin-top: 105px;
    }

    .stats,
    .features,
    .services-grid,
    .process,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 62px 0;
    }

    .cta {
        padding: 29px 23px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .copyright {
        flex-direction: column;
    }


    /* ====================================
       MOBILE FLOATING WHATSAPP
    ==================================== */

    .whatsapp {
        width: 54px;
        height: 54px;

        right: 16px;
        bottom: 16px;
    }

    .whatsapp img {
        width: 54px;
        height: 54px;
    }


    /* ====================================
       MOBILE HERO WHATSAPP
    ==================================== */

    .hero-actions .whatsapp {
        position: static;

        width: auto;
        height: 45px;
        min-height: 45px;

        padding: 11px 17px;

        border-radius: 999px;

        right: auto;
        bottom: auto;
    }

    .hero-actions .whatsapp img {
        width: 20px;
        height: 20px;
    }


    /* ====================================
       MOBILE SOCIAL MEDIA
    ==================================== */

    .social-links {
        display: flex;

        align-items: center;

        gap: 10px;

        margin-top: 18px;
    }

    .social-links a {
        width: 38px;
        height: 38px;
    }

    .social-links a img {
        width: 21px !important;
        height: 21px !important;

        max-width: 21px !important;
        max-height: 21px !important;

        min-width: 21px !important;
        min-height: 21px !important;

        object-fit: contain;
    }

}