/* ==================================================
   NATURA FOOD / НАТУРА ФУД — Coming Soon page
   Single-viewport responsive landing page
   HTML5 + CSS3, no frameworks
   ================================================== */

/* ----------  1. BRAND VARIABLES  ---------- */
:root {
    --forest-deep: #0D2B18;   /* dark forest green — page background */
    --forest-mid:  #123A20;
    --green:       #24643A;   /* the logo's core green */
    --lime:        #8BC34A;   /* fresh leaf accent */
    --amber:       #E0A64B;   /* harvest / earthy warm accent instead of HVAC's red-orange */
    --amber-soft:  #F2C87C;
    --white:       #FFFFFF;
    --gray-light:  #EAF3EA;
    --gray-muted:  #9FBFA8;

    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* fluid spacing used across the layout */
    --pad-x: clamp(1rem, 4vw, 3.5rem);
}

/* ----------  2. RESET / BASE  ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    overflow: hidden;               /* the page fits one viewport — no scrolling */
}

body {
    font-family: var(--font-body);
    color: var(--gray-light);
    background: radial-gradient(120% 140% at 12% -10%, #1E5030 0%, var(--forest-deep) 45%, #061309 100%);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ----------  3. DECORATIVE BACKGROUND  ---------- */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(139, 195, 74, 0.14) 1.4px, transparent 1.4px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    width: clamp(280px, 42vw, 620px);
    height: clamp(280px, 42vw, 620px);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.26;
    pointer-events: none;
    z-index: 0;
}
.bg-glow--cool { background: var(--lime);  top: -12%; left: -6%; }
.bg-glow--warm { background: var(--amber); bottom: -16%; right: -8%; opacity: 0.16; }

/* ----------  4. PAGE FRAME (header / hero / footer)  ---------- */
.page {
    position: relative;
    z-index: 1;
    height: 100vh;
    height: 100dvh;                 /* better fit on mobile browsers */
    display: flex;
    flex-direction: column;
}

/* ----------  5. HEADER  ---------- */
.site-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: clamp(0.5rem, 1.2vh, 0.9rem) var(--pad-x);
    background: var(--white);
    border-bottom: 1px solid rgba(13, 43, 24, 0.1);
    box-shadow: 0 2px 16px rgba(3, 15, 8, 0.14);
}

/* logo — white plate keeps the green logo artwork legible */
.logo { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.logo-img {
    height: clamp(44px, 7.2vh, 62px);
    width: auto;
}

/* language switcher + contact */
.header-actions { display: flex; align-items: center; gap: clamp(0.5rem, 1.5vw, 1.1rem); flex: 0 0 auto; }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: var(--gray-light);
    border: 1px solid rgba(13, 43, 24, 0.12);
}
.lang-divider { display: none; }
.lang-btn {
    font-weight: 600;
    font-size: clamp(0.72rem, 1.3vw, 0.82rem);
    letter-spacing: 0.04em;
    color: var(--green);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--forest-deep); }
.lang-btn.is-active {
    color: var(--white);
    background: linear-gradient(90deg, var(--green), #2E7D46);
    font-weight: 700;
}

/* ----------  6. BUTTONS (fully rounded)  ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn--header {
    font-size: clamp(0.72rem, 1.4vw, 0.85rem);
    padding: 0.5em 1.3em;
    color: var(--forest-deep);
    background: linear-gradient(90deg, var(--amber), var(--amber-soft));
    box-shadow: 0 3px 14px rgba(224, 166, 75, 0.35);
}
.btn--header:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224, 166, 75, 0.5); }

.btn--primary {
    font-size: clamp(0.82rem, 1.6vw, 0.95rem);
    padding: 0.8em 1.8em;
    color: var(--forest-deep);
    background: linear-gradient(90deg, var(--amber) 0%, var(--amber-soft) 100%);
    box-shadow: 0 6px 22px rgba(224, 166, 75, 0.4);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(224, 166, 75, 0.55);
}

.btn--secondary {
    font-size: clamp(0.82rem, 1.6vw, 0.95rem);
    padding: 0.78em 1.7em;
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--lime);
}
.btn--secondary:hover {
    border-color: var(--white);
    background: rgba(139, 195, 74, 0.16);
    transform: translateY(-2px);
}

/* ----------  6b. CONTACT DROPDOWN (email / phone choice)  ---------- */
.contact-dropdown { position: relative; }

.contact-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    min-width: 13rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.4rem;
    border-radius: 16px;
    background: rgba(15, 46, 26, 0.97);
    border: 1px solid rgba(139, 195, 74, 0.28);
    box-shadow: 0 14px 34px rgba(3, 15, 8, 0.55);
    backdrop-filter: blur(10px);
    z-index: 20;
}
.contact-menu[hidden] { display: none; }

.contact-menu-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: background 0.15s, color 0.15s;
}
.contact-menu-item:hover,
.contact-menu-item:focus-visible { background: rgba(139, 195, 74, 0.2); color: var(--white); }
.contact-menu-item svg { width: 17px; height: 17px; flex: 0 0 auto; stroke: currentColor; }

#cta-contact-dropdown .contact-menu { right: auto; left: 0; }

/* ----------  7. HERO (split layout)  ---------- */
.hero {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    gap: clamp(1rem, 3vw, 3rem);
    padding: clamp(0.6rem, 1.6vh, 1.4rem) var(--pad-x);
}

.hero-content {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0.45rem, 1.4vh, 0.95rem);
}

/* pill-shaped eyebrow badge */
.hero-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(0.6rem, 1.2vw, 0.72rem);
    letter-spacing: 0.14em;
    color: var(--forest-deep);
    text-transform: uppercase;
    padding: 0.4em 1em;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime), #B7E17C);
}

.hero-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.45rem, 3.4vw, 2.9rem);
    line-height: 1.12;
    color: var(--white);
}

.hero-desc {
    font-size: clamp(0.8rem, 1.5vw, 0.98rem);
    line-height: 1.5;
    color: var(--gray-light);
    max-width: 56ch;
}

/* ----------  8. COUNTDOWN — single segmented pill bar  ---------- */
.countdown-intro {
    font-size: clamp(0.7rem, 1.3vw, 0.82rem);
    color: var(--gray-muted);
    margin-bottom: clamp(0.3rem, 0.8vh, 0.55rem);
    letter-spacing: 0.03em;
}

.countdown {
    display: flex;
    align-items: stretch;
    max-width: 30rem;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 195, 74, 0.22);
    backdrop-filter: blur(6px);
}

.count-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: clamp(0.5rem, 1.5vh, 0.9rem) 0.3rem;
    position: relative;
}
.count-card + .count-card::before {
    content: "";
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: rgba(139, 195, 74, 0.22);
}
.count-card--cool { color: var(--lime); }
.count-card--warm { color: var(--amber); }

.count-num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--white);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}
.count-num.tick { animation: tick 0.35s ease; }
@keyframes tick {
    0%   { transform: translateY(-4px) scale(1.08); opacity: 0.4; }
    100% { transform: translateY(0)    scale(1);    opacity: 1; }
}

.count-label {
    font-size: clamp(0.55rem, 1.1vw, 0.68rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.85;
}

.countdown-finished {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    color: var(--lime);
}

.status-text {
    font-size: clamp(0.65rem, 1.2vw, 0.76rem);
    color: var(--gray-muted);
    margin-top: clamp(0.25rem, 0.7vh, 0.45rem);
}

/* ----------  9. PRODUCT CATEGORIES — wrapping pill chips  ---------- */
.services {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.4rem, 1vw, 0.6rem);
    max-width: 36rem;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: clamp(0.4rem, 1vh, 0.55rem) clamp(0.7rem, 1.6vw, 0.95rem);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(139, 195, 74, 0.2);
    font-size: clamp(0.62rem, 1.2vw, 0.76rem);
    font-weight: 500;
    color: var(--gray-light);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.service-badge:hover { border-color: var(--lime); background: rgba(139, 195, 74, 0.16); transform: translateY(-1px); }

.service-icon { width: clamp(14px, 1.8vw, 18px); height: clamp(14px, 1.8vw, 18px); flex: 0 0 auto; }
.icon-cool { color: var(--lime); }
.icon-warm { color: var(--amber); }

/* ----------  10. CTA ROW + TRUST LINE  ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: clamp(0.5rem, 1.2vw, 0.9rem); }

.trust-line {
    font-size: clamp(0.62rem, 1.2vw, 0.74rem);
    color: var(--gray-muted);
    letter-spacing: 0.02em;
}

/* ----------  11. HERO VISUAL (right) — real product photo  ---------- */
.hero-visual {
    position: relative;
    min-height: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(139, 195, 74, 0.22);
    box-shadow: 0 18px 50px rgba(3, 15, 8, 0.4);
    background: linear-gradient(160deg, #1E5030 0%, var(--forest-deep) 60%, #061309 100%);
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        rgba(6, 19, 9, 0.35) 0%,
        rgba(6, 19, 9, 0.05) 45%,
        rgba(6, 19, 9, 0.25) 100%);
    pointer-events: none;
}

/* ----------  12. FOOTER  ---------- */
.site-footer {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem 1.4rem;
    padding: clamp(0.4rem, 1vh, 0.7rem) var(--pad-x);
    border-top: 1px solid rgba(139, 195, 74, 0.16);
    background: rgba(15, 46, 26, 0.4);
    font-size: clamp(0.58rem, 1.2vw, 0.72rem);
    color: var(--gray-muted);
    text-align: center;
}
.footer-brand { font-weight: 600; color: var(--gray-light); }
.footer-domain { color: var(--lime); font-weight: 500; }
.footer-domain:hover { text-decoration: underline; }

/* ==================================================
   13. RESPONSIVE BEHAVIOUR
   ================================================== */

@media (max-width: 900px) {
    .hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 1rem; }
}

@media (max-width: 700px) {
    /* smaller, fixed-height logo so it never crowds the row below it */
    .site-header { padding: 0.55rem var(--pad-x); }
    .logo-img { height: 34px; }

    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) clamp(70px, 12vh, 120px);
        gap: 0.6rem;
        padding-top: 0.9rem;
        padding-bottom: 0.5rem;
    }

    /* real product photo — worth keeping as a slim strip on phones too */
    .hero-visual { order: 2; border-radius: 16px; }
    .hero-content { order: 1; gap: 0.5rem; }

    .countdown { max-width: 100%; }

    .services { max-width: 100%; }

    .cta-row { width: 100%; }
    .cta-row .btn { flex: 1 1 auto; min-height: 42px; }

    .bg-glow { opacity: 0.16; }
    .bg-grid { background-size: 22px 22px; }
}

@media (max-width: 380px) {
    .btn--header { padding: 0.45em 0.9em; }
}

@media (max-height: 560px) {
    .hero-desc, .status-text { display: none; }
    .hero-content { gap: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .count-num.tick { animation: none; }
}
