/* ============================================================
   Aqaris · Contact page (Figma "Aqaris Contact",
   "Contact - tablet", "contact - mobile")
   Loaded only by contact.html, after style.css and home.css.
   The page body is "home contact": header, buttons and footer come
   from home.css; everything here is scoped to body.contact or to
   ct-* classes. The form keeps its FormSubmit wiring (main.js).
   Breakpoints: desktop > 1024 · tablet 641–1024 · mobile ≤ 640
   ============================================================ */

.contact .nav-links a[aria-current="page"] { color: var(--hp-indigo); font-weight: 600; }

/* Gradient accents that the Figma shows on tablet and mobile only */
@media (min-width: 1025px) {
  .ct-grad-sm { background-image: none; color: inherit; }
}

/* ---------- Hero + booking form ---------- */
.ct-hero { background: var(--hp-slate); padding: 96px 0 112px; }
.ct-hero-grid {
  display: grid;
  grid-template-columns: 600fr 520fr;
  grid-template-areas: "copy form" "img form";
  column-gap: 80px;
  align-items: start;
}
.ct-hero-copy { grid-area: copy; }
.ct-hero h1 {
  font-size: clamp(52px, 4.72vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.ct-hero-lead { max-width: 560px; margin-top: 26px !important; font-size: 20px; line-height: 1.5; }

.ct-checks {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; gap: 12px;
}
.ct-checks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 17px; line-height: 1.55; color: var(--hp-ink);
}
.ct-checks img { flex: 0 0 auto; margin-top: 4px; }

.ct-hero-img {
  grid-area: img;
  margin: 44px 0 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--hp-line-strong);
}
.ct-hero-img img { display: block; width: 100%; height: 300px; object-fit: cover; }

.ct-form-card {
  grid-area: form;
  padding: 40px;
  background: #FFFFFF;
  border: 1px solid var(--hp-line);
  border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.18);
}
.contact .ct-form-card h2 { font-size: 28px; line-height: 1.25; letter-spacing: -0.02em; }

/* Fields (override the generic form styles in style.css) */
.ct-form .field { margin: 20px 0 0; }
.ct-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px; font-weight: 600; line-height: 23px;
  color: var(--hp-ink);
}
.ct-form input,
.ct-form select {
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--hp-line-strong);
  border-radius: 10px;
  background-color: #FFFFFF;
  font-size: 16px; line-height: 24px;
  color: var(--hp-ink);
}
.ct-form input::placeholder { color: #94A3B8; opacity: 1; }
.ct-form select {
  -webkit-appearance: none; appearance: none;
  padding-right: 44px;
  background-image: url(../img/contact/chevron-down.svg);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
  cursor: pointer;
}
.ct-form select:invalid { color: #94A3B8; }
.ct-form select option { color: var(--hp-ink); }
.ct-form input:hover,
.ct-form select:hover { border-color: #A5B4FC; }
.ct-form input:focus,
.ct-form select:focus,
.ct-form input:focus-visible,
.ct-form select:focus-visible {
  outline: none;
  border-color: var(--hp-indigo);
  box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ct-form .form-status { margin: 0; }
.ct-form .form-status:not(:empty) { margin-top: 20px; }
.ct-submit { width: 100%; height: 54px; margin-top: 28px; }
.ct-submit:disabled { opacity: .7; cursor: progress; transform: none; }

/* ---------- Other channels ---------- */
.ct-head {
  display: grid;
  grid-template-columns: 620fr 500fr;
  gap: 80px;
  align-items: end;
}
.ct-head p { font-size: 18px; line-height: 1.55; }

.ct-channel-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--hp-line);
  border-radius: 20px;
  overflow: hidden;
}
.ct-channel { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 32px 32px; }
.ct-channel + .ct-channel { border-left: 1px solid var(--hp-line); }
.ct-channel-featured { background: var(--hp-lav); }

.ct-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  background: #FFFFFF;
}
.ct-icon-soft { border: 0; background: var(--hp-slate); }
.ct-label { display: block; font-size: 15px; font-weight: 600; line-height: 23px; color: var(--hp-indigo); }
.ct-channel .ct-label { margin-top: 22px; }
.ct-channel h3 { margin-top: 6px; font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ct-channel p { margin-top: 10px; font-size: 16px; line-height: 1.55; }
.ct-action-btn { height: 46px; margin-top: 22px; padding: 0 20px; font-size: 16px; }
.ct-action-link { margin-top: 22px; font-size: 16px; line-height: 24px; }

.ct-offices {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.ct-office {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 30px 32px;
  border: 1px solid var(--hp-line);
  border-radius: 20px;
}
.ct-office h3 { margin-top: 4px; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.ct-office p { margin-top: 8px; font-size: 16px; line-height: 1.55; }
.ct-office p a { color: inherit; white-space: nowrap; }
.ct-office p a:hover { color: var(--hp-indigo); }

/* ============================================================
   Small desktop (1025–1240): let fixed Figma columns flex
   ============================================================ */
@media (max-width: 1240px) {
  .ct-hero-grid { column-gap: 56px; }
  .ct-head { gap: 56px; }
  .ct-channel { padding: 32px 26px 28px; }
  .ct-channel h3 { font-size: 22px; }
}

/* ============================================================
   Tablet (≤ 1024) — "Contact - tablet", 768 frame, 32px gutter
   ============================================================ */
@media (max-width: 1024px) {
  .ct-hero { padding-top: 96px; }
  .ct-hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "img"; }
  .ct-hero h1 { font-size: 52px; line-height: 1.05; }
  .ct-hero-lead { max-width: none; margin-top: 24px !important; font-size: 18px; }
  .ct-checks { margin-top: 24px; gap: 11px; }
  .ct-form-card { margin-top: 40px; }
  .ct-hero-img { margin-top: 24px; }
  .ct-hero-img img { height: auto; aspect-ratio: 704 / 352; }

  .ct-head { display: block; }
  .ct-head p { margin-top: 18px !important; font-size: 17px; }
  .ct-channel-grid { margin-top: 24px; grid-template-columns: 1fr; }
  .ct-channel { padding: 36px 32px 32px; }
  .ct-channel h3 { font-size: 24px; }
  .ct-channel + .ct-channel { border-left: 0; border-top: 1px solid var(--hp-line); }
  .ct-offices { grid-template-columns: 1fr; }
}

/* ============================================================
   Mobile (≤ 640) — "contact - mobile", 390 frame, 20px gutter
   ============================================================ */
@media (max-width: 640px) {
  .ct-hero { padding-top: 64px; }
  .ct-hero h1 { font-size: 36px; line-height: 1.08; }
  .ct-hero-lead { margin-top: 23px !important; font-size: 17px; }
  .ct-checks { margin-top: 23px; }
  .ct-form-card { padding: 24px; }
  .ct-form-row { grid-template-columns: 1fr; gap: 0; }
  .ct-submit { height: 48px; font-size: 16px; }
  .ct-hero-img { margin-top: 23px; }
  .ct-hero-img img { aspect-ratio: 350 / 176; }

  .ct-head p { font-size: 16px; }
  .ct-channel { padding: 24px; }
  .ct-office { flex-direction: column; gap: 14px; padding: 24px; }
  .ct-office h3 { font-size: 20px; }
}
