/* ============================================================
   Flowers Marrakesh — courtyard in daylight
   White paper · garden green ink · rose accent
   ============================================================ */

:root {
  --bg: oklch(1 0 0);
  --surface: oklch(0.972 0.01 150);
  --surface-2: oklch(0.945 0.015 150);
  --ink: oklch(0.24 0.025 155);
  --muted: oklch(0.45 0.025 152);
  --primary: oklch(0.53 0.14 150);
  --primary-bright: oklch(0.46 0.13 150);
  --accent: oklch(0.53 0.17 15);
  --accent-soft: oklch(0.44 0.15 15);
  --line: oklch(0.9 0.012 150);

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radius: 18px;
  --arch: 48% 48% 4px 4px / 30% 30% 4px 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --z-header: 10;
  --z-float: 20;
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 5.75rem;
  overflow-x: clip;
}

/* Keep the expanded cancellation panel clear of the sticky header after loading. */
#order-changes { scroll-margin-block-start: 1rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, min(5.4vw, 7vh), 4.2rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }

p { margin: 0 0 1em; max-width: 65ch; text-wrap: pretty; }

h1, h2, h3, p, a, li, summary, blockquote {
  overflow-wrap: anywhere;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-soft); }

::selection { background: oklch(0.85 0.07 15 / 0.6); }

:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  transform: translateY(-120%);
  top: 0;
  background: var(--primary);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: var(--z-float);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); color: white; }

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
              transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.btn:active { transform: scale(0.98); }

.btn-whatsapp {
  background: var(--primary);
  color: white;
  box-shadow: 0 3px 8px oklch(0.28 0.05 150 / 0.12);
}
.btn-whatsapp:hover {
  background: var(--primary-bright);
  color: white;
  box-shadow: 0 4px 12px oklch(0.28 0.05 150 / 0.16);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--muted); color: var(--ink); background: var(--surface); }

.btn-lg { padding: 1.15rem 1.9rem; font-size: 1.0625rem; }

.wa-icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: oklch(1 0 0 / 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.site-header.scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.85rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-inline-end: auto;
  min-width: 0;
}
.brand-mark { width: 30px; height: 30px; fill: var(--accent); flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  min-width: 0;
}
.brand-name em { display: inline-block; font-style: normal; color: var(--accent); }

.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
}
.site-nav a:hover { color: var(--ink); }

.language-switcher { position: relative; flex: none; width: fit-content; }
.mobile-menu { display: none; position: relative; flex: none; }
.mobile-menu .language-options { min-width: 12rem; max-height: 65vh; overflow-y: auto; }
.menu-icon { width: .95rem; height: .65rem; border-block: 1.5px solid currentColor; display: grid; align-items: center; }
.menu-icon::after { content: ""; border-top: 1.5px solid currentColor; }
.mobile-menu summary,
.language-switcher summary {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 44px; padding-inline: .9rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 700;
  font-size: .9rem; list-style: none; cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker, .language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after {
  content: ""; width: .45rem; height: .45rem; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: translateY(-.12rem) rotate(45deg);
}
.language-switcher[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.language-options {
  position: absolute; inset-block-start: calc(100% + .35rem); inset-inline-end: 0;
  z-index: 2; display: grid; min-width: 10rem; padding: .35rem; border: 1px solid var(--line);
  border-radius: .8rem; background: var(--bg); box-shadow: 0 8px 22px rgb(0 0 0 / .12);
}
.language-options a {
  display: flex; align-items: center; min-height: 44px; padding-inline: .75rem;
  border-radius: .45rem; color: var(--ink); font-size: .95rem; text-decoration: none;
}
.language-options a:hover { background: var(--surface); }
.language-options a[aria-current="page"] { background: var(--ink); color: white; }
.error-language { margin: 0 auto 1.4rem; }
.error-language .language-options { inset-inline-end: 0; }

/* ---------- Localized layout ---------- */

[lang="ar"] body {
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
}
[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] .brand-name,
[lang="ar"] .occasion-label,
[lang="ar"] .quote blockquote,
[lang="ar"] .signoff-line,
[lang="ar"] .footer-brand,
[lang="ar"] .faq-item summary {
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}
[dir="rtl"] .brand {
  margin-inline-start: 0;
  margin-inline-end: auto;
}
[dir="rtl"] .hero-trust li::before,
[dir="rtl"] .cta-hint::before {
  order: 2;
}
[dir="rtl"] .steps li {
  padding-left: 0;
  padding-right: 4.25rem;
}
[dir="rtl"] .steps li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .steps li::after {
  left: auto;
  right: 1.45rem;
}
[dir="rtl"] .msg time {
  right: auto;
  left: 0.7rem;
}
[dir="rtl"] .msg-out {
  padding-right: 0.8rem;
  padding-left: 2.4rem;
}
[dir="rtl"] .msg-out .ticks {
  right: auto;
  left: 2.55rem;
}
[dir="rtl"] #open-status {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

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

.hero { position: relative; overflow: hidden; padding-block: 0; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.05fr 1fr;
  padding-block: clamp(1.5rem, 3.6vw, 3rem);
}

.hero { padding-block: 0; }
.hero-copy h1 { max-width: 15ch; margin-bottom: .35em; font-size: clamp(2.45rem, 4.8vw, 4.25rem); line-height: 1.05; }
.hero-copy { min-width: 0; width: 100%; max-width: 590px; }

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.9rem; margin-bottom: 2.25rem; }

.cta-group { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.cta-hint {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cta-hint::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.62 0.17 150);
  flex: none;
}

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 500;
}
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-visual { margin: 0; overflow: hidden; border-radius: 2rem; background: var(--surface); }
.hero-visual picture { display: block; }
.hero-visual img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 60%; }

/* ---------- Sections ---------- */

section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero-copy .hero-actions { margin-block-end: .8rem; }
.hero-copy .cta-hint { display: block; font-size: .92rem; line-height: 1.45; max-width: 55ch; }
.hero-copy .cta-hint::before { display: none; }
.hero-copy .cta-hint.accepting-requests { display: flex; }
.hero-copy .cta-hint.accepting-requests::before { display: block; }
.hero-copy .hero-trust { border-block-start: 1px solid var(--line); margin-block-start: 1.25rem; padding-block-start: .85rem; }

.section-head { max-width: 62ch; margin-bottom: clamp(1.25rem, 3vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Collection ---------- */

.collection { background: var(--surface); border-block: 1px solid var(--line); }

.bouquet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem);
}

.bouquet { display: flex; flex-direction: column; min-width: 0; }

.bouquet-photo {
  display: block;
  flex: none;
  overflow: hidden;
  border-radius: 3px;
}
.bouquet-photo picture { display: block; }
.bouquet-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.bouquet-photo:hover img,
.bouquet-photo:focus-visible img { transform: scale(1.04); }

.bouquet-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding-top: 1.1rem; }
.bouquet-info h3 { margin-bottom: 0.25em; }
.bouquet-info p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.7em; }
.bouquet-info .order-link { margin-block-start: auto; }

@media (max-width: 899px) {
  .bouquet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .bouquet-grid { column-gap: 1rem; row-gap: 2rem; }
  .bouquet-info { padding-top: .8rem; }
  .bouquet-info h3 { font-size: 1.15rem; line-height: 1.25; }
  .bouquet-info p { font-size: .9rem; line-height: 1.5; }
  .bouquet-info .order-link { font-size: .85rem; line-height: 1.4; }
}
@media (max-width: 359px) {
  .bouquet-grid { grid-template-columns: 1fr; }
}

.order-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid oklch(0.53 0.17 15 / 0.4);
  padding-block: 0.55rem 0.45rem; /* comfortable mobile tap target */
  margin-block: -0.35rem;
  transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.order-link:hover { color: var(--accent-soft); border-bottom-color: var(--accent-soft); }

.collection-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 1rem;
  max-width: 58ch;
}

/* ---------- How it works ---------- */

.how-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.how-photo { margin: 0; }
.how-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--arch);
  border: 1px solid var(--line);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 2.25rem;
  padding: 0;
  display: grid;
  gap: 1.9rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 4.25rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  width: 2.9rem;
  text-align: center;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 3rem;
  bottom: -1.4rem;
  width: 1px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { color: var(--muted); font-size: 0.975rem; margin: 0; }

/* ---------- Occasions ---------- */

.occasions { background: var(--surface); border-block: 1px solid var(--line); }

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.occasion {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--arch);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4.2;
}
.occasion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.occasion:hover img,
.occasion:focus-visible img { transform: scale(1.05); }

.occasion-label {
  position: absolute;
  inset: auto 0 0;
  padding: 2.6rem 1rem 1.05rem;
  text-align: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.15rem;
  background: linear-gradient(to top, oklch(0.2 0.03 155 / 0.85), transparent);
}

/* ---------- Trust ---------- */

.trust-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  margin-bottom: 0;
}

.trust-copy { display: grid; gap: clamp(1.4rem, 2.5vw, 2rem); }
.trust-copy h2 { margin-bottom: 0.4em; }

.trust-item {
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
}
.trust-item h3 { margin-bottom: 0.4em; }
.trust-item p { color: var(--muted); font-size: 0.975rem; margin: 0; }

/* --- WhatsApp chat mockup --- */

.chat-demo {
  margin: 0;
  justify-self: center;
  width: min(100%, 400px);
  align-self: center;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--primary);
  color: white;
  padding: 0.85rem 1.1rem;
  border-radius: 22px 22px 0 0;
}
.chat-avatar { width: 38px; height: 38px; color: white; flex: none; }
.chat-name { display: block; font-weight: 700; font-size: 0.975rem; line-height: 1.25; }
.chat-status { display: block; font-size: 0.85rem; color: white; }

.chat-body {
  display: grid;
  gap: 0.55rem;
  background: oklch(0.955 0.018 145);
  padding: 1.1rem;
  border-inline: 1px solid var(--line);
}

.msg {
  position: relative;
  max-width: 85%;
  margin: 0;
  padding: 0.6rem 0.8rem 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
  border-radius: 12px;
  box-shadow: 0 1px 1px oklch(0.3 0.03 155 / 0.08);
}
.msg time {
  position: absolute;
  right: 0.7rem;
  bottom: 0.25rem;
  font-size: 0.66rem;
  color: var(--muted);
}
.msg-in { background: white; justify-self: start; border-top-left-radius: 4px; }
.msg-out {
  background: oklch(0.91 0.055 145);
  justify-self: end;
  border-top-right-radius: 4px;
  padding-right: 2.4rem;
}
.msg-out .ticks {
  position: absolute;
  right: 2.55rem;
  bottom: 0.22rem;
  font-size: 0.66rem;
  letter-spacing: -0.12em;
  color: oklch(0.62 0.11 240);
}
.msg-out time { right: 0.7rem; }

.msg-photo { padding: 0.35rem 0.35rem 1.1rem; max-width: 62%; }
.msg-photo img { border-radius: 9px; }

.chat-caption {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 22px 22px;
  padding: 0.8rem 1.1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}



/* ---------- Areas ---------- */

.delivery-service-link { margin-block: 1.25rem 0; }
.delivery-service-link a {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 0.2em;
}
.delivery-service-link a:hover { color: var(--accent-soft); }

.area-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 780px;
}
.area-list .area-link {
  padding: 0;
  overflow: hidden;
  border-color: var(--primary);
  background: color-mix(in oklch, var(--surface) 86%, var(--primary) 14%);
}
.area-list .area-link a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  color: var(--primary-bright);
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.area-list .area-link a::after {
  content: "→";
  font-size: 0.875em;
  transition: transform 160ms var(--ease-out);
}
.area-list .area-link a:hover,
.area-list .area-link a:focus-visible {
  color: var(--bg);
  background: var(--primary);
}
.area-list .area-link a:hover::after,
.area-list .area-link a:focus-visible::after { transform: translateX(0.2rem); }
[dir="rtl"] .area-list .area-link a::after { transform: scaleX(-1); }
[dir="rtl"] .area-list .area-link a:hover::after,
[dir="rtl"] .area-list .area-link a:focus-visible::after { transform: scaleX(-1) translateX(0.2rem); }.area-list li {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--surface);
}

.area-landmarks-intro {
  margin: 2.25rem 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- FAQ ---------- */

.faq { background: var(--surface); border-block: 1px solid var(--line); }

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  flex: none;
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent-soft); }
.faq-item p { color: var(--muted); padding-bottom: 1.4rem; margin: 0; }

/* ---------- Closer ---------- */

.closer { text-align: center; }
.closer .wrap-narrow { display: grid; justify-items: center; }
.closer h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.closer p { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }

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

/* Deep-green closing band: bookends the white page in the brand color */
.site-footer {
  --f-ink: oklch(0.96 0.008 150);
  --f-muted: oklch(0.82 0.02 150);
  --f-rose: oklch(0.82 0.09 15);
  --f-line: oklch(0.34 0.035 155);
  background: oklch(0.22 0.035 155);
  color: var(--f-muted);
  padding-block: clamp(2rem, 5vw, 4rem) 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .65fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--f-ink);
  margin-bottom: 0.4rem;
}
.footer-brand em { font-style: normal; color: var(--f-rose); }
.footer-heading {
  font-weight: 700;
  color: var(--f-ink);
  margin-bottom: 0.4rem;
}
.site-footer p { margin-bottom: 0.4rem; }
.site-footer a { color: var(--f-rose); }
.site-footer a:hover { color: var(--f-ink); }

.footer-support { margin-block: 1rem .7rem; }
.footer-contact { min-width: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.footer-areas { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.footer-areas li:last-child { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-contact { grid-column: auto; }
}

/* Live open/closed indicator (set by script.js from Morocco time) */
#open-status { display: flex; align-items: flex-start; gap: 0.5rem; }
.open-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--f-muted);
  flex: none;
  margin-top: 0.5em; /* optically centers on the first text line */
}
#open-status.is-open .open-dot {
  background: oklch(0.78 0.19 150);
  box-shadow: 0 0 0 0 oklch(0.78 0.19 150 / 0.55);
}
@media (prefers-reduced-motion: no-preference) {
  #open-status.is-open .open-dot { animation: pulse 2.4s var(--ease-out) infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.78 0.19 150 / 0.55); }
  70% { box-shadow: 0 0 0 7px oklch(0.78 0.19 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.19 150 / 0); }
}

.footer-legal {
  border-top: 1px solid var(--f-line);
  padding-top: 1.5rem;
}
.footer-legal p { font-size: 0.85rem; max-width: none; }
.footer-privacy { max-width: 65ch; margin-bottom: .75rem; }
.footer-privacy summary { cursor: pointer; width: fit-content; padding-block: .5rem; }
.footer-privacy p { margin-block: .5rem 1rem; overflow-wrap: anywhere; }

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px oklch(0.3 0.04 155 / 0.35);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out),
              background-color 0.25s var(--ease-out);
}
.wa-float:hover { background: var(--primary-bright); color: white; }
.wa-float.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  visibility: hidden;
}
.wa-float .wa-icon { width: 1.35em; height: 1.35em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

@media (max-width: 960px) {
  .site-nav { display: none; }
  .mobile-menu { display: block; }

  .hero-copy h1 { max-width: 18ch; }

  .how-grid { grid-template-columns: 1fr; }
  .how-photo { max-width: 420px; margin-inline: auto; width: 100%; order: 1; }
  .how-copy { order: 0; }

  .trust-layout { grid-template-columns: 1fr; }
  .chat-demo { transform: none; }
}

@media (max-width: 700px) {
  .header-inner { gap: .5rem; padding-block: .25rem; }
  .header-inner .btn-header { display: none; }
  .header-inner .language-switcher { margin-inline-start: auto; flex: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 1.4rem 1.5rem; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-visual { border-radius: 1.25rem; }
  .hero-visual img { aspect-ratio: 1.6 / 1; object-position: center 48%; }
}
@media (max-width: 560px) {
  .header-inner { padding-inline: clamp(.7rem, 4vw, 1.2rem); }
  .header-inner .brand { gap: .3rem; }
  .header-inner .brand-name { font-size: .97rem; line-height: 1.18; }
  .header-inner .brand-name em { display: block; }
  .header-inner .brand-mark { width: 22px; height: 24px; }
  .hero-lede { margin-bottom: 1.2rem; }
  .hero-actions { gap: .45rem .85rem; margin-bottom: 1rem; align-items: flex-start; }
  .hero-actions .btn { padding: .88rem 1.1rem; font-size: .96rem; line-height: 1.2; justify-content: center; }
  .hero-actions .btn-ghost { background: transparent; padding-inline: .15rem; border: none; border-radius: 0; text-decoration: underline; text-underline-offset: .3em; }
  .cta-group { align-items: flex-start; max-width: 100%; }
  .cta-hint { font-size: .81rem; }
  .hero-trust { font-size: .88rem; gap: .25rem .9rem; }

  .occasion-grid { grid-template-columns: repeat(2, 1fr); }

  .wa-float-label { display: none; }
  .wa-float { padding: 0.95rem; }
}

@media (max-width: 380px) {
  .header-inner { gap: .25rem; padding-inline: .6rem; }
  .header-inner .language-switcher summary,
  .header-inner .mobile-menu summary { gap: .35rem; padding-inline: .45rem; min-width: 44px; }
}

/* A note to the florist: optional details for a custom bouquet. */
.bouquet-brief {
  border-block: 1px solid var(--line);
  margin-block: 1.5rem 0;
  padding-block: .25rem;
}
.bouquet-brief summary {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding-block: 1rem; min-height: 48px; list-style: none;
  cursor: pointer; font: 400 clamp(1.25rem, 2vw, 1.65rem)/1.3 var(--font-display);
}
.bouquet-brief summary::-webkit-details-marker { display: none; }
.bouquet-brief summary::after { content: ""; width: .7rem; height: .7rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); margin-inline-end: .4rem; }
.bouquet-brief[open] summary::after { transform: rotate(225deg); }
.bouquet-brief p { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.bouquet-brief form { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; padding: 0 0 1.15rem; }
.bouquet-brief label { display: grid; gap: .3rem; color: var(--ink); font-weight: 700; font-size: .94rem; }
.bouquet-brief input:not([type="hidden"]) {
  width: 100%; min-width: 0; min-height: 46px; padding: .55rem .7rem; background: var(--bg); border: 1px solid oklch(.65 .025 150);
  border-radius: .35rem; color: var(--ink); font: 400 1rem/1.4 var(--font-body); caret-color: var(--accent); color-scheme: light;
}
.bouquet-brief button { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; line-height: 1.3; }
[lang="ar"] .bouquet-brief summary { font-family: inherit; font-weight: 700; }
.bouquet-brief input::placeholder { color: var(--muted); }
.site-footer :focus-visible { outline-color: var(--f-rose); }
@media (max-width: 600px) { .bouquet-brief form { grid-template-columns: 1fr; } }

.customer-review { margin: 0; padding: clamp(1.25rem, 3.5vw, 2.8rem); background: var(--surface); border-block: 1px solid var(--line); }
.customer-review blockquote { margin: 1rem 0; font: 400 clamp(1.2rem, 2vw, 1.55rem)/1.5 var(--font-display); color: var(--ink); }
[lang="ar"] .customer-review blockquote { font-family: inherit; }
.customer-review figcaption { color: var(--muted); font-size: .95rem; }

.customer-review .note-context { font-size: .95rem; color: var(--muted); margin: 1.25rem 0 .25rem; }
.customer-review .note-context + blockquote { margin-block-start: .25rem; }
.customer-review figcaption { margin-block-start: 1.25rem; }
.customer-review .note-original summary { display: list-item; width: fit-content; padding-block: .6rem; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.customer-review .note-original p { line-height: 1.55; margin-block: .35rem .7rem; text-align: start; }
.customer-review .note-original summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.analytics-settings {
  display: block;
  margin-inline: auto;
  min-height: 44px;
  padding: .4rem .75rem;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.analytics-notice {
  position: fixed;
  z-index: calc(var(--z-float) + 1);
  inset-inline-start: max(.75rem, env(safe-area-inset-left), env(safe-area-inset-right));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  width: min(25rem, calc(100% - 1.5rem));
  max-height: 65vh;
  overflow: auto;
  padding: 1rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--bg);
  box-shadow: 0 .25rem 1.25rem rgb(0 0 0 / .12);
  text-align: start;
}
.analytics-notice[hidden] { display: none; }
.analytics-notice p { margin: 0 0 .75rem; font-size: .9375rem; line-height: 1.4; }
.analytics-actions { display: flex; gap: .5rem; }
.analytics-actions button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: .5rem .65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  font: 600 .875rem/1.2 var(--font-body);
  cursor: pointer;
}
.analytics-actions button:hover { border-color: var(--primary); }
.analytics-actions button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 40rem) {
  body:has(.analytics-notice:not([hidden])) .wa-float { visibility: hidden; }
}
