/* ==========================================================================
   Coal Valley Transport — brand layer
   Loaded after style.css. Colours come from the logo (red #C4222F + black).
   ========================================================================== */
:root {
  --cvt-bg: #F4F4F4;
  --cvt-bg-soft: #F9F9F9;
  --cvt-ink: #1A1B1E;
  --cvt-ink-soft: #5b5f66;
  --cvt-muted: #8a8d93;
  --cvt-accent: #C4222F;
  --cvt-accent-dark: #9E1A25;
  --cvt-card: #ffffff;
  --cvt-line: #E5E5E5;
  --cvt-tile: #26282C;
  --cvt-radius: 20px;
  --cvt-shadow: 0 20px 50px rgba(26, 27, 30, .12);
  --cvt-sans: "Montserrat", system-ui, sans-serif;
  --cvt-serif: "Fraunces", Georgia, serif;
}

body { font-family: var(--cvt-sans); color: var(--cvt-ink); background: var(--cvt-bg); }

.cvt-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Shared type ---------- */
.cvt-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--cvt-accent); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; margin: 0;
}
.cvt-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--cvt-accent); }
.cvt-title {
  font-family: var(--cvt-sans); font-weight: 800; color: var(--cvt-ink);
  letter-spacing: -0.04em; line-height: 1.02; margin: 16px 0 0;
  font-size: clamp(34px, 4.6vw, 56px);
}
.cvt-title em, .cvt-hero-title em {
  font-family: var(--cvt-serif); font-style: italic; font-weight: 500;
  letter-spacing: -0.02em; color: var(--cvt-accent);
}
.cvt-lede { margin: 20px 0 0; font-size: 18px; line-height: 1.65; color: var(--cvt-ink-soft); max-width: 620px; }
.cvt-section { padding: 110px 0; }
.cvt-section-head { max-width: 720px; margin-bottom: 56px; }
.cvt-section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.cvt-section-head.center .cvt-lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.cvt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--cvt-sans); font-weight: 700; font-size: 15px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.cvt-btn:hover { transform: translateY(-2px); }
.cvt-btn-primary { background: var(--cvt-accent); color: #fff; box-shadow: 0 10px 24px rgba(196, 34, 47, .3); }
.cvt-btn-primary:hover { background: var(--cvt-accent-dark); color: #fff; }
.cvt-btn-ghost { background: var(--cvt-card); color: var(--cvt-ink); border-color: var(--cvt-line); }
.cvt-btn-ghost:hover { border-color: var(--cvt-ink); color: var(--cvt-ink); }
.cvt-btn-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cvt-btn-light:hover { border-color: #fff; color: #fff; }

/* ---------- Header ---------- */
.cvt-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.cvt-topbar { background: var(--cvt-ink); color: rgba(255, 255, 255, .8); font-size: 13px; }
.cvt-topbar .cvt-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.cvt-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.cvt-topbar a:hover { color: var(--cvt-accent); }
.cvt-topbar-links { display: flex; gap: 24px; align-items: center; }
.cvt-nav { transition: background .3s, box-shadow .3s; }
.cvt-nav .cvt-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.cvt-nav.mat__header-sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(26, 27, 30, .08);
  animation: mat__headerStickyAnimations .6s ease both;
}
.cvt-nav.mat__header-sticky .cvt-container { min-height: 72px; }
.cvt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cvt-ink); }
.cvt-brand img { display: block; height: 52px; width: auto; }
.cvt-nav.mat__header-sticky .cvt-brand img { height: 46px; }
.cvt-brand-name { font-weight: 700; font-size: 16px; line-height: 1.15; }
.cvt-brand-name span { display: block; font-weight: 500; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cvt-ink-soft); }
.cvt-menu { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.cvt-menu a { color: var(--cvt-ink); font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.cvt-menu a:hover, .cvt-menu a.active { border-color: var(--cvt-accent); color: var(--cvt-ink); }
.cvt-nav-right { display: flex; align-items: center; gap: 16px; }
.cvt-nav-right .cvt-btn { padding: 13px 22px; }
.cvt-burger {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--cvt-line); background: var(--cvt-card); color: var(--cvt-ink);
  align-items: center; justify-content: center; font-size: 18px;
}

/* ---------- Mobile menu (reuses template open/close JS) ---------- */
.mat__mobile-menu { background: var(--cvt-bg); font-family: var(--cvt-sans); }
.cvt-mobile-links { list-style: none; padding: 8px 0; margin: 0; }
.cvt-mobile-links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--cvt-line); color: var(--cvt-ink); font-weight: 600; text-decoration: none; }
.cvt-mobile-cta { display: grid; gap: 10px; margin: 20px 0; }
.cvt-mobile-contact { font-size: 14px; color: var(--cvt-ink-soft); display: grid; gap: 8px; }
.cvt-mobile-contact a { color: var(--cvt-ink); font-weight: 600; text-decoration: none; }
.mat__mobile-menu .mat__close-btn { background: var(--cvt-card); border: 1px solid var(--cvt-line); border-radius: 50%; width: 42px; height: 42px; color: var(--cvt-ink); }

/* ---------- Hero ---------- */
.cvt-hero {
  position: relative; overflow: hidden;
  padding: 200px 0 110px;
  background:
    radial-gradient(ellipse 55% 60% at 30% 45%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    var(--cvt-bg);
}
.cvt-hero .cvt-container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.cvt-hero-title {
  font-weight: 800; letter-spacing: -0.045em; line-height: .98; margin: 20px 0 0;
  font-size: clamp(42px, 5.2vw, 76px); color: var(--cvt-ink);
}
.cvt-hero-title em { display: block; margin-top: 6px; }
/* Home tagline is long ("Northwest US States and Canadian Prairies"), so scale it down */
.cvt-hero .cvt-hero-title { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.04; }
.cvt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cvt-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; align-items: center; }
.cvt-hero-meta span.label { font-size: 13px; color: var(--cvt-muted); margin-right: 4px; }
.cvt-chip { font-size: 13px; font-weight: 600; padding: 9px 16px; border: 1px solid var(--cvt-line); border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--cvt-ink); }
.cvt-hero-media { position: relative; }
.cvt-hero-photo {
  background: var(--cvt-card); padding: 8px; border-radius: 28px; box-shadow: var(--cvt-shadow);
}
.cvt-hero-photo img { display: block; width: 100%; aspect-ratio: 900 / 1040; object-fit: cover; border-radius: 22px; }
.cvt-hero-float {
  position: absolute; background: var(--cvt-card); padding: 6px; border-radius: 18px; box-shadow: var(--cvt-shadow);
  animation: cvt-float 9s ease-in-out infinite;
}
.cvt-hero-float img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.cvt-hero-float.f1 { width: 200px; height: 150px; left: -70px; bottom: 60px; }
.cvt-hero-float.f2 { width: 170px; height: 130px; right: -40px; top: 40px; animation-delay: -4s; }
.cvt-badge {
  position: absolute; left: 32px; top: -26px; display: flex; align-items: center; gap: 12px;
  background: var(--cvt-ink); color: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--cvt-shadow);
  font-size: 13px; font-weight: 600;
}
.cvt-badge i { color: var(--cvt-accent); font-size: 20px; }
@keyframes cvt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .cvt-hero-float { animation: none; } }

/* ---------- Strip of quick facts ---------- */
.cvt-facts { background: var(--cvt-ink); color: #fff; }
.cvt-facts .cvt-container { display: grid; grid-template-columns: repeat(4, 1fr); }
.cvt-fact { padding: 36px 28px; border-left: 1px solid rgba(255, 255, 255, .1); display: flex; gap: 16px; align-items: flex-start; }
.cvt-fact:first-child { border-left: 0; padding-left: 0; }
.cvt-fact i { color: var(--cvt-accent); font-size: 26px; margin-top: 2px; }
.cvt-fact strong { display: block; font-size: 16px; font-weight: 700; }
.cvt-fact span { display: block; font-size: 14px; color: rgba(255, 255, 255, .65); margin-top: 4px; line-height: 1.5; }

/* ---------- Services (what we haul) ---------- */
.cvt-services { background: var(--cvt-card); }
.cvt-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cvt-service {
  background: var(--cvt-bg-soft); border: 1px solid var(--cvt-line); border-radius: var(--cvt-radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.cvt-service:hover { transform: translateY(-6px); box-shadow: var(--cvt-shadow); }
.cvt-service img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cvt-service-body { padding: 24px 26px 28px; }
.cvt-service-body h3 { font-family: var(--cvt-sans); font-size: 21px; font-weight: 700; color: var(--cvt-ink); margin: 0 0 8px; letter-spacing: -0.01em; }
.cvt-service-body p { margin: 0; color: var(--cvt-ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Equipment ---------- */
.cvt-equipment .cvt-container { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.cvt-equip-list { display: grid; gap: 16px; margin-top: 36px; }
.cvt-equip {
  display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px;
  background: var(--cvt-card); border: 1px solid var(--cvt-line); border-radius: 18px;
}
.cvt-equip-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(196, 34, 47, .12); color: var(--cvt-accent); font-size: 22px;
}
.cvt-equip h3 { font-family: var(--cvt-sans); font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--cvt-ink); }
.cvt-equip p { margin: 0; font-size: 15px; color: var(--cvt-ink-soft); line-height: 1.55; }
.cvt-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cvt-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; aspect-ratio: 4 / 3; box-shadow: 0 12px 30px rgba(26, 27, 30, .1); }
.cvt-mosaic img.tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Why us ---------- */
.cvt-why { background: var(--cvt-card); }
.cvt-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cvt-why-item { padding: 32px 28px; border-radius: var(--cvt-radius); background: var(--cvt-bg-soft); border: 1px solid var(--cvt-line); }
.cvt-why-item .num { font-family: var(--cvt-serif); font-style: italic; font-size: 40px; color: var(--cvt-accent); line-height: 1; }
.cvt-why-item h3 { font-family: var(--cvt-sans); font-size: 18px; font-weight: 700; margin: 18px 0 8px; color: var(--cvt-ink); }
.cvt-why-item p { margin: 0; color: var(--cvt-ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Gallery ---------- */
.cvt-gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.cvt-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cvt-gallery a { display: block; border-radius: 18px; overflow: hidden; }
.cvt-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.cvt-gallery a:hover img { transform: scale(1.05); }

/* ---------- CTA band ---------- */
.cvt-cta {
  position: relative; color: #fff; text-align: center; padding: 120px 0;
  background: linear-gradient(rgba(26, 27, 30, .86), rgba(26, 27, 30, .9)), var(--cvt-cta-img) center / cover no-repeat;
}
.cvt-cta .cvt-title { color: #fff; }
.cvt-cta .cvt-lede { color: rgba(255, 255, 255, .75); margin-left: auto; margin-right: auto; }
.cvt-cta .cvt-hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.cvt-footer { background: var(--cvt-ink); color: rgba(255, 255, 255, .7); padding: 88px 0 0; font-size: 15px; }
.cvt-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.cvt-footer .cvt-brand { color: #fff; }
.cvt-footer .cvt-brand-name span { color: rgba(255, 255, 255, .6); }
.cvt-footer p { line-height: 1.7; margin: 20px 0 0; max-width: 320px; }
.cvt-footer h5 { font-family: var(--cvt-sans); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 20px; }
.cvt-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cvt-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.cvt-footer a:hover { color: var(--cvt-accent); }
.cvt-footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.cvt-footer-contact i { color: var(--cvt-accent); width: 18px; margin-top: 4px; }
.cvt-social { display: flex; gap: 10px; margin-top: 24px; }
.cvt-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.cvt-social a:hover { border-color: var(--cvt-accent); }
.cvt-footer-bottom { margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .cvt-menu { gap: 24px; }
  .cvt-nav-right .cvt-btn-ghost { display: none; }
}
@media (max-width: 991px) {
  .cvt-menu, .cvt-nav-right .cvt-btn { display: none; }
  .cvt-burger { display: inline-flex; }
  .cvt-topbar-tagline { display: none; }
  .cvt-hero { padding: 160px 0 80px; }
  .cvt-hero .cvt-container, .cvt-equipment .cvt-container { grid-template-columns: 1fr; gap: 56px; }
  .cvt-hero-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .cvt-hero-float.f1 { left: -16px; }
  .cvt-hero-float.f2 { right: -16px; }
  .cvt-facts .cvt-container { grid-template-columns: 1fr 1fr; }
  .cvt-fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .cvt-fact { border-top: 1px solid rgba(255, 255, 255, .1); }
  .cvt-fact:nth-child(-n+2) { border-top: 0; }
  .cvt-service-grid, .cvt-gallery { grid-template-columns: 1fr 1fr; }
  .cvt-why-grid { grid-template-columns: 1fr 1fr; }
  .cvt-footer-grid { grid-template-columns: 1fr 1fr; }
  .cvt-section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .cvt-container { padding: 0 16px; }
  .cvt-topbar .cvt-container { justify-content: center; }
  .cvt-topbar-links .hide-sm { display: none; }
  .cvt-hero-actions .cvt-btn { width: 100%; }
  .cvt-hero-float { display: none; }
  .cvt-badge { left: 16px; }
  .cvt-facts .cvt-container, .cvt-service-grid, .cvt-why-grid, .cvt-footer-grid { grid-template-columns: 1fr; }
  .cvt-fact { border-left: 0 !important; padding: 24px 0 !important; border-top: 1px solid rgba(255, 255, 255, .1) !important; }
  .cvt-fact:first-child { border-top: 0 !important; }
  .cvt-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cvt-mosaic { gap: 10px; }
}

/* Service card without a photo */
.cvt-service-tile { display: flex; flex-direction: column; }
.cvt-service-icon {
  aspect-ratio: 4 / 3; display: grid; place-items: center; font-size: 64px; color: var(--cvt-accent);
  background: radial-gradient(circle at 50% 45%, rgba(196, 34, 47, .14), transparent 60%), #F3EEEE;
}

/* Inner pages sit on dark banners — give the nav a solid bar */
.cvt-nav-solid { background: #fff; box-shadow: 0 1px 0 var(--cvt-line); }

/* ==========================================================================
   Inner page hero (contact, about, services)
   ========================================================================== */
.cvt-page-hero {
  padding: 230px 0 72px;
  background:
    radial-gradient(ellipse 50% 70% at 20% 40%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    var(--cvt-bg);
}
.cvt-page-hero .cvt-hero-title { font-size: clamp(38px, 5vw, 68px); max-width: 900px; }

/* ==========================================================================
   Contact / quote form
   ========================================================================== */
.cvt-contact { padding: 0 0 110px; background: var(--cvt-bg); }
.cvt-contact .cvt-container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.cvt-contact-info { display: grid; gap: 14px; position: sticky; top: 100px; }
.cvt-contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--cvt-card); border: 1px solid var(--cvt-line); border-radius: 18px;
  color: var(--cvt-ink); text-decoration: none; transition: border-color .2s, transform .2s;
}
a.cvt-contact-card:hover { border-color: var(--cvt-accent); color: var(--cvt-ink); transform: translateY(-2px); }
.cvt-contact-card small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cvt-muted); }
.cvt-contact-card strong { display: block; font-size: 16px; font-weight: 700; margin-top: 2px; word-break: break-word; }
.cvt-contact-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-top: 6px; }

.cvt-form-card {
  background: var(--cvt-card); border: 1px solid var(--cvt-line); border-radius: 24px;
  padding: 44px; box-shadow: var(--cvt-shadow);
}
.cvt-form-card h2 { font-family: var(--cvt-sans); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; color: var(--cvt-ink); margin: 0; }
.cvt-form-intro { margin: 6px 0 24px; color: var(--cvt-muted); font-size: 14px; }
.cvt-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.cvt-form legend {
  font-family: var(--cvt-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cvt-accent); margin-bottom: 16px; padding: 0; float: none; width: auto;
}
.cvt-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.cvt-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.cvt-field label, .cvt-label { font-size: 14px; font-weight: 600; color: var(--cvt-ink); margin-bottom: 8px; }
.req { color: var(--cvt-accent); }
.cvt-form input[type="text"], .cvt-form input[type="email"], .cvt-form input[type="tel"],
.cvt-form input[type="date"], .cvt-form select, .cvt-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--cvt-ink);
  background: var(--cvt-bg-soft); border: 1px solid var(--cvt-line); border-radius: 12px;
  padding: 13px 16px; outline: 0; transition: border-color .2s, box-shadow .2s, background .2s;
  height: auto; line-height: 1.4;
}
.cvt-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b5f66' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.cvt-form textarea { resize: vertical; min-height: 110px; }
.cvt-form input:focus, .cvt-form select:focus, .cvt-form textarea:focus {
  border-color: var(--cvt-accent); background: #fff; box-shadow: 0 0 0 4px rgba(196, 34, 47, .14);
}
.cvt-field.has-error input, .cvt-field.has-error select, .cvt-field.has-error textarea { border-color: #c0392b; }
.cvt-error { color: #c0392b; font-size: 13px; margin-top: 6px; }
.cvt-field--captcha { align-items: center; text-align: center; }
.cvt-radios { display: flex; gap: 12px; }
.cvt-radio { position: relative; cursor: pointer; margin: 0; }
.cvt-radio input { position: absolute; opacity: 0; }
.cvt-radio span {
  display: inline-block; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--cvt-line);
  background: var(--cvt-bg-soft); font-weight: 600; font-size: 14px; transition: all .2s;
}
.cvt-radio input:checked + span { background: var(--cvt-ink); border-color: var(--cvt-ink); color: #fff; }
.cvt-radio input:focus-visible + span { box-shadow: 0 0 0 4px rgba(196, 34, 47, .25); }
.cvt-submit { width: 100%; padding: 18px 28px; font-size: 16px; border: 0; cursor: pointer; }
.cvt-submit.is-loading { opacity: .75; cursor: wait; }
.cvt-form-note { text-align: center; margin: 14px 0 0; font-size: 14px; color: var(--cvt-muted); }
.cvt-form-note a { color: var(--cvt-ink); font-weight: 700; text-decoration: none; }
.cvt-alert { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; margin-bottom: 24px; font-weight: 600; font-size: 15px; }
.cvt-alert i { font-size: 20px; }
.cvt-alert { transition: opacity .4s ease; }
.cvt-alert.is-hiding { opacity: 0; }
.cvt-alert-success { background: #eaf5ea; color: #1e6b2f; border: 1px solid #c7e5cc; }
.cvt-alert-error { background: #fbecea; color: #9b2c22; border: 1px solid #f1cbc6; }

@media (max-width: 991px) {
  .cvt-page-hero { padding: 200px 0 56px; }
  .cvt-contact .cvt-container { grid-template-columns: 1fr; }
  .cvt-contact-info { position: static; order: 2; }
  .cvt-contact-photo { display: none; }
}
@media (max-width: 640px) {
  .cvt-form-card { padding: 28px 20px; border-radius: 20px; }
  .cvt-field-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About — story
   ========================================================================== */
.cvt-story { background: var(--cvt-card); }
.cvt-story .cvt-container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.cvt-story-media { position: relative; }
.cvt-story-media img { display: block; width: 100%; aspect-ratio: 900 / 1040; object-fit: cover; border-radius: 24px; box-shadow: var(--cvt-shadow); }
.cvt-story-media img.wide { aspect-ratio: 3 / 2; }
.cvt-story-media .cvt-badge { top: auto; bottom: 24px; left: 24px; }
.cvt-story .cvt-lede + .cvt-lede { margin-top: 14px; }

/* ==========================================================================
   Services — alternating rows
   ========================================================================== */
.cvt-service-rows { display: grid; gap: 96px; }
.cvt-service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; scroll-margin-top: 120px; }
.cvt-service-row > img, .cvt-row-tile { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--cvt-shadow); }
.cvt-row-tile { font-size: 96px; }
.cvt-service-row.reverse > img { order: 2; }
.cvt-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.cvt-checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--cvt-ink); }
.cvt-checks i { color: var(--cvt-accent); font-size: 20px; }
a.cvt-chip { text-decoration: none; transition: border-color .2s; }
a.cvt-chip:hover { border-color: var(--cvt-accent); color: var(--cvt-ink); }

@media (max-width: 991px) {
  .cvt-story .cvt-container, .cvt-service-row { grid-template-columns: 1fr; gap: 36px; }
  .cvt-service-row.reverse > img { order: 0; }
  .cvt-service-rows { gap: 72px; }
  .cvt-story-media { max-width: 520px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.cvt-faq { padding: 0 0 110px; background: var(--cvt-bg); }
.cvt-faq .cvt-container { display: grid; grid-template-columns: 1.5fr .7fr; gap: 48px; align-items: start; }
.cvt-faq-groups { display: grid; gap: 48px; }
.cvt-faq-group h2 {
  font-family: var(--cvt-sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cvt-accent); margin: 0 0 16px;
}
.cvt-faq-item { background: var(--cvt-card); border: 1px solid var(--cvt-line); border-radius: 16px; margin-bottom: 12px; transition: border-color .2s; }
.cvt-faq-item[open] { border-color: var(--cvt-accent); }
.cvt-faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 17px; color: var(--cvt-ink);
}
.cvt-faq-item summary::-webkit-details-marker { display: none; }
.cvt-faq-item summary i { flex: none; color: var(--cvt-accent); transition: transform .2s; }
.cvt-faq-item[open] summary i { transform: rotate(45deg); }
.cvt-faq-item summary:focus-visible { outline: 2px solid var(--cvt-accent); outline-offset: 2px; border-radius: 16px; }
.cvt-faq-item p { margin: 0; padding: 0 24px 22px; color: var(--cvt-ink-soft); font-size: 16px; line-height: 1.7; }
.cvt-faq-aside { position: sticky; top: 100px; }
.cvt-faq-card { background: var(--cvt-card); border: 1px solid var(--cvt-line); border-radius: 24px; padding: 32px; box-shadow: var(--cvt-shadow); display: grid; gap: 12px; }
.cvt-faq-card h3 { font-family: var(--cvt-sans); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 0; color: var(--cvt-ink); }
.cvt-faq-card p { margin: 0 0 8px; color: var(--cvt-ink-soft); line-height: 1.6; }
@media (max-width: 991px) {
  .cvt-faq .cvt-container { grid-template-columns: 1fr; }
  .cvt-faq-aside { position: static; }
}

/* Repair shop — compact icon tiles */
.cvt-shop-grid .cvt-service-icon { aspect-ratio: auto; height: 150px; font-size: 52px; }

/* Preloader — centre the mark on its red disc, not its bounding box (the left tip pulls it off-centre) */
.mat__loader_logo { width: 120px; }
.mat__loader_logo img { display: block; width: 100%; height: auto; transform: translateX(-9%); }
