/* =====================================================
   BAZRGARI — CONTACT PAGE / V1
   Requires existing font.css + style.css loaded via header.php.
   No third-party assets or page-specific JavaScript.
===================================================== */
.contact-page {
  --ct-wine: #711821;
  --ct-wine-dark: #39171e;
  --ct-ink: #302527;
  --ct-muted: #776d69;
  --ct-gold: #caa371;
  --ct-border: #e9e1da;
  --ct-surface: #fffcf9;
  background: #faf7f3;
  color: var(--ct-ink);
  min-width: 0;
  overflow: clip;
}
.contact-page *, .contact-page *::before, .contact-page *::after { box-sizing: border-box; }
.contact-page :is(h1, h2, p) { margin-block-start: 0; }
.contact-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #c69b63; outline-offset: 4px; }

/* Intro */
.ct-section {
  padding: clamp(18px, 3vw, 39px) 0 clamp(75px, 8vw, 120px);
  background: radial-gradient(ellipse at 100% -2%, #f1e6df 0, rgba(241,230,223,0) 45%), #faf7f3;
}
.ct-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-block: 5px clamp(42px, 5.6vw, 76px);
  color: #9d8b7d; font-size: 12px; line-height: 2;
}
.ct-breadcrumb a { color: #817068; transition: color .25s; }
.ct-breadcrumb a:hover { color: var(--ct-wine); }
.ct-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .65fr);
  align-items: end;
  gap: clamp(28px, 5vw, 90px);
  margin-bottom: clamp(35px, 4.5vw, 66px);
}
.ct-eyebrow {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; color: #a47b57;
  font: 700 10px/1.8 Arial, Helvetica, sans-serif;
  letter-spacing: .19em; direction: ltr;
}
.ct-eyebrow__line { height: 1px; width: 30px; background: currentColor; }
.ct-eyebrow__dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.ct-intro h1 {
  margin: 18px 0 0;
  font-size: clamp(36px, 4.2vw, 74px);
  font-weight: 710; letter-spacing: -.064em; line-height: 1.48;
  color: #302223;
}
.ct-intro h1 em { font-style: normal; color: #8c1d24; }
.ct-intro__lead {
  max-width: 345px; margin: 0 0 9px;
  border-right: 2px solid #c9a46a; padding-right: 20px;
  color: #776e69; font-size: 14px; line-height: 2.25;
}

/* Main split */
.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  direction: rtl;
  align-items: stretch;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ct-surface);
  border: 1px solid #eee5de;
  box-shadow: 0 30px 85px rgba(78,39,30,.065);
}
.ct-info {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  justify-content: space-between; min-width: 0;
  padding: clamp(30px, 3.8vw, 58px);
  color: #fff8f3;
  background: linear-gradient(147deg, #77212c 0%, #511c25 51%, #2e171d 100%);
  overflow: hidden;
}
.ct-info::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 10% 22%, rgba(240,180,142,.12), transparent 45%);
  pointer-events: none;
}
.ct-info::after {
  content: 'CONTACT';
  position: absolute; left: -5%; bottom: 4%; z-index: -1;
  font: 500 clamp(64px, 9vw, 152px)/1 Georgia, serif;
  letter-spacing: -.07em; direction: ltr; color: rgba(255,255,255,.045);
  pointer-events: none;
}
.ct-info__halo {
  position: absolute; z-index: -1;
  left: -140px; top: 50px; width: 370px; height: 370px;
  border: 1px solid rgba(245, 220, 198, .12);
  border-radius: 50%; transform: rotate(-18deg);
  box-shadow: 0 0 0 65px rgba(245,220,198,.023), 0 0 0 135px rgba(245,220,198,.014);
  pointer-events: none;
}
.ct-info__masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  color: #e9cba7;
  font: 11px/1.7 Arial, Helvetica, sans-serif; letter-spacing: .22em;
}
.ct-info__masthead svg { width: 35px; height: 35px; flex: none; }
.ct-masthead-separator { color: rgba(243,215,181,.5); padding-inline: 7px; }
.ct-info__main { margin-block: clamp(65px, 6vw, 96px) 54px; }
.ct-info__section-number {
  display: block; margin-bottom: 26px;
  color: #d7b195; font: 10px/1.6 Arial, sans-serif; letter-spacing: .15em; direction: ltr;
  text-align: right;
}
.ct-info h2 {
  margin: 0 0 20px; font-size: clamp(28px, 3vw, 46px);
  line-height: 1.58; letter-spacing: -.055em; font-weight: 680;
}
.ct-info h2 em { font-style: normal; color: #efd0ab; }
.ct-info__main > p { color: #e3c8c6; font-size: 13px; line-height: 2.3; max-width: 470px; }
.ct-info__rule { width: 100%; height: 1px; margin: 33px 0 19px; background: rgba(255,255,255,.17); }
.ct-contact-details { display: grid; gap: 8px; }
.ct-contact-row {
  display: flex; gap: 15px; align-items: center; padding: 11px 5px;
  border-radius: 11px; transition: background .32s ease, transform .32s ease;
}
.ct-contact-row:hover { background: rgba(255,255,255,.06); transform: translateX(-4px); }
.ct-contact-icon {
  display: grid; place-items: center; flex: 0 0 45px;
  width: 45px; height: 45px; border: 1px solid rgba(239,207,175,.28);
  border-radius: 13px; color: #f0d3ab; background: rgba(255,255,255,.055);
}
.ct-contact-icon svg { width: 20px; height: 20px; }
.ct-contact-row > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-contact-row strong { color: #fff5ee; font-size: 13px; font-weight: 650; }
.ct-contact-pending { color: #d3afae; font-size: 11px; line-height: 1.9; }
.ct-info__footer { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; font-size: 11px; color: #d8b8b4; line-height: 1.9; }
.ct-info__star { color: #dfc094; font-size: 19px; }

/* Form */
.ct-form-panel {
  min-width: 0;
  padding: clamp(28px, 4.1vw, 64px);
  background: linear-gradient(155deg, #fffdfb 6%, #fffcf9 75%, #fdf8f3 100%);
}
.ct-form-panel__topline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 39px;
  color: #ab866c; font: 11px/1.5 Arial, sans-serif; letter-spacing: .18em;
}
.ct-form-panel__topline-deco { color: #cbaf8f; font-size: 24px; }
.ct-form-heading h2 { margin: 0 0 9px; font-size: clamp(25px, 2.4vw, 36px); letter-spacing: -.045em; color: #342526; line-height: 1.65; }
.ct-form-heading p { max-width: 480px; margin-bottom: 34px; font-size: 12px; line-height: 2.15; color: #83746c; }
.ct-form { display: flex; flex-direction: column; gap: 21px; }
.ct-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.ct-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.ct-field label { font-size: 12px; font-weight: 680; color: #4b3b37; line-height: 1.9; }
.ct-field label span { color: #a3292d; }
.ct-field label small { font-size: 10px; font-weight: 400; color: #a99a92; margin-right: 4px; }
.ct-field :is(input, select, textarea) {
  width: 100%; min-width: 0; min-height: 53px;
  padding: 13px 15px; font: 400 13px/1.6 var(--font-primary, Tahoma), Tahoma, sans-serif;
  border: 1px solid #ebe3dc; border-radius: 12px;
  background: #faf6f2; color: #3b2a2a; outline: none;
  transition: background .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.ct-field :is(input, textarea)::placeholder { color: #ad9e97; opacity: 1; }
.ct-field :is(input, select, textarea):focus { background: #fff; border-color: #bc9671; box-shadow: 0 0 0 4px rgba(202,163,113,.13); }
.ct-field select { appearance: auto; cursor: pointer; }
.ct-field textarea { min-height: 160px; resize: vertical; line-height: 2; }
.ct-field input[dir="ltr"] { text-align: left; }
.ct-form__bottom { display: flex; flex-direction: column; gap: 15px; margin-top: 0; }
.ct-form__note { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: #85756e; line-height: 2; }
.ct-form__note > span { color: #ad8058; flex: none; }
.ct-submit {
  min-height: 55px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px 21px; border: 1px solid #7f1b23;
  border-radius: 12px; background: #7f1b23; color: #fff7f0;
  font: 650 13px/1.8 var(--font-primary, Tahoma), Tahoma, sans-serif;
}
.ct-submit svg { width: 20px; height: 20px; flex: none; }
.ct-submit:disabled { cursor: not-allowed; opacity: .75; }
.ct-form__status { margin: 0; color: #98867d; font-size: 10px; line-height: 1.9; }

/* Gentle last section */
.ct-postlude { border-top: 1px solid #e9ded5; background: #f1ebe5; padding-block: clamp(44px, 5vw, 74px); }
.ct-postlude__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 30px; }
.ct-postlude__symbol { width: 65px; height: 65px; display: grid; place-items: center; flex: none; border-radius: 50%; border: 1px solid #d4b994; color: #a17a51; font-size: 28px; }
.ct-postlude__overline { color: #a58260; font: 10px/1.5 Arial, sans-serif; letter-spacing: .19em; }
.ct-postlude h2 { margin: 10px 0 8px; font-size: clamp(23px, 2.3vw, 31px); letter-spacing: -.035em; color: #342723; }
.ct-postlude p { margin: 0; max-width: 560px; color: #7d7068; font-size: 12px; line-height: 2.1; }
.ct-postlude__links { display: flex; gap: 11px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ct-postlude__links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 14px; border: 1px solid #d4bda9; border-radius: 10px; color: #791e26; font-size: 12px; font-weight: 650; transition: background .3s, transform .3s; white-space: nowrap; }
.ct-postlude__links a:hover { background: #fff9f2; transform: translateY(-2px); }

/* Accessibility: respect motion preference */
@media (prefers-reduced-motion: reduce) {
  .contact-page * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 1100px) {
  .ct-intro { grid-template-columns: 1fr .75fr; }
  .ct-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ct-info { padding: 32px; }
  .ct-form-panel { padding: 32px; }
  .ct-field-row { grid-template-columns: 1fr; }
  .ct-postlude__inner { grid-template-columns: auto minmax(0,1fr); }
  .ct-postlude__links { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 800px) {
  .ct-intro { grid-template-columns: 1fr; gap: 20px; }
  .ct-intro__lead { max-width: 590px; }
  .ct-layout { grid-template-columns: 1fr; }
  .ct-info__main { margin-block: 45px 40px; }
  .ct-form-panel { padding: clamp(24px, 6vw, 40px); }
  .ct-field-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ct-info h2 { font-size: clamp(30px, 6vw, 40px); }
}
@media (max-width: 600px) {
  .ct-section { padding-top: 14px; padding-bottom: 62px; }
  .ct-breadcrumb { margin-bottom: 31px; }
  .ct-intro { margin-bottom: 31px; }
  .ct-intro h1 { font-size: clamp(30px, 8.4vw, 42px); line-height: 1.55; }
  .ct-intro__lead { font-size: 12px; padding-right: 13px; }
  .ct-layout { border-radius: 20px; }
  .ct-info { padding: 29px 22px; }
  .ct-info__main { margin: 39px 0 35px; }
  .ct-info__masthead { font-size: 9px; }
  .ct-info__masthead svg { width: 28px; height: 28px; }
  .ct-info__main > p { font-size: 12px; }
  .ct-contact-row { padding-inline: 0; }
  .ct-contact-pending { font-size: 10px; }
  .ct-form-panel { padding: 30px 19px; }
  .ct-form-panel__topline { margin-bottom: 20px; }
  .ct-form-heading p { margin-bottom: 25px; }
  .ct-field-row { grid-template-columns: 1fr; }
  .ct-field :is(input, select, textarea) { font-size: 16px; }
  .ct-postlude__inner { grid-template-columns: 1fr; gap: 15px; }
  .ct-postlude__links { grid-column: auto; }
  .ct-postlude__symbol { width: 48px; height: 48px; font-size: 23px; }
  .ct-postlude__links a { font-size: 11px; }
}
