/* ============================================================
   Covely Technologies — Theme CSS
   Converts the React/Tailwind design to plain CSS.
   Brand tokens: navy #1B3358  gold #C4A882  cream #FAF8F5
   ============================================================ */

/* ── Custom properties ─────────────────────────────────────── */
:root {
  --navy:       #1B3358;
  --navy-dark:  #152a47;
  --gold:       #C4A882;
  --gold-dark:  #b8996f;
  --cream:      #FAF8F5;
  --border:     #E8E4DE;
  --text-muted: #6B7280;
  --text-body:  #4B5563;
  --white:      #ffffff;
  --font-sans:  'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 2px 8px rgba(27,51,88,0.06);
  --shadow:     0 4px 20px rgba(27,51,88,0.08);
  --shadow-lg:  0 8px 40px rgba(27,51,88,0.12);
  --transition: 200ms ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); color: var(--navy); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── [hidden] protection ─────────────────────────────────── */
/* Some WordPress setups override the browser default.       */
[hidden] { display: none !important; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 600; line-height: 1.25; color: var(--navy); }
.ct-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.ct-heading { font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 600; color: var(--navy); line-height: 1.2; }
.ct-heading--lg { font-size: clamp(2rem, 5vw, 3.5rem); }
.ct-heading--white { color: var(--white); }
.ct-subheading { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; color: var(--navy); }
.ct-body { color: var(--text-muted); line-height: 1.75; }
.ct-body--white { color: rgba(255,255,255,0.75); }
.ct-prose { color: var(--text-body); line-height: 1.8; }
.ct-prose h2 { font-size: 1.25rem; margin-bottom: 12px; }
.ct-prose p, .ct-prose ul, .ct-prose ol { margin-bottom: 16px; }
.ct-prose ul { list-style: disc; padding-left: 24px; }
.ct-prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.ct-prose hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ── Layout ─────────────────────────────────────────────────── */
.ct-container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.ct-section { padding: 96px 0; }
.ct-section--sm { padding: 64px 0; }
.ct-section--lg { padding: 128px 0; }
.ct-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ct-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ct-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ct-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ct-flex-center { display: flex; align-items: center; justify-content: center; }
.ct-text-center { text-align: center; }

@media (max-width: 900px) {
  .ct-grid-2, .ct-grid-3, .ct-grid-4 { grid-template-columns: 1fr; }
  .ct-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .ct-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .ct-section { padding: 64px 0; }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.ct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.ct-btn--navy { background: var(--navy); color: var(--white); }
.ct-btn--navy:hover { background: var(--navy-dark); }
.ct-btn--white { background: var(--white); color: var(--navy); }
.ct-btn--white:hover { background: var(--cream); box-shadow: var(--shadow); }
.ct-btn--gold { background: var(--gold); color: var(--navy); }
.ct-btn--gold:hover { background: var(--gold-dark); }
.ct-btn--outline-gold { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.ct-btn--outline-gold:hover { background: var(--gold); color: var(--navy); }
.ct-btn--outline-white { border: 1px solid rgba(255,255,255,0.35); color: var(--white); background: transparent; }
.ct-btn--outline-white:hover { border-color: rgba(255,255,255,0.7); }
.ct-btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.ct-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ct-navbar.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.ct-navbar__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ct-navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.ct-navbar__logo svg { transition: opacity var(--transition); }
.ct-navbar.is-scrolled .ct-navbar__logo svg path { fill: var(--navy) !important; }
.ct-navbar__site-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.ct-navbar.is-scrolled .ct-navbar__site-name { color: var(--navy); }
.ct-navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.ct-navbar__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.ct-navbar__menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: opacity var(--transition);
  text-decoration: none;
}
.ct-navbar__menu a:hover { opacity: 0.7; }
.ct-navbar.is-scrolled .ct-navbar__menu a { color: var(--navy); }
.ct-navbar__cta { font-size: 0.875rem; padding: 10px 20px; }
.ct-navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.ct-navbar__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}
.ct-navbar.is-scrolled .ct-navbar__bar { background: var(--navy); }
.ct-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px;
  gap: 8px;
}
.ct-mobile-menu.is-open { display: flex; }
.ct-mobile-menu__list { display: flex; flex-direction: column; gap: 0; }
.ct-mobile-menu__list li { border-bottom: 1px solid var(--border); }
.ct-mobile-menu__list li:last-child { border-bottom: none; }
.ct-mobile-menu__list a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
.ct-mobile-menu__cta { margin-top: 16px; text-align: center; }

@media (max-width: 768px) {
  .ct-navbar__nav { display: none; }
  .ct-navbar__hamburger { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.ct-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(196,168,130,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(196,168,130,0.08) 0%, transparent 50%);
}
.ct-hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ct-hero__content { position: relative; z-index: 10; padding: 120px 0 80px; }
.ct-hero__fade { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to top, var(--cream), transparent); }

/* ── Section headers ─────────────────────────────────────────── */
.ct-section-header { text-align: center; margin-bottom: 64px; }
.ct-section-header .ct-eyebrow { margin-bottom: 12px; }
.ct-section-header .ct-heading { margin-top: 12px; margin-bottom: 16px; }
.ct-section-header p { color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ── Cards ─────────────────────────────────────────────────────── */
.ct-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: box-shadow var(--transition);
}
.ct-card:hover { box-shadow: var(--shadow-lg); }
.ct-card--cream { background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%); }
.ct-card--cream2 { background: linear-gradient(135deg, #fdfcfb 0%, #f8f5f0 100%); }
.ct-card__tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ct-card__title { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.ct-card__body { color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }

/* ── Dark section (navy bg) ─────────────────────────────────── */
.ct-dark-section {
  background-color: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.ct-dark-section__dots {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(196,168,130,0.6) 1px, transparent 0);
  background-size: 32px 32px;
}

/* ── Check list ─────────────────────────────────────────────── */
.ct-check-list { display: flex; flex-direction: column; gap: 16px; }
.ct-check-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.ct-check-item:hover { box-shadow: var(--shadow); }
.ct-check-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px; }

/* ── Solutions section ─────────────────────────────────────── */
.ct-solutions { background: var(--white); }

/* ── Forms ─────────────────────────────────────────────────── */
.ct-form-section { background: var(--white); }
.ct-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.ct-form-group { margin-bottom: 20px; }
.ct-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.ct-input, .ct-select, .ct-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.ct-input:focus, .ct-select:focus, .ct-textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,51,88,0.08);
}
.ct-textarea { resize: vertical; min-height: 120px; }
.ct-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 540px) { .ct-form-grid-2 { grid-template-columns: 1fr; } }
.ct-cf7-wrap { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; }

/* ── Info cards (sidebar) ─────────────────────────────────── */
.ct-info-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.ct-info-card__tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ct-info-card__body { font-size: 0.875rem; color: var(--navy); line-height: 1.6; }

/* ── Legal pages ─────────────────────────────────────────────── */
.ct-legal-page { padding: 100px 0 80px; }
.ct-legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
.ct-legal-page__back:hover { color: var(--gold); }
.ct-legal-header { background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; height: 64px; display: flex; align-items: center; }
.ct-legal-header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.ct-legal-brand { display: flex; align-items: center; gap: 8px; }

/* ── Footer ─────────────────────────────────────────────────── */
.ct-partner-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.ct-partner-strip__label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.ct-partner-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.ct-partner-strip__logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  transition: opacity var(--transition);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
}
.ct-partner-strip__logo-link:hover { opacity: 1; }
/* Non-clickable logo variant (used on CovelyAir page) */
.ct-partner-strip__logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--navy);
  cursor: default;
  user-select: none;
}
.ct-partner-strip__img { height: 32px; width: auto; object-fit: contain; }

/* ── Contact Form 7 — Covely styling ───────────────────────── */
.ct-cf7-wrap .wpcf7-form,
.ct-cta-section .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ct-cf7-wrap .wpcf7-form-control-wrap,
.ct-cta-section .wpcf7-form-control-wrap { display: block; width: 100%; }
.ct-cf7-wrap input[type="text"],
.ct-cf7-wrap input[type="email"],
.ct-cf7-wrap input[type="tel"],
.ct-cf7-wrap select,
.ct-cf7-wrap textarea,
.ct-cta-section input[type="text"],
.ct-cta-section input[type="email"],
.ct-cta-section input[type="tel"],
.ct-cta-section select,
.ct-cta-section textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.ct-cta-section input[type="text"],
.ct-cta-section input[type="email"],
.ct-cta-section input[type="tel"],
.ct-cta-section select,
.ct-cta-section textarea {
  background: rgba(255,255,255,0.92);
}
.ct-cf7-wrap input:focus,
.ct-cf7-wrap select:focus,
.ct-cf7-wrap textarea:focus,
.ct-cta-section input:focus,
.ct-cta-section select:focus,
.ct-cta-section textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,168,130,0.18);
}
.ct-cf7-wrap textarea,
.ct-cta-section textarea { min-height: 140px; resize: vertical; }
.ct-cf7-wrap select,
.ct-cta-section select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B3358' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}
/* Acceptance / consent checkbox */
.ct-cf7-wrap .wpcf7-acceptance,
.ct-cta-section .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.ct-cta-section .wpcf7-acceptance { color: rgba(255,255,255,0.65); }
.ct-cf7-wrap .wpcf7-acceptance input[type="checkbox"],
.ct-cta-section .wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  accent-color: var(--gold);
  cursor: pointer;
}
/* Submit button */
.ct-cf7-wrap input[type="submit"],
.ct-cf7-wrap .wpcf7-submit,
.ct-cta-section input[type="submit"],
.ct-cta-section .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: auto;
  align-self: flex-start;
}
.ct-cf7-wrap input[type="submit"]:hover,
.ct-cf7-wrap .wpcf7-submit:hover,
.ct-cta-section input[type="submit"]:hover,
.ct-cta-section .wpcf7-submit:hover { background: var(--gold-dark); transform: translateY(-1px); }
/* CF7 validation messages */
.wpcf7-not-valid-tip { font-size: 0.75rem; color: #dc2626; margin-top: 4px; display: block; }
.wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  border: 1.5px solid var(--gold);
  color: var(--navy);
  background: rgba(196,168,130,0.08);
}
.wpcf7-response-output.wpcf7-mail-sent-ok { border-color: #16a34a; background: rgba(22,163,74,0.06); color: #15803d; }
.wpcf7-response-output.wpcf7-validation-errors { border-color: #dc2626; background: rgba(220,38,38,0.05); color: #b91c1c; }
.ct-cta-section .wpcf7-response-output { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); border-color: rgba(196,168,130,0.5); }
/* CF7 spinner */
.wpcf7 .ajax-loader { display: inline-block; width: 18px; height: 18px; margin-left: 10px; vertical-align: middle; }
/* Placeholder colour */
.ct-cf7-wrap ::placeholder,
.ct-cta-section ::placeholder { color: var(--text-muted); opacity: 0.7; }
.ct-footer {
  background: var(--navy);
  padding: 64px 0 32px;
}
/* Top 3-column grid */
.ct-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .ct-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
/* Brand column spans 2 cols on desktop */
.ct-footer__brand-col { grid-column: span 2; }
@media (max-width: 768px) { .ct-footer__brand-col { grid-column: span 1; } }
.ct-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ct-footer__site-name { font-family: var(--font-serif); color: var(--white); font-weight: 600; font-size: 1.5rem; }
.ct-footer__desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; max-width: 420px; }
/* Navigation column */
.ct-footer__nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.ct-footer__nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ct-footer__nav-link { color: rgba(255,255,255,0.7); font-size: 0.875rem; text-decoration: none; transition: color var(--transition); }
.ct-footer__nav-link:hover { color: var(--white); }
/* Members of row */
.ct-footer__members {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 640px) { .ct-footer__members { flex-direction: column; align-items: flex-start; } }
.ct-footer__members-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.ct-footer__members-logo { display: block; text-decoration: none; }
.ct-footer__members-badge {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 12px 20px;
  transition: background var(--transition);
}
.ct-footer__members-logo:hover .ct-footer__members-badge { background: var(--white); }
.ct-footer__members-img { height: 40px; width: auto; display: block; }
/* Bottom copyright row */
.ct-footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 640px) { .ct-footer__bottom { flex-direction: column; align-items: flex-start; } }
.ct-footer__copy { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.ct-footer__links { display: flex; gap: 24px; }
.ct-footer__links a { color: rgba(255,255,255,0.6); font-size: 0.75rem; text-decoration: none; transition: color var(--transition); }
.ct-footer__links a:hover { color: var(--white); }

/* ── Fade-up animation ─────────────────────────────────────── */
.ct-fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ct-fade-up.is-visible { opacity: 1; transform: translateY(0); }
.ct-fade-up--d1 { transition-delay: 0.1s; }
.ct-fade-up--d2 { transition-delay: 0.2s; }
.ct-fade-up--d3 { transition-delay: 0.3s; }
.ct-fade-up--d4 { transition-delay: 0.4s; }

/* ─══════════════════════════════════════════════════════════
   COVELYAIR PAGE — BUTTON VARIANT (defined once, below in legacy section)
   ═══════════════════════════════════════════════════════════ */

/* ─══════════════════════════════════════════════════════════
   COVELYAIR PAGE — WORDPRESS ISOLATION RESET
   Neutralises styles injected by wp-block-library,
   classic-theme-styles, and any other WordPress/plugin CSS
   that leaks into this custom page template.
   All rules are scoped to body.ct-covelyair-page so the rest
   of the site (homepage, legal pages) is never affected.
   ═══════════════════════════════════════════════════════════ */

/* 1. Strip WordPress paragraph / heading / list margins */
body.ct-covelyair-page p,
body.ct-covelyair-page ul,
body.ct-covelyair-page ol,
body.ct-covelyair-page li,
body.ct-covelyair-page dl,
body.ct-covelyair-page dt,
body.ct-covelyair-page dd,
body.ct-covelyair-page blockquote,
body.ct-covelyair-page pre,
body.ct-covelyair-page address,
body.ct-covelyair-page figure,
body.ct-covelyair-page figcaption,
body.ct-covelyair-page table,
body.ct-covelyair-page th,
body.ct-covelyair-page td,
body.ct-covelyair-page caption {
  margin: 0;
  padding: 0;
}

/* 2. Strip heading clear:both (classic-theme-styles) and margins */
body.ct-covelyair-page h1,
body.ct-covelyair-page h2,
body.ct-covelyair-page h3,
body.ct-covelyair-page h4,
body.ct-covelyair-page h5,
body.ct-covelyair-page h6 {
  margin: 0;
  padding: 0;
  clear: none;          /* WP classic-theme-styles adds clear:both */
}

/* 3. Images — keep block display and max-width; remove unwanted margins */
body.ct-covelyair-page img {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
}

/* 4. Anchor reset.
 *
 * IMPORTANT — do NOT add `color: inherit` to the broad `a {}` rule.
 * This scoped selector has specificity 12 (body=1 + .ct-covelyair-page=10 + a=1).
 * Our button modifier classes (.ct-btn--navy, .ct-btn--gold, etc.) only have
 * specificity 10 — they LOSE to a broad `body.ct-covelyair-page a { color }` rule,
 * making anchor-based button text invisible (navy on navy, or navy on gold).
 *
 * Two targeted rules instead:
 *   a)  Strip WP underlines from ALL anchors (text-decoration only, no colour).
 *   b)  Bare anchors with NO class inherit body colour (prevents browser blue links). */
body.ct-covelyair-page a { text-decoration: none; }
body.ct-covelyair-page a:not([class]) { color: inherit; }

/* 5. Button reset.
 *
 * IMPORTANT — do NOT reset `background`, `padding`, or `color` here.
 * This scoped selector has specificity 12. All component button classes
 * (.ct-air-ntp__toggle, .ct-air-collection__header, .ct-air-product-btn,
 *  .ct-btn--navy, .ct-btn--gold, etc.) only have specificity 10 — they would
 * LOSE, stripping backgrounds, padding and colour from every styled button.
 *
 * The global `button {}` rule at the top of this file (specificity 1) already
 * resets browser defaults (border, background, cursor, font-family) at a
 * specificity that component CSS can safely override.
 *
 * Only reset properties that WordPress itself might add at element-selector
 * specificity (1) and that we need to guarantee at higher specificity (12). */
body.ct-covelyair-page button {
  cursor: pointer;
  font-family: inherit;
}

/* 6. List reset (WP block lib adds list-style to ul/ol inside .entry-content) */
body.ct-covelyair-page ul,
body.ct-covelyair-page ol {
  list-style: none;
}

/* 7. Body background: dark hero colour shows during initial render,
      preventing a flash of cream before sections paint. */
body.ct-covelyair-page {
  background-color: #0e1c30;
}

/* 8. Gutenberg block gap variable can leak layout */
body.ct-covelyair-page {
  --wp--style--block-gap: 0;
  --wp--preset--spacing--20: 0;
}

/* 9. WordPress admin bar offset for sticky subnav */
html.admin-bar body.ct-covelyair-page .ct-subnav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  html.admin-bar body.ct-covelyair-page .ct-subnav {
    top: 46px;
  }
}

/* 10. CovelyAir section vertical padding.
 * Root cause: .ct-section { padding: 96px 0 } is the site-wide default.
 * React uses py-14 md:py-18 = 56px mobile / 72px desktop for all CovelyAir sections.
 * 96px makes every section look 24–40px too tall compared to the approved design. */
body.ct-covelyair-page .ct-section { padding: 56px 0; }
@media (min-width: 768px) { body.ct-covelyair-page .ct-section { padding: 72px 0; } }

/* 11. Section header spacing and body-text width.
 * Root cause: .ct-section-header { margin-bottom: 64px } vs React mb-10 (40px).
 *             .ct-section-header p { max-width: 540px } vs React max-w-2xl (672px = 42rem).
 * Narrower paragraphs at 540px look "off-centre" in a 1024–1152px container. */
body.ct-covelyair-page .ct-section-header { margin-bottom: 40px; }
/* React: section-header paragraphs use text-sm (0.875rem) leading-relaxed (1.625) max-w-2xl mx-auto */
body.ct-covelyair-page .ct-section-header p {
  max-width: 42rem;   /* max-w-2xl = 672px */
  font-size: 0.875rem;
  line-height: 1.625; /* leading-relaxed */
  margin: 0 auto;
}
/* React: How It Works + Evidence section headings use text-2xl md:text-3xl leading-snug,
   NOT the global ct-heading clamp(1.75rem,4vw,3rem) which is significantly larger */
body.ct-covelyair-page .ct-section-header .ct-heading {
  font-size: 1.5rem;   /* text-2xl */
  line-height: 1.375;  /* leading-snug */
}
@media (min-width: 768px) {
  body.ct-covelyair-page .ct-section-header .ct-heading { font-size: 1.875rem; } /* text-3xl */
}

/* ─══════════════════════════════════════════════════════════
   COVELYAIR PAGE SPECIFIC STYLES  (v2 — matches React source)
   ═══════════════════════════════════════════════════════════ */

/* Subnav — on CovelyAir page (no main navbar, so top:0) */
.ct-subnav {
  position: sticky;
  top: 72px;          /* default: below main navbar */
  z-index: 900;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ct-covelyair-page .ct-subnav {
  top: 0;             /* CovelyAir page has no main navbar */
  background: rgba(14,28,48,0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ct-subnav__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.ct-subnav__inner::-webkit-scrollbar { display: none; }
.ct-subnav__link {
  padding: 10px 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  flex-shrink: 0;
}
.ct-subnav__link:hover, .ct-subnav__link.is-active {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(196,168,130,0.7);
}

/* ── Hero v2 — 2-column, dark #0e1c30 ───────────────────── */
.ct-air-hero-v2 {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: center;
}
.ct-air-hero-v2__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ct-air-hero-v2 .ct-container { width: 100%; }
.ct-air-hero-v2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 80px 0 96px;
}
@media (max-width: 768px) {
  .ct-air-hero-v2__grid { grid-template-columns: 1fr; padding: 56px 0 72px; }
}

/* Back link */
.ct-air-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color var(--transition);
  margin-bottom: 28px;
}
.ct-air-back-link:hover { color: rgba(255,255,255,0.65); }

/* Hero h1 */
.ct-air-hero-v2__h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Hero subtitle (serif) */
.ct-air-hero-v2__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  margin-bottom: 24px;
}

/* Hero body copy */
.ct-air-hero-v2__body {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Shield technology line */
.ct-air-hero-v2__tech-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding-right: 16px;
}
.ct-air-hero-v2__tech-line p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}

/* Credibility bullets */
.ct-air-hero-v2__bullets {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
  margin-bottom: 36px;
  padding-right: 16px;
}
.ct-air-hero-v2__bullet {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ct-air-hero-v2__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.ct-air-hero-v2__bullet span {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  letter-spacing: 0.03em;
}

/* Hero buttons */
.ct-air-hero-v2__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero image column */
.ct-air-hero-v2__image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-air-hero-v2__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(34rem, 90vw);
  height: min(34rem, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62,92,155,0.38) 0%, rgba(38,68,118,0.18) 40%, rgba(27,51,88,0.06) 65%, transparent 80%);
  pointer-events: none;
}
.ct-air-hero-v2__led {
  position: absolute;
  bottom: 7%;
  left: -5%;
  right: 0;
  height: 70px;
  pointer-events: none;
}
.ct-air-hero-v2__led-bloom {
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 22px;
  background: radial-gradient(ellipse at 50% 100%, rgba(210,175,115,0.45) 0%, rgba(196,168,130,0.18) 45%, transparent 70%);
  filter: blur(6px);
}
.ct-air-hero-v2__led-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, rgba(196,168,130,0.45) 5%, rgba(225,195,145,0.92) 18%, rgba(238,210,158,1) 50%, rgba(225,195,145,0.92) 82%, rgba(196,168,130,0.45) 95%, transparent 100%);
}
.ct-air-hero-v2__led-cast {
  position: absolute;
  top: 2px;
  left: 2%;
  right: 2%;
  height: 55px;
  background: linear-gradient(to bottom, rgba(210,178,120,0.30) 0%, rgba(196,168,130,0.10) 35%, transparent 100%);
  filter: blur(2px);
}
.ct-air-hero-v2__img-inner {
  position: relative;
  width: 100%;
  max-width: 565px;
}
.ct-air-hero-v2__product-img {
  position: relative;
  z-index: 10;
  width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.75)) drop-shadow(0 0 50px rgba(196,168,130,0.12));
}
.ct-air-hero-v2__img-caption {
  position: relative;
  z-index: 20;
  text-align: center;
  color: rgba(255,255,255,0.18);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 12px;
}
.ct-air-hero-v2__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 96px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

/* ── Benefits strip ─────────────────────────────────────────── */
.ct-air-benefits {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  padding-bottom: 56px;
}
.ct-air-benefits__card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(27,51,88,0.12);
  border: 1px solid var(--border);
  padding: 32px 40px;
}
@media (max-width: 640px) { .ct-air-benefits__card { padding: 24px 20px; } }
.ct-air-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
}
@media (max-width: 900px) { .ct-air-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ct-air-benefits__grid { grid-template-columns: 1fr; } }
.ct-air-benefits__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(27,51,88,0.18);
}
.ct-air-benefits__title {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ct-air-benefits__body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ── Applications section — 5-col layout ────────────────────── */
.ct-air-applications {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .ct-air-applications { grid-template-columns: 1fr; }
}
.ct-air-applications__sticky { position: sticky; top: 56px; }
.ct-btn--outline-navy { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.ct-btn--outline-navy:hover { background: var(--navy); color: var(--white); }

/* Application carousel */
.ct-air-app-carousel { position: relative; overflow: hidden; border-radius: 16px; }
.ct-air-app-page { display: none; }
.ct-air-app-page.is-active { display: block; }
.ct-air-app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 540px) { .ct-air-app-grid { grid-template-columns: repeat(2, 1fr); } }
.ct-air-app-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3.2;
  background: var(--navy);
  cursor: default;
  transition: box-shadow 0.3s, transform 0.3s;
}
.ct-air-app-card:hover { box-shadow: 0 8px 32px rgba(27,51,88,0.25); transform: translateY(-2px); }
.ct-air-app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ct-air-app-card:hover img { transform: scale(1.05); }
.ct-air-app-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.06) 40%, rgba(0,0,0,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.ct-air-app-card__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
/* Carousel arrows */
.ct-air-applications__carousel { position: relative; }
.ct-air-app-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(27,51,88,0.1);
  transition: background var(--transition), color var(--transition);
}
.ct-air-app-arrow:hover { background: var(--white); color: var(--gold); }
.ct-air-app-arrow--prev { left: -18px; }
.ct-air-app-arrow--next { right: -18px; }

/* ── Consultation banner ─────────────────────────────────────── */
.ct-consultation-banner { padding: 48px 0; }
.ct-consultation-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ct-consultation-banner__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.25;
}
.ct-consultation-banner__body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 540px;
}

/* ── Collections accordion ──────────────────────────────────── */
.ct-air-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 768px) { .ct-air-collections-grid { grid-template-columns: 1fr; } }

.ct-air-collection {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27,51,88,0.04);
  transition: box-shadow var(--transition);
}
.ct-air-collection:hover { box-shadow: 0 4px 20px rgba(27,51,88,0.08); }

.ct-air-collection__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background var(--transition);
}
.ct-air-collection__header:hover { background: rgba(250,248,245,0.6); }
.ct-air-collection__header.is-open { background: rgba(250,248,245,0.8); }

.ct-air-collection__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F3F0;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.ct-air-collection__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ct-air-collection__info { flex: 1; min-width: 0; }
.ct-air-collection__name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ct-air-collection__name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ct-air-collection__header:hover .ct-air-collection__name { color: var(--gold); }
.ct-air-collection__count {
  font-size: 0.6875rem;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 2px 8px;
  flex-shrink: 0;
}
.ct-air-collection__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ct-air-collection__chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.ct-air-collection__header.is-open .ct-air-collection__chevron { transform: rotate(180deg); }

.ct-air-collection__body {
  border-top: 1px solid var(--border);
  padding: 20px;
  background: var(--cream);
}
.ct-air-collection__body-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Product thumbnails inside accordion */
.ct-air-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}
.ct-air-product-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ct-air-product-btn:hover { border-color: var(--gold); box-shadow: 0 2px 8px rgba(196,168,130,0.2); }
.ct-air-product-btn__img-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #F5F3F0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-air-product-btn__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-air-product-btn__name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ct-air-product-btn:hover .ct-air-product-btn__name { color: var(--gold); }
.ct-air-product-btn__cta { font-size: 0.625rem; color: var(--gold); font-weight: 600; }

/* ── How It Works — 4 steps ─────────────────────────────────── */
.ct-air-hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 32px;
  align-items: stretch;
}
@media (max-width: 768px) { .ct-air-hiw-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ct-air-hiw-steps { grid-template-columns: 1fr; } }

.ct-air-hiw-step {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.ct-air-hiw-step__card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  flex: 1;
}
.ct-air-hiw-step__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 12px;
}
.ct-air-hiw-step__title {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ct-air-hiw-step__body { font-size: 0.75rem; color: var(--text-muted); line-height: 1.65; }
.ct-air-hiw-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  flex-shrink: 0;
}
@media (max-width: 768px) { .ct-air-hiw-connector { display: none; } }

/* Chip strip */
.ct-air-hiw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}
.ct-air-hiw-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 500;
}

/* NTP accordion */
.ct-air-ntp { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ct-air-ntp__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.ct-air-ntp__toggle:hover { background: var(--cream); }
.ct-air-ntp__chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.ct-air-ntp__toggle.is-open .ct-air-ntp__chevron { transform: rotate(180deg); }
.ct-air-ntp__body {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ct-air-ntp__body p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }

/* ── Evidence section (cream bg) ─────────────────────────────── */
.ct-air-val-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
@media (max-width: 900px)  { .ct-air-val-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .ct-air-val-cards { grid-template-columns: 1fr; } }
.ct-air-val-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(27,51,88,0.04);
}
.ct-air-val-card__icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(27,51,88,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.ct-air-val-card__label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.ct-air-val-card__detail { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* Cert logos strip (cream bg context) */
.ct-certs-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9CA3AF;
  text-align: center;
  margin-bottom: 32px;
}
.ct-cert-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;               /* React: gap-10 = 40px */
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) { .ct-cert-logos { gap: 48px; } } /* React: md:gap-12 = 48px */
.ct-cert-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-cert-item img {
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter var(--transition), opacity var(--transition);
}
.ct-cert-item:hover img { filter: grayscale(0); opacity: 0.8; }
/* Root cause of "tall narrow column" tooltip:
   position:absolute without explicit width collapses to content width, making
   each word its own line. React uses w-56 (14rem = 224px) — a FIXED width that
   forces text to wrap at 224px, creating a compact readable box.
   max-width alone is insufficient for absolutely-positioned elements. */
.ct-cert-tooltip-box {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;      /* text-xs — matches React */
  line-height: 1.375;      /* leading-snug — matches React */
  padding: 8px 12px;       /* py-2 px-3 — matches React */
  border-radius: 8px;      /* rounded-lg — matches React */
  width: 14rem;            /* w-56 = 224px fixed width — matches React exactly */
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}
.ct-cert-tooltip-box::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--navy);
}
.ct-cert-item:hover .ct-cert-tooltip-box { opacity: 1; }

/* ── Why Partner section (dark navy bg) ─────────────────────── */
.ct-air-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 768px) { .ct-air-why-grid { grid-template-columns: 1fr; gap: 40px; } }
.ct-air-why-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--white);
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 24px;
  line-height: 1.25;
}
.ct-air-why-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 16px;
}
.ct-air-why-checklist { display: flex; flex-direction: column; gap: 12px; }
.ct-air-why-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.ct-air-why-check-item span { font-size: 0.875rem; color: rgba(255,255,255,0.8); }

/* ── CTA section (cream bg) ─────────────────────────────────── */
/* React: max-w-3xl (48rem=768px) mx-auto text-center */
.ct-air-cta {
  max-width: 48rem;   /* max-w-3xl = 768px */
  margin: 0 auto;
  text-align: center;
}
/* React: text-3xl md:text-4xl = 1.875rem / 2.25rem; mt-3 mb-4; leading default (1.25 approx) */
.ct-air-cta__heading {
  font-family: var(--font-serif);
  font-size: 1.875rem;  /* text-3xl — was clamp(2rem,4vw,2.5rem) which was too large on mobile */
  color: var(--navy);
  font-weight: 600;
  margin-top: 12px;     /* mt-3 */
  margin-bottom: 16px;  /* mb-4 */
  line-height: 1.25;
}
@media (min-width: 768px) {
  .ct-air-cta__heading { font-size: 2.25rem; } /* text-4xl */
}
/* React: text-gray-500 mb-3 leading-relaxed (default font-size = 1rem) */
.ct-air-cta__body { font-size: 1rem; color: var(--text-muted); line-height: 1.625; margin-bottom: 12px; }
/* React: text-sm mb-10 */
.ct-air-cta__note { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 40px; }
/* React: flex flex-col sm:flex-row gap-4 justify-center */
.ct-air-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .ct-air-cta__btns { flex-direction: row; align-items: stretch; }
}

/* ── Technology Partners strip (white bg, images + dividers) ── */
.ct-air-tech-strip { padding: 32px 0; }
.ct-air-tech-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
@media (max-width: 540px) { .ct-air-tech-strip__inner { gap: 24px; } }
.ct-air-tech-strip__img { width: auto; object-fit: contain; opacity: 0.8; display: block; }
.ct-air-tech-strip__divider {
  display: block;
  width: 1px;
  height: 40px;
  background: #D1CBC1;
  flex-shrink: 0;
}
@media (max-width: 540px) { .ct-air-tech-strip__divider { display: none; } }

/* ── CovelyAir footer ───────────────────────────────────────── */
.ct-air-footer { padding: 40px 0 32px; }

/* Members of row */
.ct-air-footer__members {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 640px) { .ct-air-footer__members { flex-direction: column; align-items: flex-start; } }
.ct-air-footer__members-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}
.ct-air-footer__fsa-link { display: block; text-decoration: none; }
.ct-air-footer__fsa-badge {
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 20px;
  transition: background var(--transition);
}
.ct-air-footer__fsa-link:hover .ct-air-footer__fsa-badge { background: var(--white); }
/* FSA logo: scoped to body.ct-covelyair-page (specificity 21) so it beats the
 * inline critical reset's `body.ct-covelyair-page img { max-width: 100% !important }`
 * (specificity 12) and prevents the logo from stretching to container width. */
body.ct-covelyair-page .ct-air-footer__fsa-img {
  height: 40px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}
.ct-air-footer__members-text { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* Bottom row */
.ct-air-footer__bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 768px) { .ct-air-footer__bottom { flex-direction: column; align-items: center; } }
.ct-air-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
}
.ct-air-footer__copy { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.ct-air-footer__links { display: flex; align-items: center; gap: 24px; }
.ct-air-footer__links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color var(--transition);
}
.ct-air-footer__links a:hover { color: rgba(255,255,255,0.7); }
.ct-air-footer__back-link { color: rgba(255,255,255,0.6) !important; font-size: 0.875rem !important; }
.ct-air-footer__back-link:hover { color: var(--white) !important; }

/* ── Product modal ──────────────────────────────────────────── */
.ct-product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(15,25,50,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
  padding: 32px 16px;
}
.ct-product-modal {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(27,51,88,0.25);
  width: 100%;
  max-width: 860px;
  position: relative;
  margin: auto;
}
.ct-product-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
}
.ct-product-modal__close:hover { background: var(--border); }
.ct-product-modal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 640px) { .ct-product-modal__inner { grid-template-columns: 1fr; } }
.ct-product-modal__img-col {
  padding: 32px;
  background: #F5F3F0;
  border-radius: 24px 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 640px) { .ct-product-modal__img-col { border-radius: 24px 24px 0 0; padding: 24px; } }
.ct-product-modal__img-wrap { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.ct-product-modal__img { max-width: 100%; max-height: 300px; object-fit: contain; display: block; }
.ct-product-modal__info-col { padding: 32px; }
@media (max-width: 640px) { .ct-product-modal__info-col { padding: 24px; } }
.ct-product-modal__collection {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.ct-product-modal__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.ct-product-modal__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.ct-product-modal__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.ct-product-modal__feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--navy);
  line-height: 1.5;
}
.ct-product-modal__actions { margin-top: auto; }

/* ── Legacy styles kept for backward compat ─────────────────── */
/* (how it works on older pages) */
.ct-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ct-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; position: relative; }
.ct-step__num { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 700; color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 12px; }
.ct-step__title { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.ct-step__body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 768px) { .ct-steps { grid-template-columns: 1fr; } }

/* Legacy apps grid */
.ct-apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ct-app-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; cursor: default; }
.ct-app-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ct-app-card:hover img { transform: scale(1.04); }
.ct-app-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,51,88,0.85) 0%, rgba(27,51,88,0.2) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.ct-app-card__title { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.ct-app-card__desc { font-size: 0.75rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
@media (max-width: 900px) { .ct-apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .ct-apps-grid { grid-template-columns: 1fr; } }

/* ── System Selector Modal overlay ─────────────────────────────────────────
   Matches React: fixed inset-0 z-50 flex items-start justify-center overflow-y-auto
   + max-w-4xl inner container + bg-white rounded-3xl shadow-2xl.
   Hidden via [hidden] attribute (enforced by critical inline reset's
   [hidden]{display:none!important}).  Opened by #ct-open-selector click in theme.js.
─────────────────────────────────────────────────────────────────────────── */
.ct-selector-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 25, 50, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 32px 16px;
}
.ct-selector-modal[hidden] { display: none; }
.ct-selector-modal__inner {
  position: relative;
  width: 100%;
  max-width: 896px;      /* max-w-4xl — matches React */
  background: var(--white);
  border-radius: 24px;   /* rounded-3xl — matches React */
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin: auto;          /* centres vertically when shorter than viewport */
}
/* Close button — matches React: absolute top-4 right-4 w-9 h-9 rounded-full bg-[#F5F3F0] */
.ct-selector-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.ct-selector-modal__close:hover { background: var(--border); }
/* Content area — padding matches React RoomCalculator: py-16 md:py-20 px-6 */
.ct-selector-modal__content {
  padding: 64px 48px 48px;
}
@media (max-width: 640px) {
  .ct-selector-modal__content { padding: 56px 24px 32px; }
}
.ct-selector-modal__disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}

/* System selector calculator */
.ct-calculator {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
/* ── Step indicator — replaces old progress bar; matches React numbered circles ─ */
.ct-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 24px 12px;
}
.ct-step-indicator__group { display: flex; align-items: center; gap: 4px; }
.ct-step-indicator__circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--border);
  color: var(--text-muted);
  cursor: default;
  transition: background var(--transition), color var(--transition);
}
.ct-step-indicator__circle.is-active { background: var(--navy); color: var(--white); box-shadow: 0 1px 4px rgba(27,51,88,0.18); }
.ct-step-indicator__circle.is-done   { background: var(--gold); color: var(--white); cursor: pointer; }
.ct-step-indicator__circle.is-done:hover { background: #b8996f; }
.ct-step-indicator__label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  display: none; /* hidden on mobile, shown on sm+ */
}
.ct-step-indicator__label.is-active { color: var(--navy); font-weight: 500; }
@media (min-width: 480px) { .ct-step-indicator__label { display: block; } }
.ct-step-indicator__line {
  width: 24px;
  height: 1px;
  background: var(--border);
  margin: 0 4px;
  transition: background 0.3s;
  flex-shrink: 0;
}
@media (min-width: 480px) { .ct-step-indicator__line { width: 40px; } }
.ct-step-indicator__line.is-done { background: var(--gold); }
.ct-calc__step { padding: 40px; display: none; }
.ct-calc__step.is-active { display: block; }
.ct-calc__step-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ct-calc__step-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.ct-calc__step-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }

/* Room type grid */
.ct-room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* Room tiles — text-only, matching React (no emoji icon spans) */
.ct-room-tile {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  line-height: 1.35;
}
.ct-room-tile:hover { border-color: rgba(196,168,130,0.6); }
.ct-room-tile.is-selected { border-color: var(--navy); background: var(--navy); color: var(--white); box-shadow: 0 1px 4px rgba(27,51,88,0.14); }
@media (max-width: 640px) { .ct-room-grid { grid-template-columns: repeat(2, 1fr); } }

.ct-other-desc { margin-top: 16px; }
.ct-other-desc input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  outline: none;
}
.ct-other-desc input:focus { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(27,51,88,0.08); }

/* Dimension inputs (step 2) */
.ct-dim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.ct-dim-group label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; display: block; }
.ct-dim-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.ct-dim-group input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,51,88,0.08); }
.ct-dim-volume {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ct-dim-volume__label { font-size: 0.875rem; color: var(--text-muted); }
.ct-dim-volume__val { font-size: 1.125rem; font-weight: 600; color: var(--navy); }
@media (max-width: 540px) { .ct-dim-grid { grid-template-columns: 1fr; } }

/* Result card */
.ct-result { display: none; }
.ct-result.is-visible { display: block; }
.ct-result__badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.ct-result__badge--ideal    { background: var(--navy); color: var(--white); }
.ct-result__badge--strong   { background: #2d4f7a; color: var(--white); }
.ct-result__badge--suitable { background: var(--border); color: var(--navy); }
.ct-result__badge--further  { background: rgba(196,168,130,0.2); color: #7a5c30; border: 1px solid rgba(196,168,130,0.6); }

.ct-result__card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.ct-result__card-header {
  padding: 20px 24px;
  background: var(--navy);
  color: var(--white);
}
.ct-result__card-header-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ct-result__card-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.ct-result__card-body { padding: 20px 24px; }
.ct-result__card-body img { width: 80px; height: 80px; object-fit: contain; float: right; margin: 0 0 12px 16px; }
.ct-result__reason { font-size: 0.875rem; color: var(--text-body); line-height: 1.7; margin-bottom: 12px; }
.ct-result__conf-note { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }
.ct-result__alt {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  background: var(--cream);
  margin-bottom: 16px;
}
.ct-result__alt-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.ct-result__alt-name { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.ct-result__alt-note { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; }
.ct-result__room-note { font-size: 0.78rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; font-style: italic; }
.ct-result__caveat {
  background: rgba(196,168,130,0.1);
  border: 1px solid rgba(196,168,130,0.3);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.8rem;
  color: #7a5c30;
  margin-top: 12px;
}

.ct-calc__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.ct-calc__back { font-size: 0.875rem; color: var(--text-muted); background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.ct-calc__back:hover { color: var(--navy); }
.ct-calc__restart { font-size: 0.875rem; color: var(--gold); background: none; border: none; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* Collections / Product systems */
.ct-collections { }
.ct-collection-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.ct-collection-tabs::-webkit-scrollbar { display: none; }
.ct-tab {
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.ct-tab:hover { color: var(--navy); }
.ct-tab.is-active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }

.ct-collection-panel { display: none; }
.ct-collection-panel.is-active { display: block; }
.ct-collection-header { margin-bottom: 32px; }
.ct-collection-header p { font-size: 0.875rem; color: var(--text-muted); margin-top: 12px; max-width: 640px; }

.ct-products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .ct-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ct-products-grid { grid-template-columns: 1fr; } }

.ct-product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
  background: var(--white);
}
.ct-product-card:hover { box-shadow: var(--shadow-lg); }
.ct-product-card__img-wrap { background: #F5F3F0; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ct-product-card__img { max-width: 100%; max-height: 180px; object-fit: contain; }
.ct-product-card__body { padding: 20px; }
.ct-product-card__collection { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ct-product-card__name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.ct-product-card__desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; }
.ct-product-card__features { display: flex; flex-direction: column; gap: 6px; }
.ct-product-card__feature { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--navy); }
.ct-product-card__check { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.ct-product-card__link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.ct-product-card__link:hover { color: var(--gold-dark); }

/* (Legacy evidence/cert/why/cta styles removed — replaced by ct-air-* classes above) */
