/* ===================================================================
   PS DETAILING — PAGES CSS
   Instagram Graphic Style (Clean White, Royal Blue, Jet Black)
   With Accessible Typography & Festive Christmas Elements
   =================================================================== */

/* ============================
   HOME — HERO
   ============================ */
.hero {
  min-height: 640px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 2px solid #e2e8f0;
}

/* Diagonal Geometric Corner Slashes (From Instagram Graphics) */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 180px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
}

.hero-corner-decor-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 200px;
  pointer-events: none;
  z-index: 3;
}

.hero-corner-decor-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  pointer-events: none;
  z-index: 2;
}

/* Background image overlay with soft luxury gradient */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.72) 80%, rgba(255, 255, 255, 0.45) 100%),
    url('https://images.unsplash.com/photo-1760550818717-4b948c14c5de?auto=format&fit=crop&w=1800&q=85') center right / cover no-repeat;
  filter: saturate(1.05);
}

.hero .inner {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 75px;
  position: relative;
  z-index: 4;
}

.hero .eyebrow {
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(54px, 7.5vw, 108px);
  line-height: 1.04;
  letter-spacing: .01em;
  margin: 12px 0 20px;
  max-width: 900px;
  color: #050b14;
}

.hero h1 .blue {
  color: var(--blue);
}

.hero-copy {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  line-height: 1.7;
  color: #334155;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-actions .btn-festive {
  background: #ffffff;
  border: 2px solid #ef4444;
  color: #dc2626;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.18);
}

.hero-actions .btn-festive:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.35);
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-metric {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.hero-metric:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.12);
}

.hero-metric b {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .02em;
  color: #050b14;
  display: block;
}

.hero-metric span {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  display: block;
  margin-top: 3px;
}


/* ============================
   PROCESS — "JAK TO FUNGUJE"
   ============================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.process-step {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-top: 5px solid var(--blue);
  border-radius: var(--radius-card);
  padding: 34px 28px;
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.05);
  transition: transform var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.14);
}

.process-step > strong {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: var(--blue);
  display: block;
  margin-bottom: 8px;
}

.process-step h3 {
  margin: 10px 0 12px;
  font-size: 21px;
  font-weight: 800;
  font-family: var(--font);
  text-transform: none;
  color: #050b14;
}

.process-step p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}


/* ============================
   SERVICES — "CENÍK" (Graphic 2)
   ============================ */
.services-section {
  position: relative;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1060px;
  margin: 36px auto 0;
}

.service-note {
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  max-width: 700px;
  margin: 28px auto 0;
}


/* ============================================================
   CHRISTMAS / FESTIVE VOUCHERS SECTION (Graphic 1 + Festive)
   ============================================================ */
#voucher-preview {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f7ff 50%, #ffffff 100%);
  border-top: 2px solid #e2e8f0;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

/* Festive badge in voucher section */
.festive-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.12);
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b91c1c;
  margin-bottom: 18px;
}

.festive-hero-badge .gold-star {
  color: #f59e0b;
}

.gift-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.gift-copy {
  font-size: 16px;
  color: #334155;
  line-height: 1.75;
  margin: 18px 0 24px;
}

.gift-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1.5px solid #e2e8f0;
  font-size: 15px;
  font-weight: 800;
  color: #050b14;
}

.gift-price-row strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  color: var(--blue);
}

.gift-price-row .festive-pill {
  font-size: 11px;
  padding: 4px 10px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  font-weight: 800;
  border-radius: var(--radius-pill);
  letter-spacing: .06em;
  margin-left: 8px;
  vertical-align: middle;
}

.gift-scene {
  perspective: 1000px;
  min-height: 380px;
  display: grid;
  place-items: center;
  position: relative;
}

/* Hanging Christmas Baubles */
.hanging-bauble-decor {
  position: absolute;
  top: 0;
  right: 5%;
  width: 90px;
  height: 200px;
  pointer-events: none;
  z-index: 4;
  transform-origin: 50% 0;
  animation: baubleSway 6s ease-in-out infinite alternate;
}

.hanging-bauble-decor.second-bauble {
  right: 14%;
  width: 75px;
  height: 160px;
  animation-duration: 7.5s;
  animation-delay: -2s;
}

@keyframes baubleSway {
  0% { transform: rotate(-4deg); }
  100% { transform: rotate(5deg); }
}

/* Christmas Voucher Card 3D */
.voucher-card.christmas-card {
  overflow: visible !important;
  background: #ffffff;
  border: 2.5px solid var(--blue);
  box-shadow: 0 25px 65px rgba(0, 102, 255, 0.22),
              0 10px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.voucher-card.christmas-card:hover {
  transform: translateY(-8px) rotate(-3deg) scale(1.02) !important;
  box-shadow: 0 35px 80px rgba(0, 102, 255, 0.32),
              0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Card inner clipped background effects */
.voucher-decor-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.voucher-decor-clip .voucher-ambient-ring {
  position: absolute;
  right: -90px;
  top: -110px;
  width: 280px;
  height: 280px;
  border: 45px solid rgba(0, 102, 255, 0.06);
  border-radius: 50%;
}

/* Santa Hat on corner of voucher */
.voucher-santa-hat {
  position: absolute;
  top: -46px;
  right: -40px;
  width: 140px;
  height: 126px;
  z-index: 25;
  pointer-events: none;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.35));
  transform-origin: 50% 80%;
  animation: hatSway 5s ease-in-out infinite alternate;
}

@keyframes hatSway {
  0% { transform: rotate(14deg); }
  100% { transform: rotate(18deg) translateY(-2px); }
}

.voucher-santa-hat svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Overflowing snow cap over top edge of card */
.voucher-snow-cap {
  position: absolute;
  top: -6px;
  left: -4px;
  right: -4px;
  width: calc(100% + 8px);
  height: 52px;
  z-index: 20;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 102, 255, 0.2));
}

.voucher-snow-cap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.voucher-snow-cap .snow-sparkle {
  position: absolute;
  color: #0066ff;
  font-size: 12px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(0, 102, 255, 0.5);
  animation: sparkleTwinkle 2.5s infinite ease-in-out;
}

.voucher-snow-cap .snow-sparkle.s1 { top: 6px; left: 22%; animation-delay: 0s; }
.voucher-snow-cap .snow-sparkle.s2 { top: 12px; left: 58%; animation-delay: 1.1s; font-size: 10px; }
.voucher-snow-cap .snow-sparkle.s3 { top: 8px; left: 82%; animation-delay: 0.6s; font-size: 14px; }

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Festive badge inside card header */
.voucher-festive-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .06em;
  color: #dc2626;
  text-transform: uppercase;
}

.voucher-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 13px;
  color: #050b14;
}

.voucher-mark {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.02em;
  color: #050b14;
}

.voucher-mark em {
  color: var(--blue);
  font-style: normal;
}

.voucher-title {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #050b14;
  margin: 12px 0;
}

.voucher-title span {
  color: var(--blue);
}

.voucher-holiday-subtitle {
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  color: #dc2626;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 800;
}

.voucher-foot {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  color: #475569;
  letter-spacing: .1em;
  text-transform: uppercase;
}


/* ============================
   RESPONSIVE PAGES
   ============================ */
@media (max-width: 960px) {
  .hero-bg-overlay {
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0.85) 100%),
      url('https://images.unsplash.com/photo-1760550818717-4b948c14c5de?auto=format&fit=crop&w=1800&q=85') center right / cover no-repeat;
  }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gift-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hanging-bauble-decor {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
  }
  .hero::before {
    width: 140px;
    height: 110px;
  }
  .hero .inner {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-metric {
    width: 100%;
  }
}


/* ============================================================
   BOOKING PAGE SPECIFIC STYLES (objednavka.html)
   ============================================================ */
.page-hero {
  background: #ffffff;
  padding: 50px 0 40px;
  border-bottom: 2px solid #e2e8f0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #64748b;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--blue);
}

.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  margin: 6px 0 10px;
}

.page-hero h1 span {
  color: var(--blue);
}

.page-hero .description {
  font-size: 16px;
  color: #475569;
  font-weight: 500;
}

.booking-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}

.booking-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--announcement-height) + 20px);
}

.booking-summary-widget {
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.08);
}

.widget-subtitle {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  display: block;
  margin-bottom: 8px;
}

.widget-price-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid #e2e8f0;
  margin-bottom: 20px;
}

.widget-price-label {
  font-size: 13px;
  font-weight: 700;
  color: #050b14;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.widget-price-val {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
  font-style: italic;
  color: var(--blue);
  line-height: 1;
}

.widget-perks {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.widget-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.widget-perks li svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  stroke: var(--blue);
  flex-shrink: 0;
}

.widget-call {
  background: #f0f7ff;
  border: 1.5px solid #dbeafe;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.widget-call-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #475569;
  display: block;
  margin-bottom: 4px;
}

.widget-call-num {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  font-style: italic;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.widget-call-num:hover {
  text-decoration: underline;
}

.widget-call-num svg {
  width: 16px;
  height: 16px;
}

/* Form Multi-step visibility */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

/* Summary Card (Step 4) */
.summary-compact-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

.summary-compact-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 10px;
}

.summary-compact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sc-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #64748b;
  min-width: 110px;
}

.sc-value {
  color: #050b14;
  font-weight: 600;
  flex: 1;
}

.sc-addon-tag {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-right: 6px;
  margin-top: 4px;
}

.summary-compact-total {
  background: #f0f7ff;
  border: 2px solid var(--blue);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.summary-compact-total span {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1e293b;
}

.summary-compact-total b {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  color: var(--blue);
}

.form-message {
  margin-top: 20px;
  border-radius: 20px;
  display: none;
}

.form-message.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.form-message.success {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  padding: 0;
  box-shadow: 0 15px 45px rgba(0, 102, 255, 0.08);
  overflow: hidden;
}

.booking-success-clean {
  padding: 44px 32px;
  text-align: center;
}

.success-icon-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 2px solid #bbf7d0;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.18);
  animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrap svg {
  width: 38px;
  height: 38px;
  stroke: #16a34a;
}

@keyframes scalePop {
  0%   { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  color: #050b14;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 14px;
  line-height: 1.25;
}

.success-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 28px;
}

.success-desc strong {
  color: #050b14;
  font-weight: 700;
}

.success-call-box {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px 24px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.success-call-subtitle {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  margin-bottom: 8px;
}

.success-call-box p {
  font-size: 14.5px;
  color: #475569;
  margin: 0 0 18px;
  line-height: 1.5;
}

.success-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: #ffffff !important;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
  transition: all var(--duration-fast) var(--ease);
}

.success-call-btn:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.45);
}

.form-message.error {
  display: block;
  background: #fef2f2;
  border: 2px solid #ef4444;
  color: #b91c1c;
  padding: 24px;
  border-radius: 16px;
}

@media (max-width: 860px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .booking-sidebar {
    position: static;
  }
  .summary-compact-row {
    flex-direction: column;
    gap: 4px;
  }
  .sc-label {
    min-width: 0;
  }
}
