/* =========================================================
   ԾԱՂԿԱՍՏԱՆ — Landing page styles
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Armenian:wght@400;500;600;700;900&family=Noto+Sans+Armenian:wght@300;400;500;600;700&display=swap');

:root {
    /* ---- brand palette ---- */
    --forest:        #1E2B21;
    --forest-deep:    #141d17;
    --ivory:          #FBF7F0;
    --ivory-dim:      #F1EADD;
    --rose:           #D9A6AE;
    --rose-deep:      #B97E88;
    --gold:           #C7A24B;
    --ink:            #22271F;
    --line:           rgba(34,39,31,0.12);
    --line-light:     rgba(251,247,240,0.18);

    /* ---- type ---- */
    --font-display: 'Noto Serif Armenian', serif;
    --font-body: 'Noto Sans Armenian', sans-serif;

    /* ---- lang switch theme (per component spec) ---- */
    --lang-border-color: rgba(251,247,240,0.35);
    --lang-bg-color: rgba(251,247,240,0.08);
    --lang-text-color: var(--ivory);
    --lang-text-hover: var(--gold);
    --lang-text-active: var(--forest);
    --lang-hover-glow: rgba(199,162,75,0.6);
    --lang-active-bg: var(--ivory);
    --lang-active-shadow: 0 2px 8px rgba(0,0,0,0.25);

    /* ---- demo band theme ---- */
    --text: var(--ivory);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0; line-height: 1.7; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--rose-deep);
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--rose-deep);
}

/* =========================================================
   Demo band
   ========================================================= */
#demo-band {
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: white;
    display: flex;
    justify-content: center;
    font-weight: bold;
}
.home:hover { opacity: 0.8; }

/* =========================================================
   Header
   ========================================================= */
header.site-header {
    background: var(--forest);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line-light);
}
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    color: var(--ivory);
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ivory);
}
.brand-mark {
    width: 34px;
    height: 34px;
    flex: none;
}
.brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.brand-sub {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--rose);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    text-decoration: none;
    color: var(--ivory-dim);
    font-size: 14.5px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 1px;
    background: var(--gold);
    transition: right 0.25s ease;
}
.nav-links a:hover::after { right: 0; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-cta {
    background: var(--rose);
    color: var(--forest-deep);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ivory);
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
    padding: 90px 0 120px;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    color: var(--rose);
}
.hero-eyebrow::before { background: var(--rose); }
.hero h1 {
    font-size: clamp(38px, 4.6vw, 58px);
    line-height: 1.12;
    margin: 18px 0 22px;
    letter-spacing: -0.01em;
}
.hero h1 em {
    font-style: normal;
    color: var(--rose);
}
.hero-desc {
    font-size: 17px;
    color: var(--ivory-dim);
    max-width: 460px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 34px;
    flex-wrap: wrap;
}
.btn-primary, .btn-ghost {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: var(--rose);
    color: var(--forest-deep);
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-ghost {
    border: 1px solid var(--line-light);
    color: var(--ivory);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--line-light);
}
.hero-stats div strong {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--gold);
}
.hero-stats div span {
    font-size: 12.5px;
    color: var(--ivory-dim);
}

/* hero illustration */
.hero-art { position: relative; }
.bouquet-plate {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(217,166,174,0.35), rgba(30,43,33,0) 65%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.petal-float {
    position: absolute;
    opacity: 0.7;
    animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
    .petal-float, .reveal, .grow-line { animation: none !important; transition: none !important; }
}

/* =========================================================
   Section shells
   ========================================================= */
section { padding: 96px 0; }
.section-head {
    max-width: 620px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    margin-top: 14px;
    color: var(--forest);
}
.section-head p {
    margin-top: 16px;
    color: #55594e;
    font-size: 15.5px;
}

/* divider signature: hand-drawn vine that grows on scroll */
.vine-divider {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 340px;
}
.vine-divider svg path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 1.4s ease;
}
.vine-divider.in-view svg path { stroke-dashoffset: 0; }

/* =========================================================
   Occasions
   ========================================================= */
.occasions { background: var(--ivory); }
.occ-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.occ-card {
    background: var(--ivory-dim);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 22px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.occ-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px -18px rgba(30,43,33,0.35);
    background: #fff;
}
.occ-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    color: var(--rose-deep);
}
.occ-card h3 { font-size: 17px; color: var(--forest); }
.occ-card p { font-size: 13.5px; color: #726f64; margin-top: 8px; }

/* =========================================================
   Products
   ========================================================= */
.products { background: var(--ivory-dim); }
.prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.prod-card {
    background: var(--ivory);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.prod-card:hover { box-shadow: 0 22px 40px -24px rgba(30,43,33,0.4); transform: translateY(-4px); }
.prod-media {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(155deg, #EFE3D8 0%, #E6D3C8 100%);
    position: relative;
}
.prod-tag {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    background: var(--forest);
    color: var(--ivory);
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 100px;
}
.prod-body { padding: 20px 22px 24px; }
.prod-body h3 { font-size: 17.5px; color: var(--forest); }
.prod-body p { font-size: 13.5px; color: #726f64; margin-top: 6px; }
.prod-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}
.price { font-family: var(--font-display); font-size: 19px; color: var(--forest); font-weight: 700; }
.price span { font-size: 12px; color: #8a8677; font-weight: 400; font-family: var(--font-body); }
.add-btn {
    border: none;
    background: var(--forest);
    color: var(--ivory);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.add-btn:hover { background: var(--rose-deep); }

/* =========================================================
   Story / split
   ========================================================= */
.story .container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}
.story-art { position: relative; }
.story-frame {
    border-radius: 24px;
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, var(--forest) 0%, #2c3e30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.story h2 { font-size: clamp(26px, 3vw, 36px); color: var(--forest); margin-top: 14px; }
.story-body p { color: #55594e; font-size: 15.5px; margin-top: 18px; }
.story-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.story-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--ink);
}
.story-list svg { flex: none; width: 20px; height: 20px; color: var(--rose-deep); margin-top: 2px; }

/* =========================================================
   Steps
   ========================================================= */
.steps { background: var(--forest); color: var(--ivory); }
.steps .section-head h2 { color: var(--ivory); }
.steps .section-head p { color: var(--ivory-dim); }
.steps .eyebrow { color: var(--rose); }
.steps .eyebrow::before { background: var(--rose); }
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}
.step {
    text-align: center;
    padding: 0 14px;
}
.step-num {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--forest-deep);
    background: var(--rose);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: 700;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ivory-dim); }

/* =========================================================
   Testimonials
   ========================================================= */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi-card {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
}
.testi-stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; }
.testi-card p { margin-top: 16px; font-size: 14.5px; color: var(--ink); }
.testi-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}
.testi-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--rose);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    color: var(--forest-deep);
    font-weight: 700;
}
.testi-person strong { display: block; font-size: 13.5px; }
.testi-person span { font-size: 12px; color: #8a8677; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
    background: linear-gradient(120deg, var(--rose) 0%, var(--gold) 100%);
    color: var(--forest-deep);
    text-align: center;
    padding: 70px 0;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { margin-top: 14px; font-size: 15.5px; }
.cta-band .btn-primary {
    background: var(--forest);
    color: var(--ivory);
    margin-top: 30px;
}
.cta-band .btn-primary:hover { background: var(--forest-deep); }

/* =========================================================
   Footer
   ========================================================= */
footer {
    background: var(--forest-deep);
    color: var(--ivory-dim);
    padding: 64px 0 26px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 46px;
    border-bottom: 1px solid var(--line-light);
}
.foot-brand p { font-size: 13.5px; margin-top: 14px; max-width: 260px; color: #b9b6a9; }
.foot-col h4 {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 16px;
    font-weight: 600;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; color: #cfccbf; font-size: 14px; transition: color 0.2s ease; }
.foot-col a:hover { color: var(--ivory); }
.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 12.5px;
    color: #9a978a;
    flex-wrap: wrap;
    gap: 12px;
}
.foot-social { display: flex; gap: 12px; }
.foot-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--ivory);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.foot-social a:hover { background: var(--rose); border-color: var(--rose); color: var(--forest-deep); }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   Mobile
   ========================================================= */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    background: var(--forest);
    padding: 10px 0 18px;
    border-top: 1px solid var(--line-light);
}
.mobile-menu.open { display: flex; }
.mobile-menu > a, .mobile-menu .el {
    color: var(--ivory-dim);
    text-decoration: none;
    padding: 12px 28px;
    font-size: 15px;
}
.mobile-menu a:hover { color: var(--gold); }

.mobile-menu .lang-switch {
    width: max-content;
    margin-left: auto;
}

@media (max-width: 860px) {
    .nav-row .lang-switch { display: none;}
    .hero .container { grid-template-columns: 1fr; }
    .hero-art { order: -1; max-width: 280px; margin: 0 auto; }
    .occ-grid { grid-template-columns: repeat(2, 1fr); }
    .prod-grid { grid-template-columns: 1fr; }
    .story .container { grid-template-columns: 1fr; }
    .step-grid { grid-template-columns: 1fr; gap: 40px; }
    .testi-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    section { padding: 64px 0; }
    .nav-row { gap: 8px; flex-wrap: wrap; padding: 12px; }
    .nav-right { margin-left: auto; }
    .brand-name { font-size: 14px; }
    .brand-sub { font-size: 8px; }
    .hero { padding: 56px 0 80px; }
    .hero-stats { gap: 22px; flex-wrap: wrap; }
    .occ-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
}

/* focus visibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.lang-switch {
    display: flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--lang-border-color);
    border-radius: 10px;
    background: var(--lang-bg-color);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 0;
    }
}

.lang {
    text-decoration: none;
    color: var(--lang-text-color);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: 0.25s ease;
}

.lang:hover {
    color: var(--lang-text-hover);
    text-shadow: 0 0 8px var(--lang-hover-glow);
}

.lang.active {
    color: var(--lang-text-active);
    background: var(--lang-active-bg);
    box-shadow: var(--lang-active-shadow);
}