/* Pulss Wave Technology: wedding-first design system.
   Ivory and charcoal with champagne accents. System fonts only (no font requests). */

:root {
  --ivory: #faf6ef;
  --paper: #fffdf9;
  --tint: #f3ecdf;
  --ink: #26221d;
  --ink-soft: #5b5348;
  --line: #e4dccd;
  --gold: #c9a766;
  --gold-deep: #8a6a36; /* text-safe on ivory (>= 4.5:1) */
  --char: #1f1b17;
  --char-soft: #d9d0c1;
  --focus: #1d5fd1;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(38, 34, 29, 0.1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-top: 1.6em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--paper); color: var(--ink); padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--char); color: var(--ivory); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { flex: none; display: inline-flex; align-items: center; gap: 10px; color: var(--ivory); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.brand img { width: 36px; height: 40px; object-fit: contain; }
.brand__name span { color: var(--gold); }
.brand:hover { color: var(--ivory); }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius); width: 48px; height: 44px; cursor: pointer; color: var(--ivory); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle__bars::after { position: absolute; top: 7px; left: 0; }

.nav { display: flex; align-items: center; gap: 12px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item--mobile { display: none; }
.nav__link { color: var(--char-soft); text-decoration: none; padding: 10px 8px; font-size: 0.93rem; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"], .is-current > .nav__link { color: #fff; }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav__sub-toggle { background: none; border: 0; color: var(--char-soft); cursor: pointer; padding: 10px 8px 10px 0; margin-left: -6px; min-width: 28px; min-height: 40px; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); list-style: none; margin: 0; padding: 6px; display: none; z-index: 60; }
.nav__sub a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 4px; font-size: 0.95rem; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--tint); }
.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub,
.nav__item--has-sub.is-open > .nav__sub { display: block; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: var(--radius); border: 1.5px solid transparent; font: 600 0.98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.btn-primary { background: var(--char); color: var(--ivory); }
.btn-primary:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-gold { background: var(--gold); color: var(--char); }
.btn-gold:hover { background: #dcbc7d; color: var(--char); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-light:hover { background: #fff; color: var(--char); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.btn-row--center { justify-content: center; }
.nav__cta { white-space: nowrap; padding: 9px 16px; min-height: 42px; font-size: 0.92rem; }
.link-arrow { font-weight: 600; }

/* ---------- Layout bits ---------- */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section--first { padding-top: clamp(20px, 4vw, 40px); }
.section--tint { background: var(--tint); }
.section--compact { padding: 36px 0; }
.section__head { max-width: 680px; margin: 0 auto 32px; text-align: center; }
.section__head h2 { margin-top: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 0.8em; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.note { font-size: 0.95rem; color: var(--ink-soft); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.4em; }
.page-heading { margin-bottom: 1.2em; }
.breadcrumbs { padding-top: 18px; font-size: 0.9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: 0.5em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-col h2 { margin-top: 0; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(900px 420px at 80% 20%, rgba(201, 167, 102, 0.22), transparent 70%), var(--ivory); padding: clamp(32px, 6vw, 72px) 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 0.5em; }
.hero__aside { margin: 0; font-size: 0.95rem; }
.hero__visual { position: relative; justify-self: center; min-height: 480px; width: 100%; max-width: 360px; }

/* ---------- Phone mockup (real invitation screenshots) ---------- */
.phone { display: block; background: #111; border-radius: 30px; padding: 9px; box-shadow: var(--shadow); width: 100%; }
.phone img { border-radius: 22px; width: 100%; background: var(--tint); }
.phone--lg { position: relative; z-index: 2; max-width: 230px; margin-left: auto; margin-right: 18px; transform: rotate(2deg); }
.phone--back { position: absolute; z-index: 1; left: 0; top: 56px; max-width: 190px; transform: rotate(-5deg); opacity: 0.98; }
.phone--md { max-width: 230px; margin-inline: auto; }
.phone--sm { max-width: 190px; margin-inline: auto; }

/* ---------- Cards ---------- */
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.design-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 24px 20px; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.design-card__shot { text-decoration: none; }
.design-card h3 { margin-bottom: 0.3em; }
.design-card p { color: var(--ink-soft); font-size: 0.98rem; }
.design-grid--large { grid-template-columns: 1fr; gap: 40px; }
.design-feature { display: grid; grid-template-columns: 230px 1fr; gap: 32px; align-items: center; }
.design-feature h2 { margin-top: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.feature p:last-child { margin-bottom: 0; color: var(--ink-soft); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.price-card--featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.price-card__badge { position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--char); font-size: 0.78rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; margin: 0; }
.price-card h3 { margin-bottom: 0.2em; }
.price-card__price { margin: 0; }
.price-card__price .amount { font: 600 2.6rem/1 var(--serif); }
.price-card__blurb { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.6em; }
.price-card__note { font-size: 0.9rem; color: var(--ink-soft); margin: 0.4em 0 1.2em; }
.price-card .btn { margin-top: auto; }
.check-list { list-style: none; padding: 0; margin: 0.4em 0 1em; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 0.45em; }
.check-list .icon { flex: none; margin-top: 0.3em; color: var(--gold-deep); }
.check-list--large li { font-size: 1.05rem; margin-bottom: 0.9em; }

.extras { margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.extras div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.extras div:last-child { border-bottom: 0; }
.extras dt { font-weight: 600; }
.extras dd { margin: 0; color: var(--gold-deep); font-weight: 700; white-space: nowrap; }

.table-wrap { overflow-x: auto; margin: 1em 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 460px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { background: var(--char); color: var(--ivory); font-family: var(--serif); font-size: 1.05rem; }
.compare tbody th { text-align: left; font-weight: 600; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .yes { color: var(--gold-deep); font-weight: 800; }
.compare .no { color: var(--ink-soft); }
.compare__price td { font-weight: 700; font-size: 1.1rem; }

.steps { list-style: none; padding: 0; counter-reset: s; }
.steps li { display: flex; gap: 18px; margin-bottom: 1.4em; }
.steps h3 { margin-bottom: 0.2em; }
.steps p { margin: 0; color: var(--ink-soft); }
.steps__num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--char); color: var(--gold); font: 600 1.1rem/40px var(--serif); text-align: center; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--gold-deep); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-soft); padding-bottom: 8px; }

.related-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-links a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.related-links a:hover { border-color: var(--gold); }
.related-links strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.related-links span { color: var(--ink-soft); font-size: 0.95rem; }

.other-services { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 24px 28px; }
.other-services h2 { font-size: 1.3rem; margin: 0 0 0.3em; }
.other-services p { margin: 0; color: var(--ink-soft); max-width: 640px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 1.5em; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.service-card h2 { margin-top: 0; font-size: 1.4rem; }

.band { padding: clamp(44px, 7vw, 76px) 0; }
.band--dark { background: var(--char); color: var(--ivory); text-align: center; }
.band--dark h2 { color: var(--ivory); margin-top: 0; }
.band--dark p { color: var(--char-soft); max-width: 560px; margin-inline: auto; }
.band--dark a { color: var(--gold); }

.arabic-sample { font-size: 2rem; font-family: var(--sans); color: var(--gold-deep); text-align: center; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 18px; margin: 0 0 1.2em; }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1.5px solid #b9ae9a; border-radius: var(--radius); background: #fff; color: var(--ink); min-height: 46px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.form__status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-error { color: #a32323; }
.form__status.is-ok { color: #1f6b3a; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.contact-card h2 { margin-top: 0; font-size: 1.4rem; }
.contact-list { list-style: none; padding: 0; margin: 1em 0; }
.contact-list li { margin-bottom: 0.4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char); color: var(--char-soft); padding: 52px 0 24px; font-size: 0.97rem; }
.site-footer a { color: var(--char-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55em; }
.footer-title { font: 700 0.8rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin: 0 0 1em; }
.site-footer__brand p { max-width: 340px; margin: 1em 0; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 18px; font-size: 0.9rem; }
.contact-list--dark { color: inherit; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--char); color: #fff; border: 2px solid var(--gold); padding: 11px 16px; border-radius: 99px; text-decoration: none; font-weight: 600; box-shadow: var(--shadow); min-height: 48px; }
.wa-float:hover { background: #000; color: #fff; }

/* ---------- Blog (server-rendered pages reuse this shell) ---------- */
.blog-post-body { font-size: 1.08rem; }
.blog-post-body img { border-radius: 8px; margin: 1em 0; }
.blog-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px; margin-bottom: 18px; }
.blog-card h2 { margin: 0 0 0.3em; font-size: 1.35rem; }
.blog-card h2 a { color: var(--ink); text-decoration: none; }
.cover { border-radius: 10px; width: 100%; margin-bottom: 24px; }
[dir="rtl"] .breadcrumbs li + li::before { margin: 0 0 0 6px; }
[dir="rtl"] .faq-item summary { padding: 16px 0 16px 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--char); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; }
  .nav__item--mobile { display: flex; }
  .nav__link { flex: 1; padding: 14px 4px; font-size: 1.05rem; }
  .nav__sub-toggle { min-width: 48px; min-height: 48px; }
  .nav__sub { position: static; display: none; width: 100%; background: transparent; border: 0; box-shadow: none; padding: 0 0 6px 12px; }
  .nav__sub a { color: var(--char-soft); padding: 12px 8px; }
  .nav__sub a:hover { background: transparent; color: #fff; }
  .nav__item--has-sub:hover > .nav__sub, .nav__item--has-sub:focus-within > .nav__sub { display: none; }
  .nav__item--has-sub.is-open > .nav__sub { display: block; }
  .nav__cta { align-self: stretch; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 440px; max-width: 320px; }
  .design-grid, .feature-grid, .price-grid, .two-col, .service-grid, .related-links, .contact-grid { grid-template-columns: 1fr; }
  .design-feature { grid-template-columns: 1fr; text-align: center; }
  .design-feature .btn-row { justify-content: center; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .brand__name { font-size: 1.02rem; }
}
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .btn-row .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
}

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