/* ────────────────────────────────────────────────────────────────────
   gw-wein.css — Shared stylesheet for the "Georgischer Wein" SEO cluster
   Used by: /georgischer-wein.php (pillar) and /georgischer-wein-winery.php
   (all winery pages: marani, terra-kisi, chateau-nekresebi,
   shaloshvili-cellar, winery-bediani)
   ──────────────────────────────────────────────────────────────────── */

:root {
    --gw-wine:    #7b2d3b;
    --gw-wine-d:  #5e1f2b;
    --gw-gold:    #d99a3d;
    --gw-paper:   #f5f2ed;
    --gw-ink:     #23211e;
    --gw-soft:    #6b6660;
    --gw-line:    #e4ddd2;
    --gw-surface: #ffffff;
}

*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.7; color: var(--gw-ink); background: var(--gw-paper); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.gw-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 4px 8px;
}

.gw-nav-cta-mobile { display: none; }



/* ── Topnav ──────────────────────────────────────────────────────── */
.gw-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--gw-wine-d); height: 58px;
    display: flex; align-items: center; padding: 0 24px;
    box-shadow: 0 2px 16px rgba(35,33,30,.2);
}
.gw-nav-brand {
    font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600;
    color: var(--gw-gold); margin-right: auto;
}
.gw-nav-links { display: flex; gap: 6px; }
.gw-nav-link {
    padding: 6px 14px; border-radius: 6px; font-size: 13px;
    font-weight: 500; color: rgba(255,255,255,.8);
    transition: background .13s, color .13s;
}
.gw-nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.gw-nav-cta {
    background: var(--gw-wine); color: #fff; border-radius: 6px;
    padding: 6px 16px; font-size: 13px; font-weight: 700;
    transition: background .13s;
}
.gw-nav-cta:hover { background: #9a3548; }

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.gw-breadcrumb {
    font-size: 11px; color: rgba(255,255,255,.55);
    margin: 0 0 18px; display: flex; gap: 6px; align-items: center;
    flex-wrap: wrap; justify-content: center;
}
.gw-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: underline; text-underline-offset: 2px; }
.gw-breadcrumb a:hover { color: #fff; }
.gw-breadcrumb span[aria-current] { color: rgba(255,255,255,.85); }

/* ── Hero ────────────────────────────────────────────────────────── */
.gw-hero {
    min-height: 92vh; background: var(--gw-wine-d);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 100px 24px 80px;
    position: relative; overflow: hidden;
}
.gw-hero.gw-hero-compact { min-height: 62vh; padding: 110px 24px 70px; }
.gw-hero-ornament {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.gw-hero-ornament svg { width: min(700px,90vw); opacity: 1; }
.gw-hero-content { position: relative; z-index: 1; max-width: 740px; }
.gw-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gw-gold); margin-bottom: 20px;
    display: block;
}
.gw-hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 600; color: #fff; line-height: 1.1;
    margin: 0 0 22px; letter-spacing: -.01em;
}
.gw-hero h1 em { color: var(--gw-gold); font-style: normal; }
.gw-hero-sub {
    font-size: 17px; color: rgba(255,255,255,.72);
    line-height: 1.7; margin: 0 0 36px;
}
.gw-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.gw-cta {
    display: inline-flex; align-items: center; gap: 8px;
    height: 52px; padding: 0 28px; border-radius: 10px;
    font-size: 15px; font-weight: 700;
    transition: background .14s, transform .14s;
    text-decoration: none;
}
.gw-cta:hover { transform: translateY(-2px); }
.gw-cta-primary { background: var(--gw-wine); color: #fff; }
.gw-cta-primary:hover { background: #9a3548; }
.gw-cta-ghost {
    background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.25);
}
.gw-cta-ghost:hover { background: rgba(255,255,255,.18); }

/* ── Sections ────────────────────────────────────────────────────── */
.gw-section { padding: 88px 0; }
.gw-section-alt { background: var(--gw-surface); }
.gw-section-dark { background: var(--gw-wine-d); color: #f1ede4; }
.gw-section-tight { padding: 60px 0; }

.gw-section-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--gw-wine); margin-bottom: 10px;
}
.gw-section-dark .gw-section-eyebrow { color: var(--gw-gold); }
.gw-section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 600; color: var(--gw-ink); line-height: 1.2;
    margin: 0 0 20px;
}
.gw-section-dark .gw-section-title { color: #fff; }
.gw-section-intro {
    color: var(--gw-soft); font-size: 15px; margin: 0 0 8px; max-width: 680px;
}

/* ── History / text-with-facts grid ─────────────────────────────── */
.gw-history-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
}
.gw-history-text p {
    font-size: 15px; color: var(--gw-soft); line-height: 1.85;
    margin: 0 0 18px;
}
.gw-history-text p:last-child { margin-bottom: 0; }
.gw-history-text strong { color: var(--gw-ink); font-weight: 600; }
.gw-facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    position: sticky; top: 80px;
}
.gw-fact-card {
    background: var(--gw-wine-d); border-radius: 12px;
    padding: 22px 20px; text-align: center;
}
.gw-fact-card:nth-child(1) { grid-column: 1 / -1; background: var(--gw-wine); }
.gw-fact-num {
    font-family: 'Fraunces', serif; font-size: 38px; font-weight: 700;
    color: var(--gw-gold); line-height: 1; margin-bottom: 6px;
}
.gw-fact-label { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 500; letter-spacing: .04em; }

/* ── Card grids (regions / grapes / guide / wineries) ───────────── */
.gw-regions-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
    margin-top: 40px;
}
.gw-region-card {
    background: var(--gw-paper); border: 1px solid var(--gw-line);
    border-radius: 12px; padding: 24px 20px;
    border-top: 3px solid var(--gw-wine);
}
.gw-region-name {
    font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600;
    color: var(--gw-ink); margin: 0 0 8px;
}
.gw-region-text { font-size: 13.5px; color: var(--gw-soft); line-height: 1.7; margin: 0; }
.gw-section-alt .gw-region-card { background: var(--gw-surface); }

/* ── Production steps ────────────────────────────────────────────── */
.gw-steps {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
    margin-top: 40px; counter-reset: gw-step;
}
.gw-step-card {
    background: var(--gw-surface); border: 1px solid var(--gw-line);
    border-radius: 12px; padding: 24px 18px; position: relative;
}
.gw-step-card::before {
    counter-increment: gw-step; content: counter(gw-step);
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--gw-wine); color: #fff;
    font-family: 'Fraunces', serif; font-weight: 700; font-size: 14px;
    margin-bottom: 12px;
}
.gw-step-title { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; color: var(--gw-ink); margin: 0 0 6px; }
.gw-step-text { font-size: 13px; color: var(--gw-soft); line-height: 1.7; margin: 0; }

/* ── Comparison / data table ─────────────────────────────────────── */
.gw-table-wrap { overflow-x: auto; margin-top: 32px; }
.gw-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 480px; }
.gw-table th, .gw-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--gw-line); }
.gw-table th {
    font-family: 'Fraunces', serif; font-weight: 600; color: var(--gw-ink);
    background: var(--gw-paper); white-space: nowrap;
}
.gw-table td { color: var(--gw-soft); }
.gw-table tr:last-child td { border-bottom: none; }

/* ── Buying guide / info list ────────────────────────────────────── */
.gw-guide-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.gw-guide-list li {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--gw-paper); border: 1px solid var(--gw-line);
    border-radius: 10px; padding: 16px 18px;
}
.gw-section-alt .gw-guide-list li { background: var(--gw-surface); }
.gw-guide-list i { color: var(--gw-wine); font-size: 15px; margin-top: 2px; }
.gw-guide-list strong { color: var(--gw-ink); }
.gw-guide-list span { color: var(--gw-soft); font-size: 13.5px; line-height: 1.7; }

/* ── Distributors / winery detail block (used on winery pages) ──── */
.gw-distributor {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--gw-line);
}
.gw-distributor:last-child { border-bottom: none; }
.gw-distributor.reverse { direction: rtl; }
.gw-distributor.reverse > * { direction: ltr; }
.gw-dist-img {
    aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
    background: var(--gw-paper);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gw-line);
}
.gw-dist-img img { width: 100%; height: 100%; object-fit: cover; }
.gw-dist-img-placeholder {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 12px;
    color: var(--gw-line); font-size: 13px;
}
.gw-dist-img-placeholder i { font-size: 42px; }
.gw-dist-tagline {
    font-family: 'Fraunces', serif; font-size: 13px; font-weight: 400;
    color: var(--gw-wine); letter-spacing: .06em; text-transform: uppercase;
    margin-bottom: 10px;
}
.gw-dist-name {
    font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600;
    color: var(--gw-ink); margin: 0 0 16px; line-height: 1.2;
}
.gw-dist-text { font-size: 14.5px; color: var(--gw-soft); line-height: 1.85; margin: 0 0 20px; }
.gw-dist-wines { display: flex; flex-wrap: wrap; gap: 6px; }
.gw-dist-wine-tag {
    font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
    background: var(--gw-paper); border: 1px solid var(--gw-line);
    color: var(--gw-soft);
}

/* ── Winery cards (pillar page grid, links to winery pages) ─────── */
.gw-winery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
    gap: 20px; margin-top: 40px;
}
.gw-winery-card {
    background: var(--gw-surface); border: 1px solid var(--gw-line);
    border-radius: 14px; overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex; flex-direction: column;
}
.gw-winery-card:hover { box-shadow: 0 10px 30px rgba(35,33,30,.12); transform: translateY(-3px); }
.gw-winery-card-img {
    aspect-ratio: 4/3; background: var(--gw-paper);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gw-winery-card-img img { width: 100%; height: 100%; object-fit: cover; }
.gw-winery-card-img i { font-size: 32px; color: var(--gw-line); }
.gw-winery-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.gw-winery-card-tagline {
    font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--gw-wine); margin-bottom: 6px;
}
.gw-winery-card-name {
    font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600;
    color: var(--gw-ink); margin: 0 0 10px;
}
.gw-winery-card-text { font-size: 13.5px; color: var(--gw-soft); line-height: 1.7; margin: 0 0 18px; flex: 1; }
.gw-winery-card-link {
    font-size: 13px; font-weight: 700; color: var(--gw-wine);
    display: inline-flex; align-items: center; gap: 6px;
}
.gw-winery-card-link i { font-size: 11px; transition: transform .13s; }
.gw-winery-card:hover .gw-winery-card-link i { transform: translateX(3px); }

/* ── Gallery (winery pages) ──────────────────────────────────────── */
.gw-gallery {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 40px;
}
.gw-gallery-item {
    aspect-ratio: 1/1; border-radius: 12px; overflow: hidden;
    background: var(--gw-paper); border: 1px solid var(--gw-line);
    display: flex; align-items: center; justify-content: center;
}
.gw-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gw-gallery-item i { font-size: 28px; color: var(--gw-line); }

/* ── Facts list (winery quick facts) ─────────────────────────────── */
.gw-quickfacts {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 8px;
}
.gw-quickfact {
    background: var(--gw-paper); border: 1px solid var(--gw-line);
    border-radius: 10px; padding: 14px 16px; display: flex; gap: 10px; align-items: flex-start;
}
.gw-section-alt .gw-quickfact { background: var(--gw-surface); }
.gw-quickfact i { color: var(--gw-wine); font-size: 14px; margin-top: 3px; }
.gw-quickfact span { font-size: 13px; color: var(--gw-soft); line-height: 1.6; }
.gw-quickfact strong { color: var(--gw-ink); }

/* ── Related links (internal linking blocks) ─────────────────────── */
.gw-related {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.gw-related a {
    font-size: 12.5px; font-weight: 600; color: var(--gw-wine);
    background: var(--gw-paper); border: 1px solid var(--gw-line);
    border-radius: 999px; padding: 7px 14px;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background .13s, color .13s;
}
.gw-related a:hover { background: var(--gw-wine); color: #fff; border-color: var(--gw-wine); }
.gw-section-alt .gw-related a { background: var(--gw-surface); }

/* ── Catalog ─────────────────────────────────────────────────────── */
.gw-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px; margin-top: 40px;
}
.gw-wine-card {
    background: var(--gw-surface); border: 1px solid var(--gw-line);
    border-radius: 12px; overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.gw-wine-card:hover {
    box-shadow: 0 8px 28px rgba(35,33,30,.1);
    transform: translateY(-3px);
}
.gw-wine-img {
    height: 200px; background: var(--gw-paper);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.gw-wine-img img { height: 160px; width: auto; object-fit: contain; }
.gw-wine-img-ph { font-size: 36px; color: var(--gw-line); }
.gw-wine-body { padding: 14px; }
.gw-wine-maker {
    font-size: 10px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--gw-wine); margin-bottom: 4px;
}
.gw-wine-name {
    font-family: 'Fraunces', serif; font-size: 14px; font-weight: 600;
    color: var(--gw-ink); line-height: 1.3; margin-bottom: 6px;
}
.gw-wine-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.gw-wine-tag {
    font-size: 10px; padding: 2px 7px; border-radius: 4px;
    background: var(--gw-paper); border: 1px solid var(--gw-line);
    color: var(--gw-soft);
}

/* ── FAQ ─────────────────────────────────────────────────────────── */
.gw-faq { margin-top: 40px; display: flex; flex-direction: column; }
.gw-faq-item { border-bottom: 1px solid var(--gw-line); padding: 22px 0; }
.gw-faq-item:first-child { padding-top: 0; }
.gw-faq-question {
    font-family: 'Fraunces', serif; font-size: 16px; font-weight: 600;
    color: var(--gw-ink); margin: 0 0 8px; display: flex; gap: 10px; align-items: flex-start;
}
.gw-faq-question i { color: var(--gw-wine); margin-top: 4px; font-size: 12px; flex-shrink: 0; }
.gw-faq-answer { font-size: 14px; color: var(--gw-soft); line-height: 1.8; margin: 0; padding-left: 22px; }

/* ── Private-customer note (deliberate, low-frequency link to geobest.de) ── */
.gw-private-note {
    max-width: 640px; margin: 28px auto 0;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px; padding: 14px 18px;
    display: flex; align-items: center; justify-content: center;
    gap: 14px; flex-wrap: wrap; text-align: center;
}
.gw-private-note-text { font-size: 12.5px; color: rgba(255,255,255,.75); }
.gw-private-note-text i { color: var(--gw-gold); margin-right: 4px; }
.gw-private-note-link {
    font-size: 12.5px; font-weight: 700; color: var(--gw-gold);
    white-space: nowrap; display: inline-flex; align-items: center; gap: 5px;
}
.gw-private-note-link:hover { color: #fff; }

/* ── CTA section ─────────────────────────────────────────────────── */
.gw-cta-section {
    text-align: center; padding: 88px 24px;
    background: var(--gw-wine-d);
}
.gw-cta-section h2 {
    font-family: 'Fraunces', serif; font-size: clamp(26px,4vw,42px);
    font-weight: 600; color: #fff; margin: 0 0 16px;
}
.gw-cta-section p { color: rgba(255,255,255,.7); font-size: 16px; margin: 0 0 32px; }
.gw-cta-section .gw-hero-ctas { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────────── */
.gw-footer {
    background: #1a1815; color: #9e978f;
    padding: 48px 0 24px;
}
.gw-footer-inner {
    display: grid; grid-template-columns: 1.5fr repeat(3,1fr);
    gap: 40px; padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.gw-footer-brand-name {
    font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600;
    color: var(--gw-gold); margin-bottom: 10px;
}
.gw-footer-col-title {
    font-size: 10px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: #6b6660; margin-bottom: 14px;
}
.gw-footer-col a, .gw-footer-col p {
    display: block; font-size: 13px; color: #c2bdb0;
    margin-bottom: 7px; transition: color .13s;
}
.gw-footer-col a:hover { color: var(--gw-gold); }
.gw-footer-bottom {
    text-align: center; padding-top: 20px;
    font-size: 12px; color: #4a4845;
}

/* ── Scroll reveal ───────────────────────────────────────────────── */
.gw-reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--delay, 0s);
}
.gw-reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .gw-history-grid, .gw-distributor { grid-template-columns: 1fr; gap: 36px; }
    .gw-distributor.reverse { direction: ltr; }
    .gw-facts { grid-template-columns: 1fr 1fr; }
    .gw-fact-card:nth-child(1) { grid-column: 1 / -1; }
    .gw-regions-grid { grid-template-columns: 1fr 1fr; }
    .gw-steps { grid-template-columns: 1fr 1fr; }
    .gw-gallery { grid-template-columns: repeat(2,1fr); }
    .gw-quickfacts { grid-template-columns: 1fr; }
    .gw-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .gw-hero h1 { font-size: 32px; }
    .gw-hero-ctas { flex-direction: column; align-items: center; }
    .gw-cta { width: 100%; max-width: 320px; justify-content: center; }
    .gw-regions-grid { grid-template-columns: 1fr; }
    .gw-steps { grid-template-columns: 1fr; }
    .gw-gallery { grid-template-columns: 1fr 1fr; }
    .gw-footer-inner { grid-template-columns: 1fr; }
    .gw-catalog-grid { grid-template-columns: repeat(2,1fr); }
    .gw-winery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .gw-nav-toggle { display: block; }

    .gw-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: #23211e; /* match your nav background */
        padding: 12px 24px 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .2s ease;
    }

    .gw-nav-links.open {
        max-height: 500px;
        opacity: 1;
    }

    .gw-nav-links .gw-nav-link {
        width: 100%;
        padding: 10px 0;
    }

    .gw-nav-cta-desktop { display: none; }
    .gw-nav-cta-mobile {
        display: inline-flex;
        margin-top: 12px;
    }
}