/* ============ Valcom Sales — Rakouská vína ============ */

:root {
  --maroon: #8a2233;
  --maroon-dark: #6e1728;
  --gold: #c9932f;
  --gold-dark: #a67a26;
  --green: #5c7a3c;
  --green-dark: #48602e;
  --wine-dark: #3a0f18;
  --cream: #faf6ef;
  --cream-2: #f3ede0;
  --white: #ffffff;
  --ink: #201b16;
  --text: #3a332c;
  --text-light: #756b5f;
  --border: #e6ddcc;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(32, 27, 22, 0.08);
  --shadow-lg: 0 20px 50px rgba(32, 27, 22, 0.16);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); margin: 0; color: var(--ink); }
p { margin: 0; line-height: 1.6; color: var(--text-light); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

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

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 30px; height: 30px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
}
.btn[hidden] { display: none; }
.btn-primary {
  background: var(--maroon);
  color: var(--white);
}
.btn-primary:hover { background: var(--maroon-dark); }
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 44px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--maroon));
}
.section-title::after { background: linear-gradient(to left, transparent, var(--maroon)); }
.section-title-left { justify-content: flex-start; }
.section-title-left::before { display: none; }
.section-title-left::after { flex: none; width: 60px; }

.section { padding: 88px 0; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-right: auto;
}
.logo-main {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--maroon);
  margin-top: 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--maroon); border-color: var(--maroon); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18,13,9,0.85) 0%, rgba(18,13,9,0.6) 28%, rgba(18,13,9,0.15) 52%, rgba(18,13,9,0.05) 70%),
    linear-gradient(0deg, rgba(18,13,9,0.55) 0%, rgba(18,13,9,0) 30%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
}
.hero-copy { padding-top: 40px; max-width: 520px; }
.hero-copy h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  margin-bottom: 30px;
}
.hero-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.hero-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.hero-facts .icon { color: var(--gold); }

.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 90px;
  z-index: 2;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold), var(--gold-dark));
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-badge span {
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.hero-features {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(50%);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  color: var(--text);
}
.hero-feature { text-align: center; padding: 0 8px; }
.hero-feature .icon-lg { color: var(--gold); margin-bottom: 14px; }
.hero-feature h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-feature p { font-size: 13.5px; }

/* spacer for the overlapping card */
.hero::after {
  content: "";
  display: block;
  height: 100px;
}

/* ============ OFFER / FILTERS ============ */
.offer { padding-top: 150px; }
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}
.pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.pill-active { background: var(--maroon); border-color: var(--maroon); color: var(--white); }

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text-light);
  border-bottom: 1.5px solid var(--text-light);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 34px 10px 18px;
  min-width: 150px;
}
.select-wrap select:focus { outline: 2px solid var(--gold); }

.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wine-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wine-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--maroon);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.wine-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wine-photo {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 0 14px;
  height: 220px;
}
.wine-photo img {
  height: 100%;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(32, 27, 22, 0.18));
}
.wine-body { padding: 20px 22px 24px; }
.wine-body h3 { font-size: 19px; margin-bottom: 4px; }
.wine-school {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.wine-type { font-size: 13px; margin-bottom: 8px; line-height: 1.5; }
.wine-region { color: var(--text-light); font-size: 11.5px; }
.wine-note {
  font-size: 12.5px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.wine-award {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.wine-award .icon { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.wine-stats {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.wine-stats li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-light);
}
.wine-stats .icon { width: 16px; height: 16px; color: var(--gold); margin-top: 1px; }
.wine-stats strong { color: var(--ink); font-size: 12.5px; font-weight: 700; }
.wine-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.badge-cat {
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
}
.wine-price { font-size: 18px; font-weight: 700; color: var(--ink); text-align: right; }
.wine-price small { display: block; font-size: 10px; font-weight: 600; color: var(--text-light); }

.no-results {
  text-align: center;
  padding: 40px 0;
  font-size: 15px;
}

.offer-more { text-align: center; margin-top: 44px; }

/* ============ ABOUT ============ */
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-copy .section-title-left { margin-bottom: 16px; }
.about-copy p { margin-bottom: 16px; font-size: 15px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-stat {
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
}
.about-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--maroon);
  margin-bottom: 6px;
}
.about-stat span { font-size: 12.5px; color: var(--text-light); }

/* ============ SCHOOLS ============ */
.schools { background: var(--cream-2); }
.schools-lead {
  max-width: 720px;
  margin: -24px auto 40px;
  text-align: center;
  font-size: 15px;
}
.schools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.school-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
}
.school-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.school-icon svg { width: 34px; height: 34px; }
.school-text { display: flex; flex-direction: column; line-height: 1.3; }
.school-text strong { font-size: 12px; color: var(--ink); }
.school-text em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.school-region {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.school-card p { font-size: 13.5px; line-height: 1.7; }
.schools-more { text-align: center; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 72px 24px 48px;
}
.footer-brand .logo-main { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,0.55); }
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.footer-col p { font-size: 13.5px; line-height: 1.8; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--gold); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 320px; }
  .main-nav a { width: 100%; padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-badge { right: 20px; bottom: 24px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .offer { padding-top: 190px; }

  .wine-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-stats { max-width: 420px; }
  .schools-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero-copy h1 { font-size: 34px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: 1fr 1fr; padding: 28px 20px; gap: 24px 16px; }
  .offer { padding-top: 260px; }
  .wine-grid { grid-template-columns: 1fr; }
  .filters { justify-content: center; }
  .select-wrap select { min-width: 140px; }
  .footer-inner { grid-template-columns: 1fr; padding: 56px 20px 36px; }
  .hero-badge { width: 88px; height: 88px; }
  .hero-badge span { font-size: 10.5px; }
}
