/* =========================
   VARIABLES & DESIGN SYSTEM
   ========================= */
:root {
    /* Color Palette - Premium Dark Theme with Sunny Accents */
    --bg-main: #0B0F19;
    /* Very deep slate/blue */
    --bg-surface: #151C2C;
    --bg-card: rgba(26, 35, 50, 0.7);
    --bg-card-hover: rgba(35, 45, 65, 0.9);

    --color-primary: #FBB03B;
    /* Solar Yellow / Orange */
    --color-primary-hover: #e6a235;
    --color-secondary: #00E676;
    /* Eco Green */

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(251, 176, 59, 0.2);
    --radius-md: 12px;
    --radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Fondo difuminado (ruta relativa a este archivo: assets/css/) */
    --bg-solar-image: url("../../img/energia-fotovoltaica/DJI_0711.jpg");
}

/* =========================
   RESET & TYPOGRAPHY
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
}

/* Fondo: paneles solares (ligero desenfoque) + velo suave para legibilidad */
body::before {
    content: "";
    position: fixed;
    inset: -28px;
    z-index: -2;
    background: var(--bg-solar-image) center center / cover no-repeat;
    /* Menos blur: se aprecian mejor los paneles; color más vivo */
    filter: blur(14px) saturate(1.2) contrast(1.05) brightness(1.06);
    transform: scale(1.04);
    pointer-events: none;
    will-change: transform;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    /* Velo más claro + ligero brillo cálido en el centro (más atractivo) */
    background:
        radial-gradient(ellipse 100% 70% at 50% 25%,
            rgba(255, 180, 90, 0.06) 0%,
            transparent 55%),
        linear-gradient(165deg,
            rgba(11, 15, 25, 0.78) 0%,
            rgba(11, 15, 25, 0.68) 42%,
            rgba(15, 23, 42, 0.78) 100%);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    body::before {
        filter: blur(10px) saturate(1.12) contrast(1.03) brightness(1.04);
        transform: none;
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* =========================
   UTILITIES
   ========================= */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-main);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(251, 176, 59, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--bg-main);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, #FFF, #94A3B8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: var(--glass-border);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

/* Logo ONELLI: Adaptado al color luminoso de la web para contraste perfecto en fondo oscuro */
.logo-img {
    height: 56px;
    /*max-width: 260px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(251, 176, 59, 0.25));
    transition: filter var(--transition-fast), transform var(--transition-fast);
}

.logo:hover .logo-img,
.logo:focus-visible .logo-img {
    /* Al pasar el mouse, el resplandor amarillo/naranja se hace más fuerte */
    filter: brightness(0) invert(1) drop-shadow(0 0 16px rgba(251, 176, 59, 0.55));
    transform: scale(1.02);
}

.logo--footer .logo-img {
    max-width: 170px;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.logo--footer:hover .logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(251, 176, 59, 0.4));
}

.logo-icon {
    font-size: 1.8rem;
}

/* Texto junto al logo (si se usa en alguna variante) */
.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-fast);
}

.hamburger {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -8px;
    left: 0;
}

.hamburger::after {
    bottom: -8px;
    left: 0;
}

.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    /* account for navbar */
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 176, 59, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(251, 176, 59, 0.1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    border: 1px solid rgba(251, 176, 59, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--spacing-sm);
}

.hero-title span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-kpis {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 700px;
}

.kpi-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.kpi-value {
    font-weight: 700;
    color: var(--color-primary);
}

.kpi-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mosaic {
    width: min(680px, 100%);
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: 180px 180px;
    gap: 0.9rem;
    align-items: stretch;
}

.mosaic-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.mosaic-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.mosaic-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.mosaic-bottom {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.mosaic-side {
    display: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mosaic-card:hover .hero-image {
    transform: scale(1.04);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================
   PARTNERS / LOGOS
   ========================= */
.partners-section {
    padding: 0 0 var(--spacing-lg);
}

.partners-strip {
    padding: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: center;
}

.partner-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.partners-image {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
}

.partners-image-elecsun {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
}

/* =========================
   TRUST / CONFIANZA
   ========================= */
.trust-section {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(21, 28, 44, 0.4), rgba(11, 15, 25, 0.7));
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.trust-intro {
    max-width: 760px;
}

.trust-intro h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.trust-intro p {
    color: var(--text-muted);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.trust-card {
    background: rgba(26, 35, 50, 0.6);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 176, 59, 0.35);
}

.trust-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.trust-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* =========================
   FEATURES / BENEFICIOS
   ========================= */
.features {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(21, 28, 44, 0.5), rgba(11, 15, 25, 0.7));
    position: relative;
    backdrop-filter: blur(6px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    padding: 2rem;
    background: rgba(26, 35, 50, 0.6);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================
   PRODUCTOS
   ========================= */
.products {
    padding: var(--spacing-xl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(251, 176, 59, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ffffff;
    padding: 0.75rem;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}


/* =========================
   PROCESS / PROCESO
   ========================= */
.process-section {
    padding: 0 0 var(--spacing-xl);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.process-step {
    background: rgba(26, 35, 50, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 176, 59, 0.35);
    box-shadow: var(--shadow-sm);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--bg-main);
    background: var(--color-primary);
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* =========================
   INSTAGRAM SECTION
   ========================= */
.instagram-section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.instagram-feed-container {
    width: 100%;
    min-height: 300px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-color: rgba(251, 176, 59, 0.2);
}

.instagram-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 2rem;
}

.instagram-placeholder .ig-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.instagram-placeholder p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
}

.instagram-placeholder span {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 400px;
}

/* =========================
   REVIEWS / RESENAS
   ========================= */
.reviews-section {
    padding: 0 0 var(--spacing-xl);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.3rem;
}

.review-text {
    color: #d7e2f2;
    font-size: 0.96rem;
    margin-bottom: 0.9rem;
}

.review-author {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================
   CTA SECTION (CONTACTO)
   ========================= */
.cta-section {
    padding: var(--spacing-md) 0 var(--spacing-xl);
}

.cta-box {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, rgba(251, 176, 59, 0.1), rgba(26, 35, 50, 0.8));
    border: 1px solid rgba(251, 176, 59, 0.2);
    backdrop-filter: blur(10px);
}

.cta-box h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-form-box {
    margin-top: 1.25rem;
    padding: 2rem;
}

.contact-form-box h3 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.contact-form-box>p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.form-message {
    min-height: 24px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.form-message.success {
    color: #7ef5ab;
}

.form-message.error {
    color: #ff8b8b;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(11, 15, 25, 0.7);
    color: var(--text-main);
    font-family: var(--font-body);
}

.contact-form textarea,
.contact-form button,
.contact-form input[name="email"] {
    grid-column: 1 / -1;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a6b4c8;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    background-color: #06090F;
    padding: var(--spacing-lg) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links a,
.footer-contact p {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =========================
   FLOATING BUTTON WSP
   ========================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: var(--transition-fast);
}

.floating-wa svg {
    width: 35px;
    height: 35px;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.6);
}

/* =========================
   RESPONSIVE DESIGN (MÓVIL)
   ========================= */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-kpis {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-mosaic {
        margin: 2rem auto 0;
        width: min(620px, 100%);
        grid-template-columns: 1fr;
        grid-template-rows: 260px 180px 180px;
    }

    .mosaic-main,
    .mosaic-top,
    .mosaic-bottom {
        grid-column: 1 / -1;
    }

    .mosaic-main {
        grid-row: 1 / 2;
    }

    .mosaic-top {
        grid-row: 2 / 3;
    }

    .mosaic-bottom {
        grid-row: 3 / 4;
    }

    .mosaic-side {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .logo-img {
        height: 1.8rem;
        max-width: 170px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 100%;
        height: 100vh;
        background-color: rgba(11, 15, 25, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .btn-nav {
        display: none;
    }

    .hero-kpis {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .kpi-item {
        text-align: left;
    }

    .products-grid,
    .features-grid,
    .process-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-wa svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.85rem;
    }

    .nav-container {
        padding: 0 0.85rem;
    }

    .btn,
    .btn-large {
        width: 100%;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-kpis {
        gap: 0.75rem;
    }

    .contact-form-box {
        padding: 1.3rem;
    }

    .contact-form-box h3 {
        font-size: 1.3rem;
    }

    .product-info {
        padding: 1rem;
    }

    .hero-mosaic {
        grid-template-rows: 220px 150px 150px;
        gap: 0.7rem;
    }

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

}

@media (min-width: 1600px) {
    :root {
        --max-width: 1320px;
    }
}