/* ==========================================================================
   Longhorn Roofing — styles.css (v3)
   Body/subheadings: Manrope. Navigation: Montserrat.
   H1 display face: Podium Sharp 1.9 (licensed, embedded below).
   CTA/button face: Nexa Bold (licensed, embedded below).
   ========================================================================== */

/* Manrope + Montserrat are loaded via <link> tags in each HTML <head>
   instead of @import here — @import blocks on this stylesheet being
   fully fetched and parsed before the browser even discovers the
   Google Fonts request, adding a serial round-trip. See the <head>
   of index.html etc. for the preconnect + stylesheet link. */

@font-face {
  font-family: 'Podium Sharp';
  src: url('assets/fonts/podium-sharp.woff') format('woff'),
       url('assets/fonts/podium-sharp.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Carmen Sans';
  src: url('assets/fonts/carmen-sans-regular.woff') format('woff'),
       url('assets/fonts/carmen-sans-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nexa Bold';
  src: url('assets/fonts/nexa-bold.woff') format('woff'),
       url('assets/fonts/nexa-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/gotham-light.woff') format('woff'),
       url('assets/fonts/gotham-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/gotham-medium.woff') format('woff'),
       url('assets/fonts/gotham-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/gotham-book.woff') format('woff'),
       url('assets/fonts/gotham-book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/gotham-bold.woff') format('woff'),
       url('assets/fonts/gotham-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Gotham SemiBold — file not yet provided. Drop gotham-semibold.woff/.ttf into
   assets/fonts/ and this will pick it up automatically (falls back to Bold until then). */
@font-face {
  font-family: 'Gotham SemiBold';
  src: url('assets/fonts/gotham-semibold.woff') format('woff'),
       url('assets/fonts/gotham-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-orange: #ff7300;
  --color-orange-dark: #e56600;
  --color-black: #000000;
  --color-near-black: #0e0e0e;
  --color-charcoal: #282828;
  --color-charcoal-2: #2b2b2b;
  --color-gray-100: #f1f1f1;
  --color-gray-200: #e6e6e6;
  --color-gray-500: #7a7a7a;
  --color-white: #ffffff;

  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-cta: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-btn: 'Nexa Bold', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-gotham: 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-gotham-semibold: 'Gotham SemiBold', 'Gotham', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-carmen: 'Carmen Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Podium Sharp', 'Anton', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --header-h: 136px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
  --dur-slow: 700ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-near-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

.ph {
  background: repeating-linear-gradient(135deg, #e2e2e2, #e2e2e2 10px, #ececec 10px, #ececec 20px);
  display: flex; align-items: center; justify-content: center;
  color: #9a9a9a; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; text-align: center; overflow: hidden; position: relative;
}
.ph[data-placeholder]::before { content: attr(data-placeholder); padding: 10px; }

/* ---------------------------- Buttons (real skew transform — not clip-path, so borders/glow render correctly) ---------------------------- */
.btn {
  display: inline-block;
  transform: skewX(-16deg);
  transition: box-shadow var(--dur-med) var(--ease), background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), filter var(--dur-med) var(--ease);
}
.btn span {
  display: block;
  transform: skewX(16deg);
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 34px;
}
.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 10px 22px -12px rgba(0,0,0,.7);
}
.btn-primary:hover {
  background: var(--color-orange-dark);
  box-shadow: 0 0 22px 3px rgba(255,115,0,.65), 0 14px 26px -10px rgba(0,0,0,.75);
}
.btn-primary:active { filter: brightness(.92); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 3px solid var(--color-white);
  box-shadow: 0 10px 22px -14px rgba(0,0,0,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 20px 2px rgba(255,255,255,.45), 0 14px 26px -10px rgba(0,0,0,.7);
}
.btn-outline.dark { color: var(--color-near-black); border-color: var(--color-near-black); }
.btn-outline.dark:hover { background: rgba(0,0,0,.06); box-shadow: 0 0 18px 2px rgba(0,0,0,.2); }
.btn-small span { padding: 5px 26px; font-size: 12px; }

/* ---------------------------- Top bar ---------------------------- */
.topbar { background: var(--color-black); color: #fff; font-size: 13.5px; font-family: var(--font-cta); font-weight: 500; }
.topbar .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 56px; gap: 20px; }
.topbar-left { justify-self: start; display: flex; align-items: center; gap: 8px; margin-left: 74px; }
.topbar-center { justify-self: center; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-right { justify-self: end; display: flex; align-items: center; gap: 20px; }
.topbar-item { display: flex; align-items: center; gap: 8px; opacity: .95; transition: opacity var(--dur-fast), color var(--dur-fast); }
.topbar-item:hover { opacity: 1; color: var(--color-orange); }
.icon-plain { display: inline-flex; align-items: center; justify-content: center; transition: transform var(--dur-fast); }
.icon-plain img { width: 18px; height: 18px; }
.topbar-item:hover .icon-plain { transform: scale(1.12); }
.topbar-phone { font-weight: 700; }
.topbar-phone img { width: 16px; height: 16px; }
.topbar .btn span { padding: 8px 24px; font-size: 11.5px; }
.pin-img { width: 14px; height: 19px; }

/* ---------------------------- Header ---------------------------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  margin-bottom: calc(-1 * var(--header-h));
  transition: background var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
header.site-header.is-scrolled { background: var(--color-black); box-shadow: 0 12px 30px -18px rgba(0,0,0,.7); }
header.site-header.is-scrolled .nav-row { min-height: 78px; padding-top: 10px; }
header.site-header.is-scrolled .logo img { height: 60px; }
header.site-header.is-scrolled .main-nav { padding-top: 20px; }
.nav-row { display: flex; align-items: flex-start; justify-content: space-between; min-height: var(--header-h); gap: 24px; padding-top: 18px; transition: min-height var(--dur-med) var(--ease), padding-top var(--dur-med) var(--ease); }
.logo { display: flex; align-items: center; }
.logo img { height: 100px; width: auto; transition: transform var(--dur-med) var(--ease), height var(--dur-med) var(--ease); }
.logo:hover img { transform: scale(1.04); }

.main-nav { padding-top: 30px; transition: padding-top var(--dur-med) var(--ease); }

.main-nav > ul { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  color: #fff;
  font-family: var(--font-cta);
  font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 8px 0; transition: color var(--dur-fast);
}
.main-nav a:hover, .main-nav a.active { color: var(--color-orange); }
.has-dropdown { display: flex; align-items: center; gap: 7px; }
.caret { width: 9px; height: auto; transition: transform var(--dur-fast); }
.has-dropdown:hover .caret { transform: rotate(180deg); }

.dropdown-wrap { position: relative; }
.dropdown {
  display: block;
  position: absolute; top: 100%; left: 0; transform: translateY(8px);
  background: rgba(0,0,0,.5);
  min-width: 230px;
  padding: 8px 0;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.dropdown-wrap:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown li { display: block; margin: 0 16px; }
.dropdown li:not(:last-child) { border-bottom: 2px solid rgba(255,115,0,.6); }
.dropdown a {
  display: block; padding: 9px 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: rgba(255,255,255,.85);
}
.dropdown a:hover { color: var(--color-orange); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; height: 22px; }
.nav-toggle span { height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------------------------- Hero ---------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg-photo {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 48%, rgba(0,0,0,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
    url('assets/hero_image.jpg');
  background-size: cover;
  background-position: center;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; padding: 206px 0 60px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.8rem, 9vw, 6.4rem);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.hero h1 span { display: block; }
.hero h1 span:not(.accent) { font-size: calc(1em + 14px); }
.hero h1 .accent { color: var(--color-orange); font-size: 0.82em; }
.hero p.lead {
  font-family: var(--font-body); font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: .01em;
  text-transform: uppercase; color: #fff; max-width: 540px; margin: 6px 0 22px;
}
.hero-ctas { display: flex; justify-content: flex-start; max-width: 540px; gap: 20px; flex-wrap: wrap; }
.hero-ctas .btn { transform: skewX(-16deg) scale(.90); transform-origin: left center; }
.hero-ctas .btn span { padding: 8px 26px; font-size: 12.5px; }
.hero-ctas .btn-outline { border-width: 2px; }

/* Trust banner (orange, 3-up, full-bleed, white outline icons) */
.trust-banner { position: relative; z-index: 1; background: var(--color-orange); color: #fff; }
.trust-banner .container { max-width: none; padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 30px 40px; }
.trust-item::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 75%;
  background: rgba(255,255,255,1);
}
.trust-item:first-child::before { display: none; }
.trust-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon img { width: 100%; height: 100%; object-fit: contain; }
.trust-item:hover .trust-icon { animation: trust-icon-bounce 1s ease-out infinite; }
@keyframes trust-icon-bounce {
  0%   { transform: translateY(0); }
  18%  { transform: translateY(-7px); }
  36%  { transform: translateY(0); }
  50%  { transform: translateY(-3.5px); }
  64%  { transform: translateY(0); }
  75%  { transform: translateY(-1.5px); }
  86%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}
.trust-item h4 { font-family: var(--font-cta); font-size: 14.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 4px; }
.trust-item p { font-family: var(--font-cta); font-weight: 500; font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; color: rgba(255,255,255,.9); line-height: 1.4; }

/* ---------------------------- Section shells ---------------------------- */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-dark { background: var(--color-near-black); color: #fff; }
.section-gray { background: var(--color-gray-100); }
.eyebrow { color: var(--color-orange); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; display: block; }
#about .eyebrow { margin-bottom: 1px; }
#about .section-title + .body-copy { margin-top: 40px; margin-bottom: 40px; }
#about .btn-primary { margin-top: 20px; }
.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 300;
  line-height: 1.3;
  color: #444;
}
.section-title strong { font-weight: 800; color: var(--color-near-black); }
.section-title.solid { font-weight: 800; color: var(--color-near-black); }
.section-head { text-align: center; margin-bottom: 20px; }
.section-head .section-title { margin: 0 auto; }
.hr-thin { border: none; border-top: 1px solid var(--color-gray-200); max-width: 140px; margin: 28px auto 56px; }

/* ---------------------------- Services heading ---------------------------- */
.services-eyebrow {
  font-family: var(--font-gotham);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: #555;
  margin: 0;
}
.services-heading {
  font-family: var(--font-gotham);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: var(--color-near-black);
  margin: 6px 0 0;
}
.services-heading strong { font-weight: 500; }
.lens-divider { display: block; width: 720px; max-width: 94%; height: 2px; margin: 30px auto 50px; }

/* ---------------------------- Services cards ---------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.card {
  position: relative;
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  display: block;
}

.card-photo {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-slow) var(--ease);
}
.card-photo-1 { background-image: url('assets/card_commercial_residential.jpg'); }
.card-photo-2 { background-image: url('assets/card_metal_roofing.jpg'); }
.card-photo-3 { background-image: url('assets/card_seamless_gutters.jpg'); background-position: 72% center; }
.card-photo-4 { background-image: url('assets/card_metal_carports.jpg'); }
.card-photo-5 { background-image: url('assets/card_sprayfoam.jpg'); }
.card-photo-6 { background-image: url('assets/card_fencing.jpg'); }
.card-photo-7 { background-image: url('assets/card_remodeling.jpg'); }
.card-photo-8 { background-image: url('assets/card_home_improvement.jpg'); }
.card-media-wrap { position: relative; }
.card-media { aspect-ratio: 4/4.6; overflow: hidden; }
.card:hover .card-media .card-photo { transform: scale(1.06); }

.card-icon-wrap {
  position: absolute; left: 50%; bottom: -53px; transform: translateX(-50%);
  z-index: 2;
}
.hexagon {
  width: 92px; height: 106px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--color-orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: transform var(--dur-med) var(--ease);
}
.card:hover .hexagon { transform: translateX(-50%) scale(1.1); }
.hexagon.on-white { background: #fff; color: var(--color-orange); }
.icon-img {
  width: 64px; height: 64px;
  object-fit: contain;
}
/* Per-icon size tuning */
.icon-img[src*="commercial_residential"] { width: 77px; height: 77px; }
.icon-img[src*="metal_roofing"] { width: 77px; height: 77px; }
.icon-img[src*="metal_carports"] { width: 77px; height: 77px; }
.icon-img[src*="seamless_gutters"] { width: 50px; height: 50px; }
.icon-img[src*="sprayfoam"] { width: 58px; height: 58px; }
.icon-img[src*="remodeling"] { width: 61px; height: 61px; transform: translateY(-4px); }
.icon-img[src*="home_improvement"] { width: 61px; height: 61px; transform: translateY(-4px); }

.card-body { padding: 70px 20px 26px; text-align: center; }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.35; letter-spacing: 0; margin-bottom: 10px; color: var(--color-near-black); }
.card p { font-family: var(--font-body); font-weight: 500; font-size: 13.5px; color: var(--color-gray-500); line-height: 1.6; }

/* Hover takeover layer — full card becomes the orange-tinted photo with centered white content */
.card-hover-layer {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
  overflow: hidden;
}
.card:hover .card-hover-layer { opacity: 1; pointer-events: auto; }
.card-hover-layer .hover-photo {
  position: absolute; inset: 0;
  background-color: var(--color-orange);
  background-blend-mode: multiply;
  transform: none;
}
.hover-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hover-content .hexagon { position: static; transform: none; margin-bottom: 18px; }
.card:hover .hover-content .hexagon { transform: none; }
.hover-content h3 { color: #fff; margin-bottom: 8px; }
.hover-content p { color: rgba(255,255,255,.9); }
/* Page-fold corner indicator, revealed on hover */
.card-fold {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 46px 46px;
  border-color: transparent transparent #282828 transparent;
  box-shadow: -2px -2px 6px -2px rgba(0,0,0,.3);
  opacity: 0;
  transform: translate(10px, 10px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.card:hover .card-hover-layer .card-fold { opacity: 1; transform: translate(0, 0); }

.card-hover-layer .card-arrow {
  position: absolute; right: 12px; bottom: 16px; z-index: 3;
  width: 38px; height: 10px;
  opacity: 0; transform: translateX(-8px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.card-hover-layer .card-arrow img { width: 100%; height: 100%; display: block; }
.card:hover .card-hover-layer .card-arrow { opacity: 1; transform: translateX(0); }

/* ---------------------------- Logos ticker ---------------------------- */
.logos-strip {
  background: #282828;
  height: 220px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 42s linear infinite;
}
.ticker-set { display: flex; align-items: center; flex-shrink: 0; }
.ticker-item {
  display: flex; align-items: center; justify-content: center;
  height: 220px;
  padding: 0 64px;
  flex-shrink: 0;
}
.ticker-item img { max-height: 110px; max-width: 280px; width: auto; height: auto; object-fit: contain; }
.ticker-divider { width: 1.8px; height: 62%; flex-shrink: 0; }
.stats-grid .ticker-divider { height: 136px; align-self: center; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------------------------- About / story split ---------------------------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
#story .split-grid { align-items: flex-start; }
.split-media { aspect-ratio: 4/3; position: relative; }
.about-media-photo {
  background-image: url('assets/card_metal_roofing.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
}
.story-media-photo {
  background-image: url('assets/card_remodeling.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
}
.split-media .logo-watermark {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .02em;
  display: flex; align-items: center; gap: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.split-media .logo-watermark .accent { color: var(--color-orange); font-style: italic; }
.about-copy p.body-copy { font-size: 15px; line-height: 1.6; color: #444; margin: 10px 0 12px; }
#about .body-copy { line-height: 1.48; }

/* ---------------------------- Built on values (dark banner) ---------------------------- */
.values-banner { background: #141414; color: #fff; text-align: center; }
.values-banner .values-heading {
  font-family: var(--font-gotham); font-weight: 500;
  text-transform: uppercase; color: #fff;
}
.values-banner .values-heading .accent { color: var(--color-orange); font-weight: 500; }
.values-divider { max-width: 1400px; width: 92%; border-top-width: 1px; border-color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { text-align: center; padding: 0 20px; border-left: 1px solid #fff; }
.value-item:first-child { border-left: none; }
.value-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: block;
}
.value-item:hover .value-icon { animation: icon-glow-pulse 1.3s ease-in-out infinite; }
@keyframes icon-glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255,115,0,0)); }
  50% { filter: drop-shadow(0 0 12px rgba(255,115,0,.9)); }
}
.value-item h4 {
  font-family: var(--font-gotham); font-weight: 500;
  font-size: 14px; letter-spacing: .03em; text-transform: uppercase; margin-bottom: 8px;
}
.value-item p {
  font-family: var(--font-gotham); font-weight: 300;
  font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase;
  color: #fff; line-height: 1.55;
}

/* ---------------------------- Mission / vision (orange banner) ---------------------------- */
.mv-banner { position: relative; background: var(--color-orange); color: #fff; overflow: hidden; }
.mv-banner .section-tight { padding: 32px 0; }
.mv-watermark {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  height: 100%; width: auto;
  opacity: .35; pointer-events: none; user-select: none;
}
.mv-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.mv-left { display: flex; align-items: center; gap: 34px; }
.mv-badge {
  width: 86px; height: 86px;
  display: block; flex-shrink: 0;
  animation: mv-badge-spin 12s linear infinite;
}
@keyframes mv-badge-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
.mv-col-right { padding-left: 20px; }
.mv-col h4 {
  font-family: var(--font-gotham); font-weight: 500;
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px;
}
.mv-col p {
  font-family: var(--font-gotham); font-weight: 300;
  font-size: 11px; letter-spacing: .02em; line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255,255,255,.92); max-width: 460px;
}
.mv-divider { width: 1px; height: 78px; align-self: center; background: #fff; justify-self: center; margin-right: 25px; }

/* ---------------------------- Why choose Longhorn Roofing ---------------------------- */
.why-choose { padding: 46px 0; }
.why-grid { display: grid; grid-template-columns: .8fr 1.5fr; gap: 60px; align-items: center; }
.why-eyebrow {
  display: block; color: var(--color-orange);
  font-family: var(--font-body); font-weight: 800;
  font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 26px;
}
.checklist { display: flex; flex-direction: column; gap: 15px; }
.checklist li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  color: var(--color-near-black);
}
.checklist img { width: 19px; height: 19px; flex-shrink: 0; }

.why-card {
  position: relative;
  background: #f0f1f0;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.7fr 1.1fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 230px;
}
.why-card-content { padding: 36px 34px 36px 22px; display: flex; align-items: center; gap: 26px; }
.why-phone-icon { display: inline-flex; flex-shrink: 0; transform: translateY(-10px); }
.why-phone-icon img { width: 70px; height: 70px; animation: phone-buzz 2s ease-in-out infinite; }
@keyframes phone-buzz {
  0%, 30%, 100% { transform: rotate(0deg); }
  3% { transform: rotate(-12deg); }
  6% { transform: rotate(10deg); }
  9% { transform: rotate(-9deg); }
  12% { transform: rotate(7deg); }
  15% { transform: rotate(-5deg); }
  18% { transform: rotate(4deg); }
  21% { transform: rotate(-3deg); }
  24% { transform: rotate(2deg); }
  27% { transform: rotate(-1deg); }
}
.why-card-text { display: flex; flex-direction: column; align-items: flex-start; }
.why-card-text h3 {
  font-family: var(--font-gotham); font-weight: 500;
  font-size: 1.063rem; line-height: 1.3; letter-spacing: -.02em;
  text-transform: uppercase; color: var(--color-near-black);
  margin-bottom: 10px;
  white-space: nowrap;
}
.why-card-text p {
  font-family: var(--font-body); font-weight: 600;
  font-size: 13.5px; line-height: 1.5; color: #4a4a4a;
  margin-bottom: 20px;
}
.why-card-text .btn span { padding: 9px 20px; font-size: 11.5px; }
.why-card-media {
  background-image: url('assets/why_choose_house.jpg');
  background-size: cover;
  background-position: 5% center;
}

/* ---------------------------- Tagline CTA bar (black) ---------------------------- */
.tagline-bar { position: relative; background: var(--color-near-black); color: #fff; overflow: hidden; }
.tagline-bar .container {
  display: flex; align-items: center; justify-content: flex-start; gap: 4px; flex-wrap: wrap;
  padding: 18px 220px 18px 24px;
}
.tagline-cta { flex-shrink: 0; }
.tagline-copy { flex: 1; min-width: 0; }
.tagline-bar h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.tagline-bar h2 .accent { color: var(--color-orange); }
.tagline-bar p { color: #fff; opacity: 1; font-size: 9.5px; margin-top: 3px; text-transform: uppercase; letter-spacing: .03em; }
.tagline-cta span { padding: 7px 22px; font-size: 11.5px; }
.tagline-watermark {
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  height: 100%; width: auto;
  opacity: .3; pointer-events: none; user-select: none;
  z-index: 0;
}

/* ---------------------------- Owens Corning feature ---------------------------- */
.feature-banner { position: relative; color: #fff; overflow: hidden; padding: 90px 0; }
.feature-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.feature-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.05) 100%);
}
.feature-oc-logo {
  position: absolute; top: 90px; right: 40px; z-index: 2;
  width: 420px; max-width: 38vw; height: auto;
}
.feature-content { position: relative; z-index: 1; }

.feature-panel {
  position: relative;
  background: rgba(30, 31, 35, 0.85);
  max-width: 600px;
  padding: 54px 44px 22px 44px;
}
.feature-panel::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 48px 48px 0;
  border-color: transparent var(--color-orange) transparent transparent;
}
.feature-panel h3 {
  font-family: var(--font-gotham); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3;
  margin-bottom: 18px; color: #fff;
}
.feature-panel p {
  font-family: var(--font-carmen); font-weight: 400;
  font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.82);
}

.feature-note {
  display: flex; align-items: flex-start;
  margin: 53px 0 0;
  max-width: 560px;
}
.feature-note-icon {
  flex-shrink: 0; width: 88px; height: 84px;
  margin-top: 14px;
  background: var(--color-orange);
  transform: skewX(-16deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.5);
  position: relative; z-index: 2;
}
.feature-note-icon img {
  width: 51px; height: 51px;
  transform: skewX(16deg) translateY(-4px);
  transition: transform var(--dur-med) var(--ease);
}
.feature-note-icon:hover img { transform: skewX(16deg) translateY(-4px) rotate(-14deg); }
.feature-note-text {
  flex: 1;
  background: radial-gradient(circle at 30% 30%, #414141, #262626);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  padding: 20px 34px 10px 67px;
  margin-left: -43px;
  display: flex; align-items: center;
  position: relative; z-index: 1;
}
.feature-note-text p {
  font-family: var(--font-carmen); font-weight: 400;
  font-size: 12.5px; line-height: 1.55; color: #fff; margin: 0;
}

/* ---------------------------- Longhorn radial diagram ---------------------------- */
.longhorn-section {
  background: var(--color-black);
  color: #fff;
  position: relative;
  clip-path: polygon(0% 12%, 66% 0%, 100% 15%, 100% 100%, 0% 100%);
  margin-top: -95px;
  padding-top: 130px;
}
.longhorn-heading {
  font-family: var(--font-gotham); font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -.02em;
  color: #fff;
}
.longhorn-heading strong { font-weight: 700; color: #fff; }
.longhorn-subheading {
  font-family: var(--font-gotham); font-weight: 400;
  font-size: 1.5rem; letter-spacing: .04em; color: #fff;
  margin-top: 0;
}
.lens-divider-white { margin-top: 16px; }

.longhorn-diagram { position: relative; max-width: 1000px; min-height: 460px; margin: 16px auto 0; }
.longhorn-logo-img { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 75%; height: auto; }

.trait-node { position: absolute; width: 155px; text-align: center; transform: scale(.85); }
.trait-hex {
  position: relative; z-index: 2;
  width: 48px; height: 55px; margin: 0 auto 14px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--color-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  animation: hex-heartbeat 2.4s ease-in-out infinite;
}
.trait-hex-text {
  font-family: var(--font-gotham); font-weight: 700;
  font-size: 9.5px; line-height: 1.15; letter-spacing: .01em;
  color: #fff; text-transform: uppercase; text-align: center; }
.trait-icon-img { width: 31px; height: auto; display: block; }
.node-r3 .trait-icon-img { width: 24px; }
.node-l3 .trait-icon-img { width: 35.6px; }
.node-l2 .trait-icon-img { width: 32.6px; }
.node-r4 .trait-icon-img { width: 29.5px; margin-top: -1px; }
.node-r1 .trait-icon-img { margin-top: -2px; }
@keyframes hex-heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.06); }
  28% { transform: scale(1); }
  42% { transform: scale(1.06); }
  56% { transform: scale(1); }
}
.trait-node h5 { font-family: var(--font-gotham); font-weight: 700; font-size: 12.8px; letter-spacing: .02em; margin-bottom: 4px; margin-top: -1px; text-transform: uppercase; }
.trait-node p { font-family: var(--font-body); font-weight: 500; font-size: 10px; color: #fff; line-height: 1.4; }
.node-r1 h5, .node-l1 h5 {
  white-space: nowrap;
  position: absolute; top: 67.7px; left: 50%; transform: translateX(-50%);
  width: max-content;
}
.node-r1 p, .node-l1 p { margin-top: 30px; }

/* Connector: small vertical tick at the hex, then line running behind/into the radar circle */
.trait-connector { position: absolute; top: 20px; display: flex; align-items: center; z-index: 1; }
.conn-right { left: 70%; flex-direction: row; }
.conn-left { right: 70%; flex-direction: row-reverse; }
.conn-up { bottom: 100%; left: 50%; top: auto; flex-direction: column-reverse; transform: translateX(-50%); height: 100px; }
.conn-tick { flex-shrink: 0; background: rgba(255,255,255); }
.conn-right .conn-tick, .conn-left .conn-tick { width: 1px; height: 12px; }
.conn-up .conn-tick { width: 8px; height: 1px; display: none; }
.conn-right .trait-line, .conn-left .trait-line { width: 90px; height: 1px; background: rgba(255,255,255); margin-right: -6px; }
.conn-left .trait-line { margin-right: 0; margin-left: -6px; width: 90px; }
.conn-up .trait-line { width: 1px; height: 40px; background: rgba(255,255,255); margin-bottom: 7px; margin-top: -4px; }

.trait-radar { position: relative; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 2; }
.radar-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; z-index: 1; }
.radar-ring {
  position: absolute; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.6);
  animation: radar-pulse 2.4s ease-out infinite;
}
@keyframes radar-pulse {
  0% { transform: scale(1); opacity: .7; }
  75% { transform: scale(3.6); opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* Node positions — left column: uniform horizontal alignment, nudged in close to the logo, tighter vertical rhythm */
.node-l1 { top: 22%;  left: 10%;  text-align: center; }
.node-l2 { top: 45%;  left: 10%;  text-align: center; }
.node-l3 { top: 67%;  left: 16.5%;  text-align: center; }
.node-l4 { top: 84%;  left: 33%; text-align: center; }


/* Node positions — right column (mirrored) */
.node-r1 { top: 22%;  right: 10%;  text-align: center; }
.node-r2 { top: 45%;  right: 10%;  text-align: center; }
.node-r3 { top: 67%;  right: 16.5%;  text-align: center; }
.node-r4 { top: 84%;  right: 33%; text-align: center; }


/* Orange divider between the two bottom (mouth) nodes */
.longhorn-diagram::after {
  content: '';
  position: absolute; left: 50%; top: 88%;
  width: 1px; height: 47px;
  background: var(--color-orange);
  transform: translate(-50%, -8px);
}

.satisfaction-band {
  background: radial-gradient(circle at center, #3c3c3c 0%, #282828 100%);
  color: #fff; text-align: center; padding: 70px 0;
}
.satisfaction-band h3 {
  font-family: var(--font-gotham); font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4;
  max-width: 760px; margin: 0 auto 32px;
}
.satisfaction-band h3 strong { font-weight: 700; }

/* ---------------------------- Process (accordion list) ---------------------------- */
.process-list { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 0 60px; max-width: 980px; margin: 0 auto; }
.process-item { border-bottom: 1px solid var(--color-gray-200); padding: 22px 0; }
.process-item .proc-head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.process-item h4 { font-family: var(--font-body); font-size: 18px; font-weight: 700; }
.process-item .chev { display: inline-flex; transition: transform var(--dur-med) var(--ease); }
.process-item .chev img { width: 11px; height: auto; display: block; filter: brightness(0) saturate(100%); transition: filter var(--dur-med) var(--ease); }
.process-item.is-open .chev { transform: rotate(180deg); }
.process-item.is-open .chev img { filter: none; }
.process-body { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease); }
.process-body p { font-size: 13.5px; color: var(--color-gray-500); line-height: 1.6; padding-top: 12px; max-width: 420px; }

/* ---------------------------- Stats banner ---------------------------- */
.stats-banner { background: var(--color-orange); color: #fff; }
.stats-grid { display: flex; align-items: center; text-align: center; }
.stat-item { flex: 1; padding: 40px 20px; }
.stat-icon {
  width: 60px; height: 69px; margin: 0 auto 16px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #2a2a2a;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.stat-icon img { width: 26px; height: auto; }
.stat-icon img[src*="stat_roofing_estimates"] { width: 29px; }
.stat-icon img[src*="stat_completed_projects"] { width: 34px; }
.stat-icon img[src*="stat_trained_professionals"] { width: 34px; }
.stat-icon img[src*="stat_satisfied_customers"] { width: 32px; }
.stat-num { font-family: var(--font-gotham-semibold); font-size: clamp(1.53rem, 2.55vw, 2.04rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--font-gotham); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }

/* ---------------------------- Testimonials ---------------------------- */
.stars { color: var(--color-orange); font-size: 18px; letter-spacing: 3px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--color-gray-200);
  padding: 26px; position: relative; text-align: center;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med);
}
.testimonial-card::after {
  content: ''; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%);
  width: 22px; height: 22px; background: #fff; border-right: 1px solid var(--color-gray-200); border-bottom: 1px solid var(--color-gray-200);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -20px rgba(0,0,0,.18); }
.testimonial-card p { font-size: 13.5px; color: #444; line-height: 1.7; margin-bottom: 44px; }
.reviews-heading {
  font-family: var(--font-gotham); font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.3;
  color: var(--color-near-black);
}
.reviews-heading strong { font-weight: 500; }
.gallery-heading {
  font-family: var(--font-gotham); font-weight: 300;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--color-near-black);
}
.gallery-heading strong { font-weight: 700; }

.stars-sequence { display: inline-flex; }
.stars-sequence .star-i {
  display: inline-block; color: var(--color-orange); font-size: 18px;
  opacity: 0; transform: scale(0);
}
.reveal.is-visible .stars-sequence .star-i { animation: star-pop .4s var(--ease) forwards; }
.stars-sequence .star-i:nth-child(1) { animation-delay: .1s; }
.stars-sequence .star-i:nth-child(2) { animation-delay: .25s; }
.stars-sequence .star-i:nth-child(3) { animation-delay: .4s; }
.stars-sequence .star-i:nth-child(4) { animation-delay: .55s; }
.stars-sequence .star-i:nth-child(5) { animation-delay: .7s; }
@keyframes star-pop { to { opacity: 1; transform: scale(1); } }
.star-final { position: relative; }
.star-final::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 16px; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,115,0,.7);
  transform: translate(-50%, -50%) scale(.2); opacity: 0;
}
.reveal.is-visible .star-final::after { animation: star-burst 1.8s ease-out .8s infinite; }
@keyframes star-burst {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.testimonial-avatar {
  position: relative;
  width: 54px; height: 62px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--color-orange);
  margin: 0 auto 10px;
  overflow: hidden;
}
.testimonial-avatar-photo {
  position: absolute; inset: 3px; z-index: 1;
  width: calc(100% - 6px); height: calc(100% - 6px);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  object-fit: cover;
}
.testimonial-avatar.ph::before {
  position: relative; z-index: 2;
  color: var(--color-orange); font-weight: 800;
}
.testimonial-card h5 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }

.trust-logos { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 50px; }
.trust-logo {
  width: 1.15in; height: 0.51in; background: #fff;
  border: 1px solid var(--color-gray-200); padding: 6px 9px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
  animation: trust-logo-pulse 2.2s ease-out infinite;
}
@keyframes trust-logo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,115,0,.6); }
  70% { box-shadow: 0 0 0 8px rgba(255,115,0,0); }
  100% { box-shadow: 0 0 0 8px rgba(255,115,0,0); }
}
.trust-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.trust-logo:hover { border-color: var(--color-orange); transform: translateY(-3px); }

/* ---------------------------- Gallery carousel ---------------------------- */
.carousel { position: relative; max-width: 940px; margin: 0 auto; }
.carousel-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 30px 0; }
.carousel-slide {
  display: block; position: relative;
  aspect-ratio: 366/592; overflow: hidden;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.carousel-slide:nth-child(odd) { transform: translateY(-18px); }
.carousel-slide:nth-child(even) { transform: translateY(18px); }
/* Active/hover state always lifts the tile UP from its own resting spot —
   never down — so no two tiles are ever animating in opposite directions
   at once (that opposite motion was what made adjacent tiles look "joined"). */
.carousel-slide.is-active:nth-child(odd) { transform: translateY(-30px); z-index: 2; }
.carousel-slide.is-active:nth-child(even) { transform: translateY(6px); z-index: 2; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-hover-zone { position: absolute; inset: 16% 10%; z-index: 3; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px;
  background: transparent; border: none; padding: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 4; cursor: pointer;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.carousel-arrow img { width: 100%; height: auto; display: block; }
.carousel-arrow:hover { opacity: .65; transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: -40px; }
.carousel-arrow.prev img { transform: scaleX(-1); }
.carousel-arrow.next { right: -40px; }
.carousel-progress { display: flex; gap: 0; margin-top: 24px; }
.carousel-progress span { flex: 1; height: 2px; background: var(--color-gray-200); transition: background var(--dur-fast); }
.carousel-progress span.active { background: #ff7101; }

/* ---------------------------- Video block ---------------------------- */
.video-block { background: var(--color-black); }
.video-frame { position: relative; aspect-ratio: 21/10; background-color: #111; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------------------------- FAQ ---------------------------- */
#faq .eyebrow { font-weight: 500; }
.faq-grid { display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.faq-list { max-width: 465px; width: 100%; }
.faq-item {
  position: relative;
  border: 1px solid var(--color-near-black); border-radius: 4px;
  padding: 0 24px 0 66px; margin-bottom: 10px;
  transition: background .7s var(--ease), border-color .7s var(--ease);
}
.faq-item:hover { background: linear-gradient(to right, #000000, #3d3d3d); border-color: var(--color-near-black); }
.faq-q { width: 100%; display: flex; align-items: center; padding: 13px 0; text-align: left; }
.faq-q span.label { font-size: 15px; font-weight: 700; transition: color .7s var(--ease); }
.faq-item:hover .faq-q span.label { color: #fff; }
.faq-plus {
  position: absolute; top: -1px; left: -1px;
  width: 48px; height: calc(100% + 2px);
  background: var(--color-near-black); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px 0 0 3px;
  transition: background .7s var(--ease), height .7s var(--ease), width .7s var(--ease), border-radius .7s var(--ease);
}
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; background: #fff; transition: transform .7s var(--ease); }
.faq-plus::before { width: 14px; height: 2px; }
.faq-plus::after { width: 2px; height: 14px; }
.faq-item:hover .faq-plus {
  background: var(--color-orange);
  width: 48px; height: 54px; border-radius: 0;
}
.faq-item:hover .faq-plus::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .7s var(--ease); }
.faq-item:hover .faq-a { max-height: 228px; }
.faq-a p { padding: 0 0 16px 0; font-size: 13.5px; color: var(--color-gray-500); line-height: 1.7; transition: color .7s var(--ease); }
.faq-item:hover .faq-a p { color: rgba(255,255,255,.75); }
.faq-a p.faq-a-intro { padding-bottom: 4px; }
.faq-a ul { padding: 0 0 16px 0; margin: 0; list-style: none; }
.faq-a ul li {
  font-size: 13.5px; color: var(--color-gray-500); line-height: 1.55;
  transition: color .7s var(--ease); position: relative; padding-left: 14px;
}
.faq-a ul li::before { content: '—'; position: absolute; left: 0; }
.faq-item:hover .faq-a ul li { color: rgba(255,255,255,.75); }

.faq-feature { position: relative; max-width: 390px; width: 100%; }
.faq-feature-media { position: relative; }
.faq-feature-media img { width: 100%; height: auto; display: block; }
.faq-feature-cta {
  position: absolute; left: 14%; right: 5%; top: 60%; bottom: 24%;
  z-index: 2;
}

/* ---------------------------- Footer ---------------------------- */
.footer-locations-band { background: #000; color: #fff; padding: 40px 0 16px; }
.footer-locations-band .eyebrow { margin-bottom: 56px; font-family: var(--font-gotham); font-weight: 700; }
.locations-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.locations-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 34px; }
.loc-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #fff; white-space: nowrap; transition: color var(--dur-fast); }
.loc-item:hover { color: var(--color-orange); }
.pin-dot { width: 13px; height: auto; flex-shrink: 0; }
.state-map { aspect-ratio: 486.4/457.2; width: 100%; max-width: 206px; height: auto; margin-left: auto; display: block; }

footer.site-footer { background: radial-gradient(circle at center, #3d3b3c 0%, #292929 100%); color: rgba(255,255,255); }
.footer-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 40px 0; gap: 20px; }
.footer-mid-item:first-of-type { justify-self: start; margin-left: 150px; }
.footer-mid-item:last-of-type { justify-self: end; margin-right: 150px; }
.footer-logo-big { justify-self: center; }
.footer-mid-item {
  display: flex; align-items: center; gap: 12px; font-size: 12px;
}
.footer-mid-text { line-height: 1.3; }
.footer-mid-text strong { font-size: 18px; font-weight: 700; font-family: var(--font-gotham); }
.footer-mid-item .icon-circ {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-mid-item .icon-circ img { width: 44px; height: auto; display: block; }
.footer-logo-big img { height: 95px; width: auto; display: block; }

.footer-nav { position: relative; padding: 26px 0; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-nav::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1px; background: rgba(255,255,255,.08);
}
.footer-nav a { font-family: var(--font-cta); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; transition: color var(--dur-fast); }
.footer-nav a:hover { color: var(--color-orange); }
.footer-nav .sq { width: 6px; height: 6px; background: var(--color-orange); }

.footer-social { display: flex; align-items: center; justify-content: center; gap: 12px; padding-bottom: 24px; }
.footer-social a {
  width: 38px; height: 38px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #3d3d3d;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.footer-social a img { max-width: 22px; max-height: 22px; width: auto; height: auto; display: block; }
.footer-social a:hover { background: var(--color-orange); transform: translateY(-3px); }

.footer-divider { width: 1000px; max-width: 90%; height: 1px; background: rgba(255,255,255,.08); margin: 0 auto 18px; }

.footer-bottom { padding: 18px 0; text-align: center; font-size: 12.5px; color: #fff; }

/* ---------------------------- Under-development page ---------------------------- */
.under-dev {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #000; color: #fff; padding: 80px 24px;
}
.under-dev-inner { max-width: 520px; }
.under-dev h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3rem, 7vw, 4.6rem);
  text-transform: uppercase; letter-spacing: .02em;
  margin-bottom: 18px;
}
.under-dev h1 .word-under { color: #fff; }
.under-dev h1 .word-dev { color: #ff7000; }
.under-dev p { color: rgba(255,255,255,.65); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.7; margin-bottom: 32px; }
.under-dev .btn-outline.dark { color: #fff; border-color: #fff; }
.under-dev .btn-outline.dark:hover { background: rgba(255,255,255,.08); box-shadow: 0 0 18px 2px rgba(255,255,255,.3); }

/* ---------------------------- Back to top ---------------------------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--color-orange); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  z-index: 90; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.06); }

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .logos-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(3) { border-left: none; }
  .testimonial-grid, .locations-grid, .split-grid, .process-list, .why-grid { grid-template-columns: 1fr; }
  .faq-grid { flex-direction: column; align-items: center; }
  .feature-panel { max-width: 100%; }
  .feature-note { margin: 30px 0 0; max-width: 100%; flex-direction: column; }
  .feature-note-text { clip-path: none; padding: 16px 20px; margin-left: 0; }
  .feature-note-icon { width: 100%; transform: none; padding: 16px; }
  .feature-note-icon img { transform: none; width: 34px; height: 34px; }
  .feature-oc-logo { width: 220px; max-width: 50vw; }
  .why-card { grid-template-columns: 1fr; }
  .why-card-media { min-height: 240px; }
  .mv-grid { grid-template-columns: 1fr; text-align: center; }
  .mv-left { flex-direction: column; gap: 14px; }
  .mv-col-right { padding-left: 0; }
  .mv-divider { display: none; }
  .carousel-track { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .logo img { height: 54px; }
  .stats-grid { flex-wrap: wrap; }
  .stats-grid .ticker-divider { display: none; }
  .stat-item { flex: 1 1 50%; }
  .nav-row { padding-top: 14px; }
  .hero-inner { padding-top: 130px; }
  .topbar .container { grid-template-columns: auto 1fr auto; }
  .topbar-center span, .topbar-center { font-size: 11.5px; }
  .topbar-center { white-space: normal; text-align: center; }
  .topbar .btn { display: none; }
  .main-nav, .nav-cta .btn-outline, .topbar-item.hide-mobile { display: none; }
  .nav-toggle { display: flex; }
  .trust-grid, .footer-mid { grid-template-columns: 1fr; }
  .footer-mid-item:first-of-type, .footer-mid-item:last-of-type, .footer-logo-big { justify-self: center; }
  .trust-item::before { display: none; }
  .trust-item { border-top: 1px solid rgba(255,255,255,.35); padding: 26px 24px; }
  .trust-item:first-child { border-top: none; }
  .cards-grid, .locations-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .longhorn-diagram { display: none; }
  .longhorn-mobile-list { display: grid !important; }
  .footer-mid { text-align: center; justify-items: center; }
  .carousel-track { grid-template-columns: repeat(2, 1fr); }
}
.longhorn-mobile-list { display: none; grid-template-columns: repeat(2,1fr); gap: 28px 20px; margin-top: 40px; }
.longhorn-mobile-list .trait-callout { text-align: center; }
.longhorn-mobile-list .trait-icon {
  width: 62px; height: 71px; margin: 0 auto 10px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--color-orange);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.longhorn-mobile-list h5 { font-family: var(--font-gotham); font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 4px; }
.longhorn-mobile-list p { font-family: var(--font-body); font-weight: 500; font-size: 11.5px; color: rgba(255,255,255,.55); line-height: 1.45; }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--color-black);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
  z-index: 99; padding: 30px 24px; overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul li { margin-bottom: 6px; }
.mobile-nav a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font-cta); text-transform: uppercase; }
.mobile-nav .btn { margin-top: 24px; width: 100%; }
