/* ==========================================================================
   Bar NovýTáta 007 – Točená zmrzlina
   ========================================================================== */

:root {
  --color-black: #0a080b;
  --color-black-soft: #121212;
  --color-red: #c31f2c;
  --color-red-dark: #8f1520;
  --color-white: #f5f5f2;
  --color-gray: #2c2c2c;
  --color-gray-light: #9a9a9a;
  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Logo (header) ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 152px;
  width: auto;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.social-icons {
  display: flex;
  align-self: flex-start;
  margin: 4px 0 0;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.social-icons a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--color-black);
  padding: 200px 0 24px;
  height: 600px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: flex-start;
  gap: 24px;
}

.hero-heading {
  font-size: clamp(44px, 7.5vw, 90px);
  line-height: 0.95;
  font-weight: 700;
}

.hero-heading .line {
  display: block;
}

.line-white { color: var(--color-white); }
.line-red { color: var(--color-red); }

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 1.5px;
  margin: 18px 0 0;
  color: var(--color-white);
}

.accent-rule {
  width: 90px;
  height: 3px;
  background: var(--color-red);
  border: none;
  margin: 20px 0;
}

.hero-text {
  max-width: 420px;
  color: var(--color-gray-light);
  font-size: 15px;
  margin: 0;
}

.hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: max(24px, calc((100% - 1140px) / 2));
  z-index: 1;
}

.hero-illustration {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
}

/* ---------- Offer band ---------- */

.offer {
  position: relative;
  background: var(--color-red);
  color: var(--color-black);
  padding: 80px 0;
  overflow: hidden;
}

.offer-drip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none;
}

.offer-drip span {
  position: absolute;
  top: -3px;
  width: 14px;
  background: var(--color-black);
  clip-path: polygon(0 0, 100% 0, 65% 85%, 50% 100%, 35% 85%);
}

.offer-drip span:nth-child(1) { left: 14%; height: 16px; }
.offer-drip span:nth-child(2) { left: 18%; height: 36px; width: 18px; }
.offer-drip span:nth-child(3) { left: 22%; height: 14px; }
.offer-drip span:nth-child(4) { left: 78%; height: 24px; }
.offer-drip span:nth-child(5) { left: 83%; height: 14px; }

.offer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.offer-eyebrow {
  display: inline-block;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-heading);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  padding: 12px 30px;
  border-radius: 999px;
}

.offer-flavors {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.flavor-card {
  background: var(--color-black);
  border-radius: 18px;
  padding: 22px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.flavor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 245, 242, 0.08);
  color: var(--color-white);
  margin-bottom: 2px;
}

.flavor-tag {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
}

.flavor-name {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-white);
}

.flavor-card--dynamic {
  position: relative;
  padding: 34px 50px;
  min-width: 260px;
  border: 3px solid var(--color-white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(245, 245, 242, 0.4);
  animation: offer-glow 2.6s ease-in-out infinite;
}

.flavor-card--dynamic .flavor-icon {
  width: 66px;
  height: 66px;
  background: rgba(245, 245, 242, 0.16);
}

.flavor-card--dynamic .flavor-name {
  font-size: clamp(34px, 4.6vw, 48px);
}

.flavor-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--color-white);
  color: var(--color-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

@keyframes offer-glow {
  0%, 100% { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(245, 245, 242, 0.4); }
  50% { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(245, 245, 242, 0); }
}

.offer-plus {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1;
}

.offer-promo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  border: 2px solid var(--color-black);
  border-radius: 999px;
  padding: 12px 26px 12px 12px;
}

.promo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-black);
  flex-shrink: 0;
}

.promo-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-black);
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--color-black);
  padding: 56px 0;
}

.price-box {
  position: relative;
  border: 3px solid var(--color-red);
  border-radius: 20px;
  padding: 44px 32px 8px;
  overflow: hidden;
}

.price-drip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 34px;
  pointer-events: none;
}

.price-drip span {
  position: absolute;
  top: -3px;
  width: 12px;
  height: 18px;
  background: var(--color-red);
  clip-path: polygon(0 0, 100% 0, 65% 85%, 50% 100%, 35% 85%);
}

.price-drip span:nth-child(1) { left: 5%; height: 14px; }
.price-drip span:nth-child(2) { left: 8.5%; height: 30px; width: 15px; }
.price-drip span:nth-child(3) { left: 12%; height: 12px; }
.price-drip span:nth-child(4) { left: 47%; height: 20px; }
.price-drip span:nth-child(5) { left: 59%; height: 12px; }

.price-note {
  position: absolute;
  top: 24px;
  right: 32px;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-gray-light);
  text-align: right;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.price-col {
  padding: 0 28px;
}

.price-col:not(:first-child) {
  border-left: 1px solid var(--color-red);
}

.price-col-title {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.1;
  margin-bottom: 22px;
}

.price-col-title .t-white,
.price-col-title .t-red {
  display: block;
}

.price-col-title .t-white { color: var(--color-white); }
.price-col-title .t-red { color: var(--color-red); }

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item:last-child { border-bottom: none; }

.price-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.price-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.price-label {
  font-size: 14.5px;
  color: var(--color-white);
}

.unit-red { color: var(--color-red); font-weight: 600; }

.price-label-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.price-name {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.price-sub { color: var(--color-red); font-size: 12px; }

.price-value {
  margin-left: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--color-white);
  white-space: nowrap;
}

/* ---------- Features ---------- */

.features {
  background: var(--color-black);
  padding: 48px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 12px;
  position: relative;
}

.feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(255,255,255,0.12);
  display: none;
}

@media (min-width: 861px) {
  .feature:not(:last-child)::after { display: block; }
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--color-red);
  color: var(--color-red);
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 13.5px;
  color: var(--color-gray-light);
  margin: 0;
  max-width: 220px;
}

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

.site-footer {
  background: var(--color-black);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-location {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--color-gray-light);
}

.footer-location address {
  font-style: normal;
}

.footer-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gray-light);
  margin: 0 0 4px;
}

.footer-strong {
  color: var(--color-white);
  font-weight: 600;
  margin: 0 0 4px;
}

.footer-location p { margin: 0 0 4px; }

.footer-note {
  font-size: 12px;
  opacity: 0.75;
}

.footer-phone {
  color: var(--color-white);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: var(--color-red);
}

.footer-copy {
  font-size: 12px;
  color: var(--color-gray-light);
  text-align: center;
  margin: 0;
  flex: 1 0 100%;
  order: 3;
}

.footer-social {
  text-align: right;
}

.footer-social .footer-label { text-align: right; }

.footer-social .social-icons {
  justify-content: flex-end;
}

@media (min-width: 641px) {
  .footer-copy { flex: 0 1 auto; order: 0; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text { margin: 0 auto; }
  .accent-rule { margin: 20px auto; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }

  .price-note { position: static; text-align: left; margin: -6px 0 24px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-col { padding: 0; margin-top: 32px; }
  .price-col:first-child { margin-top: 0; }
  .price-col:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--color-red);
    padding-top: 28px;
  }
}

@media (max-width: 540px) {
  .flavor-card { min-width: 0; width: 100%; padding: 22px 24px; }
  .flavor-card--dynamic { padding: 30px 24px; }
  .flavor-badge { top: -14px; right: 50%; transform: translateX(50%); }

  .features-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature { padding: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-location { flex-direction: column; align-items: center; text-align: center; }
  .footer-social { text-align: center; }
  .footer-social .footer-label { text-align: center; }
  .footer-social .social-icons { justify-content: center; }
  .price-box { padding: 40px 20px 8px; }
}
