/* =============================================================================
   Trophy Air — 2026 Design System
   Dark glass aesthetic · Neon brand accents · Modern type
   =============================================================================
   Palette: Red #d42020 · Blue #00aaee · Dark #080c18
   ============================================================================= */

/* --- 1. DESIGN TOKENS ------------------------------------------------------ */
:root {
  --c-red:        #d42020;
  --c-red-dk:     #a81818;
  --c-red-glow:   rgba(212,32,32,.4);
  --c-blue:       #00aaee;
  --c-blue-dk:    #0088cc;
  --c-blue-glow:  rgba(0,170,238,.4);

  --c-bg:         #080c18;
  --c-bg-2:       #0d1225;
  --c-border:     rgba(255,255,255,.10);
  --c-border-dk:  rgba(255,255,255,.06);

  --c-text:       #e2e6f0;
  --c-text-muted: #8ab4c8;
  --c-white:      #ffffff;

  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 999px;

  --sh-sm:   0 2px 10px rgba(0,0,0,.35);
  --sh-md:   0 8px 32px rgba(0,0,0,.5);
  --sh-lg:   0 20px 60px rgba(0,0,0,.6);
  --sh-blue: 0 0 40px rgba(0,170,238,.25);
  --sh-red:  0 0 40px rgba(212,32,32,.25);

  --font: 'Inter', 'Open Sans', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --t-fast: .15s;
  --t-base: .25s;

}

/* --- 2. GLOBAL ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--c-bg);
  background-image: none;
  color: var(--c-text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

#page-wrapper {
  background: var(--c-bg);
  background-image: none;
}

.image::before { display: none !important; }
::selection { background: var(--c-blue); color: #fff; }

::-webkit-scrollbar             { width: 6px; }
::-webkit-scrollbar-track       { background: var(--c-bg-2); }
::-webkit-scrollbar-thumb       { background: var(--c-blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-blue-dk); }

/* --- 3. TYPOGRAPHY --------------------------------------------------------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--c-white);
  text-transform: uppercase;
}

p  { color: var(--c-text); line-height: 1.75; }
a  { color: var(--c-blue); transition: color var(--t-fast) var(--ease); text-decoration: none; }
a:hover { color: var(--c-blue-dk); }
b, strong { color: var(--c-white); font-weight: 700; }

/* Prevent main.css header p color from bleeding into strong tags */
header p strong { color: inherit; }

/* --- 4. NAVIGATION --------------------------------------------------------- */
#header-wrapper {
  background: rgba(8,12,24,.96);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--c-border-dk);
  padding: .45em 0;
  position: sticky;
  top: 0;
  z-index: 9000;
}

#header {
  padding: .45em;
}

#header .inner {
  height: auto;
  min-height: 6.8em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.45em;
  padding: .5em 1.05em;
  background-color: var(--c-bg-2);
  background-image: none;
  box-shadow: inset 0 0 0 1px rgba(0,170,238,.22),
              inset 0 1px 0 rgba(0,170,238,.12),
              0 4px 24px rgba(0,0,0,.45);
  border-radius: 8px;
  text-shadow: none;
}

#header h1 {
  position: relative;
  left: auto;
  top: auto;
  margin: 0;
  flex: 0 0 auto;
}

@keyframes logo-shimmer {
  0%   { filter: drop-shadow(0 0 6px rgba(0,170,238,.4)); }
  50%  { filter: drop-shadow(0 0 12px rgba(212,32,32,.5)); }
  100% { filter: drop-shadow(0 0 6px rgba(0,170,238,.4)); }
}

#logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-top: 0;
}

.nav-logo {
  height: 104px;
  width: auto;
  display: block;
  object-fit: contain;
  animation: logo-shimmer 5s ease infinite;
  transition: transform var(--t-fast) var(--ease);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.mobile-top-logo {
  display: none;
}

#nav {
  position: relative;
  right: auto;
  top: auto;
  line-height: 1.1;
  margin-left: auto;
  margin-top: 0;
  display: flex;
  align-items: center;
  align-self: center;
}

#nav > ul {
  display: flex;
  align-items: center;
  gap: .22em;
  flex-wrap: nowrap;
  height: auto;
  margin: 0;
}

#nav > ul > li {
  float: none;
  padding: 0 .2em;
  display: flex;
  align-items: center;
  height: auto;
  margin: 0;
}

#nav ul,
#nav li {
  margin-bottom: 0;
}

#nav > ul > li > a {
  color: var(--c-text);
  font-weight: 700;
  font-size: 1.1em;
  padding: .64em 1.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  min-height: 2.45em;
  border-radius: var(--r-xs);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

#nav > ul > li > a:hover {
  color: var(--c-blue);
  background: rgba(0,170,238,.1);
}

#nav > ul > li.current_page_item > a {
  color: var(--c-blue);
  background: rgba(0,170,238,.18);
  box-shadow: inset 0 0 0 1px rgba(0,170,238,.3), 0 0 14px rgba(0,170,238,.12);
}

#nav > ul > li > a.scroll-active {
  color: var(--c-blue);
  background: rgba(0,170,238,.14);
}

#nav ul ul {
  background: #0a0f1e;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-md), 0 0 0 1px rgba(0,170,238,.1);
  overflow: hidden;
}

#nav ul ul li a {
  color: var(--c-text);
  font-size: 1.08em;
  padding: .7em 1.4em;
  transition: background var(--t-fast) var(--ease);
}

#nav ul ul li a:hover {
  background: rgba(0,170,238,.12);
  color: var(--c-blue);
}

#navPanel .link.is-current {
  color: #fff;
  background: rgba(0,170,238,.14);
  box-shadow: inset 3px 0 0 var(--c-blue);
}

a:focus-visible,
.button:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}

/* Preserve stacking context on pages using the hero-background layout */
.hero-background #header-wrapper .container { position: relative; z-index: 1; }
.hero-background #main-wrapper { position: relative; z-index: 1; }

/* --- 5. WRAPPERS ----------------------------------------------------------- */
.wrapper { background: none; padding: 2em 0; }
.wrapper.style1 { background: var(--c-bg-2); }
.wrapper.style2 { background: var(--c-bg);   }
.wrapper.style3 { background: var(--c-bg);   }
.wrapper.style1 .inner,
.wrapper.style2 .inner,
.wrapper.style3 .inner { padding: 3.6em 0; }

/* --- 6. HOMEPAGE BANNER ---------------------------------------------------- */
#banner-wrapper {
  background: var(--c-bg);
  background-image: none;
}

body.homepage #banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  align-items: stretch;
  padding: 1.6em 0 2.8em;
}

body.homepage #banner::before,
body.homepage #banner::after { display: none; }
body.homepage #banner h2::before,
body.homepage #banner h2::after { display: none; }

body.homepage .banner-card {
  flex: 1 1 280px;
  max-width: 600px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 2em 1.6em;
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

body.homepage .banner-card:hover {
  border-color: rgba(0,170,238,.4);
  box-shadow: var(--sh-blue);
}

body.homepage .banner-card h2 {
  margin: 0;
  font-size: 1.65em;
  font-weight: 800;
  border: 0;
  color: #fff;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

body.homepage .banner-card p,
body.homepage #banner p {
  color: var(--c-text-muted);
}

body.homepage .banner-card .button {
  margin-top: auto;
  width: fit-content;
  align-self: center;
  text-align: center;
}

/* --- 7. BUTTONS ------------------------------------------------------------ */
.button, a.button, button.button {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .75em 2em;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-family: var(--font);
  font-size: .88em;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dk) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,170,238,.22);
}

.button:hover, a.button:hover, button.button:hover {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dk) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,170,238,.38);
  filter: brightness(1.12);
}

.button.alt, a.button.alt {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dk) 100%);
  box-shadow: 0 4px 18px rgba(212,32,32,.22);
}

.button.alt:hover, a.button.alt:hover {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dk) 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(212,32,32,.38);
  filter: brightness(1.12);
}

.button.ghost, a.button.ghost {
  background: transparent;
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
  box-shadow: none;
}

.button.ghost:hover, a.button.ghost:hover {
  background: rgba(0,170,238,.12);
  filter: none;
}

.button.large, a.button.large { padding: .9em 2.5em; font-size: .93em; }

.button.brand-red  { background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dk) 100%); }
.button.brand-blue { background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dk) 100%); }

/* --- 8. BASE CARDS --------------------------------------------------------- */
.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2em;
  margin-bottom: 1.4em;
  box-shadow: var(--sh-sm);
  border-left: 4px solid var(--c-blue);
  transition: all var(--t-base) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md), 0 0 0 1px rgba(0,170,238,.18);
  border-left-width: 5px;
}

.service-card h3 { color: var(--c-blue); margin-top: 0; }
.service-card p { color: var(--c-text-muted); }
.service-card ul li { color: var(--c-text-muted); }

/* --- 9. SECTION HEADERS ---------------------------------------------------- */
header.major {
  display: flex;
  align-items: center;
  gap: 1.6em;
  flex-wrap: wrap;
  margin-bottom: 1.6em;
}

header.major > div:first-child { flex: 1; min-width: 280px; }
header.major.centered { text-align: center; }
header.major.tight { margin-bottom: .5em; }

header.major h2 {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 900;
  margin: 0 0 .35em;
}

header.major p { color: var(--c-text-muted); font-size: 1.05em; margin: 0; }

header.second.icon::before               { color: var(--c-blue); }
header.second.icon.fa-fire::before       { color: var(--c-red); }
header.second.icon.fa-snowflake::before  { color: var(--c-blue); }
header.second.icon.fa-fire-alt::before   { color: var(--c-red); }

/* --- 10. SECTION INTRO ----------------------------------------------------- */
.section-intro {
  background: linear-gradient(135deg, rgba(0,170,238,.12) 0%, rgba(212,32,32,.07) 100%);
  border: 1px solid rgba(0,170,238,.18);
  border-radius: var(--r-md);
  color: var(--c-text);
  padding: 1.6em 2em;
  margin-bottom: 1.6em;
  text-align: center;
  backdrop-filter: blur(6px);
}

.section-intro p { color: var(--c-text-muted); margin: 0; }

/* --- 11. HOMEPAGE Feature 1 ------------------------------------------------ */
body.homepage #main-wrapper .wrapper.style1,
body.homepage #main-wrapper .wrapper.style2 { padding: 0; }

body.homepage .box.feature1 { padding: 3.2em 0; }

body.homepage .box.feature1 .image.featured {
  border-radius: var(--r-sm);
  overflow: hidden;
  display: block;
}

body.homepage .box.feature1 .image.featured img {
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  transition: transform .6s var(--ease);
  display: block;
}

body.homepage .box.feature1 .image.featured:hover img { transform: scale(1.05); }

body.homepage .box.feature1 section {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.5em;
  height: 100%;
  transition: all var(--t-base) var(--ease);
}

body.homepage .box.feature1 section:hover {
  border-color: rgba(0,170,238,.28);
  box-shadow: var(--sh-blue);
}

body.homepage .box.feature1 section header.second h3 { color: var(--c-white); }
body.homepage .box.feature1 section p { color: var(--c-text-muted); }

body.homepage .commitment-statement {
  background: linear-gradient(135deg, rgba(0,170,238,.1) 0%, rgba(212,32,32,.07) 100%);
  border: 1px solid rgba(0,170,238,.18);
  border-radius: var(--r-lg);
  padding: 2.4em;
  margin-top: 2em;
  text-align: center;
}

body.homepage .commitment-statement .lead-text {
  color: var(--c-text);
  font-size: 1.2em;
  font-weight: 500;
  margin: 0 0 1.75em;
}

body.homepage .commitment-statement .inline-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75em 1.25em;
}

body.homepage .commitment-statement .inline-services li {
  color: var(--c-text);
  font-size: .88em;
  font-weight: 600;
  padding: .45em 1.25em;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  transition: all var(--t-fast) var(--ease);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

body.homepage .commitment-statement .inline-services li:hover {
  background: rgba(0,170,238,.15);
  border-color: var(--c-blue);
  color: var(--c-blue);
  transform: translateY(-2px);
}

/* --- 12. WHY CHOOSE US ----------------------------------------------------- */
body.homepage .feature2-enhanced { padding: 1.6em 0; }

body.homepage .service-highlight-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2em 1.4em;
  text-align: center;
  height: 100%;
  transition: all var(--t-base) var(--ease);
  border-top: 3px solid transparent;
}

body.homepage .service-highlight-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

body.homepage .service-highlight-card.assessment { border-top-color: var(--c-blue); }
body.homepage .service-highlight-card.training   { border-top-color: var(--c-red); }
body.homepage .service-highlight-card.placement  { border-top-color: var(--c-blue); }
body.homepage .service-highlight-card.support    { border-top-color: var(--c-red); }

body.homepage .service-icon { font-size: 3em; margin-bottom: .6em; }

body.homepage .service-highlight-card.assessment .service-icon { color: var(--c-blue); }
body.homepage .service-highlight-card.training   .service-icon { color: var(--c-red); }
body.homepage .service-highlight-card.placement  .service-icon { color: var(--c-blue); }
body.homepage .service-highlight-card.support    .service-icon { color: var(--c-red); }

body.homepage .service-highlight-card h3 { font-size: 1.15em; color: var(--c-white); margin-bottom: .6em; }
body.homepage .service-highlight-card p  { color: var(--c-text-muted); font-size: .93em; line-height: 1.7; margin: 0; }

/* --- 13. BRAND CARDS ------------------------------------------------------- */
.brand-partners-section { text-align: center; }

.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5em;
  margin: 2em 0;
}

.brand-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2em 1.4em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--t-base) var(--ease);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75em;
  position: relative;
  overflow: hidden;
}

.brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 0%, rgba(0,170,238,.07) 100%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.brand-card:hover { border-color: rgba(0,170,238,.4); box-shadow: var(--sh-blue); transform: translateY(-6px); }
.brand-card:hover::after { opacity: 1; }

.brand-card .brand-icon { font-size: 3em; color: var(--c-blue); transition: all var(--t-base) var(--ease); position: relative; z-index: 1; }
.brand-card:hover .brand-icon { color: var(--c-red); filter: drop-shadow(0 0 12px rgba(212,32,32,.5)); }

.brand-card h3  { margin: 0 0 .2em; font-size: 1.2em; font-weight: 800; color: var(--c-white); position: relative; z-index: 1; }
.brand-card p   { color: var(--c-text-muted); font-size: .88em; line-height: 1.65; margin: 0; flex: 1; position: relative; z-index: 1; }

.brand-card .brand-ext-link { font-size: .82em; color: var(--c-blue); font-weight: 700; letter-spacing: .04em; transition: color var(--t-fast) var(--ease); position: relative; z-index: 1; }
.brand-card:hover .brand-ext-link { color: var(--c-red); }

/* --- 14. TESTIMONIAL CARDS ------------------------------------------------- */
.testimonial-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.6em 1.4em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  gap: .9em;
}

.testimonial-card:hover { border-color: rgba(0,170,238,.28); box-shadow: var(--sh-blue); transform: translateY(-4px); }

.testimonial-card .stars { color: var(--c-blue); letter-spacing: .05em; }

.testimonial-card .testimonial-text,
.testimonial-card .review-text { font-style: italic; color: var(--c-text-muted); line-height: 1.75; flex: 1; margin: 0; }

.testimonial-card .testimonial-author,
.testimonial-card .reviewer { font-weight: 700; color: var(--c-blue); font-size: .88em; margin: 0; }

.testimonial-cta { text-align: center; padding: 2em 0 .4em; }
.testimonial-cta p { color: var(--c-text-muted); margin-bottom: 1.25em; }

/* --- 15. SOCIAL STRIP ------------------------------------------------------ */
.social-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
  padding: 1em 0;
}

.social-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .72em 1.8em;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .87em;
  letter-spacing: .04em;
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
  color: #fff;
}

.social-strip a.facebook-btn  { background: #1877f2; }
.social-strip a.facebook-btn:hover  { background: #1558c0; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(24,119,242,.4); }

.social-strip a.instagram-btn { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-strip a.instagram-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(220,39,67,.4); filter: brightness(1.1); }

/* --- 16. REFERRAL CALLOUT -------------------------------------------------- */
.referral-callout {
  background: linear-gradient(135deg, rgba(13,18,37,.97) 0%, rgba(30,10,10,.97) 50%, rgba(13,22,37,.97) 100%);
  border: 1px solid rgba(212,32,32,.3);
  border-radius: var(--r-lg);
  padding: 2.4em 2.8em;
  text-align: center;
  color: var(--c-white);
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}

.referral-callout::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,32,32,.1) 0%, transparent 70%);
  pointer-events: none;
}

.referral-callout h3 { font-size: 1.9em; font-weight: 900; margin: 0 0 .5em; color: var(--c-white); position: relative; z-index: 1; }
.referral-callout p  { color: rgba(255,255,255,.72); margin: 0 0 1.5em; line-height: 1.75; position: relative; z-index: 1; }
.referral-callout > div, .referral-callout .button { position: relative; z-index: 1; }

.referral-callout .discount-badge {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--c-white);
  font-size: .82em;
  font-weight: 800;
  padding: .4em 1.4em;
  border-radius: var(--r-pill);
  margin: .3em .4em .75em;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

.services-overview {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.6em 1.8em;
  text-align: center;
}

.services-overview.spaced-top {
  margin-top: 2em;
}

.services-overview h3 {
  margin-top: 0;
  color: var(--c-white);
}

.services-overview p {
  color: var(--c-text-muted);
  margin-bottom: 1em;
}

/* --- 17. CONTACT FORM ------------------------------------------------------ */
.contact-form-wrapper {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 1.6em;
  border-top: 3px solid var(--c-blue);
}

.contact-form-wrapper h3 { color: var(--c-blue); margin-top: 0; font-size: 1.45em; }

body.contact-page .contact-form-wrapper .form-intro {
  color: var(--c-text-muted);
  margin-bottom: 1.5em;
}

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5em; }

.contact-form .form-group { display: flex; flex-direction: column; gap: .35em; margin-bottom: 1.25em; }

.contact-form label { font-weight: 600; color: var(--c-text-muted); font-size: .8em; letter-spacing: .07em; text-transform: uppercase; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .85em 1.1em;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--r-sm);
  font-size: max(.95em, 16px);  /* 16px minimum prevents iOS auto-zoom on focus */
  font-family: var(--font);
  background: rgba(255,255,255,.07);
  color: var(--c-text);
  box-sizing: border-box;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.09);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(226,230,240,.62);
  opacity: 1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0,170,238,.18);
  background: rgba(0,170,238,.04);
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  color: rgba(115,216,255,.78);
}

.contact-form select option { background: var(--c-bg-2); color: var(--c-text); }
.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-form .referral-group {
  background: rgba(212,32,32,.05);
  border: 1px dashed rgba(212,32,32,.38);
  border-radius: var(--r-sm);
  padding: 1em 1.2em;
  margin-bottom: 1.2em;
}

.contact-form .referral-group label { color: var(--c-red); }
.contact-form .referral-note { font-size: .78em; color: var(--c-text-muted); margin: .25em 0 .75em; line-height: 1.55; }

.contact-form .honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form .optional-note {
  font-weight: 400;
  color: var(--c-text-muted);
  text-transform: none;
  letter-spacing: .01em;
}

.contact-form .required-indicator {
  color: var(--c-red);
}

.contact-form .uppercase-input {
  text-transform: uppercase;
}

.contact-form .submit-btn {
  background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dk) 100%);
  color: #fff;
  border: none;
  padding: 1em 3em;
  border-radius: var(--r-pill);
  font-size: 1em;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  letter-spacing: .07em;
  text-transform: uppercase;
  font-family: var(--font);
}

.contact-form .submit-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 26px var(--c-red-glow); filter: brightness(1.1); }
.contact-form .submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }

.form-status { padding: 1em 1.5em; border-radius: var(--r-sm); margin-top: 1em; font-weight: 600; display: none; font-size: .92em; }
.form-status.success { background: rgba(0,170,238,.1); color: var(--c-blue); border: 1px solid rgba(0,170,238,.3); display: block; }
.form-status.error   { background: rgba(239,68,68,.1);  color: #f87171; border: 1px solid rgba(239,68,68,.3);  display: block; }

/* --- 18. BRANDS PAGE ------------------------------------------------------- */
body.brands-page .brand-detail-card {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2.2em;
  margin-bottom: 1.6em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--t-base) var(--ease);
  border-left: 4px solid var(--c-blue);
}

body.brands-page .brand-detail-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

/* Brand card accent colors — red/blue alternation */
body.brands-page .brand-detail-card.rheem,
body.brands-page .brand-detail-card.modine    { border-left-color: var(--c-red); }
body.brands-page .brand-detail-card.rheem h3,
body.brands-page .brand-detail-card.modine h3 { color: var(--c-red); }
body.brands-page .brand-detail-card.friedrich h3 { color: var(--c-blue); }

body.brands-page .brand-detail-card h3 { display: flex; align-items: center; gap: .5em; margin-top: 0; font-size: 1.6em; }
body.brands-page .brand-detail-card p  { color: var(--c-text-muted); }

body.brands-page .brand-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .65em;
  margin: 1.25em 0 1.75em;
  padding: 0;
  list-style: none;
}

body.brands-page .brand-feature-list li {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border-dk);
  border-radius: var(--r-xs);
  padding: .6em 1em;
  display: flex;
  align-items: center;
  gap: .5em;
  color: var(--c-text-muted);
  font-size: .9em;
}

body.brands-page .brand-feature-list li::before { content: "\2713"; color: var(--c-blue); font-weight: 800; flex-shrink: 0; }

/* --- 19. SERVICES PAGE ----------------------------------------------------- */
body.services-page .service-card h3 { display: flex; align-items: center; gap: .5em; }
body.services-page .service-card h4 { color: var(--c-text); margin: 1.5em 0 .75em; font-size: 1.1em; }
body.services-page .service-card p  { margin: .5em 0; }

/* Service card accent colors — red/blue alternation */
body.services-page .service-card.heating,
body.services-page .service-card.fireplace,
body.services-page .service-card.unit-heater    { border-left-color: var(--c-red); }
body.services-page .service-card.heating h3,
body.services-page .service-card.fireplace h3,
body.services-page .service-card.unit-heater h3 { color: var(--c-red); }
body.services-page .service-card.cooling,
body.services-page .service-card.installation,
body.services-page .service-card.mini-split     { border-left-color: var(--c-blue); }
body.services-page .service-card.cooling h3,
body.services-page .service-card.installation h3,
body.services-page .service-card.mini-split h3  { color: var(--c-blue); }

/* --- 20. BRAND CHIP -------------------------------------------------------- */
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  background: rgba(0,170,238,.08);
  border: 1px solid rgba(0,170,238,.24);
  color: var(--c-blue);
  border-radius: var(--r-pill);
  padding: .25em .9em;
  font-size: .78em;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  margin: .2em;
  white-space: nowrap;
  letter-spacing: .04em;
}

.brand-chip:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* --- 21. ABOUT PAGE -------------------------------------------------------- */
/* About card accent colors — red/blue alternation */
body.about-page .service-card.about-values,
body.about-page .service-card.about-reviews    { border-left-color: var(--c-red); }
body.about-page .service-card.about-values h3,
body.about-page .service-card.about-reviews h3 { color: var(--c-red); }
body.about-page .service-card.about-dave,
body.about-page .service-card.about-services,
body.about-page .service-card.about-brand-card { border-left-color: var(--c-blue); }
body.about-page .service-card.about-dave h3,
body.about-page .service-card.about-services h3,
body.about-page .service-card.about-brand-card h3 { color: var(--c-blue); }

.quote-block {
  padding-left: 1em;
  margin: 1em 0;
  font-style: italic;
}

.about-brand-chips {
  margin-bottom: .5em;
}

.about-brand-button {
  margin-top: 1em;
}

.about-review-cta {
  text-align: center;
}

.social-strip.compact {
  padding: .5em 0;
}

/* --- 22. CONTACT PAGE ------------------------------------------------------ */
body.contact-page .contact-card-main {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.6em;
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}

body.contact-page .contact-card-main:hover { border-color: rgba(0,170,238,.35); box-shadow: var(--sh-blue); transform: translateY(-4px); }
body.contact-page .contact-card-main h3 { color: var(--c-blue); margin: 0 0 .5em; }
body.contact-page .contact-card-main h4 { color: var(--c-text); overflow-wrap: break-word; word-break: break-word; }
body.contact-page .contact-card-main .region-description { color: var(--c-text-muted); }

body.contact-page .contact-actions { display: flex; flex-direction: column; gap: .75em; margin-top: auto; padding-top: 1em; }
body.contact-page .contact-actions .button { margin: 0; text-align: center; }

body.contact-page .contact-regions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6em; margin-bottom: 2.4em; }
body.contact-page .contact-regions-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 1.6em; }

/* --- 23. FOOTER ------------------------------------------------------------ */
#footer-wrapper { background: var(--c-bg); border-top: 1px solid var(--c-border-dk); }
#footer { padding: 2.8em 0 .8em; }

/* Normalize template row gutters inside footer across breakpoints. */
#footer > .row {
  margin-left: 0 !important;
  margin-top: 0 !important;
}

#footer > .row > [class^="footer-area"],
#footer > .row > .footer-logo-col {
  float: none !important;
  margin-left: 0 !important;
  padding-top: 0 !important;
}

#footer section h2 {
  font-size: .9em;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 1em;
  padding-bottom: .6em;
  border-bottom: 2px solid rgba(0,170,238,.25);
}

#footer > .row > .footer-area-contact,
#footer > .row > .footer-area-services,
#footer > .row > .footer-area-follow {
  margin-bottom: 1.8em;
}

/* Centering column layout for footer sections — shared across all breakpoints */
.footer-area-services section,
.footer-area-contact section,
.footer-area-follow section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#footer dl.contact {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1em;
  row-gap: .8em;
  width: max-content;
  margin: 0 auto;
}

#footer dl.contact dt {
  float: none;
  width: auto;
  margin: 0;
  color: var(--c-text-muted);
  font-size: .86em;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: right;   /* right-aligns labels flush against values */
}

#footer dl.contact dd {
  margin: 0;
  text-align: left;
}
#footer dl.contact dd a { color: var(--c-text); font-size: 1em; font-weight: 600; text-decoration: none; transition: color var(--t-fast) var(--ease); }
#footer dl.contact dd a:hover { color: var(--c-blue); }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: .55em 0; }
.footer-links a {
  color: var(--c-text-muted);
  font-size: 1em;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
  display: block;
  padding: .35em 0;
  min-height: 44px;
  line-height: 1.85;
}
.footer-links a:hover { color: var(--c-blue); }

#footer .social {
  list-style: none;
  padding: 0;
  margin: .35em 0 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1em;
  align-items: center;
}

#footer .social a {
  color: var(--c-text-muted);
  font-size: 3em;
  line-height: 1;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

#footer .social a:hover { color: #1877f2; transform: translateY(-2px); }
#footer .social a[href*="instagram"]:hover { color: #e1306c; }

#copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: .6em;
  padding: .8em 0 .2em;
  border-top: 1px solid var(--c-border-dk);
  margin-top: 1.1em;
}

#copyright > div {
  flex: 1 1 0;
}

#copyright > div:first-child {
  text-align: left;
}

#copyright > div:last-child {
  text-align: right;
}

#copyright p { margin: 0; color: var(--c-text-muted); font-size: .9em; }

.copyright-break-mobile {
  display: inline;
}

.copyright-break-mobile::before {
  content: " \2022 ";
}

.footer-logo-col {
  display: flex;
  justify-content: center;
  padding: 1.2em 0 .4em;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
}

/* Footer grid-area assignments */
.footer-area-contact  { grid-area: contact; }
.footer-area-services { grid-area: services; }
.footer-area-follow   { grid-area: follow; }
.footer-logo-col      { grid-area: logo; }
.footer-area-copy     { grid-area: copy; }

.footer-logo {
  height: 170px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: .85;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* --- 24. SCROLL-REVEAL ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.delay-1 { transition-delay: .12s; }
.reveal.delay-2 { transition-delay: .24s; }
.reveal.delay-3 { transition-delay: .36s; }
.reveal.delay-4 { transition-delay: .48s; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* --- 25. RESPONSIVE --------------------------------------------------------
   Breakpoint overview:
   ≥ 737px              – footer switches to 2-column grid
   ≤ 980px              – tablet: collapsed header, stacked contact cards
   ≤ 980px (landscape)  – homepage feature images constrained
   981px – 1200px       – medium desktop: tighter nav spacing
   ≤ 736px              – mobile: everything stacks, nav logo hidden
   ≤ 600px              – small phone: contact form goes single-column
   ≤ 480px              – tiny: social strip stacks vertically
   -------------------------------------------------------------------- */
@media (min-width: 737px) {
  #footer > .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "services contact"
      "services follow"
      "services logo"
      "copy     copy";
    column-gap: 2em;
    row-gap: 0;
    align-items: start;
  }

  .footer-area-services {
    display: flex;
    align-items: center;
  }

  /* Ensure h2 separator lines span the full column width */
  /* (section flex layout lives in base styles above the MQs) */
  .footer-area-services section h2,
  .footer-area-contact section h2,
  .footer-area-follow section h2 {
    width: 100%;
    text-align: center;
  }

  #footer dl.contact {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    grid-template-columns: max-content max-content;
    column-gap: .45em;
  }

  #footer .footer-links {
    width: 100%;
    text-align: center;
  }

  #footer .social {
    justify-content: center;
    width: 100%;
  }

  .footer-logo-col {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 1em 0 .4em 3em;
  }

  .footer-area-copy {
    padding-top: .8em;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 980px) {
  .wrapper.style1 .inner,
  .wrapper.style2 .inner,
  .wrapper.style3 .inner { padding: 2.4em 0; }

  body.contact-page .contact-regions-grid,
  body.contact-page .contact-regions-grid.two-col {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }

  body.homepage .service-highlight-card { margin-bottom: 1.5em; }

  #header .inner {
    min-height: auto;
    gap: 1em;
    padding: .45em .85em;
  }

  #logo { margin-top: 8px; }

  #nav { margin-top: 12px; }

  #nav > ul > li > a {
    font-size: .98em;
    padding: .5em .9em;
  }

  #copyright { flex-direction: column; text-align: center; }
  #copyright > div { text-align: center !important; flex: none !important; }
  .nav-logo { height: 56px; }
  .footer-logo { height: 120px; }
}

@media (max-width: 980px) and (orientation: landscape) {
  body.homepage .mobile-top-logo {
    display: block;
    width: 100%;
    padding: .2em 1.1em 0;
    margin-bottom: -.6em;
  }

  body.homepage .mobile-top-logo img {
    width: 100%;
    max-width: 640px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
  }

  /* Keep homepage service photos from feeling over-stretched on landscape phones. */
  body.homepage .box.feature1 .col-4.col-12-medium section {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  body.homepage .box.feature1 .image.featured {
    width: 60% !important;
    max-width: 336px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (min-width: 981px) and (max-width: 1200px) {
  #header .inner {
    gap: .95em;
    padding: .4em .65em;
  }

  .nav-logo { height: 82px; }

  #nav > ul {
    gap: 0;
  }

  #nav > ul > li {
    padding: 0 .05em;
  }

  #nav > ul > li > a {
    font-size: .98em;
    padding: .56em .78em;
  }

  #nav ul ul li a {
    font-size: .95em;
    padding: .62em 1.1em;
  }
}

@media (max-width: 736px) {
  .container {
    padding-left: 1.1em !important;
    padding-right: 1.1em !important;
  }

  #header-wrapper {
    position: relative;
    top: auto;
    padding: .25em 0 .35em;
  }

  #header .inner {
    gap: .65em;
    padding: .3em .55em;
  }

  #logo {
    display: none;
    margin-top: 0;
  }

  .nav-logo {
    display: none;
    height: 42px;
  }

  #nav {
    margin-top: 0;
    margin-left: 0;
    width: 100%;
  }

  #nav > ul {
    justify-content: center;
    gap: .25em;
  }

  #nav > ul > li > a {
    font-size: .9em;
    padding: .45em .7em;
  }

  body.homepage .mobile-top-logo {
    display: block;
    width: 100%;
    padding: .2em 1.1em 0;
    margin-bottom: -.9em;
  }

  body.homepage .mobile-top-logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  body.homepage #banner { padding: .3em 0 2em; }
  body.homepage .banner-card { padding: 2em 1.5em; }
  body.homepage .banner-card h2 { font-size: 1.35em; }
  body.homepage .commitment-statement { padding: 1.8em 1.3em; }
  body.homepage .commitment-statement .lead-text { font-size: 1.05em; }
  body.homepage .box.feature1 { padding: 2em 0; }
  .referral-callout { padding: 1.8em 1.3em; }
  .referral-callout h3 { font-size: 1.45em; }
  .brand-cards-grid { grid-template-columns: 1fr; }
  header.major { flex-direction: column; }
  header.major > div:first-child { flex: 1 1 100%; min-width: 100%; }

  #footer {
    padding: 2.2em 0 .75em;
  }

  #footer > .row {
    display: flex;
    flex-direction: column;
    gap: .4em;
  }

  #footer > .row > [class^="footer-area"],
  #footer > .row > .footer-logo-col {
    text-align: center;
    padding-left: 1.1em;
    padding-right: 1.1em;
    margin-bottom: 1.2em;
  }

  /* (section flex layout lives in base styles above the MQs) */

  .footer-area-services section h2,
  .footer-area-contact section h2,
  .footer-area-follow section h2 {
    width: 85vw;
  }

  #footer dl.contact {
    width: max-content;
    margin: 0 auto;
    grid-template-columns: max-content max-content;
    column-gap: .65em;
    row-gap: .8em;
    justify-content: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #footer .social {
    flex-direction: row;
    gap: 1.1em;
  }

  .footer-logo {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 481px) {
  .social-strip {
    width: 100%;
  }

  .social-strip a.facebook-btn,
  .social-strip a.instagram-btn {
    flex: 1 1 0;
    min-width: 250px;
  }
}

@media (max-width: 480px) {
  .social-strip { flex-direction: column; }
  .social-strip a { width: 100%; justify-content: center; }
}

@media (max-width: 736px) and (orientation: portrait) {
  #copyright p {
    font-size: .84em;
    line-height: 1.4;
  }

  .copyright-break-mobile {
    display: block;
    height: 0;
  }

  .copyright-break-mobile::before {
    content: "";
  }
}

/* --- 26. MISC UTILITIES ---------------------------------------------------- */
article > footer { margin-top: 2em; display: flex; flex-wrap: wrap; gap: .75em; }

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75em;
  margin-top: 1.6em;
}

.button-row.center {
  justify-content: center;
}

.button-row .button {
  margin: 0 !important;
}

.button-row.compact {
  margin-top: .75em;
}

/* Utility styles used to replace legacy inline declarations */
.brand-summary {
  margin-bottom: 1.5em;
}

/* --- 27.  LAYOUT UTILITIES ------------------------------------------------- */

#main-wrapper {
  background: var(--c-bg);
}

.box, .box.feature1 { background: none; }
body.homepage #banner h2 { border: none; text-shadow: none; }
