.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("/images/decorative/decor_8.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-bottom: 3px double #000;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: #FFF9F6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  margin-bottom: 14px;
  letter-spacing: 0.14em;
}

.hero .subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #FFF9F6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.55;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.offers-section {
  position: relative;
  padding: 56px 0;
  background-image:
    linear-gradient(rgba(255, 249, 246, 0.88), rgba(255, 249, 246, 0.92)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid #000;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(69, 39, 31, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(69, 39, 31, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.offers-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.offers-section h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.offers-lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 0.98rem;
}

.info-block {
  position: relative;
  border-bottom: 1px solid #000;
}

.info-block::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #000;
}

.info-block.ruled {
  background:
    linear-gradient(90deg, transparent 0%, rgba(226, 114, 91, 0.06) 50%, transparent 100%),
    var(--bg);
}

.info-block.ink {
  background: var(--surface);
}

.info-num {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-block h2 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #000;
  display: inline-block;
}

.info-block p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  margin-bottom: 12px;
}

.info-block ul,
.info-block ol {
  padding-left: 1.35rem;
  margin-bottom: 14px;
}

.info-block li {
  margin-bottom: 8px;
  text-align: justify;
  hyphens: auto;
}

.layout-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.layout-checklist {
  list-style: square;
}

.layout-steps {
  padding-left: 1.4rem;
  margin-bottom: 16px;
}

.layout-quote {
  font-size: 1.15rem;
  font-style: italic;
  border-left: 4px solid var(--primary);
  padding: 8px 0 8px 16px;
  margin-bottom: 16px;
  color: var(--text);
}

.layout-band {
  border: 1px solid #000;
  padding: 20px 22px;
  background: var(--surface);
}

.layout-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.stat-chip {
  border: 1px solid #000;
  padding: 10px 14px;
  min-width: 140px;
  background: var(--bg);
}

.stat-chip strong {
  display: block;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-chip span {
  font-size: 0.9rem;
  color: var(--muted);
}

.layout-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mosaic-panel {
  border: 1px solid #000;
  padding: 20px;
  background: var(--surface);
}

.layout-rail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
}

.rail-mark {
  width: 56px;
  height: 56px;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg);
}

.layout-zigzag {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.zig-item {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 14px 0;
}

.layout-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.layout-table th,
.layout-table td {
  border: 1px solid #000;
  padding: 10px 12px;
  text-align: left;
}

.layout-table th {
  background: var(--text);
  color: #FFF9F6;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.mini-card {
  border: 1px solid #000;
  padding: 16px;
  background: var(--surface);
}

.mini-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.breaking {
  display: inline-block;
  background: var(--primary);
  color: #FFF9F6;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 10px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rule-draw {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes ink-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

.hero h1 {
  animation: fade-up 0.7s ease both;
}

.hero .subtitle {
  animation: fade-up 0.7s ease 0.15s both;
}

.info-block h2 {
  position: relative;
}

.info-num {
  animation: ink-pulse 3.2s ease-in-out infinite;
}

@media (max-width: 900px) {
  .layout-split,
  .layout-mosaic,
  .layout-cards {
    grid-template-columns: 1fr;
  }

  .layout-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 250px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .offers-section {
    padding: 40px 0;
  }
}
