/* style.css (UPDATED – complete file) */

:root{
  --bg0: #070607;
  --bg1: #0b0908;

  --amber: #d7a24a;
  --gold:  #c38a2e;
  --copper:#a66a2c;

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --faint: rgba(255,255,255,0.56);

  --line: rgba(255,255,255,0.14);
  --line2: rgba(215,162,74,0.22);

  --shadow: 0 18px 70px rgba(0,0,0,0.62);
  --radius: 18px;
  --radius2: 14px;

  /* 2) cards narrower ~20% on desktop/tablet */
  --max: 900px;
  --pad: 18px;

  --focus: rgba(215,162,74,0.18);

  --bg-image: url("./images/IMG_2033.jpeg");

  --stroke: rgba(255,255,255,0.12);
  --card: rgba(10,10,12,0.52);
  --card2: rgba(12,12,14,0.72);
  --blur: 12px;

  --art-y: 0px;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --tracking-title: -0.02em;
  --tracking-small: 0.10em;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

html, body{ font-family: var(--font-sans); }

h1, h2, h3, .brand strong{
  font-family: var(--font-serif);
  letter-spacing: -0.01em;
  font-weight: 600;
}
/* === iOS/Safari: prevent white flash of native buttons on first paint === */
button,
input[type="button"],
input[type="submit"],
input[type="reset"]{
  -webkit-appearance: none;
  appearance: none;

  /* match your button base immediately */
  background-color: rgba(255,255,255,0.04);
  color: var(--text);

  border: 1px solid rgba(215,162,74,0.40);
  border-radius: 999px;

  /* stop Safari from painting glossy default */
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
body{
  margin:0;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 50% 10%, rgba(215,162,74,0.10), transparent 60%),
    radial-gradient(900px 700px at 85% 20%, rgba(166,106,44,0.08), transparent 62%),
    linear-gradient(180deg, #070607 0%, #0b0908 35%, #060607 100%);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  position: relative;
  overflow-x: hidden;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(1200px 700px at 50% 20%,
      rgba(0,0,0,0.05), rgba(0,0,0,0.40) 70%, rgba(0,0,0,0.58)),
    radial-gradient(1100px 700px at 20% 10%, rgba(215,162,74,0.08), transparent 62%),
    radial-gradient(900px 650px at 85% 20%, rgba(166,106,44,0.06), transparent 62%);
}

body::after{
  content:"";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018), rgba(255,255,255,0.018) 1px, transparent 1px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.012), rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}

.art-bg{
  position: fixed;
  inset: -18vh -10vw -18vh -10vw;
  z-index: 0;
  pointer-events: none;

  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;

  opacity: 0.24;

  transform: translate3d(0, var(--art-y), 0) scale(1.04);
  filter: brightness(1.12) saturate(1.02) contrast(1.06);
}

/* ================= TYPOGRAPHY ================= */
p, li{
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  max-width: 100%;
}

a, .status, .fineprint, code{
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: none;
}

/* ================= LINKS ================= */
a{
  color: var(--amber);
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(215,162,74,0.65);
  text-underline-offset: 3px;
}
a:hover{
  color: #f0c26b;
  text-decoration-color: rgba(215,162,74,0.95);
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad) 60px;
  position: relative;
  z-index: 1;
}

/* ================= HEADER ================= */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 10px 0 22px;
}

.brand{ display:flex; flex-direction:column; gap:2px; }
.brand strong{
  font-size: 14px;
  letter-spacing: var(--tracking-small);
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.brand span{
  font-size: 12px;
  color: var(--muted);
}

.top-actions{
  position: relative;
  z-index: 1000;
  isolation: isolate;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== MENU BUTTON (TEXT) + DROPDOWN ===== */
.menu-toggle{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.90);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .08s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select:none;
  -webkit-tap-highlight-color: transparent;

  position: relative;
  z-index: 1001;
  touch-action: manipulation;
}

.menu-toggle:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(215,162,74,0.32);
  box-shadow: 0 0 0 4px rgba(215,162,74,0.06);
}
.menu-toggle:active{ transform: translateY(1px); }

.menu-toggle::after{
  content:"▾";
  display:inline-block;
  margin-left: 8px;
  font-size: 12px;
  opacity: 0.9;
  transform: translateY(-1px);
}
.menu-toggle[aria-expanded="true"]::after{ content:"▴"; }

.menu-dropdown{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;

  display: none;
  flex-direction: column;
  min-width: 220px;

  background: rgba(12,12,14,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);

  z-index: 1002;
  overflow: hidden;

  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
}
.menu-dropdown.open{ display:flex; }

.menu-dropdown a{
  padding: 14px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.menu-dropdown a:last-child{ border-bottom:none; }
.menu-dropdown a:hover{
  background: rgba(215,162,74,0.08);
  color:#fff;
}

/* ================= BUTTONS ================= */
.btn{
  appearance:none;
  border: 1px solid rgba(215,162,74,0.40); /* zlatý tenký rámeček všude */
  background: rgba(255,255,255,0.04);      /* výplň nechána */
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  text-decoration: none;

  position: relative;
  overflow: hidden; /* pro jemný sheen */
  transform: translateZ(0);

  transition:
    transform .14s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

/* jemný "sheen" přejezd při hover/focus */
.btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(215,162,74,0.10) 28%,
      rgba(255,255,255,0.08) 45%,
      rgba(215,162,74,0.10) 62%,
      transparent 100%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events:none;
  transition: transform .55s ease, opacity .22s ease;
}

.btn:hover{
  background: rgba(255,255,255,0.06); /* výplň jen lehce */
  border-color: rgba(215,162,74,0.70);
  box-shadow:
    0 0 0 4px rgba(215,162,74,0.06),
    0 10px 30px rgba(0,0,0,0.22);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn:hover::after{
  opacity: 1;
  transform: translateX(120%);
}

/* klávesnice / přístupnost: jasný fokus bez "ošklivého" outline */
.btn:focus{
  outline: none;
}
.btn:focus-visible{
  border-color: rgba(215,162,74,0.85);
  box-shadow:
    0 0 0 4px rgba(215,162,74,0.16),
    0 10px 30px rgba(0,0,0,0.22);
}
.btn:focus-visible::after{
  opacity: 1;
  transform: translateX(120%);
}

.btn:active{
  transform: translateY(0px);
  box-shadow: 0 0 0 3px rgba(215,162,74,0.06);
}

/* PRIMARY: výplň nechána, jen rámeček zlatý + efekty stejné */
.btn.primary{
  background: linear-gradient(180deg, rgba(215,162,74,0.98) 0%, rgba(166,106,44,0.98) 100%);
  color: #0b0c10;
  border: 1px solid rgba(215,162,74,0.55); /* místo transparent */
  font-weight: 700;
  text-decoration: none;
}

.btn.primary:hover{
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 4px rgba(215,162,74,0.10),
    0 14px 40px rgba(0,0,0,0.26);
}

/* ================= HERO ================= */
.hero{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);

  background: linear-gradient(180deg, rgba(10,10,12,0.34) 0%, rgba(12,12,14,0.62) 100%);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.hero-bg{
  position:absolute;
  inset:0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: saturate(1.02) contrast(1.06);
  transform: scale(1.02);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 18% 14%, rgba(215,162,74,0.18), transparent 62%),
    radial-gradient(820px 560px at 82% 18%, rgba(166,106,44,0.16), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.54) 100%);
  pointer-events:none;
}

.hero-grid{
  position:relative;
  display:grid;
  gap: 16px;
  padding: 28px;
}
.hero-grid-single{
  grid-template-columns: 1fr;
}

.hero-copy{
  min-width: 0;
  text-align: center;
}

.hero-strip{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  align-items:center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-strip-item{
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
}
.hero-strip-dot{ opacity: 0.55; }

.hero-copy h1{
  margin:0 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: var(--tracking-title);
}

.lead{
  margin: 0 0 16px;
  color: rgba(255,255,255,0.76);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 520;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2px 0 14px;
}

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content: center;
  margin: 16px 0 18px;
  padding:0;
  list-style:none;
}

.pill{
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.20);
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,0.84);
  font-size: 13px;
  line-height: 1.1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}

.pill-btn{
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  transition: transform .08s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pill-btn:hover{
  background: rgba(215,162,74,0.10);
  border-color: rgba(215,162,74,0.26);
  box-shadow: 0 0 0 4px rgba(215,162,74,0.06);
}
.pill-btn:active{ transform: translateY(1px); }

.card-soft{
  background: linear-gradient(180deg, rgba(10,10,12,0.40) 0%, rgba(12,12,14,0.70) 100%);
}

.microline{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.14);
  color: rgba(255,255,255,0.76);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ================= FORM / CARDS ================= */
.card{
  background: rgba(12,12,14,0.62);
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  padding: 16px;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  min-width: 0;
}

.card h2{
  margin:0 0 6px;
  font-size: 14px;
  letter-spacing: var(--tracking-small);
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
}

.card p{
  margin:0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.52;
}

form{ margin:0; }

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom: 10px;
}

label{
  font-size: 12px;
  color: rgba(255,255,255,0.80);
}

input, textarea, select{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.62) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.62) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

textarea{ min-height: 92px; resize: vertical; }

input:focus, textarea:focus, select:focus{
  border-color: rgba(215,162,74,0.34);
  box-shadow: 0 0 0 4px var(--focus);
  background: rgba(255,255,255,0.07);
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top: 10px;
}

.status{
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
}
.status.ok{ color: rgba(145, 224, 170, 0.96); }
.status.err{ color: rgba(255, 120, 120, 0.96); }

.fineprint{
  margin-top: 8px;
  color: rgba(255,255,255,0.56);
  font-size: 11.5px;
  line-height: 1.55;
}

/* ================= SECTIONS ================= */
main{ margin-top: 18px; }

.section{
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;

  background: rgba(12,12,14,0.56);
  box-shadow: 0 10px 40px rgba(0,0,0,0.26);
  overflow:hidden;

  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.section::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(215,162,74,0.08), transparent 60%),
    radial-gradient(900px 620px at 88% 10%, rgba(166,106,44,0.06), transparent 60%);
  opacity: 0.35;
}

.section > *{ position: relative; z-index: 1; }

.section h2{
  margin:0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.section p{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.74);
  line-height: 1.66;
  font-size: 14.5px;
  max-width: 100%;
}

/* ================= STEPS ================= */
/* stacked everywhere */
.steps{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.step{
  position: relative;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 16px;
  overflow: hidden;
  min-width: 0;
}

.step::before{
  content:"";
  position:absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(215,162,74,0.55) 50%, transparent 100%);
  opacity: 0.75;
}

.step-head{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
  min-width: 0;
}

.step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  letter-spacing: 0.12em;
  flex: 0 0 auto;
}

.step h3{
  margin:0;
  font-size: 15px;
  font-weight: 650;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
  flex: 1 1 auto;
  min-width: 0;
}

.step p{
  margin:0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}

.steps-abc .step.abc{ border-color: rgba(255,255,255,0.12); }
.step.abc.a{ background: linear-gradient(180deg, rgba(215,162,74,0.10) 0%, rgba(0,0,0,0.18) 100%); }
.step.abc.b{ background: linear-gradient(180deg, rgba(195,138,46,0.10) 0%, rgba(0,0,0,0.18) 100%); }
.step.abc.c{ background: linear-gradient(180deg, rgba(166,106,44,0.10) 0%, rgba(0,0,0,0.18) 100%); }

.step-more{
  margin-top: 12px;
  appearance:none;
  -webkit-appearance:none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.86);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12.5px;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .08s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.step-more:hover{
  background: rgba(215,162,74,0.10);
  border-color: rgba(215,162,74,0.26);
  box-shadow: 0 0 0 4px rgba(215,162,74,0.06);
}
.step-more:active{ transform: translateY(1px); }

/* ================= PHOTO TILE (O ME) ================= */
.section-photo{ padding: 14px; }

.photo-tile{
  position: relative;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 60px rgba(0,0,0,0.36);

  /* mobile default stays as-is */
  min-height: 280px;

  background-image: var(--photo);
  background-size: cover;
  background-position: center top;
}

/* 5) +100% height on desktop/tablet (keep phones as-is) */
@media (min-width: 701px){
  .photo-tile{ min-height: 560px; }
}

.photo-overlay{
  position:absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.58) 100%),
    radial-gradient(900px 520px at 20% 10%, rgba(215,162,74,0.12), transparent 62%),
    radial-gradient(900px 620px at 88% 10%, rgba(166,106,44,0.10), transparent 62%);
  pointer-events:none;
}

.photo-content{
  position: relative;
  z-index: 1;
  padding: 22px;
  max-width: 72ch;
}

.photo-content h2{
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.photo-sub{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.80);
  font-size: 14.5px;
  line-height: 1.65;
}

.photo-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ================= MODAL / POPUP ================= */
/* 1) Height adapts to content (up to max). No fixed panel height. */
.modal{
  position: fixed;
  inset: 0;
  z-index: 3000;

  /* místo display none/block */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .18s ease, visibility 0s linear .18s;

  /* donutit vlastní kompozitní vrstvu (méně blikání na iOS) */
  transform: translateZ(0);
  will-change: opacity;
}

.modal.open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition: opacity .18s ease, visibility 0s;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity .18s ease;
  opacity: 1;
}

.modal:not(.open) .modal-backdrop{
  opacity: 0;
}

.modal-panel{
  position: relative;
  max-width: 860px;
  width: calc(100% - (var(--pad) * 2));
  margin: 6vh auto;
  padding: 0;
  display: flex;
}

.modal-body{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(12,12,14,0.86);
  box-shadow: 0 30px 90px rgba(0,0,0,0.75);
  overflow: hidden;

  width: 100%;
  padding: 22px;

  /* adaptive height with cap */
  max-height: calc(100vh - 12vh);
  display: flex;
  flex-direction: column;
}

.modal-body::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(215,162,74,0.12), transparent 60%),
    radial-gradient(900px 620px at 88% 10%, rgba(166,106,44,0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.22));
  opacity: 0.9;
}

.modal-body > *{ position: relative; z-index: 1; }

.modal-close{
  position: absolute;
  right: 12px;
  top: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  -webkit-tap-highlight-color: transparent;
  z-index: 3500;
}

.modal-close:hover{
  background: rgba(215,162,74,0.10);
  border-color: rgba(215,162,74,0.26);
  box-shadow: 0 0 0 4px rgba(215,162,74,0.06);
}

.modal-kicker{
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  margin-bottom: 8px;
  padding-right: 52px;
}

.modal-title{
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
  padding-right: 52px;
}

.modal-content{
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
  line-height: 1.7;

  /* scroll only if needed */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  flex: 1 1 auto;
  min-height: 0;

  padding-right: 6px;
}

.modal-content p{ margin: 0 0 12px; }
.modal-content ul{ margin: 0 0 12px; padding-left: 18px; }
.modal-content li{ margin: 0 0 6px; color: rgba(255,255,255,0.78); }

.quote{
  border-left: 2px solid rgba(215,162,74,0.50);
  padding: 10px 12px;
  margin: 12px 0 14px;
  background: rgba(0,0,0,0.18);
  border-radius: 12px;
  color: rgba(255,255,255,0.84);
  font-style: italic;
}

.modal-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  flex: 0 0 auto;
}

body.modal-open{
  overflow: hidden;
  touch-action: none;
}
.modal, .modal *{ touch-action: auto; }

/* ================= FOOTER ================= */
.footer{
  margin-top: 3rem;
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.footer-inner{
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.footer-left{ opacity: 0.6; }

.footer-right{
  text-align: right;
  line-height: 1.45;
}

.footer-right strong{
  display: block;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.25rem;
}

.footer-line{ margin-top: 0.2rem; }

.footer-line a{
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-line a:hover{
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.footer-line.muted{ opacity: 0.6; }

/* ================= RESPONSIVE ================= */
@media (max-width: 980px){
  .row{ grid-template-columns: 1fr; }
  .photo-content{ padding: 18px; }
}

@media (max-width: 700px){
  /* phones: keep same feel; max width is naturally the viewport */
  .footer-inner{ flex-direction: column; align-items: flex-start; }
  .footer-right{ text-align: left; }
  .modal-panel{ margin: 4vh auto; }
  .photo-tile{ background-position: center; }
}

@media (max-width: 420px){
  .btn{ padding: 10px 12px; font-size: 12.5px; }
  .pill{ white-space: normal; }
  .modal-title{ font-size: 20px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
  .art-bg{ transform: none !important; }
}
/* === iOS WHITE FLASH + DOUBLE FILTER FIX (append at end) === */

/* Override 25.1. proti flicku */
html {
  background: #070707 !important;
  background-color: #070707 !important;
}

body {
  background: transparent !important;
  background-color: transparent !important;
}

/* když je otevřený modal, nedovolíme iOS “bounce” odhalit bílé pozadí */
html.modal-open,
body.modal-open {
  overscroll-behavior: none;
  background: #070707 !important;
  background-color: #070707 !important;
}

/* sjednocení backdropu: jedna vrstva, žádné zesvětlování přes backdrop-filter */
#modal {
  background: rgba(0,0,0,0.72) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* pokud máš někde pseudo-element backdropu, tak ho vypni */
#modal::before,
#modal::after {
  content: none !important;
}

/* zabrání “bliknutí” při zavírání: drž viditelnost/opacity, ne display */
#modal {
  visibility: hidden;
  opacity: 0;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}

#modal.open {
  visibility: visible;
  opacity: 1;
  transition: opacity 160ms ease;
}

/* jistota: panel se nebude “prosvětlovat” žádným filtrem */
#modal .modal-panel {
  filter: none !important;
}
/* ================= CTA DIVIDERS ================= */
.cta-divider{
  margin-top: 18px;
  border: 1px solid rgba(215,162,74,0.22);
  border-radius: var(--radius);
  overflow: hidden;

  background:
    radial-gradient(900px 520px at 18% 0%, rgba(215,162,74,0.10), transparent 60%),
    radial-gradient(900px 620px at 88% 10%, rgba(166,106,44,0.08), transparent 60%),
    rgba(12,12,14,0.56);

  box-shadow: 0 10px 40px rgba(0,0,0,0.26);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.cta-divider-inner{
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta-micro{
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 100%;
}

.cta-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 700px){
  .cta-divider-inner{ padding: 16px; }
  .cta-actions{ width: 100%; }
  .cta-actions .btn{ width: 100%; justify-content: center; }
}
/* ===== CTA DIVIDER: center align (text + button) ===== */
.cta-divider-inner{
  justify-content: center !important;
  text-align: center !important;
}

.cta-micro{
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center !important;
}

.cta-actions{
  width: 100%;
  justify-content: center !important;
}
