:root {
    --bg: #0c3f2d;
    --bg-alt: #0f4d36;
    --accent: #c4b56b;
    --accent-soft: rgba(196, 181, 107, 0.1);
    --text: #f9fafb;
    --text-dark: #111827;
    --muted: #9ca3af;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 45px rgba(0,0,0,0.22);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-dark);
    background: #f3f4f6;
    line-height: 1.6;
}

/* NAVBAR */
.main-header {
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.25rem;
    background: rgba(12, 63, 45, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #f9fafb;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #0c3f2d;
    padding: 4px;
    box-shadow: 0 0 0 2px var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--muted);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #f9fafb;
    font-size: 1.4rem;
}

/* HERO */
.hero {
    min-height: 85vh;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 1.5rem 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(196,181,107,0.18), transparent 55%),
                linear-gradient(to bottom right, rgba(12,63,45,0.9), rgba(12,63,45,0.98));
}

.hero-content {
    position: relative;
    max-width: 720px;
    color: var(--text);
    animation: fadeInUp 0.9s ease-out both;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 3.1vw, 3rem);
    margin: 0 0 0.75rem;
}

.hero-text {
    max-width: 36rem;
    color: #e5e7eb;
    font-size: 0.98rem;
}

.hero-ctas {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* SECTIONS */
.section {
    padding: 4.5rem 1.5rem;
}

.section-alt {
    background: #f9fafb;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.section-intro {
    max-width: 640px;
    color: #4b5563;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

/* CARDS */
.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255,255,255,0.08);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #111827;
}

.card p {
    font-size: 0.94rem;
    color: #4b5563;
}

/* LISTS */
.check-list {
    padding-left: 0;
    list-style: none;
    margin-top: 1rem;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-size: 0.9rem;
}

.bullet-list {
    list-style: disc;
    padding-left: 1.1rem;
    color: #4b5563;
    font-size: 0.94rem;
}

.bullet-list li + li {
    margin-top: 0.3rem;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: linear-gradient(145deg, #0f4d36, #0c3f2d);
    color: #f9fafb;
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-soft);
}

.project-card h3 {
    margin-top: 0;
}

/* GALLERY */
.gallery-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    width: 100%;
    display: block;
    border-radius: 14px;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    object-fit: cover;
    height: 180px;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.28);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 60;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: #f9fafb;
    cursor: pointer;
}

/* SOCIAL EMBEDS */
.social-embed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.embed-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #fff;
}

.social-link {
    font-size: 0.85rem;
    color: #6b7280;
}

/* MAP & VIDEO */
.map-wrapper,
.video-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #111827;
}

.map-wrapper iframe,
.video-wrapper iframe {
    display: block;
    width: 100%;
    height: 320px;
}

/* CONTACT */
.contact-list {
    list-style: none;
    padding-left: 0;
    font-size: 0.95rem;
}

.contact-list li + li {
    margin-top: 0.25rem;
}

.contact-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.9rem;
}

.form-row label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: #4b5563;
}

.form-row input,
.form-row textarea {
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 0.55rem 0.9rem;
    font: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-row textarea {
    border-radius: 16px;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-note {
    font-size: 0.78rem;
    color: #6b7280;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn.primary {
    background: var(--accent);
    color: #111827;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.btn.outline {
    background: transparent;
    color: #f9fafb;
    border-color: rgba(249,250,251,0.7);
}

.btn.outline:hover {
    background: rgba(15, 118, 110, 0.18);
}

/* FLOATING WHATSAPP */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 70;
}

.whatsapp-icon {
    font-size: 1.5rem;
    color: #f9fafb;
}

/* FOOTER */
.main-footer {
    background: #0b3324;
    color: #9ca3af;
    text-align: center;
    padding: 1.8rem 1rem 2.2rem;
    font-size: 0.85rem;
}

.main-footer a {
    color: #e5e7eb;
}

/* UTILITIES */
.address {
    font-weight: 600;
    color: #111827;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding-inline: 1rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(12,63,45,0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.25rem 1rem;
        gap: 0.7rem;
        min-width: 180px;
        transform-origin: top right;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
        border-bottom-left-radius: 14px;
        box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    }

    .nav-links.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        padding-top: 5rem;
        padding-bottom: 3.5rem;
        justify-content: center;
        text-align: left;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .gallery-item {
        height: 150px;
    }
}
