/* =========================================================
   Lady Diane's Flowers — B2B site
   Design system per brand spec (catalog 2026)
   ========================================================= */

:root {
  --purple:      #482344;
  --purple-deep: #3A1B36;
  --gold:        #C3A572;
  --cream:       #FBF8F4;
  --white:       #FFFFFF;
  --ink:         #241F28;
  --gray:        #6E6873;
  --green:       #5F7355;
  --line:        #E9DCC8;

  --font-serif: 'Noto Serif Hebrew', 'Frank Ruhl Libre', Georgia, serif;
  --font-sans:  'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-latin: 'Cormorant Garamond', Georgia, serif;

  --container: 1200px;
  --sec-pad: 100px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--purple);
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: 52px; line-height: 1.25; }
h2 { font-size: 36px; line-height: 1.35; }
h3 { font-size: 24px; line-height: 1.4; font-weight: 600; }

p { margin: 0 0 1em; }

.lead { font-size: 18px; font-weight: 300; line-height: 1.8; }
.muted { color: var(--gray); }
.small { font-size: 13px; line-height: 1.6; }

/* English tag over Hebrew headings (and Hebrew tag on EN pages) */
.eyebrow {
  font-family: var(--font-latin);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: .28em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
[dir="ltr"] .eyebrow { font-family: var(--font-sans); font-weight: 600; font-size: 12px; }

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

section { padding-block: var(--sec-pad); }
section.tight { padding-block: calc(var(--sec-pad) * .6); }
.bg-cream { background: var(--cream); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

.center { text-align: center; }
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: 56px; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; top: -60px; inset-inline-start: 16px;
  background: var(--purple); color: #fff;
  padding: 10px 20px; border-radius: 0 0 10px 10px;
  z-index: 300; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 78px;
}
.logo img { height: 52px; width: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-weight: 600; font-size: 15px; color: var(--ink);
  padding: 6px 2px; border-bottom: 2px solid transparent;
  white-space: nowrap;
}
/* the in-menu CTA is for the mobile menu only */
.main-nav .nav-cta { display: none; }
.main-nav a:hover { color: var(--purple); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--purple); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.main-nav + .header-actions { margin-inline-start: 0; }

.lang-switch {
  font-weight: 600; font-size: 14px; color: var(--gray);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px;
}
.lang-switch:hover { color: var(--purple); border-color: var(--gold); text-decoration: none; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 8px;
  color: var(--purple);
}
.nav-toggle svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--purple); color: #fff;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 14px 32px; border-radius: 999px;
  border: 1px solid var(--purple);
  cursor: pointer;
  transition: background .18s, border-color .18s;
  text-align: center;
}
.btn:hover { background: #381B35; border-color: #381B35; color: #fff; text-decoration: none; }

.btn-outline {
  background: transparent; color: var(--purple);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: rgba(195,165,114,.12); color: var(--purple); }

.btn-light { background: #fff; color: var(--purple); border-color: #fff; }
.btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--purple); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding-block: 72px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 34em; }
.hero-img img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.hero-img.hero-catalog {
  width: 100%;
  max-width: min(480px, 100%);
  min-width: 0;
  margin-inline: auto;
}
.hero-img.hero-catalog img {
  max-width: min(480px, 100%);
  box-shadow: 0 24px 44px -28px rgba(58, 27, 54, .3);
}

/* ---------- trust band ---------- */
.band {
  background: var(--purple-deep);
  color: #fff;
  padding-block: 34px;
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.band-item { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center; }
.band-item svg { width: 30px; height: 30px; color: var(--gold); flex: 0 0 auto; }
.band-item span { font-size: 15px; font-weight: 600; }

/* ---------- imagery ---------- */
.framed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.framed img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- strengths ---------- */
.strength { border-top: 2px solid var(--gold); padding-top: 22px; }
.strength h3 { font-size: 20px; margin-bottom: 8px; }
.strength p { color: var(--gray); font-size: 15px; margin: 0; }

/* ---------- feature list (partnership points) ---------- */
.points {
  columns: 2; column-gap: 64px;
  list-style: none; margin: 0; padding: 0;
  max-width: 900px; margin-inline: auto;
}
.points li {
  break-inside: avoid;
  display: flex; gap: 12px; align-items: flex-start;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.points svg { width: 22px; height: 22px; color: var(--gold); flex: 0 0 auto; margin-top: 6px; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.step { text-align: center; }
.step .num {
  font-family: var(--font-latin);
  color: var(--gold); font-size: 30px; line-height: 1;
  display: block; margin-bottom: 10px;
}
.step svg { width: 34px; height: 34px; color: var(--purple); margin-bottom: 10px; }
.step h3 { font-size: 17px; font-family: var(--font-sans); font-weight: 600; color: var(--ink); margin: 0; }

/* vertical process (grower-to-shelf page) */
.steps-v { max-width: 760px; margin-inline: auto; display: grid; gap: 0; }
.step-v {
  display: grid; grid-template-columns: 90px 1fr; gap: 28px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step-v:last-child { border-bottom: 0; }
.step-v .num {
  font-family: var(--font-latin);
  font-size: 52px; color: var(--gold); line-height: 1;
}
.step-v h3 { margin-bottom: 6px; }
.step-v p { color: var(--gray); margin: 0; }

/* ---------- cards / repeater ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  display: flex; flex-direction: column;
}
.card .card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card .card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; }
.card p { color: var(--gray); font-size: 15px; margin: 0; flex: 1; }
.card .card-link { font-weight: 600; font-size: 15px; }

/* alternating collection rows */
.alt-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  padding-block: 44px;
  border-bottom: 1px solid var(--line);
}
.alt-row:last-of-type { border-bottom: 0; }
.alt-row:nth-child(even) .alt-img { order: 2; }

/* ---------- catalog section ---------- */
.catalog-box { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.catalog-box img {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -20px rgba(58, 27, 54, .35);
}

/* ---------- closing CTA band ---------- */
.cta-band {
  background: var(--purple-deep);
  color: #fff;
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .contact-line { font-size: 18px; margin-bottom: 26px; }
.cta-band a { color: #fff; font-weight: 600; }
.cta-band a.btn-light { color: var(--purple); }
.cta-band a.btn-light:hover { color: var(--purple); }
.cta-band .gold { color: var(--gold); }

/* ---------- gallery ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  color: var(--gray); padding: 8px 22px; cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--purple); }
.filter-btn[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-grid figure { margin: 0; }
.gallery-grid .framed { aspect-ratio: 1 / 1; }
.gallery-grid figcaption { font-size: 13px; color: var(--gray); padding-top: 8px; }
.gallery-grid .hidden { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }

.contact-info ul { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; padding-block: 10px; }
.contact-info svg { width: 22px; height: 22px; color: var(--gold); flex: 0 0 auto; margin-top: 5px; }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }
.radio-row label { font-weight: 400; display: flex; align-items: center; gap: 7px; }

.form-success {
  display: none;
  background: var(--cream); border: 1px solid var(--gold); border-radius: 10px;
  padding: 18px 22px; margin-top: 18px;
}
.form-success.show { display: block; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--purple-deep);
  color: #E8DFE6;
  padding: 64px 0 28px;
  font-size: 15px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(195,165,114,.3);
}
.site-footer img.footer-logo { height: 64px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-family: var(--font-serif); color: var(--gold); font-size: 17px; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #E8DFE6; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; font-size: 13px; color: #B9A9B6;
}

/* tighter header range: keep nav on one line before the mobile menu kicks in */
@media (max-width: 1320px) and (min-width: 1025px) {
  .header-actions .btn { display: none; }
  .main-nav ul { gap: 15px; }
  .main-nav a { font-size: 14px; }
}

/* ---------- icons ---------- */
.icon { display: inline-block; vertical-align: middle; }

/* ---------- reveal animation (opt-in via html.js so content is never hidden without JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card .card-img img { transition: none; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: 72px 40px; }
.page-hero .lead { max-width: 40em; }
.page-hero.center .lead { margin-inline: auto; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  :root { --sec-pad: 72px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  .lead { font-size: 17px; }

  .main-nav { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .header-actions { margin-inline-start: 0; }
  .header-actions .btn { display: none; }

  .band-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .catalog-box { grid-template-columns: 260px 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* mobile menu */
  .main-nav.open {
    display: block;
    position: fixed; inset: 78px 0 0 0;
    background: var(--white);
    padding: 32px 24px;
    overflow-y: auto;
    z-index: 190;
  }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a {
    display: block; font-size: 19px; padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open .nav-cta { display: block; margin-top: 20px; border-bottom: 0; }
  .main-nav.open .nav-cta a { border-bottom: 0; text-align: center; }
}

@media (max-width: 680px) {
  :root { --sec-pad: 56px; }
  body { font-size: 15px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .lead { font-size: 16px; }

  .grid-2, .alt-row, .contact-grid, .catalog-box { grid-template-columns: 1fr; gap: 32px; }
  .alt-row:nth-child(even) .alt-img { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .points { columns: 1; }
  .step-v { grid-template-columns: 56px 1fr; gap: 18px; padding-block: 24px; }
  .step-v .num { font-size: 36px; }

  .hero { padding-block: 40px; }
  .hero .grid-2 > .hero-img { order: -1; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }

  .cta-band { padding: 44px 24px; border-radius: 20px; }
  .form { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .catalog-box img { max-width: 280px; margin-inline: auto; }
  .logo img { height: 44px; }
}
