:root {
  --sage: #6B8F71;
  --sage-dark: #46654C;
  --rose: #E8A0B4;
  --rose-light: #F6DCE4;
  --cream: #FAF6F0;
  --cream-alt: #F2ECE2;
  --text: #2F3A31;
  --muted: #55615A;
  --white: #FFFFFF;
  --radius: 18px;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Nunito", "Quicksand", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Noto Naskh Arabic", "Noto Kufi Arabic", "Geeza Pro", "Traditional Arabic", "Segoe UI", Tahoma, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.8; }

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--sage-dark);
  margin: 0 0 .6em;
  overflow-wrap: anywhere;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--font-ar); font-weight: 700; }

h1 { font-size: clamp(2rem, 8vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 6vw, 2.3rem); text-align: center; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a { color: var(--sage-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sage-dark);
  color: var(--white);
  padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: .5rem; top: .5rem; }

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  background: rgba(250, 246, 240, .96);
  border-bottom: 1px solid var(--cream-alt);
  max-width: 100%;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  max-width: 1040px;
  margin: 0 auto;
  padding: .6rem 1rem .3rem;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sage-dark);
  text-decoration: none;
  min-width: 0;
  overflow-wrap: anywhere;
}
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.lang-switch button {
  font: inherit;
  font-size: .8rem;
  padding: .3rem .6rem;
  min-height: 32px;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: transparent;
  color: var(--sage-dark);
  cursor: pointer;
}
.lang-switch button[lang="ar"] { font-family: var(--font-ar); }
.lang-switch button[aria-pressed="true"] {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

.main-nav { max-width: 100%; }
.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: .2rem .75rem .55rem;
  max-width: 1040px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .4rem;
}
.main-nav a {
  display: inline-block;
  font-size: .85rem;
  padding: .3rem .55rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--rose-light); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, var(--rose-light) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, #DCE8DE 0, transparent 50%),
    var(--cream);
}
.hero-content { position: relative; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  color: var(--muted);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.slogan {
  font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  color: var(--muted);
  max-width: 34ch;
  margin: 0 auto 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.petal {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 60% 0 60% 0;
  background: var(--rose);
  opacity: .25;
}
.p1 { top: -30px; left: -30px; transform: rotate(20deg); }
.p2 { bottom: -40px; right: -20px; background: var(--sage); transform: rotate(-30deg); }
.p3 { top: 40%; right: 8%; width: 50px; height: 50px; opacity: .35; }

/* Buttons */
.btn {
  display: inline-block;
  max-width: 100%;
  font: inherit;
  font-weight: 700;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--sage-dark);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: normal;
}
.btn-primary { background: var(--sage-dark); color: var(--white); }
.btn-primary:hover { background: #3A5640; }
.btn-ghost { background: transparent; color: var(--sage-dark); }
.btn-ghost:hover { background: var(--rose-light); }
.btn[disabled] {
  background: #E4E1DB;
  border-color: #C9C4BB;
  color: #4F4A43;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream-alt); }
.lead {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 2rem;
}
.center { text-align: center; margin-top: 1.75rem; }
.note { text-align: center; color: var(--muted); font-size: .95rem; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(70, 101, 76, .08);
  max-width: 100%;
}

.soon-card { text-align: center; max-width: 32rem; margin: 0 auto; }
.flower-icon { display: block; font-size: 2.5rem; color: var(--rose); line-height: 1; margin-bottom: .5rem; }
.soon { color: var(--muted); font-style: italic; margin: 0; }
html[lang="ar"] .soon { font-style: normal; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.grid-2 .card { border-top: 4px solid var(--rose); }

.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
.steps li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }
.step-num {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--sage-dark);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.info-list { max-width: 32rem; margin: 0 auto; }
.info-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--cream-alt);
}
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { font-weight: 700; color: var(--sage-dark); }
.info-list dd { margin: 0; min-width: 0; }
.break { overflow-wrap: anywhere; word-break: break-word; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid var(--cream-alt);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { flex-direction: column; text-align: center; }
  .main-nav a { font-size: .95rem; }
  .brand { font-size: 1.35rem; }
  .hero { padding: 6rem 0; }
  .site-header { position: sticky; top: 0; }
  section[id] { scroll-margin-top: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
