/* =====================================================
   Contact page — loads after style.css + about.css
   (reuses .ab-eyebrow, .ab-h2, .ab-icon, .eyebrow-line)
   ===================================================== */

/* ---------- hero: spice artwork full width, text on its white left side ---------- */
.ct-hero {
  display: flex; align-items: center;
  min-height: clamp(260px, 26vw, 400px);
  background: #fff url("../assets/img/ct-hero.jpg") right center / cover no-repeat;
}
.ct-hero-text { max-width: 420px; padding-block: 40px; }
.ct-hero h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 16px; }
.ct-hero-text > p:not(.eyebrow) { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- form + info ---------- */
.ct-main { padding: 12px 0 40px; scroll-margin-top: 64px; }
.ct-main-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 40px; align-items: start; }
.ct-h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.01em; margin-bottom: 8px; }
.ct-h2-line { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.ct-h2-line::after { content: ""; width: 30px; height: 1.5px; background: var(--accent); }

.ct-form-card { background: #f8f8f7; border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px 28px; }
.ct-form-intro { font-size: 13.5px; color: var(--ink-soft); max-width: 340px; margin-bottom: 22px; }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.ct-full { grid-column: 1 / -1; }
.ct-field label { display: block; font-size: 12.5px; font-weight: 500; margin-bottom: 7px; }
.ct-field label span { color: var(--accent); }
.ct-field input, .ct-field select, .ct-field textarea {
  width: 100%; font: inherit; font-size: 13px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.ct-field textarea { resize: vertical; min-height: 92px; }
.ct-field select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
}
.ct-field select:invalid, .ct-field select option[value=""] { color: var(--muted); }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #a3a3a0; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
.ct-field.has-error input, .ct-field.has-error select { border-color: #c2410c; }
.ct-error { display: block; min-height: 0; font-size: 11.5px; color: #c2410c; margin-top: 5px; }
.ct-error:empty { display: none; }
.ct-phone { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.ct-phone select { padding-left: 10px; }
.ct-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.ct-actions .btn { padding: 13px 26px; }
.ct-actions span { font-size: 12px; color: var(--muted); }
.ct-botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-actions .btn:disabled { opacity: .7; cursor: wait; }
.ct-status a { text-decoration: underline; }
.ct-status {font-size: 13px; line-height: 1.55; padding: 12px 14px; border-radius: 4px; background: #eef6ea; color: #2f5d1c; border: 1px solid #cfe3c4; }
.ct-status.is-error { background: #fdf0ea; color: #9a3412; border-color: #f4cfbe; }

.ct-info { padding-top: 6px; }
.ct-info-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 20px; }
.ct-info-list li { display: flex; gap: 16px; align-items: flex-start; }
.ct-info-list .ab-icon { width: 46px; height: 46px; }
.ct-info-list .ab-icon svg { width: 20px; height: 20px; }
.ct-info-list a, .ct-info-list strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.ct-info-list a:hover { color: var(--accent); }
.ct-info-list small { display: block; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.ct-map { position: relative; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 334 / 226; background: #eef2ee; }
.ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ct-map a {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; font-size: 11.5px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.ct-map a .icon-arrow { width: 14px; height: 14px; }
.ct-map a:hover { color: var(--accent); }

/* ---------- other ways ---------- */
.ct-ways { padding: 8px 0 44px; }
.ct-ways .container { border-top: 1px solid var(--line); padding-top: 32px; }
.ct-ways .ab-h2 { margin-bottom: 22px; }
.ct-ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ct-way { display: block; background: #f8f8f7; border-radius: 6px; padding: 22px 22px 24px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.ct-way:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.ct-way svg { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.ct-way h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.ct-way p { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- partner banner ---------- */
.ct-banner { position: relative; color: #fff; background: #2b3219 url("../assets/img/ct-banner.jpg") right center / cover no-repeat; }
.ct-banner-inner { position: relative; padding-block: 40px 46px; min-height: clamp(300px, 30vw, 440px); display: flex; flex-direction: column; justify-content: center; }
.ct-banner .ab-eyebrow { color: rgba(255,255,255,.85); }
.ct-banner .eyebrow-line::after { background: var(--accent); }
.ct-banner h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 14px; }
.ct-banner-inner > p:not(.eyebrow) { font-size: 14px; line-height: 1.6; max-width: 380px; opacity: .92; margin-bottom: 22px; }
.ct-banner .btn { align-self: flex-start; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ct-ways-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ct-hero { min-height: 0; background: #fff; flex-direction: column; align-items: stretch; }
  .ct-hero::after { content: ""; display: block; height: 220px; background: url("../assets/img/ct-hero.jpg") 85% center / cover no-repeat; }
  .ct-hero-text { max-width: none; padding-block: 34px 22px; }
  .ct-main-grid { grid-template-columns: 1fr; gap: 32px; }
  .ct-main { padding-top: 28px; }
  .ct-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,42,20,.88) 0%, rgba(36,42,20,.6) 100%); }
}
@media (max-width: 560px) {
  .ct-form-card { padding: 24px 18px; }
  .ct-form { grid-template-columns: 1fr; }
  .ct-ways-grid { grid-template-columns: 1fr; }
}
