/* ==========================================================================
   Contact page (2026-11-17)
   Loaded only on pages that use [tt_quote_form]. Every class is prefixed ct-
   so nothing here can reach the homepage or other pages.
   ========================================================================== */
.ct { --ct-red: #d62828; --ct-red-hover: #b71f1f; --ct-navy-2: #0b2a52; --ct-shadow: 0 1px 2px rgba(0, 23, 51, .06), 0 10px 28px rgba(0, 23, 51, .08); --ct-gap: 56px; }

/* Buttons */
.ct .btn-red { background: var(--ct-red); color: #fff; }
.ct .btn-red:hover { background: var(--ct-red-hover); }
.ct .btn svg.ct-ico { width: 16px; height: 16px; }

/* 1. Hero: text on navy, the photo shown whole (16:9, never cropped) */
.ct-hero { background: var(--color-horizon-navy); color: #fff; padding: 56px 0; }
.ct-hero .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--ct-gap); align-items: center; }
.ct-hero .crumbs, .ct-hero .crumbs a { color: rgba(255, 255, 255, .7); }
.ct-hero .crumbs a:hover { color: #fff; }
.ct-hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; max-width: 14ch; }
.ct-hero .lede { color: rgba(255, 255, 255, .84); margin-top: 18px; max-width: 44ch; }
.ct-hero .hero-actions { margin-top: 28px; }
.ct-hero .ct-avail { display: block; margin-top: 20px; font-size: var(--text-body-sm); color: rgba(255, 255, 255, .72); }
.ct-hero .ct-avail strong { color: #fff; font-weight: 500; margin-right: 4px; }
.ct-hero figure { margin: 0; }
.ct-hero figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; border-radius: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, .28); }

/* 2. Quote form and contact details */
.ct-main { padding: 64px 0; background: var(--color-hailstone); }
.ct-main .wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.ct-card { background: #fff; border-radius: 12px; box-shadow: var(--ct-shadow); padding: 36px; }
.ct-card h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.03em; }
.ct-card .ct-sub { color: var(--color-graphite-dim); margin-top: 8px; margin-bottom: 28px; font-size: var(--text-body); }
.ct .form { gap: 18px 16px; }
.ct .field label { color: var(--color-horizon-navy); }
.ct .field label .req { color: var(--ct-red); margin-left: 2px; }
.ct .field input, .ct .field textarea, .ct .field select { background: #fff; border: 1px solid var(--color-fog); }
.ct .field input::placeholder, .ct .field textarea::placeholder { color: #8a93a6; }
.ct .field input:hover, .ct .field textarea:hover, .ct .field select:hover { border-color: #b3bccb; }
.ct .field input:focus, .ct .field textarea:focus, .ct .field select:focus { border-color: var(--color-signal-blue); box-shadow: 0 0 0 3px rgba(0, 106, 237, .15); }
.ct .field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23001733' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
.ct .field textarea { min-height: 120px; }
.ct .form .btn-lg { width: 100%; }
.ct .form .ct-fine { font-size: var(--text-body-sm); color: var(--color-slate-whisper); max-width: none; }
.ct .form-msg { margin-bottom: 20px; }

.ct-info { background: var(--color-horizon-navy); color: #fff; border-radius: 12px; padding: 32px; box-shadow: var(--ct-shadow); position: sticky; top: calc(var(--nav-h) + 24px); }
.ct-info h2 { color: #fff; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 8px; }
.ct-info ul { list-style: none; margin-top: 16px; }
.ct-info li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ct-info li:first-child { border-top: 0; }
.ct-info .ct-i { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; color: #8fc1ff; }
.ct-info .ct-i svg { width: 18px; height: 18px; }
.ct-info .k { display: block; font-size: var(--text-caption); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .62); margin-bottom: 4px; }
.ct-info .v { color: #fff; font-size: 17px; font-weight: 500; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.ct-info .v.ct-big { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ct-info a.v:hover { text-decoration: underline; text-underline-offset: 3px; }
.ct-info .ct-note { font-size: var(--text-body-sm); color: rgba(255, 255, 255, .68); font-weight: 400; display: block; margin-top: 2px; }
.ct-info .btn { width: 100%; margin-top: 20px; }

/* 3. Map */
.ct-map { padding: 64px 0; }
.ct-map .ct-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.ct-map h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -.03em; }
.ct-map .ct-head p { color: var(--color-graphite-dim); margin-top: 6px; }
.ct-map .ct-frame { border-radius: 12px; overflow: hidden; background: var(--color-mist); box-shadow: var(--ct-shadow); height: 420px; }
.ct-hero .wrap > *, .ct-main .wrap > * { min-width: 0; }
.ct .field select { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 4. Quick contact */
.ct-quick { padding: 0 0 72px; }
.ct-quick ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-quick a { display: flex; flex-direction: column; height: 100%; gap: 6px; text-decoration: none; background: #fff; border: 1px solid var(--color-mist); border-radius: 12px; padding: 24px; box-shadow: 0 1px 2px rgba(0, 23, 51, .04); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.ct-quick a:hover { border-color: var(--color-fog); box-shadow: var(--ct-shadow); transform: translateY(-2px); }
.ct-quick .ct-i { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0, 106, 237, .08); color: var(--color-signal-blue); margin-bottom: 10px; }
.ct-quick .ct-i svg { width: 20px; height: 20px; }
.ct-quick h3 { font-size: 20px; letter-spacing: -.02em; }
.ct-quick p { color: var(--color-graphite-dim); font-size: var(--text-body-sm); line-height: 1.55; }
.ct-quick .ct-go { margin-top: auto; padding-top: 12px; font-size: var(--text-body-sm); font-weight: 600; color: var(--color-signal-blue); display: inline-flex; align-items: center; gap: 8px; }
.ct-quick .ct-go svg { width: 12px; height: 12px; transition: transform .16s ease; }
.ct-quick a:hover .ct-go svg { transform: translateX(3px); }
.ct-quick .ct-emergency a { background: var(--color-horizon-navy); border-color: var(--color-horizon-navy); }
.ct-quick .ct-emergency h3 { color: #fff; }
.ct-quick .ct-emergency p { color: rgba(255, 255, 255, .76); }
.ct-quick .ct-emergency .ct-i { background: var(--ct-red); color: #fff; }
.ct-quick .ct-emergency .ct-go { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ct-quick a, .ct-quick .ct-go svg { transition: none; }
  .ct-quick a:hover { transform: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .ct { --ct-gap: 36px; }
  .ct-main .wrap { grid-template-columns: 1fr; }
  .ct-info { position: static; }
  .ct-map .ct-frame { height: 380px; }
}
@media (max-width: 900px) {
  .ct-hero { padding: 40px 0 44px; }
  .ct-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .ct-hero h1 { max-width: 18ch; }
  .ct-main, .ct-map { padding: 48px 0; }
  .ct-quick { padding-bottom: 56px; }
  .ct-quick ul { grid-template-columns: 1fr; gap: 12px; }
  .ct-quick a { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .ct-quick .ct-i { margin-bottom: 0; }
  .ct-quick .ct-txt { flex: 1 1 0; min-width: 0; }
  .ct-quick .ct-go { display: none; }
}

/* Mobile */
@media (max-width: 640px) {
  .ct-hero { padding: 28px 0 32px; }
  .ct-hero .crumbs { margin-bottom: 14px; }
  .ct-hero h1 { font-size: 34px; }
  .ct-hero .lede { font-size: 17px; margin-top: 14px; }
  .ct-hero .hero-actions { margin-top: 22px; }
  .ct-hero figure img { border-radius: 10px; }
  .ct-main, .ct-map { padding: 36px 0; }
  .ct-main .wrap { gap: 20px; }
  .ct-card { padding: 22px 18px; border-radius: 10px; }
  .ct-card .ct-sub { margin-bottom: 20px; }
  .ct-info { padding: 22px 18px; border-radius: 10px; }
  .ct-info .v.ct-big { font-size: 20px; }
  .ct-map .ct-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 18px; }
  .ct-map .ct-head .btn { width: 100%; }
  .ct-map .ct-frame { height: 300px; border-radius: 10px; }
  .ct-quick { padding-bottom: 40px; }
}
