/* Vinotéka Brumov — design system převzatý 1:1 z prototypu (newdesign/*.dc.html) */

:root {
  --bg: #FAF5EB;
  --ink: #33222B;
  --plum: #55243B;
  --plum-deep: #3E1A2C;
  --plum-dark: #2A0F1C;
  --wine: #6E2C44;
  --gold: #A98147;
  --gold-light: #C9A263;
  --gold-pale: #D9C9A9;
  --border: #E7DCC8;
  --panel: #F3ECDC;
  --ghost: #F1E7D3;
  --ghost-panel: #EBE0C9;
  --body-muted: #5C4A53;
  --muted: #6F5F66;
  --footer-muted: #7A6570;
  --list-ink: #4A3A42;
  --cream: #F8F0E3;
  --cream-muted: #CDB4A6;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Source Sans 3', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--wine); }
a:hover { color: var(--gold); }

img { max-width: 100%; }

.topstripe {
  height: 5px;
  background: linear-gradient(90deg, var(--plum) 0%, var(--plum) 60%, var(--gold) 60%, var(--gold) 100%);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header .logo img {
  height: 58px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--plum);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a.active {
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ---------- Typografie ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kicker::before {
  content: '';
  width: 44px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.kicker span {
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}

h1, h2, h3 { margin: 0; font-family: var(--serif); }

h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }

.display-xl { font-weight: 500; font-size: 84px; line-height: 1.02; color: var(--plum-deep); letter-spacing: -0.01em; }
.display { font-weight: 500; font-size: 76px; line-height: 1.04; color: var(--plum-deep); max-width: 800px; }
.h2 { font-weight: 500; font-size: 52px; line-height: 1.08; color: var(--plum-deep); }
.h2-md { font-weight: 500; font-size: 48px; line-height: 1.08; color: var(--plum-deep); }
.h2-sm { font-weight: 500; font-size: 44px; line-height: 1.1; color: var(--plum-deep); }
.h2-xs { font-weight: 500; font-size: 42px; line-height: 1.1; color: var(--plum-deep); }
.h3 { font-weight: 600; font-size: 29px; color: var(--plum-deep); }

.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body-muted); }
.body-text { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--body-muted); }
.small-text { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

.ghost {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-size: 300px;
  line-height: 1;
  color: var(--ghost);
  pointer-events: none;
  user-select: none;
}

.ghost--panel { color: var(--ghost-panel); font-size: 280px; }

.numeral {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}

/* ---------- Tlačítka a odkazy ---------- */

.btn {
  display: inline-block;
  background: var(--plum);
  color: var(--cream);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 17px 34px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.btn:hover { color: var(--cream); background: var(--plum-deep); }

.btn-gold {
  background: var(--gold-light);
  color: var(--plum-dark);
  padding: 17px 36px;
}

.btn-gold:hover { background: #D8B577; color: var(--plum-dark); }

.link-under {
  color: var(--plum);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.link-arrow {
  color: var(--wine);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Sekce ---------- */

.section { position: relative; overflow: hidden; }

.section .container { position: relative; }

.section--panel {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-head { display: flex; flex-direction: column; gap: 22px; position: relative; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
}

.split--start { align-items: start; }

.stack { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Dotted seznamy ---------- */

.dotted-list { display: flex; flex-direction: column; font-size: 15.5px; color: var(--list-ink); }

.dotted-list > div {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dotted var(--gold-light);
}

.dotted-list > div:last-child { border-bottom: none; }

.dotted-list .mark { color: var(--gold); }

.dotted-list .mark-letter {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 19px;
}

.dotted-list .wine-name {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--plum-deep);
}

.dotted-list a { color: var(--wine); font-weight: 600; text-decoration: none; }

/* ---------- Obrázkové rámy ---------- */

.frame { position: relative; }

.frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frame--arch { overflow: hidden; }

/* offset rám: border posunutý vůči fotce */
.offset-right { position: relative; padding: 20px 20px 0 0; }

.offset-right::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 40px);
  height: calc(100% - 20px);
  border: 1px solid var(--gold-light);
  pointer-events: none;
  z-index: 1;
}

.offset-right .frame { margin-right: 20px; }

.offset-left { position: relative; padding: 20px 0 0 20px; }

.offset-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px solid var(--gold-light);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Tmavý panel ---------- */

.panel-dark {
  background: var(--plum-deep);
  padding: 12px;
  border-radius: 2px;
}

.panel-dark__inner { border: 1px solid rgba(201, 162, 99, 0.55); }

.panel-dark .kicker-dark {
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}

.panel-dark h2 { color: var(--cream); }

.panel-dark h2 em { color: var(--gold-light); }

.panel-dark p { color: var(--cream-muted); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); background: var(--bg); }

.site-footer .container {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer .brand { display: flex; align-items: center; gap: 18px; }

.site-footer .brand img { height: 46px; width: auto; display: block; }

.site-footer .brand div { font-size: 13.5px; line-height: 1.6; color: var(--footer-muted); }

.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  flex-wrap: wrap;
}

.footer-nav a { color: var(--plum); text-decoration: none; }

/* =========================================================
   Home
   ========================================================= */

.home-hero { padding: 60px 0 76px; }

.home-hero .ghost { right: -30px; top: -60px; }

.home-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.home-hero__intro { display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }

.home-hero__intro p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--body-muted); max-width: 470px; }

.home-hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.home-hero__photo .frame { aspect-ratio: 990 / 458; }

.home-hero__badge {
  position: absolute;
  right: 44px;
  bottom: -28px;
  background: var(--plum-deep);
  border: 1px solid rgba(201, 162, 99, 0.55);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.home-hero__badge .label {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.home-hero__badge .address {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--cream);
  line-height: 1.2;
}

.home-hero__badge .note { font-size: 13px; color: var(--cream-muted); }

.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.strip .container {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--footer-muted);
  font-weight: 500;
}

.strip .sep { color: var(--gold-light); }

.cols3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 56px;
}

.cols3 > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--gold-light);
  padding-top: 26px;
}

.cols3 p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }

.cols3 .link-arrow { margin-top: auto; }

.home-wine-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: end;
}

.home-wine-photos .arch-tall {
  height: 430px;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
}

.home-wine-photos .plain { height: 330px; }

.home-baskets-photo .frame { height: 440px; }

.visit-grid {
  padding: 58px 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.visit-grid h2 { font-weight: 500; font-size: 44px; line-height: 1.1; }

.visit-grid .col { display: flex; flex-direction: column; gap: 14px; }

.hours { display: flex; flex-direction: column; font-size: 15px; line-height: 1.7; color: var(--cream-muted); }

.hours .label {
  color: var(--gold-light);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.hours .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dotted rgba(201, 162, 99, 0.4);
}

.hours .row:last-child { border-bottom: none; }

.hours .row span:last-child { color: var(--cream); }

.visit-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.7; color: var(--cream-muted); }

.visit-contact .label {
  color: var(--gold-light);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.visit-contact .tel { color: var(--cream); text-decoration: none; font-weight: 600; }

.visit-contact .more {
  color: var(--gold-light);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
}

/* =========================================================
   Podstránky
   ========================================================= */

.page-hero { padding: 76px 0 64px; }

.page-hero .ghost { right: -10px; top: -70px; }

.page-hero .lead { max-width: 600px; }

/* --- Vína --- */

.winelist { padding: 64px 72px; }

.winelist__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
  text-align: center;
}

.winelist__head h2 { font-weight: 500; font-size: 50px; line-height: 1.1; }

.winelist__head .rule {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 220px;
  margin-top: 8px;
}

.winelist__head .rule::before,
.winelist__head .rule::after {
  content: '';
  height: 1px;
  background: rgba(201, 162, 99, 0.5);
  flex: 1;
}

.winelist__head .rule span { color: var(--gold-light); font-size: 11px; }

.winelist__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
}

.winelist__col { display: flex; flex-direction: column; }

.winelist__cat {
  font-family: var(--serif);
  font-style: italic;
  font-size: 27px;
  color: var(--gold-light);
  padding-bottom: 14px;
}

.winelist__cat--spaced { padding-top: 30px; }

.winelist__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-size: 16px;
}

.winelist__row .name { color: var(--cream); font-family: var(--serif); font-size: 21px; }

.winelist__row .dots { flex: 1; border-bottom: 1px dotted rgba(201, 162, 99, 0.45); }

.winelist__row .attr { color: var(--cream-muted); font-size: 13.5px; }

.winelist__foot {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(201, 162, 99, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.winelist__foot p { margin: 0; font-size: 14.5px; line-height: 1.65; max-width: 560px; }

.winelist__foot a {
  color: var(--gold-light);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 4px;
  white-space: nowrap;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-row .stack-sm { display: flex; flex-direction: column; gap: 8px; }

.cta-row .lead-sm { margin: 0; font-size: 16px; line-height: 1.65; color: var(--body-muted); }

.cta-row .actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* --- Služby --- */

.stat-boxes { display: flex; border: 1px solid var(--gold-light); }

.stat-boxes > div {
  flex: 1;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-boxes > div:first-child { border-right: 1px solid var(--gold-light); }

.stat-boxes .num { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--plum-deep); }

.stat-boxes .desc {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.h-rule-top { border-top: 1px solid var(--gold-light); padding-top: 22px; }

.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: end; }

.exhibitors { display: flex; flex-direction: column; gap: 12px; }

.exhibitors .rule { display: flex; align-items: center; gap: 14px; }

.exhibitors .rule::before,
.exhibitors .rule::after { content: ''; height: 1px; background: var(--gold-pale); flex: 1; }

.exhibitors .rule span { color: var(--gold); font-size: 11px; }

.exhibitors .label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.exhibitors .names {
  margin: 0;
  line-height: 1.9;
  color: var(--muted);
  text-align: center;
  font-family: var(--serif);
  font-size: 19px;
}

/* --- Velkoobchod --- */

.info-box {
  border: 1px solid var(--gold-light);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-box .label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.info-box p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--body-muted); }

/* --- Kontakt --- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--list-ink);
  border-top: 1px solid var(--gold-light);
  padding-top: 18px;
}

.contact-card .label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-card .big { font-family: var(--serif); font-size: 21px; color: var(--plum-deep); }

.contact-card a { color: var(--wine); text-decoration: none; font-weight: 600; }

.opening { display: flex; flex-direction: column; gap: 12px; }

.opening .label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  border-top: 1px solid var(--gold-light);
  padding-top: 18px;
}

.opening .rows { display: flex; flex-direction: column; font-size: 15.5px; color: var(--list-ink); }

.opening .row { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }

.opening .row .dots { flex: 1; border-bottom: 1px dotted var(--gold-light); }

.opening .row .time { font-weight: 600; color: var(--plum-deep); }

.opening .row .closed { color: #9B8089; }

.contact-form-panel { padding: 52px 56px; }

.contact-form { display: flex; flex-direction: column; gap: 30px; }

.contact-form .head { display: flex; flex-direction: column; gap: 10px; }

.contact-form h2 { font-weight: 500; font-size: 40px; line-height: 1.1; }

.contact-form .head p { margin: 0; font-size: 15px; line-height: 1.65; }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-light);
}

.contact-form input,
.contact-form textarea {
  border: none;
  border-bottom: 1px solid rgba(201, 162, 99, 0.5);
  background: transparent;
  padding: 10px 2px;
  font-size: 17px;
  font-family: var(--serif);
  color: var(--cream);
  width: 100%;
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form-sent {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 0;
  text-align: center;
  align-items: center;
}

.form-sent .star { color: var(--gold-light); font-size: 14px; }

.form-sent .thanks {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  color: var(--gold-light);
  line-height: 1;
}

.form-sent p { margin: 0; font-size: 15.5px; line-height: 1.7; max-width: 360px; }

.btn-outline {
  display: inline-block;
  background: none;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 13px 26px;
  font-family: var(--sans);
  text-decoration: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- 404 --- */

.notfound { padding: 100px 0 120px; text-align: center; }

.notfound .stack { align-items: center; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {
  .container { padding-left: 24px; padding-right: 24px; }

  .display-xl { font-size: 56px; }
  .display { font-size: 48px; }
  .h2, .h2-md { font-size: 36px; }
  .h2-sm, .h2-xs { font-size: 32px; }
  .ghost { font-size: 180px; }
  .ghost--panel { font-size: 160px; }

  .site-header .container { justify-content: center; }
  .site-nav { gap: 0 12px; justify-content: center; }

  /* touch targets — min ~44px tap výška, vizuál beze změny */
  .site-nav a { padding: 13px 6px; }
  .footer-nav a { padding: 13px 4px; }
  .link-under { padding-top: 14px; }
  .link-arrow { padding: 14px 8px 14px 0; }
  .visit-contact .tel,
  .visit-contact .more,
  .winelist__foot a,
  .contact-card a,
  .dotted-list a { display: inline-block; padding: 10px 8px 10px 0; }
  .winelist__foot a { padding: 18px 8px 4px 0; }

  /* oddělení kategorií vín, když se sloupce naskládají pod sebe */
  .winelist__col + .winelist__col .winelist__cat:first-child { padding-top: 30px; }

  .home-hero__grid,
  .split,
  .cols3,
  .contact-grid,
  .winelist__grid,
  .contact-cards { grid-template-columns: 1fr; }

  .home-hero__grid { gap: 32px; }
  .split { gap: 40px; }
  .cols3 { gap: 32px; }
  .winelist__grid { gap: 8px; }
  .winelist { padding: 36px 28px; }
  .winelist__head h2 { font-size: 34px; }
  .visit-grid { grid-template-columns: 1fr; padding: 36px 32px; gap: 36px; }
  .contact-form-panel { padding: 36px 28px; }

  .home-hero__badge { position: static; margin-top: 20px; }
  .home-hero__photo .frame { aspect-ratio: 3 / 2; }

  .home-wine-photos .arch-tall { height: 320px; }
  .home-wine-photos .plain { height: 250px; }
  .photo-pair > .frame--arch,
  .photo-pair > .frame { height: 300px !important; }
  .frame-md { height: 320px !important; }
}

@media (max-width: 560px) {
  .display-xl { font-size: 42px; }
  .display { font-size: 38px; }
  .home-wine-photos { grid-template-columns: 1fr; align-items: stretch; }
  .photo-pair { grid-template-columns: 1fr; }
  .stat-boxes { flex-direction: column; }
  .stat-boxes > div:first-child { border-right: none; border-bottom: 1px solid var(--gold-light); }
}
