  /*
   * Davinus – facelift (1:1 layout)
   * Zachované: rozložení sekcí, hierarchie, brand barvy (#c57847 / #e8bf85),
   * sticky header s přepínáním logo varianty, hero overlay, oranžová sekce vín,
   * swiper-styl blog karty s gradientem dole.
   *
   * Drobné úpravy: jemnější typografie (serif Cormorant místo defaultního),
   * o něco větší vzduch v sekcích, decentní stíny u karet, plynulejší hover.
   */
  :root{
    --orange:        #c57847;   /* hlavní brand */
    --orange-dark:   #a85f30;
    --orange-light:  #e8bf85;
    --black-dark:    #1a1612;
    --ink:           #1f1a17;
    --ink-soft:      #4a423d;
    --bg:            #ffffff;
    --muted:         #8a7f76;
    --line:          #ece4d6;

    --serif:         "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans:          "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    --t:             .3s ease;
    --radius:        8px;
  }

  *, *::before, *::after{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  body{
    margin: 0;
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.85;             /* leading-loose */
    -webkit-font-smoothing: antialiased;
  }
  img{ max-width: 100%; display: block; }
  a{ color: inherit; text-decoration: none; transition: color var(--t), background-color var(--t); }

  .section{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
  }
  @media (min-width: 1024px){ .section{ padding: 0 40px; } }

  h1, h2, h3{
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -.005em;
  }
  p{ margin: 0 0 1em; }
  strong{ font-weight: 600; color: var(--ink); }

  /* ============ HEADER (sticky, přepíná barvu loga) ============ */
  .header{
    position: fixed; top: 0; left: 0; right: 0; z-index: 30;
    width: 100%;
    transition: background var(--t), box-shadow var(--t);
  }
  .header__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }
  .logo{ position: relative; display: inline-block; width: 160px; height: 40px; }
  .logo img{
    position: absolute; left: 0; top: 0;
    width: 100%; height: 100%; object-fit: contain;
    transition: opacity var(--t);
  }
  .logo .logo-black{ opacity: 0; }
  .header.scrolled{ background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
  .header.scrolled .nav-links a{ color: var(--ink); }
  .header.scrolled .logo .logo-white{ opacity: 0; }
  .header.scrolled .logo .logo-black{ opacity: 1; }
  .header.scrolled .social a{ color: var(--ink); }

  .header__right{ display: flex; align-items: center; }
  .nav-links{
    display: none;
    list-style: none; margin: 0; padding: 0;
    gap: 56px;
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 500;
  }
  .nav-links a{ color: #fff; padding: 4px 0; position: relative; }
  .nav-links a::after{
    content:""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 1px; background: var(--orange);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t);
  }
  .nav-links a:hover{ color: var(--orange-light); }
  .header.scrolled .nav-links a:hover{ color: var(--orange-dark); }
  .nav-links a:hover::after{ transform: scaleX(1); }
  @media (min-width: 1024px){ .nav-links{ display: flex; } }

  .social{
    display: none;
    gap: 14px;
    list-style: none;
    padding-left: 56px;
    margin-left: 24px;
    border-left: 1px solid rgba(255,255,255,.25);
    align-items: center;
    transition: border-color var(--t);
  }
  .header.scrolled .social{ border-left-color: var(--line); }
  .social a{ color: #fff; transition: color var(--t), transform var(--t); }
  .social a:hover{ color: var(--orange-light); transform: translateY(-2px); }
  @media (min-width: 640px){ .social{ display: flex; } }

  .mobil-nav{ display: inline-flex; margin-left: 20px; color: #fff; cursor: pointer; }
  .header.scrolled .mobil-nav{ color: var(--ink); }
  @media (min-width: 1024px){ .mobil-nav{ display: none; } }

  /* ============ HERO ============ */
  .hero{
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .hero::before{
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,10,5,.85), transparent 45%, rgba(0,0,0,.55));
    z-index: 1; pointer-events: none;
  }
  .hero__img{
    width: 100%;
    height: auto;
    min-height: 100vh;
    object-fit: cover;
    object-position: center;
  }
  @media (min-width: 1024px){ .hero__img{ min-height: auto; } }
  .hero__content{
    position: absolute; left: 0; right: 0; bottom: 0;
    z-index: 2;
    display: flex; justify-content: center;
    padding: 0 20px 80px;
  }
  .hero__inner{
    width: 100%; max-width: 720px;
    text-align: center;
    color: #fff;
  }
  .hero h1{
    color: #fff;
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 600;
    margin-bottom: 24px;
  }
  .hero__sub{
    color: #fff;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
    opacity: .94;
  }

  /* ============ GENERIC SECTION ============ */
  section.block{
    padding: 60px 0;
  }
  @media (min-width: 1024px){
    section.block{ padding: 80px 0; }
    section.block.lg{ padding-top: 110px; padding-bottom: 140px; margin-bottom: 20px; }
  }

  /* ============ KDO JE NÉGOCIANT ============ */
  .centered-block{
    display: flex; justify-content: center;
  }
  .centered-block__inner{
    display: flex; flex-direction: column; align-items: center; text-align: center;
    width: 100%;
  }
  @media (min-width: 1024px){ .centered-block__inner{ max-width: 720px; } }
  .centered-block h2{
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    margin-bottom: 18px;
  }
  .centered-block .text{
    font-size: 1.02rem;
    color: var(--ink-soft);
  }

  /* ============ DVOUSLOUPCOVÉ SEKCE (Majer, Náš příběh) ============ */
  .split{
    display: flex; flex-direction: column-reverse;
    gap: 60px;
  }
  @media (min-width: 1024px){
    .split{ flex-direction: row; gap: 120px; }
  }
  .split__text{ width: 100%; }
  .split__media{ width: 100%; position: relative; padding-bottom: 60px; display: flex; align-items: center; }
  @media (min-width: 1024px){
    .split__text{ width: 40%; }
    .split__media{ width: 60%; padding-bottom: 64px; }
  }
  .split h2{
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    margin-bottom: 28px;
  }
  .split .text{ color: var(--ink-soft); font-size: 1rem; }
  .split .text p + p{ margin-top: 1em; }

  .photos{
    position: relative;
    width: 100%;
    margin: 0 auto;
  }
  .photos img{
    border-radius: var(--radius);
    box-shadow: 0 18px 40px -20px rgba(40,20,10,.25);
  }
  .photos__front{
    position: absolute;
    width: 58%;
    right: 5%;
    bottom: -30%;
    z-index: 2;
  }
  .photos__back{
    width: 58%;
    margin-left: 5%;
  }

  /* PDF button (vinařský "tag") */
  .pdf-btn{
    display: inline-block;
    margin-top: 8px;
    padding: 14px 28px;
    background: var(--orange-light);
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: var(--radius);
    transition: background var(--t), transform var(--t);
  }
  .pdf-btn:hover{ background: var(--orange); color: #fff; transform: translateY(-2px); }

  /* ============ VIDEO ============ */
  .video-section{ padding: 30px 0; }
  .video{
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 60px -28px rgba(40,20,10,.4);
    background: #000;
    cursor: pointer;
  }
  .video iframe{
    width: 100%; height: 100%;
    position: absolute; inset: 0;
    display: block;
    border: 0;
  }
  .video__thumb{
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease, filter .3s ease;
  }
  .video:hover .video__thumb{ transform: scale(1.03); filter: brightness(.88); }
  .video__play{
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(197,120,71,.92);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
    transition: background var(--t), transform var(--t);
  }
  .video:hover .video__play{ background: var(--orange-dark); transform: translate(-50%,-50%) scale(1.06); }
  .video__play svg{ width: 30px; height: 30px; margin-left: 4px; }

  /* ============ POKRAČOVÁNÍ TEXTU PŘÍBĚHU ============ */
  .fulltext{ padding-bottom: 60px; }
  .fulltext .text{ color: var(--ink-soft); font-size: 1rem; }
  .fulltext .text p{ margin-bottom: 1.2em; }

  /* ============ VÍNA (oranžová sekce + karty) ============ */
  .wines{
    background: var(--orange);
    padding: 50px 0;
  }
  .wines__grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  @media (min-width: 640px){ .wines__grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px){ .wines__grid{ grid-template-columns: repeat(4, 1fr); } }
  @media (min-width: 1280px){ .wines__grid{ grid-template-columns: repeat(5, 1fr); } }

  .wine-card{
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 22px 20px;
    display: flex; flex-direction: column;
    transition: transform var(--t), box-shadow var(--t);
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
  }
  .wine-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.3); }
  .wine-card img{
    width: 100%; height: auto;
    aspect-ratio: 360 / 490;
    object-fit: contain;
    object-position: center;
  }
  .wine-card__title{
    font-family: var(--sans);
    font-weight: 700;
    font-size: .98rem;
    text-align: center;
    flex-grow: 1;
    margin: 28px 12px 28px;
    line-height: 1.45;
    color: var(--ink);
  }
  .wine-card__foot{
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto;
  }
  .wine-card__price{ font-weight: 700; font-size: 1.05rem; }
  .wine-card__arrow{
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--orange-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange-dark);
    transition: background var(--t), transform var(--t);
  }
  .wine-card:hover .wine-card__arrow{ background: var(--orange); color: #fff; transform: translateX(2px); }
  .wine-card__arrow svg{ width: 16px; height: 16px; }

  /* ============ BLOG ============ */
  .blog{ padding: 60px 0 80px; }
  .blog h2{
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    margin-bottom: 36px;
    padding-top: 12px;
  }
  .blog__grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  @media (min-width: 700px){ .blog__grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px){ .blog__grid{ grid-template-columns: repeat(3, 1fr); } }

  .blog-card{
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    transition: transform var(--t), box-shadow var(--t);
    aspect-ratio: 16 / 10;
    background: #1a1612;
  }
  .blog-card:hover{ transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
  .blog-card img{
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
  }
  .blog-card:hover img{ transform: scale(1.04); }
  .blog-card__overlay{
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 90px 22px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 45%, transparent 100%);
    z-index: 2;
  }
  .blog-card__title{
    color: var(--orange-light);
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .blog-card__date{
    color: #fff;
    font-size: .8rem;
    letter-spacing: .02em;
    opacity: .85;
  }

  /* ============ MAPA + KONTAKT ============ */
  .map{ width: 100%; }
  .map iframe{ width: 100%; height: 460px; border: 0; display: block; }

  .contact{
    background: var(--black-dark);
    color: #fff;
    padding: 80px 0 40px;
  }
  .contact h2{ color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 16px; text-align: center; }
  .contact .lead{ text-align: center; max-width: 560px; margin: 0 auto 56px; opacity: .8; }
  .contact a{ color: var(--orange-light); }
  .contact a:hover{ color: #fff; }

  .contact__grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 0;
    border-top: 1px solid rgba(232,191,133,.18);
    border-bottom: 1px solid rgba(232,191,133,.18);
  }
  @media (min-width: 640px){ .contact__grid{ grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1024px){ .contact__grid{ grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

  .contact h4{
    color: var(--orange-light);
    font-family: var(--sans);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 600;
    margin: 0 0 16px;
  }
  .contact p, .contact .person{ font-size: .94rem; line-height: 1.7; opacity: .85; }
  .person{ margin-top: 14px; }
  .person strong{ display: block; color: #fff; font-weight: 600; opacity: 1; margin-bottom: 2px; }

  .footer-bottom{
    padding-top: 30px;
    display: flex; flex-wrap: wrap; gap: 16px;
    justify-content: space-between; align-items: center;
    font-size: .78rem; color: rgba(255,255,255,.5);
  }

  /* ============ ENTRY (věk gate – jednoduchá vizuální shoda) ============ */

  /* ============ RESPONSIVE FIX ============ */
  @media (max-width: 1023px){
    .photos__front{ position: relative; width: 80%; right: auto; bottom: auto; margin: 16px auto 0; }
    .photos__back{ width: 80%; margin: 0 auto; }
    .split__media{ padding-bottom: 0; }
  }
