/* ==========================================================================
   Contact page
   --------------------------------------------------------------------------
   Two columns on desktop — form beside contact details — collapsing to one on
   mobile with the form first, because the form is the primary action.

   Uses the site's existing custom properties (--plum, --gold, --wine, --blush,
   --cream, --line, --muted) so it inherits the brand without redefining it.
   Logical properties throughout (inset-inline, margin-inline) so the whole
   page mirrors correctly between Arabic and English without a second sheet.
   ========================================================================== */

.ct-page {
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 90px) clamp(18px, 4vw, 40px) 80px;
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.ct-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}
.ct-eyebrow {
  display: inline-block;
  font-family: var(--serif2, "Cormorant Garamond", serif);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .8rem;
  color: var(--wine, #6d2b4a);
  margin-bottom: 14px;
}
html[dir="rtl"] .ct-eyebrow { font-family: var(--ar); letter-spacing: .1em; }
.ct-hero h1 {
  font-family: var(--serif, "Playfair Display", serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--plum, #2e1a24);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 500;
}
html[dir="rtl"] .ct-hero h1 { font-family: var(--ar); }
.ct-hero p {
  color: var(--muted, #8a7b82);
  font-size: 1.02rem;
  line-height: 1.85;
  margin: 0;
}

/* ── layout ───────────────────────────────────────────────────────────── */
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 880px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── form ─────────────────────────────────────────────────────────────── */
.ct-form-wrap {
  background: #fff;
  border: 1px solid var(--line, #e7ded9);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 20px 60px -30px rgba(46, 26, 36, .3);
}
.ct-form-head h2 {
  font-family: var(--serif, serif);
  font-size: 1.5rem; color: var(--plum, #2e1a24);
  margin: 0 0 5px; font-weight: 500;
}
html[dir="rtl"] .ct-form-head h2 { font-family: var(--ar); }
.ct-form-head p { color: var(--muted, #8a7b82); font-size: .9rem; margin: 0 0 24px; }

.ct-field { margin-bottom: 17px; }
.ct-field label {
  display: block; font-size: .82rem; color: var(--plum, #2e1a24);
  margin-bottom: 7px; letter-spacing: .02em;
}
.ct-field input,
.ct-field textarea,
.ct-select select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line, #e7ded9);
  border-radius: 12px;
  background: var(--cream, #faf6f2);
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink, #2b2129);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.ct-field textarea { resize: vertical; line-height: 1.7; min-height: 120px; }
.ct-field input:focus,
.ct-field textarea:focus,
.ct-select select:focus {
  outline: none;
  border-color: var(--gold, #c9a24b);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, .14);
}

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .ct-row { grid-template-columns: 1fr; } }

/* Custom select: native arrow removed, brand chevron placed with a logical
   inset so it sits on the correct side in both directions. */
.ct-select { position: relative; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px; cursor: pointer; }
.ct-select svg {
  position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted, #8a7b82); pointer-events: none;
}

.ct-submit {
  width: 100%;
  padding: 15px;
  border: none; border-radius: 12px;
  background: var(--plum, #2e1a24); color: #fff;
  font-family: inherit; font-size: 1rem; letter-spacing: .04em;
  cursor: pointer; transition: background .25s, transform .15s;
}
.ct-submit:hover { background: var(--wine, #6d2b4a); }
.ct-submit:active { transform: scale(.99); }

/* honeypot — visually gone, still in the DOM for bots to trip on */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* validation errors */
.ct-errs {
  background: #fdecea; border: 1px solid #f3c9c4; border-radius: 12px;
  padding: 12px 16px; margin-bottom: 18px;
}
.ct-errs ul { margin: 0; padding-inline-start: 18px; }
.ct-errs li { color: #a1382c; font-size: .86rem; line-height: 1.7; }

/* success state — replaces the whole form */
.ct-sent { text-align: center; padding: 30px 10px; }
.ct-sent-ic {
  width: 62px; height: 62px; border-radius: 50%;
  background: #e6f4ec; color: #2f7a52;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.ct-sent-ic svg { width: 30px; height: 30px; }
.ct-sent h2 {
  font-family: var(--serif, serif); font-weight: 500;
  color: var(--plum, #2e1a24); font-size: 1.5rem; margin: 0 0 8px;
}
html[dir="rtl"] .ct-sent h2 { font-family: var(--ar); }
.ct-sent p { color: var(--muted, #8a7b82); margin: 0; line-height: 1.8; }

/* "or" divider */
.ct-or {
  display: flex; align-items: center; text-align: center;
  color: var(--muted, #8a7b82); font-size: .82rem; margin: 22px 0 16px;
}
.ct-or::before, .ct-or::after {
  content: ""; flex: 1; height: 1px; background: var(--line, #e7ded9);
}
.ct-or span { padding: 0 14px; }

/* WhatsApp CTA */
.ct-wa {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 18px; border-radius: 14px;
  background: linear-gradient(135deg, #1faf54, #128c3e);
  color: #fff; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 10px 30px -12px rgba(18, 140, 62, .6);
}
.ct-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(18, 140, 62, .7); }
.ct-wa-ic {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .18); display: grid; place-items: center;
}
.ct-wa-ic svg { width: 24px; height: 24px; }
.ct-wa-txt { display: flex; flex-direction: column; line-height: 1.4; }
.ct-wa-txt b { font-size: .96rem; font-weight: 600; }
.ct-wa-txt em { font-style: normal; font-size: .78rem; opacity: .9; }

/* ── side cards ───────────────────────────────────────────────────────── */
.ct-side { display: flex; flex-direction: column; gap: 18px; }
.ct-card {
  background: linear-gradient(170deg, #fff, var(--cream, #faf6f2));
  border: 1px solid var(--line, #e7ded9);
  border-radius: 18px; padding: 24px 22px;
}
.ct-card h3 {
  font-family: var(--serif, serif); font-weight: 500;
  color: var(--plum, #2e1a24); font-size: 1.15rem; margin: 0 0 16px;
}
html[dir="rtl"] .ct-card h3 { font-family: var(--ar); }

.ct-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ct-lines a {
  display: flex; align-items: center; gap: 13px;
  padding: 10px; border-radius: 12px; text-decoration: none;
  color: var(--ink, #2b2129); transition: background .2s;
}
.ct-lines a:hover { background: rgba(201, 162, 75, .1); }
.ct-line-ic {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blush, #f3e6e2); color: var(--wine, #6d2b4a);
  display: grid; place-items: center;
}
.ct-line-ic svg { width: 19px; height: 19px; }
.ct-line-txt { display: flex; flex-direction: column; min-width: 0; }
.ct-line-txt b { font-size: .9rem; color: var(--plum, #2e1a24); font-weight: 600; }
.ct-line-txt em { font-style: normal; font-size: .84rem; color: var(--muted, #8a7b82); }

.ct-socials { display: flex; flex-wrap: wrap; gap: 11px; }
.ct-socials a {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line, #e7ded9);
  display: grid; place-items: center;
  color: var(--plum, #2e1a24); background: #fff;
  transition: .22s;
}
.ct-socials a svg { width: 21px; height: 21px; }
.ct-socials a:hover {
  background: var(--plum, #2e1a24); color: var(--gold-soft, #e3c98a);
  border-color: var(--plum, #2e1a24); transform: translateY(-2px);
}

/* ── boutiques ────────────────────────────────────────────────────────── */
.ct-visit { margin-top: clamp(50px, 7vw, 84px); }
.sec-heading {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: clamp(26px, 4vw, 40px);
}
.sec-heading .line { flex: 1; height: 1px; background: var(--line, #e7ded9); }
.sec-heading h2 {
  font-family: var(--serif, serif); font-weight: 500;
  color: var(--plum, #2e1a24); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0;
  white-space: nowrap;
}
html[dir="rtl"] .sec-heading h2 { font-family: var(--ar); }

.ct-stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.ct-store {
  background: #fff; border: 1px solid var(--line, #e7ded9);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.ct-store:hover { box-shadow: 0 20px 50px -26px rgba(46, 26, 36, .35); transform: translateY(-3px); }
.ct-map { aspect-ratio: 16 / 10; background: var(--blush, #f3e6e2); }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ct-map-ph { width: 100%; height: 100%; background: linear-gradient(160deg, #6d2b4a, #2e1a24); }
.ct-store-body { padding: 20px 22px 22px; }
.ct-store-body h3 {
  font-family: var(--serif, serif); font-weight: 500;
  color: var(--plum, #2e1a24); font-size: 1.2rem; margin: 0 0 8px;
}
html[dir="rtl"] .ct-store-body h3 { font-family: var(--ar); }
.ct-addr { color: var(--muted, #8a7b82); font-size: .88rem; line-height: 1.75; margin: 0 0 16px; }
.ct-store-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-store-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 30px;
  background: var(--plum, #2e1a24); color: #fff;
  font-size: .84rem; text-decoration: none; transition: .22s;
}
.ct-store-btn:hover { background: var(--wine, #6d2b4a); }
.ct-store-btn.ghost {
  background: transparent; color: var(--plum, #2e1a24);
  border: 1px solid var(--line, #e7ded9);
}
.ct-store-btn.ghost:hover { border-color: var(--plum, #2e1a24); background: var(--cream, #faf6f2); }

/* Reveal-on-scroll — matches the site's existing .reveal convention; if the
   observer that adds .show never runs, content stays visible by default. */
@media (prefers-reduced-motion: no-preference) {
  .ct-page .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .ct-page .reveal.show { opacity: 1; transform: none; }
}
