/* =========================================================
   LIGHTING HOUSE STORE — STYLESHEET
   Palette: deep blue #0C2D57, blue accent #1E6FD9,
            deep green #146C43, green accent #22A85A,
            white #FFFFFF, light gray #F4F6F8, dark text #1A1A1A
========================================================= */

:root {
  --blue-primary: #0C2D57;
  --blue-accent: #1E6FD9;
  --green-deep: #146C43;
  --green-accent: #22A85A;
  --white: #FFFFFF;
  --gray-light: #F4F6F8;
  --text-dark: #1A1A1A;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(12, 45, 87, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 45, 87, 0.14);
  --radius: 14px;
  --light-warm: #FFD98A;
  --glass-off: #33456b;
  --led-white: #EAF4FF;
  --led-glow: #7CC0FF;
  --gold-deep: #F0A72A;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.15; }
p { margin: 0 0 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }
.text-center { text-align: center; }
.section { padding: 88px 0; }
.section-light { background: var(--gray-light); }
.section-green { background: var(--green-deep); }
.section-blue-wash { background: linear-gradient(180deg, #F4F8FC 0%, #EAF1F8 100%); }

.eyebrow {
  color: var(--blue-accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.eyebrow-light { color: var(--green-accent); }
.eyebrow-navy { color: #8FB4F5; }
.eyebrow-navy::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-accent);
  margin-right: 8px;
  vertical-align: middle;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.section-title.dark { color: var(--text-dark); }
.section-title.light { color: var(--white); }

.section-lead {
  max-width: 640px;
  margin: 0 auto 8px;
  font-size: 1.05rem;
  color: #4a4a4a;
}
.section-lead.light { color: #E6F2EC; }
.section-lead.left { margin-left: 0; }

.accent-text { color: var(--blue-accent); }
.accent-text-blue { color: var(--blue-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--blue-accent); color: var(--white); }
.btn-accent:hover { background: #185cb3; box-shadow: 0 8px 20px rgba(30,111,217,0.35); }
.btn-green { background: var(--green-accent); color: var(--white); }
.btn-green:hover { background: #1c8c4a; box-shadow: 0 8px 20px rgba(34,168,90,0.35); }
.btn-dark { background: var(--blue-primary); color: var(--white); }
.btn-dark:hover { background: #1c8c4a; box-shadow: 0 14px 28px -10px rgba(34,168,90,0.55); }
.btn:focus-visible { outline: 3px solid var(--blue-accent); outline-offset: 3px; }

/* "Lights on" glow — briefly toggled via JS on contact form submit */
@keyframes btn-light-on {
  0% { box-shadow: 0 0 0 0 rgba(255,217,138,0); filter: brightness(1); }
  30% { box-shadow: 0 0 26px 10px rgba(255,217,138,0.85), 0 0 50px 18px rgba(255,217,138,0.35); filter: brightness(1.25); }
  100% { box-shadow: 0 0 0 0 rgba(255,217,138,0); filter: brightness(1); }
}
.btn-lit { animation: btn-light-on 650ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  .btn-lit { animation: none; }
}
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue-primary); }
.btn-outline-blue { background: transparent; color: var(--blue-accent); border-color: var(--blue-accent); }
.btn-outline-blue:hover { background: var(--blue-accent); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 45, 87, 0.85);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: var(--blue-primary);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-bulb { width: 30px; height: 30px; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.logo-text span { color: var(--green-accent); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green-accent);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }
.nav-call {
  background: var(--green-accent);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 8px;
  font-weight: 700 !important;
}
.nav-call::after { display: none; }
.nav-call:hover { background: #1c8c4a; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  background: transparent;
  border: none;
  color: var(--white);
  width: 40px; height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(255,255,255,0.12); }
.icon-btn-call {
  border-radius: 50%;
  background: var(--blue-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  flex-shrink: 0;
}
.icon-btn-call:hover { background: #185cb3; }

.search-bar {
  max-height: 0;
  overflow: hidden;
  background: var(--blue-primary);
  transition: max-height 0.25s ease;
}
.search-bar.open { max-height: 90px; }
.search-bar .container { padding-top: 14px; padding-bottom: 14px; }
.search-bar form { display: flex; gap: 10px; }
.search-bar input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(30,111,217,0.35), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(34,168,90,0.3), transparent 55%),
    linear-gradient(160deg, #071b34 0%, var(--blue-primary) 55%, #0a3a63 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 90px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 90px);
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,27,52,0.2) 0%, rgba(7,27,52,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-title {
  color: var(--white);
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  max-width: 900px;
  margin-bottom: 22px;
}
.mobile-break { display: none; }
.hero-subtitle {
  color: #DCE7F5;
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 44px;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--green-accent);
}
.stat-label {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; }

/* Desktop only: center the hero copy. Mobile/tablet keeps the left-aligned
   layout above, and the sticky header/top bar is untouched either way. */
@media (min-width: 901px) {
  .hero-content { text-align: center; }
  .hero-title,
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-stats,
  .hero-cta { justify-content: center; }
}

/* =========================================================
   HERO — INTERACTIVE LED BULB & WALL SWITCH WIDGET
   Ported from a standalone demo. The whole widget is scaled
   down with `transform: scale()` rather than hand-resized,
   so the halo/rays/lever geometry stays pixel-perfect
   relative to itself; the wrapper height below is the
   original unscaled stage height (~614px) times that scale.
========================================================= */
.hero-bulb-widget {
  display: flex;
  justify-content: center;
  height: 258px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}
.lb-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.6rem;
  padding: 2rem;
  transform: scale(0.42);
  transform-origin: top center;
}

.lb-bulb-wrap { position: relative; width: 240px; height: 330px; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.lb-halo {
  position: absolute; top: -90px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,251,235,.95) 0%, rgba(255,220,140,.55) 30%, rgba(255,210,120,0) 70%);
  opacity: 0; transform: scale(.55); transition: opacity .5s ease, transform .5s ease; pointer-events: none; filter: blur(6px);
}
.lb-rays { position: absolute; top: -125px; width: 470px; height: 470px; opacity: 0; transition: opacity .6s ease .1s; pointer-events: none; }
.lb-rays span {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 170px;
  background: linear-gradient(to top, rgba(255,220,140,0), rgba(255,251,235,.75));
  transform-origin: bottom center; border-radius: 3px;
}
.lb-bulb-svg { position: relative; width: 210px; height: auto; z-index: 2; transition: filter .45s ease; }
.lb-glass { fill: var(--glass-off); transition: fill .45s ease; }
.lb-filament { stroke: #5b6a86; stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s ease, filter .35s ease; }
.lb-cap { fill: #c7cdd6; }
.lb-cap-line { stroke: #8b93a3; stroke-width: 2; }

.lb-stage.on .lb-bulb-svg { filter: drop-shadow(0 0 26px rgba(255,224,150,.95)) drop-shadow(0 0 60px rgba(255,205,110,.6)); }
.lb-stage.on .lb-glass { fill: url(#lbLitGlass); animation: lb-flicker 4s ease-in-out infinite; }
.lb-stage.on .lb-filament { stroke: #fffef5; filter: drop-shadow(0 0 8px var(--light-warm)); }
.lb-stage.on .lb-halo { opacity: 1; transform: scale(1); animation: lb-breathe 3.4s ease-in-out infinite; }
.lb-stage.on .lb-rays { opacity: 1; animation: lb-ray-pulse 3.4s ease-in-out infinite; }

@keyframes lb-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.09); opacity: .8; } }
@keyframes lb-ray-pulse { 0%, 100% { opacity: .9; transform: rotate(0deg); } 50% { opacity: .5; transform: rotate(6deg); } }
@keyframes lb-flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .85; } 49% { opacity: 1; } 72% { opacity: .93; } 73% { opacity: 1; } }

.lb-wall-switch {
  position: relative; width: 112px; height: 178px; border-radius: 14px;
  background: linear-gradient(160deg,#fdfdf6 0%,#ececdf 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -2px 6px rgba(0,0,0,.12);
  cursor: pointer; display: grid; place-items: center; user-select: none; -webkit-tap-highlight-color: transparent;
}
.lb-wall-switch::before, .lb-wall-switch::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,#f4f4ec,#b9b9ac);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.lb-wall-switch::before { top: 10px; }
.lb-wall-switch::after { bottom: 10px; }
.lb-screw-slot { position: absolute; left: 50%; transform: translateX(-50%); width: 9px; height: 1.5px; background: #9a9a8c; }
.lb-screw-slot.lb-top { top: 14.7px; }
.lb-screw-slot.lb-bot { bottom: 14.7px; }

.lb-rocker-housing {
  position: relative; width: 56px; height: 110px; border-radius: 9px;
  background: linear-gradient(#2b2b2b,#161616); box-shadow: inset 0 3px 8px rgba(0,0,0,.7);
  display: flex; align-items: center; justify-content: center; perspective: 320px;
}
.lb-rocker-housing .lb-txt { position: absolute; left: 0; right: 0; text-align: center; font-size: .6rem; letter-spacing: .12em; font-weight: 700; color: #5a5a5a; transition: color .3s ease; }
.lb-rocker-housing .lb-on-label { top: 7px; }
.lb-rocker-housing .lb-off-label { bottom: 7px; }

.lb-lever {
  position: relative; width: 42px; height: 56px; border-radius: 7px 7px 8px 8px;
  background: linear-gradient(#fbfbf5,#d7d7cb);
  box-shadow: 0 4px 8px rgba(0,0,0,.45), inset 0 2px 3px rgba(255,255,255,.9), inset 0 -3px 5px rgba(0,0,0,.18);
  transform-origin: center 88%;
  transition: transform .28s cubic-bezier(.34,1.4,.64,1), background .28s ease;
  transform: translateY(24px) rotateX(38deg);
}
.lb-lever::after { content: ""; position: absolute; left: 8px; right: 8px; top: 10px; height: 2px; background: rgba(0,0,0,.08); border-radius: 2px; }

.lb-stage.on .lb-lever { transform: translateY(-24px) rotateX(-38deg); background: linear-gradient(#ffffff,#eef3ea); }
.lb-stage.on .lb-rocker-housing .lb-on-label { color: var(--green-accent); }

@media (prefers-reduced-motion: reduce) {
  .lb-stage.on .lb-halo, .lb-stage.on .lb-rays, .lb-stage.on .lb-glass { animation: none; }
}

@media (max-width: 600px) {
  .hero-bulb-widget { height: 185px; margin-bottom: 24px; }
  .lb-stage { transform: scale(0.30); }
}

/* =========================================================
   PRODUCT CATEGORIES
========================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.category-grid .category-tile:nth-child(1) { order: 1; }
.category-grid .category-tile:nth-child(2) { order: 2; }
.category-grid .category-tile:nth-child(3) { order: 3; }
.category-grid .category-tile:nth-child(4) { order: 4; }
.category-grid .category-tile:nth-child(5) { order: 5; }
.category-grid .category-tile:nth-child(6) { order: 6; }
.category-grid .category-tile:nth-child(7) { order: 7; }
.category-grid .category-tile:nth-child(8) { order: 8; }
.category-grid .category-tile:nth-child(9) { order: 9; }
.category-grid .category-tile:nth-child(10) { order: 10; }
.category-grid .category-tile:nth-child(11) { order: 11; }
.category-grid .category-tile:nth-child(12) { order: 12; }
.category-grid .category-tile:nth-child(13) { order: 13; }
.category-grid .category-tile:nth-child(14) { order: 14; }
.category-grid .category-tile:nth-child(15) { order: 15; }
.category-grid .category-tile:nth-child(16) { order: 16; }
.category-grid .category-tile:nth-child(17) { order: 17; }
.category-grid .category-tile:nth-child(18) { order: 18; }
.category-grid .category-tile:nth-child(19) { order: 19; }
.category-grid .category-tile:nth-child(20) { order: 20; }
.category-grid .category-tile:nth-child(21) { order: 21; }
.category-grid .category-tile:nth-child(22) { order: 22; }
.category-grid .category-tile:nth-child(23) { order: 23; }
.category-grid .category-tile:nth-child(24) { order: 24; }
.category-grid .category-tile:nth-child(25) { order: 25; }
.category-grid .category-tile:nth-child(26) { order: 26; }
.category-grid .category-tile:nth-child(27) { order: 27; }
.category-grid .category-tile:nth-child(28) { order: 28; }
.category-grid .category-tile:nth-child(29) { order: 29; }
.category-grid .category-tile:nth-child(30) { order: 30; }
.category-grid .category-tile:nth-child(31) { order: 31; }
.category-grid .category-tile:nth-child(32) { order: 32; }
.category-grid .category-tile:nth-child(33) { order: 33; }
@media (min-width: 640px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  /* Desktop-only: swap Post Top Lights (3rd) and Track Lights (now 5th) */
  .category-grid .category-tile:nth-child(3) { order: 5; }
  .category-grid .category-tile:nth-child(5) { order: 3; }
}
.category-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
}
.tile-blue::before { background: linear-gradient(150deg, #123b70, var(--blue-accent)); }
.tile-green::before { background: linear-gradient(150deg, #0d4b30, var(--green-deep)); }
.category-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  transition: background 0.2s ease;
}
.tile-blue:hover::after { background: linear-gradient(180deg, rgba(30,111,217,0.15) 0%, rgba(12,45,87,0.75) 100%); }
.tile-green:hover::after { background: linear-gradient(180deg, rgba(34,168,90,0.15) 0%, rgba(20,108,67,0.75) 100%); }
.tile-photo { background-size: cover; background-position: center; }
.tile-photo::before { display: none; }
.tile-contain {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--text-dark);
}
.tile-contain-sm { background-size: auto 68%; }
.tile-contain-xs { background-size: auto 80%; }
.tile-photo:hover::after { background: linear-gradient(180deg, rgba(30,111,217,0.10) 0%, rgba(12,45,87,0.65) 100%); }
.tile-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 26px;
  height: 26px;
  opacity: 0.85;
}
.tile-name {
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
}

/* =========================================================
   CTA BAND
========================================================= */
.cta-band {
  background: linear-gradient(135deg, #071b34, var(--blue-primary));
  padding: 90px 0;
}
.cta-title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.cta-text {
  color: #DCE7F5;
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

/* =========================================================
   WHY CHOOSE US
========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.icon-blue { background: rgba(30,111,217,0.12); color: var(--blue-accent); }
.icon-green { background: rgba(34,168,90,0.12); color: var(--green-accent); }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-weight: 700; }
.feature-card p { color: #555; font-size: 0.95rem; margin-bottom: 0; }

/* =========================================================
   SERVICE AREA
========================================================= */
#service-area {
  position: relative;
  overflow: hidden;
  padding-top: 56px;
  background: linear-gradient(160deg, #0d4b30 0%, var(--green-deep) 55%, #0a3a26 100%);
}
#service-area::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(30,111,217,0.20), transparent 55%),
    radial-gradient(circle at 88% 90%, rgba(255,217,138,0.14), transparent 55%);
}
#service-area > .container {
  position: relative;
  z-index: 3;
}

/* ---------- "SAN ANTONIO" gold gradient accent ---------- */
.accent-gold {
  background: linear-gradient(90deg, var(--light-warm), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Unified info + map card (equal-height, one shared frame) ---------- */
.location-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  margin-top: 26px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(30,111,217,.35);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.55);
}
.location-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 4;
  background: linear-gradient(90deg, var(--blue-accent), var(--light-warm));
  opacity: .9;
}

.location-info {
  background: linear-gradient(160deg, rgba(12,45,87,.66), rgba(18,59,112,.56));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: var(--white);
}
.location-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--white);
  margin-bottom: 18px;
}
.location-pin {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.20);
  color: var(--light-warm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-pin svg { width: 19px; height: 19px; }
.location-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--white);
}
.location-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.9);
}
.location-detail svg { width: 18px; height: 18px; color: var(--light-warm); flex-shrink: 0; }
.location-detail a { color: var(--white); text-decoration: none; font-weight: 600; transition: color 0.15s ease; }
.location-detail a:hover { color: rgba(255,255,255,.75); }
.location-detail-phone a { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.01em; }
.location-detail-addr { font-size: 1.02rem; margin-bottom: 0; }

.location-directions {
  align-self: flex-start;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0c3a24;
  background: var(--white);
  padding: 14px 24px;
  border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.location-directions svg { width: 17px; height: 17px; }
.location-directions:hover {
  background: rgba(255,255,255,.86);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(0,0,0,.45);
}

.map-embed {
  position: relative;
  z-index: 3;
  min-height: 440px;
  background: #0c3a24;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Decorative lighting: swinging lantern, top-left ---------- */
.sa-fixtures { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sa-fx { position: absolute; }
.sa-fx svg { display: block; overflow: visible; }
.sa-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,217,138,.55), transparent 70%);
  filter: blur(2px);
  z-index: -1;
  animation: sa-flicker 5s ease-in-out infinite;
}

.sa-lantern { top: 5%; left: 4%; bottom: auto; }
.sa-sway { transform-origin: top center; animation: sa-sway 6s ease-in-out infinite; }

@keyframes sa-flicker { 0%, 100% { opacity: .9; } 45% { opacity: 1; } 50% { opacity: .72; } 55% { opacity: .95; } }
@keyframes sa-sway { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }

@media (max-width: 840px) {
  .location-card { grid-template-columns: 1fr; }
  .location-info { padding: 40px 30px; }
  .map-embed { min-height: 320px; }
  .sa-lantern { left: 2%; }
}

/* Mobile-only fix: keep the lantern clear of the heading, and stop the
   gold-gradient "SAN ANTONIO" text from clipping when it wraps. Desktop
   (>768px) is untouched — this block only narrows behavior further. */
@media (max-width: 768px) {
  #service-area { padding: 52px 20px 80px; }

  #service-area > .container.text-center { padding-top: 92px; }
  #service-area .section-title {
    font-size: clamp(1.9rem, 8.5vw, 2.7rem);
    padding-inline: 6px;
    overflow-wrap: break-word;
  }
  #service-area .accent-gold {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  #service-area .section-lead { font-size: 1rem; }

  .sa-lantern { top: 0; left: 20px; }
  .sa-lantern svg { width: 44px; height: 98px; }
  .sa-lantern .sa-glow { width: 46px !important; height: 46px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .sa-glow, .sa-lantern.sa-sway { animation: none; }
}

/* =========================================================
   REVIEWS
========================================================= */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.stars { color: var(--green-accent); font-size: 1.3rem; letter-spacing: 2px; }
.rating-score { font-weight: 700; }
.rating-count { color: #666; }

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 44px;
}
@media (min-width: 760px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.review-card .stars { font-size: 1rem; margin-bottom: 14px; }
.review-quote { color: #333; font-style: italic; margin-bottom: 16px; }
.review-author { font-weight: 700; margin-bottom: 0; }
.review-date { font-weight: 400; color: #888; }

/* =========================================================
   CONTACT
========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.95fr 1.05fr; }
}

.contact-info {
  position: relative;
  background: linear-gradient(155deg, var(--blue-primary), #123b70);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  overflow: hidden;
}
.contact-info::after {
  content: '';
  position: absolute;
  left: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,168,90,0.28), transparent 70%);
  pointer-events: none;
}
.contact-info > * { position: relative; z-index: 1; }

.contact-details { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.05rem; color: var(--white); }
.contact-details li a { color: var(--white); transition: color 0.15s ease; }
.contact-details li a:hover { color: var(--green-accent); }
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(34,168,90,0.15);
  border: 1px solid rgba(34,168,90,0.45);
  color: var(--green-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-form-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-accent), var(--blue-accent));
}

/* "Lights on" glow — briefly toggled via JS on contact form submit */
@keyframes card-light-on {
  0% {
    box-shadow: var(--shadow-md), inset 0 0 0 0 rgba(255,196,77,0), 0 0 0 0 rgba(255,196,77,0);
  }
  12% {
    box-shadow: var(--shadow-md), inset 0 0 0 3px rgba(255,196,77,0.95), 0 0 55px 16px rgba(255,196,77,0.65), 0 0 110px 40px rgba(255,196,77,0.3);
  }
  100% {
    box-shadow: var(--shadow-md), inset 0 0 0 0 rgba(255,196,77,0), 0 0 0 0 rgba(255,196,77,0);
  }
}
.form-lit { animation: card-light-on 3000ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  .form-lit { animation: none; }
}
.contact-form-wrap h3 { margin-bottom: 22px; font-size: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid #d6dbe1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--gray-light);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-accent);
  box-shadow: 0 0 0 3px rgba(34,168,90,0.15);
}
.form-note { margin-top: 14px; font-weight: 600; color: var(--green-accent); min-height: 1.2em; }
.form-note.is-error { color: #C0392B; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: 0.7; cursor: wait; }

@media (max-width: 600px) {
  .contact-info { padding: 36px 26px; }
  .contact-form-wrap { padding: 32px 22px 28px; }
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer { background: var(--blue-primary); color: #C9D6E6; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand .logo-text { color: var(--white); }
.footer-tagline { margin-top: 16px; max-width: 260px; color: #C9D6E6; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-contact ul, .footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.footer-contact li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-accent); margin-top: 2px; }
.footer-contact a:hover, .footer-links a:hover { color: var(--green-accent); }
.footer-bottom { text-align: center; padding: 22px 0; font-size: 0.85rem; color: #8FA1BB; }

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   Progressive enhancement: elements are fully visible by
   default. Motion is added only when the visitor hasn't
   requested reduced motion, and JS toggles .is-visible via
   IntersectionObserver as each element enters the viewport.
========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal,
  .reveal-pop,
  .reveal-left,
  .reveal-right {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
  }
  .reveal { transform: translateY(30px); }
  .reveal-pop { transform: translateY(24px) scale(0.92); }
  .reveal-left { transform: translateX(-40px); }
  .reveal-right { transform: translateX(40px); }

  .reveal.is-visible,
  .reveal-pop.is-visible,
  .reveal-left.is-visible,
  .reveal-right.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  /* Stagger the header trio (eyebrow / title / lead) in each section */
  .text-center .eyebrow.reveal { transition-delay: 0s; }
  .text-center .section-title.reveal { transition-delay: 0.12s; }
  .text-center .section-lead.reveal { transition-delay: 0.24s; }
}

/* =========================================================
   MOBILE CALL FAB
========================================================= */
.mobile-call-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-accent);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
}
.mobile-call-fab svg { width: 26px; height: 26px; }

/* =========================================================
   RESPONSIVE — MOBILE NAV
========================================================= */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    background: var(--blue-primary);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { max-height: 480px; }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-call { margin-top: 10px; text-align: center; justify-content: center; display: flex; }
  .icon-btn { display: flex; }
  .mobile-call-fab { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { min-height: 100vh; }
  .hero-stats { gap: 26px; }
  .cta-buttons, .hero-cta { flex-direction: column; }
  .cta-buttons .btn, .hero-cta .btn { width: 100%; justify-content: center; }
  .mobile-break { display: block; }
}

/* =========================================================
   INDUSTRIES WE SERVE
========================================================= */
.industries { background: var(--white); }
.ind-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 900px) {
  .ind-featured { grid-template-columns: repeat(3, 1fr); }
}
.ind-card {
  background: var(--white);
  border: 1px solid #E3E8EF;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.ind-photo {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--blue-primary);
}
.ind-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ind-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--blue-primary); }
.ind-body p { color: #4a4a4a; font-size: 0.95rem; margin-bottom: 18px; }
.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.ind-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(34,168,90,0.10);
  border-radius: 999px;
  padding: 5px 11px;
}

.ind-more-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 56px 0 18px;
}
.ind-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }
.ind-mini {
  background: var(--gray-light);
  border-left: 4px solid var(--blue-accent);
  border-radius: 10px;
  padding: 18px 18px 16px;
}
.ind-grid .ind-mini:nth-child(even) { border-left-color: var(--green-accent); }
.ind-mini h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--blue-primary); }
.ind-mini p { font-size: 0.9rem; color: #555; margin: 0; }

.ind-cta {
  margin-top: 40px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--blue-primary);
  color: #DCE7F5;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.ind-cta p { margin: 0; max-width: 620px; }
.ind-cta strong { color: var(--white); }
@media (min-width: 860px) {
  .ind-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 600px) {
  .ind-cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* ---------- Product search results ---------- */
.search-status { text-align: center; font-weight: 600; color: var(--blue-primary); margin: 0 0 22px; }
.search-status button { background: none; border: 0; padding: 0; margin-left: 6px; font: inherit; color: var(--blue-accent); text-decoration: underline; cursor: pointer; }
.category-tile.is-filtered-out { display: none; }
