/* ═══════════════════════════════════════════════
   FIRSTDONATIONS — Brand Stylesheet v2
   Colors sourced from actual logo & portrait art
   ═══════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────── */
:root {
  /* Brand palette — from logo (crimson+black) and portraits (gold, cyan) */
  --crimson:       #8B0000;
  --crimson-mid:   #B01020;
  --crimson-light: #C41230;
  --gold:          #D4972A;
  --gold-light:    #E8B84B;
  --cyan:          #00A8CC;
  --black:         #0D0505;
  --near-black:    #1A0A05;
  --dark:          #2B1A10;

  /* Neutrals */
  --white:      #FFFFFF;
  --off-white:  #FAF8F5;
  --light-gray: #F2EDE8;
  --mid-gray:   #C8BEB7;
  --text:       #2B2B2B;
  --text-muted: #6B6058;

  /* Semantic */
  --success:  #2E7D52;
  --error:    #C0392B;
  --border:   #E0D8D2;

  /* Shadows */
  --shadow-sm: 0 2px 8px  rgba(13,5,5,.12);
  --shadow:    0 4px 20px rgba(13,5,5,.16);
  --shadow-lg: 0 8px 48px rgba(13,5,5,.22);
  --shadow-gold: 0 6px 24px rgba(212,151,42,.35);

  /* Shape */
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --oval: 50% / 45%;   /* for oval portrait frames */

  /* Type */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --nav-h: 76px;
  --transition: all 0.25s ease;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: var(--crimson); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--crimson-mid); }
ul { list-style: none; }
p  { margin-bottom: 1rem; }

/* ── Layout ──────────────────────────────────── */
.container  { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section--sm{ padding: 60px 0; }
.section--dark { background: var(--near-black); }
.section--alt  { background: var(--light-gray); }
.section--black{ background: var(--black); }

/* ── Typography ──────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; color: var(--black); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; color: var(--black); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 600; color: var(--black); }
h4 { font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lead { font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}
.section__title    { margin-bottom: 16px; }
.section__subtitle { color: var(--text-muted); max-width: 560px; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn--primary:hover {
  background: var(--crimson-light);
  border-color: var(--crimson-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,0,0,.4);
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--outline {
  background: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.btn--outline:hover { background: var(--crimson); color: var(--white); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--crimson);
  border-color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--light-gray); color: var(--text); }
.btn--lg  { padding: 18px 40px; font-size: 1rem; }
.btn--sm  { padding: 9px 18px; font-size: .82rem; }
.btn--full{ width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ── Navigation ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(158,211,186,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(158,211,186,0.9);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.15); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav__logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: .01em;
}
.nav__logo-text strong { color: var(--crimson); }
.nav__logo:hover .nav__logo-text { color: var(--crimson); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}
.nav__link:hover { color: var(--crimson); background: rgba(255,255,255,.35); }
.nav__link--cta {
  background: var(--crimson);
  color: var(--white) !important;
  border: 2px solid var(--crimson);
  font-weight: 700;
}
.nav__link--cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black) !important;
}
.nav__lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}
.nav__lang-switcher a {
  display: block;
  opacity: .35;
  transition: var(--transition);
  border-radius: 3px;
  line-height: 1;
}
.nav__lang-switcher a.active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--crimson);
  border-radius: 3px;
}
.nav__lang-switcher a:hover { opacity: .8; }
.nav__lang-switcher .fi {
  width: 26px;
  height: 19px;
  border-radius: 3px;
  display: block;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ────────────────────────────────────── */
.hero {
  background: var(--black);
  background-image: url('../images/hero_background.jpg');
  background-size: cover;
  background-position: center 30%;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,5,5,.72);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 65% 50%, rgba(139,0,0,.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 15% 70%, rgba(212,151,42,.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: block;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero__sub {
  color: rgba(255,255,255,.6);
  font-size: .98rem;
  margin-bottom: 28px;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .18em;
}

/* Hero steps image */
.hero__steps {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__steps img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ── Products ────────────────────────────────── */
.products { background: var(--off-white); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: var(--crimson);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light-gray);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__img-placeholder {
  font-size: 4rem;
  opacity: .3;
}
.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #F1641E;
  color: white;
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.25;
}
.product-card__desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--crimson);
  line-height: 1;
}
.product-card__price small {
  font-size: .85rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  margin-left: 4px;
}
.product-card__donation {
  font-size: .78rem;
  color: var(--success);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-card__donation::before { content: '♥'; color: var(--crimson); }
.product-card__cta {
  margin-top: 4px;
}

/* ── About ───────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: center;
}
.about__visual { position: relative; }
.about__oval {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--crimson);
  box-shadow: 8px 8px 0 var(--gold), var(--shadow-lg);
  aspect-ratio: 3/4;
  background: var(--light-gray);
}
.about__oval img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about__badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--crimson);
  color: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 3px solid var(--gold);
}
.about__badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.about__badge-text { font-size: .75rem; opacity: .85; margin-top: 4px; }
.about__content .section__title { color: var(--black); }
.about__content p { color: var(--text-muted); }
.about__quote {
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: .95rem;
  background: var(--light-gray);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Charities ───────────────────────────────── */
.charities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.charity-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px;
  background: rgba(255,255,255,.04);
  border-top: 3px solid var(--gold);
}
.charity-card h3 {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.charity-card p { color: rgba(255,255,255,.6); font-size: .93rem; line-height: 1.75; }
.charity-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: .88rem;
  margin-top: 18px;
  transition: var(--transition);
}
.charity-card a:hover { color: var(--white); gap: 10px; }

/* ── Portraits gallery (news/showcase) ───────── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--border);
  transition: var(--transition);
}
.gallery-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.gallery-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light-gray);
  border-radius: 50% / 42%;
  margin: 20px auto;
  width: 80%;
  border: 3px solid var(--crimson);
}
.gallery-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-card__body { padding: 0 20px 24px; text-align: center; }
.gallery-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--crimson);
  background: rgba(139,0,0,.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.gallery-card__body h3 { font-size: .98rem; color: var(--black); }

/* ── CTA banner ──────────────────────────────── */
.cta-banner {
  background: var(--crimson);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(212,151,42,.15) 0%, transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.75); margin-bottom: 32px; font-size: 1.08rem; }

/* ── Page hero (inner pages) ─────────────────── */
.page-hero {
  background: var(--black);
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 2px solid var(--crimson);
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.55); font-size: 1.05rem; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── Prose ───────────────────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 28px;
}
.prose h2 { font-size: 1.45rem; margin: 44px 0 14px; color: var(--black); }
.prose h3 { font-size: 1.1rem; margin: 28px 0 8px; color: var(--black); }
.prose p, .prose li { color: var(--text-muted); font-size: .97rem; line-height: 1.8; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 1rem; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--crimson); font-weight: 500; }
.prose a:hover { color: var(--crimson-light); }
.prose table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 1.5rem; }
.prose th { background: var(--light-gray); padding: 10px 14px; text-align: left; border: 1px solid var(--border); font-weight: 600; }
.prose td { padding: 10px 14px; border: 1px solid var(--border); color: var(--text-muted); }
.prose code { background: var(--light-gray); padding: 2px 6px; border-radius: 4px; font-size: .88em; }

/* ── Order Selector ──────────────────────────── */
.order-selector__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.order-select-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.order-select-card:hover {
  border-color: var(--crimson);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.order-select-card__img {
  height: 200px;
  overflow: hidden;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-select-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .35s ease;
}
.order-select-card:hover .order-select-card__img img { transform: scale(1.07); }
.order-select-card__body {
  padding: 22px;
  flex: 1;
}
.order-select-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.order-select-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
}
.order-select-card__price {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--crimson);
}
.order-select-card__price.free { color: var(--success); }
.order-select-card p {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Multi-step Form ─────────────────────────── */
.form-wrap { max-width: 700px; margin: 0 auto; }

.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.step-indicator__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}
.step-indicator__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-indicator__item.done:not(:last-child)::after { background: var(--crimson); }
.step-indicator__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 1;
  position: relative;
  transition: var(--transition);
}
.step-indicator__item.active .step-indicator__dot {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(139,0,0,.18);
}
.step-indicator__item.done .step-indicator__dot {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--white);
}
.step-indicator__label {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 7px;
  text-align: center;
  white-space: nowrap;
}
.step-indicator__item.active .step-indicator__label { color: var(--crimson); font-weight: 600; }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--crimson);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card__sub { color: var(--text-muted); font-size: .92rem; margin-bottom: 32px; }

/* ── Form Fields ─────────────────────────────── */
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: .02em;
}
.field label .req { color: var(--crimson); margin-left: 2px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .94rem;
  color: var(--text);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--crimson);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139,0,0,.1);
}
.field__hint  { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }
.field__error { font-size: .8rem; color: var(--error); margin-top: 5px; display: none; }
.field.has-error input,
.field.has-error select { border-color: var(--error); }
.field.has-error .field__error { display: block; }

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

/* ── Upload Zone ─────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--off-white);
  position: relative;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--crimson);
  background: rgba(139,0,0,.03);
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-zone__icon { font-size: 2.4rem; margin-bottom: 10px; }
.upload-zone__text { font-size: .9rem; color: var(--text-muted); }
.upload-zone__text strong { color: var(--crimson); }
.upload-zone__hint { font-size: .75rem; color: var(--mid-gray); margin-top: 4px; }

.upload-preview { display: none; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.upload-preview.visible { display: flex; }
.upload-thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--crimson);
  box-shadow: var(--shadow-sm);
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb__remove {
  position: absolute;
  top: 3px; right: 3px;
  background: rgba(0,0,0,.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: .7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-progress { height: 4px; background: var(--light-gray); border-radius: 2px; margin-top: 10px; overflow: hidden; display: none; }
.upload-progress.visible { display: block; }
.upload-progress__bar { height: 100%; background: var(--crimson); border-radius: 2px; width: 0; transition: width .3s ease; }

/* ── Styling Block ───────────────────────────── */
.styling-block {
  display: none;
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
}
.styling-block.visible { display: block; animation: fadeIn .3s ease; }
.styling-block__title {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ── Subject Block ───────────────────────────── */
.subject-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  background: var(--white);
}
.subject-block__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.subject-block__num {
  width: 30px; height: 30px;
  background: var(--crimson);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.subject-block__label { font-weight: 600; font-size: .93rem; color: var(--black); }
.add-subject-btn {
  display: none;
  width: 100%;
  padding: 16px;
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-muted);
  font-size: .9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 8px;
}
.add-subject-btn.visible { display: flex; align-items: center; justify-content: center; gap: 8px; }
.add-subject-btn:hover { border-color: var(--crimson); color: var(--crimson); background: rgba(139,0,0,.03); }

/* ── Promo Code ──────────────────────────────── */
.promo-row { display: flex; gap: 10px; }
.promo-row input { flex: 1; text-transform: uppercase; font-weight: 600; letter-spacing: .06em; }
.promo-status { font-size: .83rem; margin-top: 7px; min-height: 20px; font-weight: 500; }
.promo-status.ok  { color: var(--success); }
.promo-status.err { color: var(--error); }

/* ── Price Summary ───────────────────────────── */
.price-summary {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: .93rem;
  color: var(--text-muted);
}
.price-row.total {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-heading);
}
.price-row.discount { color: var(--success); font-weight: 600; }

/* ── Stripe ──────────────────────────────────── */
#payment-element { margin-bottom: 22px; }
.stripe-info {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: var(--text-muted);
  justify-content: center;
  margin-top: 10px;
}

/* ── Alerts ──────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.alert--error   { background: #fdecea; color: #7d1a17; border: 1px solid #f5c6c3; }
.alert--success { background: #eaf5ee; color: #1a5c35; border: 1px solid #b7dfca; }
.alert--warning { background: #fef9ec; color: #6b4c0e; border: 1px solid #f5dfa0; }

/* ── Confirmation ────────────────────────────── */
.confirm-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--crimson);
  border-radius: var(--radius);
  padding: 52px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.confirm-card__icon { font-size: 3.5rem; margin-bottom: 20px; }
.confirm-card h1 { font-size: 1.9rem; margin-bottom: 12px; }
.confirm-card p { color: var(--text-muted); margin-bottom: 6px; }
.confirm-card__order {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-left: 3px solid var(--crimson);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin: 24px 0;
  font-family: 'Courier New', monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: .1em;
}

/* ── Cookie Banner ───────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--near-black);
  border-top: 2px solid var(--crimson);
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
}
.cookie-banner__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__inner p {
  flex: 1;
  margin: 0;
  font-size: .86rem;
  color: rgba(255,255,255,.65);
}
.cookie-banner__inner a { color: var(--gold); }
.cookie-banner__actions { display: flex; gap: 10px; }

/* ── Footer ──────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.6);
  padding: 72px 0 32px;
  border-top: 2px solid var(--crimson);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer__brand .nav__logo { margin-bottom: 16px; }
.footer__brand .nav__logo-text { color: var(--white); }
.footer__brand .nav__logo-text strong { color: var(--gold); }
.footer__brand p { font-size: .87rem; color: rgba(255,255,255,.45); line-height: 1.8; }
.site-footer h4 { color: var(--gold); font-size: .68rem; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a { color: rgba(255,255,255,.55); font-size: .87rem; transition: var(--transition); }
.site-footer ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer__contact p { font-size: .87rem; margin-bottom: 8px; }
.footer__contact a { color: rgba(255,255,255,.55); }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a { color: rgba(255,255,255,.25); }
.footer__bottom a:hover { color: var(--gold); }

/* ── Utilities ───────────────────────────────── */
.text-center    { text-align: center; }
.text-muted     { color: var(--text-muted); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.d-flex          { display: flex; }
.gap-8           { gap: 8px; }
.gap-16          { gap: 16px; }
.gap-24          { gap: 24px; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.align-center    { align-items: center; }

.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1100px) {
  .products__grid   { grid-template-columns: repeat(2, 1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hero__inner      { grid-template-columns: 1fr; }
  .hero__steps      { display: none; }
  .about__grid      { grid-template-columns: 1fr; }
  .about__visual    { display: none; }
  .gallery__grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Make the phone layout more compact (less zoomed-in) than desktop:
     shrink the root size so all rem-based type + spacing scale down together */
  html { font-size: 15.5px; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(158,211,186,0.97);
    border-bottom: 2px solid rgba(158,211,186,1);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    /* Fully hidden until opened — visibility/opacity is height-independent,
       unlike translateY(-110%) which left the menu's bottom items peeking over the header */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    z-index: 199;
  }
  .nav__links.open    { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link          { width: 100%; padding: 12px 16px; }
  .nav__lang-switcher { padding: 10px 16px; }
  .nav__toggle        { display: flex; }
  .products__grid     { grid-template-columns: 1fr; }
  .charities__grid    { grid-template-columns: 1fr; }
  .gallery__grid      { grid-template-columns: 1fr; }
  .order-selector__grid { grid-template-columns: 1fr; }
  .field-row          { grid-template-columns: 1fr; }
  .field-row.col-4    { grid-template-columns: 1fr 1fr; }
  .form-card          { padding: 28px 20px; }
  .footer__grid       { grid-template-columns: 1fr; gap: 28px; }
  .section            { padding: 56px 0; }
  .footer__bottom     { justify-content: center; text-align: center; }
}

/* Very small phones — shrink a touch further */
@media (max-width: 380px) {
  html { font-size: 15px; }
}
