/* ==========================================================================
   Řeznictví a uzenářství Švirák — hlavní stylesheet
   Paleta vychází z loga firmy: sytá červená, teplá černá, krémová bílá.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --red: #c31423;
  --red-dark: #8f0e1a;
  --red-light: #e94b3c;
  --ink: #201a17;
  --ink-soft: #4d443e;
  --ink-faint: #7a6f67;
  --cream: #faf5ec;
  --cream-dark: #f2e9d8;
  --paper: #fffdf9;
  --line: #e6dcc9;
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(32, 26, 23, 0.06);
  --shadow-md: 0 12px 32px rgba(32, 26, 23, 0.1);
  --shadow-lg: 0 24px 60px rgba(32, 26, 23, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
  padding: 0;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 1.7rem + 3vw, 4.2rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--ink-soft);
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-soft);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(56px, 6vw, 108px);
}

.section--tight {
  padding-block: clamp(40px, 4vw, 72px);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
}

.section--ink h2,
.section--ink h3,
.section--ink p {
  color: var(--cream);
}

.section--paper {
  background: var(--paper);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250, 245, 236, 0.35);
}

.btn-ghost-light:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 245, 236, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--cream-dark);
}

.main-nav a.is-active {
  color: var(--red);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  flex-shrink: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    padding: 100px 32px 40px;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    font-size: 1.4rem;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .header-phone span {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-bar {
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .brand-text span {
    display: none;
  }

  .header-actions .btn-primary {
    padding: 12px 16px;
    font-size: 0.86rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 13, 0.35) 0%, rgba(20, 15, 13, 0.55) 55%, rgba(20, 15, 13, 0.92) 100%);
}

.hero-inner {
  padding-block: 64px 72px;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 245, 236, 0.14);
  border: 1px solid rgba(250, 245, 236, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero h1 em {
  color: #ffb199;
  font-style: normal;
}

.hero p {
  color: rgba(250, 245, 236, 0.86);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--ink);
  color: var(--cream);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-block: 40px;
}

.stat-item {
  text-align: center;
  border-left: 1px solid rgba(250, 245, 236, 0.14);
}

.stat-item:first-child {
  border-left: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem);
  color: var(--white);
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(250, 245, 236, 0.68);
  margin-top: 4px;
}

@media (max-width: 760px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .stat-item:nth-child(3) {
    border-left: none;
  }
}

/* ---------- Value / feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--red);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ---------- About teaser / split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media {
    order: 0;
  }
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.2;
}

.split-media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.split-media-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--red);
  line-height: 1;
}

.split-media-badge span {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.split-body p {
  margin-bottom: 16px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Product cards ---------- */
.tag-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.tag-nav button {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--paper);
  transition: all 0.2s var(--ease);
}

.tag-nav button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tag-nav button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.product-category {
  margin-bottom: 56px;
}

.product-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.product-category-head h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem);
}

.product-category-count {
  font-size: 0.85rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

.product-category-desc {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-dark);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}

.product-card-body {
  padding: 16px 18px 18px;
}

.product-card-body h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card-tag {
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.4;
}

/* ---------- Timeline (O nás) ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -49px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  max-width: 620px;
}

/* ---------- Quote block ---------- */
.quote-block {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  position: relative;
}

.quote-block::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--red);
  opacity: 0.25;
  position: absolute;
  top: 6px;
  left: 24px;
  line-height: 1;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  color: var(--ink);
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.quote-attribution {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-attribution strong {
  display: block;
  font-size: 0.95rem;
}

.quote-attribution span {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ---------- Services ---------- */
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}

.service-row:first-child {
  padding-top: 0;
}

.service-row:last-child {
  border-bottom: none;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
}

.service-row h3 {
  margin-bottom: 10px;
}

.service-row p {
  max-width: 640px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill-list li {
  font-size: 0.82rem;
  padding: 6px 14px;
  background: var(--cream-dark);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- Banner CTA (zabijačka) ---------- */
.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 14, 12, 0.92) 20%, rgba(20, 14, 12, 0.55) 65%, rgba(20, 14, 12, 0.15) 100%);
  z-index: -1;
}

.promo-banner-body {
  padding: clamp(28px, 5vw, 56px);
  max-width: 520px;
}

.poster-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.poster-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-banner .eyebrow {
  color: #ffb199;
}

.promo-banner .eyebrow::before {
  background: #ffb199;
}

.promo-banner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.promo-banner p {
  color: rgba(250, 245, 236, 0.85);
  margin-bottom: 24px;
}

/* ---------- Contact / hours ---------- */
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.info-card h3 {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--red);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table tr {
  border-bottom: 1px solid var(--line);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 10px 0;
  color: var(--ink-soft);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

.hours-table tr.is-today {
  color: var(--red);
}

.hours-table tr.is-today td {
  color: var(--red);
  font-weight: 700;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-line:last-child {
  margin-bottom: 0;
}

.contact-line svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-line strong {
  display: block;
  font-size: 0.98rem;
}

.contact-line span,
.contact-line a {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.contact-line a:hover {
  color: var(--red);
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(195, 20, 35, 0.1);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 6px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-alert {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-alert.success {
  background: #e5f4e9;
  color: #256b3c;
}

.form-alert.error {
  background: #fbe6e5;
  color: var(--red-dark);
}

/* ---------- Downloads page ---------- */
.download-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.download-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-icon svg {
  width: 28px;
  height: 28px;
}

.download-meta {
  flex: 1;
}

.download-meta h3 {
  margin-bottom: 4px;
}

.download-meta span {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .download-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
}

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 245, 236, 0.75);
  padding-top: clamp(52px, 6vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 245, 236, 0.12);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(250, 245, 236, 0.6);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(250, 245, 236, 0.72);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(250, 245, 236, 0.72);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 0.82rem;
  color: rgba(250, 245, 236, 0.5);
  flex-wrap: wrap;
}

.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(250, 245, 236, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.back-to-top:hover {
  background: rgba(250, 245, 236, 0.1);
  transform: translateY(-2px);
}

/* ---------- Breadcrumb / page header ---------- */
.page-header {
  padding-block: clamp(52px, 7vw, 96px) clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.page-header .eyebrow {
  color: var(--red);
}

.page-header h1 {
  max-width: 760px;
}

.page-header p {
  max-width: 600px;
  margin-top: 16px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* ---------- Misc utilities ---------- */
.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-strip img {
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}
