@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02FF, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/poppins-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02FF, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("assets/fonts/poppins-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02FF, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02FF, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}

:root {
    --green: #263b1f;
    --green-deep: #142614;
    --green-soft: #49633e;
    --cream: #f5f1e6;
    --cream-deep: #e9e1ce;
    --accent: #c8a85a;
    --bg: #f8f5ed;
    --surface: #ffffff;
    --text: #172018;
    --muted: #5f695f;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 18px 45px rgba(20, 38, 20, 0.1);
    --shadow-card: 0 20px 50px rgba(8, 18, 9, 0.24);
    --header-height: 76px;
    --header-offset: 92px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body {
    min-width: 280px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

body.modal-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3000;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: var(--surface);
    color: var(--green-deep);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

.section {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    scroll-margin-top: var(--header-offset);
}

.section-title {
    margin-bottom: 0.9rem;
    color: var(--green);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
    text-align: center;
}

.section-title.align-left,
.section-subtitle.align-left {
    margin-left: 0;
    text-align: left;
}

.section-subtitle {
    max-width: 680px;
    margin: 0 auto 3rem;
    color: var(--muted);
    font-size: 1.04rem;
    text-align: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(38, 59, 31, 0.09);
    background: rgba(248, 245, 237, 0.96);
    backdrop-filter: blur(12px);
}

.nav-container {
    position: relative;
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.brand-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.brand-name {
    color: var(--green);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.brand-tagline {
    overflow: hidden;
    color: var(--muted);
    font-size: 0.74rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.92rem;
}

.main-nav a {
    position: relative;
    padding: 0.45rem 0.1rem;
    text-decoration: none;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(38, 59, 31, 0.18);
    border-radius: 12px;
    background: var(--surface);
    color: var(--green);
    cursor: pointer;
}

.nav-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    display: flex;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    align-items: center;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background: radial-gradient(circle at top left, #46613c 0, var(--green) 42%, #102010 100%);
    color: #f9faf7;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.09) 0, transparent 58%),
        radial-gradient(circle at 82% 82%, rgba(200, 168, 90, 0.18) 0, transparent 48%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.hero-badge {
    display: inline-flex;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(9, 22, 12, 0.48);
    font-size: 0.8rem;
}

.hero-text h1 {
    margin-bottom: 0.85rem;
    font-size: clamp(2.7rem, 6vw, 4.25rem);
    letter-spacing: 0.05em;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 640px;
    margin-bottom: 1.7rem;
    color: #edf0e9;
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    line-height: 1.85;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-actions {
    margin-bottom: 1.35rem;
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.91rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
    background: var(--accent);
    color: #172018;
    box-shadow: 0 14px 32px rgba(200, 168, 90, 0.28);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    border-color: rgba(38, 59, 31, 0.25);
    background: var(--surface);
    color: var(--green);
}

.btn-whatsapp {
    background: #176b45;
    color: #fff;
    box-shadow: 0 14px 32px rgba(23, 107, 69, 0.2);
}

.btn-whatsapp:hover {
    background: #125a39;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
    color: #dfe6da;
    font-size: 0.88rem;
}

.hero-meta span {
    position: relative;
    padding-left: 1rem;
}

.hero-meta span::before {
    position: absolute;
    left: 0;
    color: var(--accent);
    content: "•";
}

.hero-visual {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.2rem;
}

.hero-logo-circle {
    width: clamp(230px, 25vw, 310px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 4px solid rgba(245, 241, 230, 0.7);
    border-radius: 50%;
    background: var(--green);
    box-shadow: var(--shadow-card);
}

.hero-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    max-width: 310px;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(9, 20, 12, 0.9);
    box-shadow: var(--shadow-card);
    font-size: 0.88rem;
}

.hero-card-title {
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.hero-card-text {
    color: #e5e9e1;
}

.section-services,
.section-gallery {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 1.7rem 1.8rem;
    border: 1px solid rgba(38, 59, 31, 0.06);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.service-icon {
    margin-bottom: 0.45rem;
    font-size: 1.8rem;
}

.service-card h3 {
    margin-bottom: 0.55rem;
    color: var(--green);
    font-size: 1.24rem;
}

.service-card p {
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.service-list {
    color: var(--muted);
    font-size: 0.9rem;
    list-style: none;
}

.service-list li,
.about-highlight li {
    position: relative;
    margin-bottom: 0.4rem;
    padding-left: 1.25rem;
}

.service-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--green-soft);
    content: "✓";
    font-weight: 700;
}

.section-about {
    background: var(--green);
    color: #edf0e9;
}

.section-about .section-title {
    color: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.about-text p {
    margin-bottom: 1rem;
    color: #e4e9df;
    font-size: 1rem;
    line-height: 1.85;
}

.about-highlight {
    padding: 1.7rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(11, 26, 14, 0.72);
    box-shadow: var(--shadow-card);
}

.about-highlight h3 {
    margin-bottom: 0.85rem;
    color: var(--cream);
}

.about-highlight ul {
    list-style: none;
}

.about-highlight li::before {
    position: absolute;
    left: 0;
    color: var(--accent);
    content: "•";
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--cream-deep);
    box-shadow: 0 10px 24px rgba(20, 38, 20, 0.09);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.025);
}

.gallery-brand {
    padding: 1rem;
    background: var(--green);
}

.gallery-brand img {
    object-fit: contain;
}

.section-contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    align-items: stretch;
    gap: clamp(2rem, 5vw, 4rem);
}

.contact-text {
    align-self: center;
}

.contact-text .section-subtitle {
    margin-bottom: 1.7rem;
}

.contact-details {
    margin-bottom: 1.7rem;
    font-style: normal;
}

.contact-details p + p {
    margin-top: 1rem;
}

.contact-details a {
    color: var(--green);
    overflow-wrap: anywhere;
    text-decoration-color: rgba(38, 59, 31, 0.35);
    text-underline-offset: 3px;
}

.contact-details a:hover {
    text-decoration-color: currentColor;
}

.contact-map {
    display: flex;
    min-height: 430px;
    overflow: hidden;
    padding: 1.8rem;
    border: 1px solid rgba(38, 59, 31, 0.08);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    gap: 0.9rem;
}

.contact-map iframe {
    width: 100%;
    min-height: 0;
    flex: 1;
    border: 0;
    border-radius: var(--radius-md);
}

.map-link {
    align-self: flex-start;
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 600;
    text-underline-offset: 3px;
}

.contact-label {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-footer {
    padding: 1.6rem 0 1.8rem;
    background: #091309;
    color: #c4ccc0;
    font-size: 0.86rem;
    text-align: center;
}

.footer-note {
    margin-top: 0.2rem;
    color: #909b8d;
}

.announcement-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
}

.announcement-backdrop {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 1.5rem;
    background: rgba(5, 12, 6, 0.82);
    backdrop-filter: blur(7px);
}

.announcement-dialog {
    position: relative;
    width: min(540px, calc(100vw - 3rem), 60vh);
    width: min(540px, calc(100vw - 3rem), 60svh);
    max-height: calc(100vh - 3rem);
    max-height: calc(100svh - 3rem);
    overflow: hidden;
    border: 2px solid rgba(245, 241, 230, 0.78);
    border-radius: 22px;
    background: var(--cream);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
}

.announcement-dialog img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 3rem);
    max-height: calc(100svh - 3rem);
    object-fit: contain;
}

.announcement-close {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(20, 38, 20, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--green-deep);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.error-page {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: 2rem;
    background: radial-gradient(circle at top left, #46613c 0, var(--green) 45%, #102010 100%);
    color: var(--cream);
}

.error-card {
    width: min(580px, 100%);
    padding: clamp(2rem, 6vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(10, 24, 12, 0.82);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.error-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.3rem;
    border-radius: 50%;
}

.error-code {
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.error-card h1 {
    margin: 0.35rem 0 0.8rem;
    font-size: clamp(2rem, 8vw, 3.4rem);
    line-height: 1.1;
}

.error-card p {
    margin: 0 auto 1.6rem;
    color: #dfe6da;
}

@media (max-width: 960px) {
    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual {
        margin-top: 0.5rem;
    }

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

@media (max-width: 720px) {
    :root {
        --header-offset: 88px;
    }

    .js .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-bottom: 0.75rem;
    }

    .js .main-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.65rem;
        border: 1px solid rgba(38, 59, 31, 0.1);
        border-radius: 16px;
        background: var(--surface);
        box-shadow: var(--shadow-soft);
    }

    .js .main-nav.is-open {
        display: flex;
    }

    .js .main-nav a {
        padding: 0.72rem 0.8rem;
        border-radius: 9px;
    }

    .js .main-nav a:hover,
    .js .main-nav a:focus-visible {
        background: var(--bg);
    }

    .js .main-nav a::after {
        display: none;
    }

    .hero {
        padding: 3.5rem 0 4.25rem;
    }

    .hero-logo-circle {
        width: 210px;
    }

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

    .section {
        padding: 4.5rem 0;
    }
}

@media (max-width: 520px) {
    .brand-tagline {
        max-width: 178px;
    }

    .hero-text h1 {
        font-size: 2.45rem;
    }

    .hero-actions,
    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .service-card,
    .about-highlight,
    .contact-map {
        padding: 1.4rem;
    }

    .contact-map {
        min-height: 360px;
    }

    .announcement-backdrop {
        padding: 0.75rem;
    }

    .announcement-dialog {
        width: min(540px, calc(100vw - 1.5rem));
        max-height: calc(100svh - 1.5rem);
        border-radius: 16px;
    }

    .announcement-dialog img {
        max-height: calc(100svh - 1.5rem);
    }

    .announcement-close {
        top: 0.55rem;
        left: 0.55rem;
    }
}

@media (max-width: 360px) {
    .brand-tagline {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
