:root {
    --bg: #030807;
    --bg-soft: #071510;
    --surface: #0f221b;
    --surface-2: #163229;
    --text: #e7efe9;
    --muted: #b9c7bf;
    --line: rgba(255, 255, 255, 0.12);
    --brand: #0f5a43;
    --brand-strong: #0a3f2f;
    --gold: #d9b876;
    --white: #ffffff;
    --shadow-xl: 0 24px 70px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.2);
    --radius-lg: 20px;
    --radius-md: 14px;
    --hero-parallax: 0px;
}

body[data-theme="light"] {
    --bg: #f3f7f5;
    --bg-soft: #eef3f1;
    --surface: #ffffff;
    --surface-2: #e9f0ed;
    --text: #17342a;
    --muted: #4a645a;
    --line: rgba(9, 48, 35, 0.16);
    --brand: #0f5a43;
    --brand-strong: #0a3f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(1200px 700px at 10% -10%, rgba(15, 90, 67, 0.32), transparent 60%),
        radial-gradient(900px 600px at 100% 10%, rgba(217, 184, 118, 0.16), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, #06100d 45%, #020504 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.25s ease;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none'%3E%3Cpath fill='%23fff' fill-opacity='.4' d='M0 0h1v1H0z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.glow-1 {
    width: 320px;
    height: 320px;
    background: rgba(15, 90, 67, 0.35);
    top: 18%;
    left: -90px;
}

.glow-2 {
    width: 260px;
    height: 260px;
    background: rgba(217, 184, 118, 0.18);
    right: -50px;
    bottom: 20%;
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: all 0.35s ease;
}

.header.scrolled {
    border-bottom-color: var(--line);
    backdrop-filter: blur(12px);
    background: rgba(3, 8, 7, 0.75);
}

.nav {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand img {
    height: 52px;
    width: auto;
    max-width: min(60vw, 340px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    margin-left: auto;
}

.nav-menu a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.btn-nav {
    color: #03100c !important;
    background: linear-gradient(130deg, var(--gold), #f2d8a5);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700 !important;
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    font-size: 1rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.7);
}

.theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1);
}

body[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1);
}

body[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.7);
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    width: 42px;
    height: 42px;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    margin: 6px 0;
    transition: 0.3s ease;
}

.eyebrow {
    display: inline-block;
    border: 1px solid rgba(217, 184, 118, 0.45);
    color: #f4dfb6;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
    background: rgba(217, 184, 118, 0.08);
}

.hero {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -12% 0 -4% 0;
    z-index: 0;
    background:
        linear-gradient(110deg, rgba(3, 8, 7, 0.82) 20%, rgba(3, 8, 7, 0.52) 55%, rgba(3, 8, 7, 0.82) 100%),
        url("https://images.pexels.com/photos/7397169/pexels-photo-7397169.jpeg?auto=compress&cs=tinysrgb&w=1800");
    background-size: cover;
    background-position: center;
    transform: translateY(var(--hero-parallax));
    transition: transform 0.08s linear;
    opacity: 0.72;
}

.about,
.gallery,
.units {
    overflow: hidden;
    isolation: isolate;
}

.about::before,
.gallery::before,
.units::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}

.about::before {
    background-image:
        linear-gradient(180deg, rgba(3, 8, 7, 0.84), rgba(3, 8, 7, 0.84)),
        url("https://images.pexels.com/photos/10202865/pexels-photo-10202865.jpeg?auto=compress&cs=tinysrgb&w=1800");
}

.gallery::before {
    background-image:
        linear-gradient(180deg, rgba(3, 8, 7, 0.9), rgba(3, 8, 7, 0.86)),
        url("https://images.pexels.com/photos/7397169/pexels-photo-7397169.jpeg?auto=compress&cs=tinysrgb&w=1800");
}

.units::before {
    background-image:
        linear-gradient(180deg, rgba(3, 8, 7, 0.86), rgba(3, 8, 7, 0.82)),
        url("https://images.pexels.com/photos/14367420/pexels-photo-14367420.jpeg?auto=compress&cs=tinysrgb&w=1800");
}

.about .container,
.gallery .container,
.units .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 46px;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    font-family: "Sora", sans-serif;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 18px;
}

.hero-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 62ch;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 13px 20px;
    text-decoration: none;
    border: 1px solid transparent;
    font-weight: 650;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    color: #05130f;
    background: linear-gradient(130deg, var(--gold), #f3deb8);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 184, 118, 0.32);
}

.btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.09);
}

.hero-trust {
    margin-top: 28px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-trust span {
    font-size: 0.83rem;
    color: #dbe5df;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 8px 12px;
}

.hero-visual {
    perspective: 1200px;
}

.hero-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(20, 45, 37, 0.8), rgba(8, 20, 16, 0.84));
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(217, 184, 118, 0.25), transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(15, 90, 67, 0.55), transparent 50%);
}

.hero-card img {
    width: min(370px, 78%);
    position: relative;
    z-index: 2;
}

.floating-chip {
    position: absolute;
    z-index: 3;
    background: rgba(9, 23, 18, 0.7);
    color: #f0f4f2;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.75rem;
    backdrop-filter: blur(8px);
    animation: floating 4.2s ease-in-out infinite;
}

.chip-a {
    top: 18px;
    right: 16px;
}

.chip-b {
    bottom: 18px;
    left: 14px;
    animation-delay: 0.6s;
}

.chip-c {
    top: 52%;
    right: -12px;
    animation-delay: 1.2s;
}

.section-head {
    margin-bottom: 30px;
}

.section-head h2 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.7rem, 3.1vw, 2.6rem);
    max-width: 19ch;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    background: linear-gradient(160deg, rgba(13, 30, 24, 0.82), rgba(8, 19, 15, 0.7));
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #f1d7a3;
}

.stat-card p {
    margin-top: 8px;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.about-copy h2 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.7rem, 2.7vw, 2.4rem);
    margin-bottom: 14px;
}

.about-copy p {
    color: var(--muted);
    max-width: 60ch;
}

.about-list {
    margin-top: 18px;
    padding-left: 20px;
}

.about-list li {
    margin-bottom: 8px;
    color: #d6e0db;
}

.about-panels {
    display: grid;
    gap: 12px;
}

.glass-panel {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 18px;
    box-shadow: var(--shadow-card);
}

.glass-panel h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #f5deb4;
}

.glass-panel p {
    color: var(--muted);
    font-size: 0.94rem;
}

.differentials {
    background: linear-gradient(180deg, rgba(6, 14, 11, 0.6), rgba(12, 28, 22, 0.82));
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(130px, auto);
    gap: 14px;
}

.bento-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    padding: 18px;
    background: linear-gradient(140deg, rgba(13, 31, 25, 0.8), rgba(8, 20, 16, 0.86));
    transition: transform 0.25s ease, border-color 0.25s ease;
    box-shadow: var(--shadow-card);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(217, 184, 118, 0.55);
}

.bento-main {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-main h3 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.3rem, 2.3vw, 1.8rem);
    margin-bottom: 10px;
}

.bento-card h4 {
    color: #f3d7a3;
    margin-bottom: 8px;
}

.bento-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.team-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    padding: 20px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow-card);
}

.team-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.contact-copy h2 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    margin-bottom: 12px;
}

.contact-copy p {
    color: var(--muted);
}

.contact-list {
    margin-top: 16px;
    list-style: none;
    display: grid;
    gap: 8px;
}

.contact-list li {
    color: #dbe5df;
}

.contact-form {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    box-shadow: var(--shadow-card);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 0.84rem;
    color: #d7e2dc;
}

.field input,
.field textarea {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(3, 10, 8, 0.65);
    color: var(--white);
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(217, 184, 118, 0.7);
}

.field-full {
    grid-column: 1 / -1;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.filter-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: #dbe7e0;
    border-radius: 999px;
    padding: 8px 13px;
    font: inherit;
    font-size: 0.86rem;
    cursor: pointer;
}

.filter-btn.is-active {
    background: linear-gradient(130deg, var(--gold), #f1d7a2);
    color: #06120f;
    border-color: transparent;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
}

.gallery-card.is-hidden {
    display: none;
}

.gallery-thumb {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 10% 10%, rgba(217, 184, 118, 0.32), transparent 40%),
        radial-gradient(circle at 100% 90%, rgba(15, 90, 67, 0.42), transparent 50%),
        linear-gradient(145deg, rgba(8, 20, 16, 0.95), rgba(14, 34, 27, 0.9));
}

.gallery-thumb img {
    width: min(150px, 70%);
    height: auto;
    opacity: 0.95;
}

.gallery-content {
    padding: 14px;
}

.gallery-content span {
    font-size: 0.78rem;
    color: #f1d59e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gallery-content h3 {
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 6px;
}

.gallery-content p {
    color: var(--muted);
    font-size: 0.9rem;
}

.units-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px;
}

.map-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 420px;
    background: rgba(255, 255, 255, 0.03);
}

#map {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.units-list {
    display: grid;
    gap: 10px;
}

.units-list article {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.units-list h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.units-list p {
    color: var(--muted);
    font-size: 0.9rem;
}

.units-badge {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 12px;
}

.units-badge img {
    width: 100%;
    height: auto;
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 66px;
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(130deg, #24d366, #1ea34f);
    color: #fff;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    font-weight: 700;
    font-size: 0.88rem;
    animation: whatsappPulse 2.2s ease-in-out infinite;
}

.whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.whatsapp-icon-svg {
    width: 18px;
    height: 18px;
    display: block;
}

@keyframes whatsappPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 12px 28px rgba(36, 211, 102, 0.45);
    }
}

.leaflet-container {
    background: #0a1d16;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #0f241d;
    color: #dce7e1;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 38px 0;
}

.footer-wrap {
    display: grid;
    gap: 14px;
}

.footer-brand img {
    height: 52px;
    width: auto;
    max-width: min(72vw, 340px);
}

.footer-brand p,
.footer-copy {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #dce7e0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.85rem;
}

.to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(8, 21, 17, 0.82);
    color: var(--white);
    cursor: pointer;
    z-index: 80;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.25s ease;
}

.to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body[data-theme="light"] {
    background:
        radial-gradient(1200px 700px at 10% -10%, rgba(15, 90, 67, 0.2), transparent 60%),
        radial-gradient(900px 600px at 100% 10%, rgba(217, 184, 118, 0.12), transparent 60%),
        linear-gradient(180deg, #f7fbf9 0%, #eef4f1 45%, #f8fcfa 100%);
}

body[data-theme="light"] .header.scrolled {
    background: rgba(243, 247, 245, 0.88);
}

body[data-theme="light"] .nav-menu a {
    color: #1f4639;
}

body[data-theme="light"] .nav-menu a:hover,
body[data-theme="light"] .nav-menu a.active {
    color: #0a3f2f;
}

body[data-theme="light"] .mobile-menu-toggle span {
    background: #1f4639;
}

body[data-theme="light"] .btn-ghost {
    color: var(--brand-strong);
    border-color: rgba(15, 90, 67, 0.35);
    background: rgba(15, 90, 67, 0.06);
}

body[data-theme="light"] .hero-trust span,
body[data-theme="light"] .glass-panel,
body[data-theme="light"] .stat-card,
body[data-theme="light"] .bento-card,
body[data-theme="light"] .team-card,
body[data-theme="light"] .contact-form,
body[data-theme="light"] .gallery-card,
body[data-theme="light"] .map-card,
body[data-theme="light"] .units-list article,
body[data-theme="light"] .footer-links a {
    background: rgba(255, 255, 255, 0.92);
}

body[data-theme="light"] .differentials {
    background: linear-gradient(180deg, rgba(229, 238, 234, 0.9), rgba(243, 248, 246, 0.96));
}

body[data-theme="light"] .hero-card {
    border-color: rgba(15, 90, 67, 0.2);
    background: linear-gradient(135deg, rgba(248, 252, 250, 0.95), rgba(233, 240, 237, 0.95));
}

body[data-theme="light"] .hero::after {
    background:
        linear-gradient(110deg, rgba(247, 252, 250, 0.9) 18%, rgba(247, 252, 250, 0.68) 56%, rgba(247, 252, 250, 0.92) 100%),
        url("https://images.pexels.com/photos/7397169/pexels-photo-7397169.jpeg?auto=compress&cs=tinysrgb&w=1800");
    opacity: 0.78;
}

body[data-theme="light"] .eyebrow {
    color: #22483c;
    border-color: rgba(15, 90, 67, 0.28);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 6px 18px rgba(10, 31, 24, 0.12);
}

body[data-theme="light"] .hero-copy h1 {
    color: #123a2d;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

body[data-theme="light"] .hero-copy p {
    color: #23483d;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(217, 184, 118, 0.85);
    outline-offset: 2px;
}

body[data-theme="light"] .floating-chip,
body[data-theme="light"] .filter-btn {
    background: rgba(255, 255, 255, 0.94);
    color: #22473b;
}

body[data-theme="light"] .about::before,
body[data-theme="light"] .gallery::before,
body[data-theme="light"] .units::before {
    opacity: 0.07;
}

body[data-theme="light"] .about::before {
    background-image:
        linear-gradient(180deg, rgba(247, 252, 250, 0.9), rgba(247, 252, 250, 0.88)),
        url("https://images.pexels.com/photos/10202865/pexels-photo-10202865.jpeg?auto=compress&cs=tinysrgb&w=1800");
}

body[data-theme="light"] .gallery::before {
    background-image:
        linear-gradient(180deg, rgba(247, 252, 250, 0.94), rgba(247, 252, 250, 0.9)),
        url("https://images.pexels.com/photos/7397169/pexels-photo-7397169.jpeg?auto=compress&cs=tinysrgb&w=1800");
}

body[data-theme="light"] .units::before {
    background-image:
        linear-gradient(180deg, rgba(247, 252, 250, 0.9), rgba(247, 252, 250, 0.88)),
        url("https://images.pexels.com/photos/14367420/pexels-photo-14367420.jpeg?auto=compress&cs=tinysrgb&w=1800");
}

body[data-theme="light"] .field input,
body[data-theme="light"] .field textarea {
    border-color: rgba(15, 90, 67, 0.24);
    background: rgba(255, 255, 255, 0.94);
    color: #143126;
}

body[data-theme="light"] .footer {
    background: rgba(243, 248, 246, 0.85);
}

body[data-theme="light"] .to-top {
    border-color: rgba(15, 90, 67, 0.32);
    background: rgba(255, 255, 255, 0.94);
    color: #21463a;
}

body[data-theme="light"] .leaflet-container {
    background: #eef4f1;
}

body[data-theme="light"] .leaflet-popup-content-wrapper,
body[data-theme="light"] .leaflet-popup-tip {
    background: #ffffff;
    color: #21463a;
}

body[data-theme="light"] .noise {
    opacity: 0.02;
}

body[data-theme="light"] .brand img,
body[data-theme="light"] .footer-brand img {
    filter: saturate(1.22) brightness(0.72) contrast(1.08);
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 1040px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .units-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: 380px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-main {
        grid-column: span 2;
    }
}

@media (max-width: 780px) {
    .section {
        padding: 82px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 92px;
        left: 0;
        right: 0;
        background: rgba(3, 8, 7, 0.96);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: 16px 4vw 22px;
        flex-direction: column;
        align-items: flex-start;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.26s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero-actions {
        width: 100%;
    }

    .brand img {
        height: 42px;
        max-width: min(68vw, 280px);
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .team-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .bento-main {
        grid-column: auto;
        grid-row: auto;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 62px;
        padding: 10px 12px;
    }

    body[data-theme="light"] .nav-menu {
        background: rgba(243, 247, 245, 0.98);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
