/* ============================================================
   ANDREW & PEREZ CONCRETE — Main Stylesheet
   Brand System v1.0
   ============================================================ */

/* --- Custom Properties --------------------------------------- */
:root {
  --navy:       #1A2132;
  --off-white:  #E0DDD8;
  --warm-gray:  #F5F4F2;
  --slate:      #2D3A4A;
  --white:      #FFFFFF;
  --text-mid:   #666666;
  --text-faint: #999999;

  --font-display:    'Bebas Neue', 'Arial Narrow', Arial, sans-serif;
  --font-condensed:  'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body:       'Barlow', Arial, sans-serif;

  --container-max:  1280px;
  --container-pad:  clamp(20px, 5vw, 80px);
  --header-h:       82px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   0.2s ease;
  --t-base:   0.3s ease;
  --t-slow:   0.55s var(--ease-out);
}

/* --- Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
address { font-style: normal; }

/* --- Container ----------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* --- Typography --------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: 1px;
}
h4, h5, h6 {
  font-family: var(--font-condensed);
  font-weight: 600;
  line-height: 1.3;
}
h1 { font-size: clamp(52px, 8vw, 96px); }
h2 { font-size: clamp(40px, 5vw, 64px); }
h3 { font-size: clamp(30px, 3.5vw, 48px); }
h4 { font-size: clamp(17px, 2vw, 22px); letter-spacing: 0.5px; }

p {
  font-weight: 300;
  line-height: 1.78;
  color: var(--text-mid);
}
p.lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mid);
  display: block;
  margin-bottom: 18px;
}
.label--light { color: rgba(224,221,216,0.5); }

/* --- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--navy);
  color: var(--off-white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: #111828;
  border-color: #111828;
}
.btn-outline {
  background: var(--off-white);
  color: var(--navy);
  border-color: var(--off-white);
}
.btn-outline:hover {
  background: #ccc9c3;
  border-color: #ccc9c3;
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: var(--off-white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--slate);
  border-color: var(--slate);
}

/* Inline text link */
.text-link {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  transition: gap var(--t-fast), color var(--t-fast);
}
.text-link:hover { gap: 14px; color: var(--slate); }
.text-link--light { color: var(--off-white); opacity: 0.65; }
.text-link--light:hover { color: var(--off-white); opacity: 1; }
.text-link .arrow { font-size: 16px; line-height: 1; }

/* --- Scroll animation ---------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(224,221,216,0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0.75;
  transition: opacity var(--t-fast);
}
.nav-links a:hover,
.nav-links a.current { opacity: 1; }

.nav-cta {
  opacity: 1 !important;
  background: var(--slate);
  color: var(--off-white) !important;
  padding: 10px 24px;
  border: 1.5px solid var(--slate);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast) !important;
}
.nav-cta:hover {
  background: transparent !important;
  border-color: rgba(224,221,216,0.5) !important;
  color: var(--off-white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--off-white);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO (Home)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: var(--navy);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-night-pour.jpeg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.48;
  filter: contrast(1.12) saturate(1.08) brightness(1.05);
  transition: opacity 1s ease;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding-top: var(--header-h);
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.55);
  margin-bottom: 36px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(224,221,216,0.3);
  flex-shrink: 0;
}
.hero h1 {
  color: var(--off-white);
  margin-bottom: 36px;
  line-height: 0.92;
}
.hero-service-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-service-tag {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.95);
  background: rgba(26,33,50,0.55);
  border: none;
  padding: 9px 20px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero-service-tag:hover {
  background: rgba(26,33,50,0.75);
  color: rgba(224,221,216,1);
}
.hero p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(224,221,216,0.95);
  text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.5);
  max-width: 500px;
  margin-bottom: 44px;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
}
.hero-scroll span {
  font-family: var(--font-condensed);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--off-white);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--off-white), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50% { opacity: 0.7; transform: scaleY(0.6); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--slate);
  padding: 0;
  border-top: 1px solid rgba(224,221,216,0.06);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-right: 1px solid rgba(224,221,216,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  opacity: 0.55;
}
.trust-icon svg { width: 100%; height: 100%; }
.trust-text strong {
  display: block;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--off-white);
  line-height: 1.2;
}
.trust-text span {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.4);
}

/* ============================================================
   HOME — SERVICES PREVIEW
   ============================================================ */
.services-preview {
  padding: 100px 0;
  background: var(--white);
}
.section-header {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
}
.section-header h2 { color: var(--navy); margin-bottom: 16px; }
.section-header p { max-width: 440px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  display: block;
}
.service-card-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.service-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.6s var(--ease-out), opacity var(--t-base);
}
.service-card:hover .service-card-photo img {
  transform: scale(1.05);
  opacity: 0.5;
}
.service-card-body {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 36px 28px 32px;
  background: linear-gradient(to top, rgba(26,33,50,0.97) 55%, rgba(26,33,50,0.4) 85%, transparent 100%);
}
.service-card-num {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.35);
  margin-bottom: 8px;
  display: block;
}
.service-card h3 {
  color: var(--off-white);
  font-size: clamp(26px, 2.5vw, 36px);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 13px;
  color: rgba(224,221,216,0.6);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
}
.service-card .text-link { opacity: 0.55; transition: opacity var(--t-fast), gap var(--t-fast); }
.service-card:hover .text-link { opacity: 1; }

/* ============================================================
   HOME — GALLERY PREVIEW
   ============================================================ */
.gallery-preview {
  padding: 100px 0;
  background: var(--warm-gray);
}
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: 44px;
}
.gallery-preview-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--navy);
}
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), opacity var(--t-base);
}
.gallery-preview-item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}
.gallery-preview-cta { text-align: center; }

/* ============================================================
   HOME — CTA SECTION
   ============================================================ */
.cta-section {
  padding: 120px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/concrete-work-2.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
}
.cta-section .container { position: relative; }
.cta-section h2 { color: var(--off-white); margin-bottom: 20px; }
.cta-section p {
  color: rgba(224,221,216,0.6);
  font-size: 17px;
  max-width: 460px;
  margin: 0 auto 16px;
}
.cta-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--off-white);
  letter-spacing: 2px;
  margin-bottom: 40px;
  transition: opacity var(--t-fast);
}
.cta-phone:hover { opacity: 0.8; }
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 156px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: rgba(224,221,216,0.06);
}
.page-hero .label--light { margin-bottom: 14px; }
.page-hero h1 { color: var(--off-white); margin-bottom: 18px; }
.page-hero p.lead {
  color: rgba(224,221,216,0.62);
  max-width: 560px;
  font-weight: 300;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  padding: 100px 0;
  background: var(--white);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-story-text h2 { color: var(--navy); margin-bottom: 28px; }
.about-story-text p { margin-bottom: 18px; }
.about-story-text p:last-of-type { margin-bottom: 32px; }
.about-story-image {
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Values */
.values-section {
  padding: 100px 0;
  background: var(--warm-gray);
}
.values-section h2 { color: var(--navy); margin-bottom: 56px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.value-card {
  background: var(--white);
  padding: 44px 32px 40px;
}
.value-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--navy);
  opacity: 0.07;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0;
}
.value-card h4 {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.value-card p { font-size: 14px; }

/* Service area */
.service-area-section {
  padding: 100px 0;
  background: var(--navy);
}
.service-area-section h2 { color: var(--off-white); margin-bottom: 14px; }
.service-area-section > .container > p.lead {
  color: rgba(224,221,216,0.55);
  margin-bottom: 52px;
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(224,221,216,0.06);
}
.city-item {
  background: var(--navy);
  padding: 18px 24px;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.55);
  border-left: 2px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.city-item:hover {
  border-left-color: rgba(224,221,216,0.25);
  color: var(--off-white);
  background: rgba(255,255,255,0.02);
}

/* Why APC section */
.why-apc-section {
  padding: 100px 0;
  background: var(--white);
}
.why-apc-section h2 { color: var(--navy); margin-bottom: 56px; }
.why-apc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 1024px) {
  .why-apc-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 540px) {
  .why-apc-grid { grid-template-columns: 1fr; gap: 28px; }
}
.why-card {
  padding: 36px 28px;
  background: var(--warm-gray);
  border-top: 3px solid var(--navy);
}
.why-card-icon {
  width: 36px;
  height: 36px;
  color: var(--slate);
  margin-bottom: 20px;
}
.why-card-icon svg { width: 100%; height: 100%; }
.why-card h4 {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-block {
  padding: 100px 0;
  background: var(--white);
}
.service-block:nth-child(even) { background: var(--warm-gray); }
.service-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-block:nth-child(even) .service-block-grid { direction: rtl; }
.service-block:nth-child(even) .service-block-grid > * { direction: ltr; }
.service-block-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}
.service-block:hover .service-block-image img { transform: scale(1.03); }
.service-block-text .label { color: var(--text-mid); }
.service-block-text h3 { color: var(--navy); margin-bottom: 18px; }
.service-block-text p { margin-bottom: 28px; }
.service-features { margin-top: 8px; }
.service-features li {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--navy);
  padding: 11px 0;
  border-bottom: 1px solid rgba(26,33,50,0.07);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-features li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--slate);
  border-radius: 50%;
  flex-shrink: 0;
}

/* FAQ */
.faq-section {
  padding: 100px 0;
  background: var(--navy);
}
.faq-section h2 { color: var(--off-white); margin-bottom: 60px; }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid rgba(224,221,216,0.09); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--off-white);
  transition: color var(--t-fast);
}
.faq-question:hover { color: rgba(224,221,216,0.8); }
.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(224,221,216,0.45);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.faq-icon::before { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.faq-answer-inner { padding-bottom: 28px; }
.faq-answer-inner p { color: rgba(224,221,216,0.55); font-size: 15px; font-weight: 300; }

/* Services CTA */
.services-cta {
  padding: 80px 0;
  background: var(--slate);
  text-align: center;
}
.services-cta h2 { color: var(--off-white); margin-bottom: 16px; }
.services-cta p { color: rgba(224,221,216,0.6); margin-bottom: 36px; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section {
  padding: 80px 0 100px;
  background: var(--warm-gray);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), opacity var(--t-base);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,33,50,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t-base);
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.04); opacity: 0.88; }
.gallery-item-label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--off-white);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 80px 0 100px;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.contact-form h3 { color: var(--navy); margin-bottom: 44px; font-size: clamp(28px, 3vw, 40px); }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--navy);
  background: var(--warm-gray);
  border: 1px solid transparent;
  border-bottom: 1.5px solid rgba(26,33,50,0.12);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: transparent;
  border-bottom-color: var(--slate);
  background: #f0eeec;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: calc(50% + 6px);
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg) translateY(-50%);
  pointer-events: none;
}
.form-submit { margin-top: 8px; }
.form-success {
  display: none;
  padding: 22px 26px;
  background: var(--warm-gray);
  border-left: 3px solid var(--slate);
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.3px;
}

/* Contact sidebar */
.contact-info { padding-top: 12px; }
.contact-info h3 { color: var(--navy); margin-bottom: 44px; font-size: clamp(22px, 2.5vw, 32px); }
.contact-detail {
  padding: 22px 0;
  border-bottom: 1px solid rgba(26,33,50,0.07);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail-label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.contact-detail-value {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.55;
}
.contact-detail-value a { transition: color var(--t-fast); }
.contact-detail-value a:hover { color: var(--slate); }

/* Map */
.map-section {
  padding: 0 0 100px;
  background: var(--white);
}
.map-embed {
  width: 100%;
  height: 420px;
  display: block;
  filter: grayscale(15%) contrast(1.05) brightness(0.98);
  border: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding: 76px 0 44px;
  border-top: 1px solid rgba(224,221,216,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .footer-logo {
  margin-bottom: 22px;
  display: block;
}
.footer-brand .footer-logo img { height: 48px; width: auto; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(224,221,216,0.38);
  font-weight: 300;
}
.footer-col h5 {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 22px;
  opacity: 0.7;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 0.3px;
  color: rgba(224,221,216,0.42);
  transition: color var(--t-fast);
}
.footer-col ul a:hover { color: var(--off-white); }
.footer-col address p,
.footer-col address a {
  font-family: var(--font-condensed);
  font-size: 13px;
  color: rgba(224,221,216,0.42);
  display: block;
  margin-bottom: 8px;
  line-height: 1.5;
  letter-spacing: 0.3px;
  transition: color var(--t-fast);
}
.footer-col address a:hover { color: var(--off-white); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(224,221,216,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(224,221,216,0.22);
  font-weight: 400;
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
#chatbot-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  background: #3A5068;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow: 0 4px 24px rgba(58,80,104,0.5);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  animation: chatPulse 3s ease-in-out infinite;
}
#chatbot-toggle:hover {
  background: var(--navy);
  transform: scale(1.08);
  box-shadow: 0 8px 36px rgba(58,80,104,0.6);
  animation: none;
}
#chatbot-toggle svg { width: 26px; height: 26px; fill: none; stroke: var(--off-white); stroke-width: 1.8; }
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(58,80,104,0.5), 0 0 0 0 rgba(58,80,104,0.35); }
  50%       { box-shadow: 0 4px 24px rgba(58,80,104,0.5), 0 0 0 10px rgba(58,80,104,0); }
}

#chatbot-panel {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 360px;
  height: 490px;
  background: var(--white);
  border: 1px solid rgba(26,33,50,0.07);
  box-shadow: 0 10px 48px rgba(26,33,50,0.18);
  z-index: 900;
  display: flex;
  flex-direction: column;
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base), opacity var(--t-base);
}
#chatbot-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cb-header {
  background: var(--navy);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
}
.cb-header-info { min-width: 0; }
.cb-header-info h4 {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.8px;
  color: var(--off-white);
  line-height: 1.2;
}
.cb-header-info span {
  font-family: var(--font-condensed);
  font-size: 11px;
  color: rgba(224,221,216,0.38);
  letter-spacing: 0.3px;
}
.cb-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(224,221,216,0.38);
  font-size: 22px;
  line-height: 1;
  padding: 2px 4px;
  transition: color var(--t-fast);
  flex-shrink: 0;
}
.cb-close:hover { color: var(--off-white); }

.cb-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  scroll-behavior: smooth;
}
.cb-body::-webkit-scrollbar { width: 4px; }
.cb-body::-webkit-scrollbar-track { background: transparent; }
.cb-body::-webkit-scrollbar-thumb { background: rgba(26,33,50,0.1); border-radius: 2px; }

.cb-greeting {
  background: var(--warm-gray);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 18px;
}
.cb-options { display: flex; flex-direction: column; gap: 7px; }
.cb-option-btn {
  background: var(--white);
  border: 1.5px solid rgba(26,33,50,0.1);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.cb-option-btn:hover { background: var(--warm-gray); border-color: var(--slate); }

.cb-view { display: none; }
.cb-view.active { display: block; }

.cb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--warm-gray);
  border: 1.5px solid rgba(26,33,50,0.15);
  border-radius: 0;
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  margin-bottom: 20px;
  padding: 7px 14px;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.cb-back:hover { background: #e2e0db; border-color: rgba(26,33,50,0.3); }

.cb-view h5 {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.cb-view p { font-size: 13px; margin-bottom: 12px; font-weight: 300; }

.cb-form-group { margin-bottom: 12px; }
.cb-form-group label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 4px;
}
.cb-form-group input,
.cb-form-group select {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  background: var(--warm-gray);
  border: 1px solid transparent;
  border-bottom: 1.5px solid rgba(26,33,50,0.1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: border-color var(--t-fast);
}
.cb-form-group input:focus,
.cb-form-group select:focus { border-bottom-color: var(--slate); }

.cb-submit-btn {
  width: 100%;
  background: var(--slate);
  color: var(--off-white);
  border: none;
  padding: 13px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: background var(--t-fast);
}
.cb-submit-btn:hover { background: var(--navy); }
.cb-submit-btn:disabled { opacity: 0.6; cursor: default; }

.cb-success {
  padding: 16px;
  background: var(--warm-gray);
  border-left: 3px solid var(--slate);
  font-family: var(--font-condensed);
  font-size: 13px;
  color: var(--navy);
  line-height: 1.6;
}

.cb-service-list { margin-bottom: 18px; }
.cb-service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-condensed);
  font-size: 13px;
  color: var(--navy);
  padding: 9px 0;
  border-bottom: 1px solid rgba(26,33,50,0.06);
}
.cb-service-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--slate);
  border-radius: 50%;
  flex-shrink: 0;
}

.cb-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.cb-city-tag {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--navy);
  background: var(--warm-gray);
  padding: 4px 10px;
}

.cb-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--slate);
  color: var(--off-white);
  padding: 16px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  transition: background var(--t-fast);
}
.cb-call-btn:hover { background: var(--navy); }
.cb-call-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }

/* Chat text input bar */
.cb-input-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid rgba(26,33,50,0.07);
  background: var(--white);
  flex-shrink: 0;
}
.cb-text-input {
  flex: 1;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--navy);
  background: var(--warm-gray);
  border: 1px solid transparent;
  border-bottom: 1.5px solid rgba(26,33,50,0.1);
  outline: none;
  border-radius: 0;
  transition: border-color var(--t-fast);
}
.cb-text-input:focus { border-bottom-color: var(--slate); }
.cb-text-input::placeholder { color: var(--text-faint); }
.cb-send-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #3A5068;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.cb-send-btn:hover { background: var(--navy); }
.cb-send-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--off-white); stroke-width: 2; }

/* User message bubble */
.cb-user-msg {
  text-align: right;
  margin-bottom: 10px;
}
.cb-user-msg span {
  display: inline-block;
  background: #3A5068;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  padding: 8px 13px;
  max-width: 85%;
  line-height: 1.5;
}

/* Bot response bubble */
.cb-bot-msg {
  margin-bottom: 14px;
}
.cb-bot-msg span {
  display: inline-block;
  background: var(--warm-gray);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  padding: 10px 13px;
  max-width: 90%;
  line-height: 1.6;
}

/* Conversation thread scroll container */
#cb-view-convo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
#cb-convo-thread {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
}

/* Typing indicator */
.cb-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: var(--warm-gray);
}
.cb-typing-dots span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--text-mid);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.cb-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}

.cb-footer {
  padding: 10px 14px 12px;
  border-top: 2px solid rgba(26,33,50,0.08);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.cb-reset {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 2px solid rgba(26,33,50,0.2);
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  padding: 7px 18px;
  width: 100%;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.cb-reset::before {
  content: '↺';
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}
.cb-reset:hover { background: var(--warm-gray); border-color: var(--navy); }

/* ============================================================
   HIRING BANNER (homepage only)
   ============================================================ */
.hiring-banner {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1010;
  height: 38px;
  background: #1a3328;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--container-pad);
  border-bottom: 1px solid rgba(224,221,216,0.08);
}
.hiring-banner a {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.75);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color var(--t-fast);
}
.hiring-banner a:hover { color: var(--off-white); }
.hiring-banner-badge {
  font-size: 9px;
  letter-spacing: 2.5px;
  font-weight: 600;
  background: rgba(224,221,216,0.12);
  padding: 3px 10px;
}
body.with-banner .site-header { top: 38px; }
body.with-banner .hero-content { padding-top: calc(var(--header-h) + 38px); }

/* ============================================================
   CAREERS PAGE
   ============================================================ */

/* Hero */
.careers-hero {
  background: var(--navy);
  padding: 156px 0 88px;
  position: relative;
  overflow: hidden;
}
.careers-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/commercial-pump-truck-night.jpeg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
}
.careers-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: rgba(224,221,216,0.06);
}
.careers-hero .container { position: relative; }
.careers-hero h1 { color: var(--off-white); margin-bottom: 18px; }
.careers-hero-sub {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.5);
  margin-bottom: 36px;
}
.careers-pay {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  color: var(--off-white);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 32px;
}
.careers-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.careers-badge {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(224,221,216,0.88);
  background: rgba(26,33,50,0.6);
  border: 1px solid rgba(224,221,216,0.18);
  padding: 9px 20px;
  backdrop-filter: blur(6px);
}

/* Job detail sections */
.careers-block {
  padding: 80px 0;
  background: var(--white);
}
.careers-block--alt { background: var(--warm-gray); }
.careers-block h2 { color: var(--navy); margin-bottom: 44px; }

/* Skills grid */
.skills-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.skill-item {
  background: var(--warm-gray);
  padding: 20px 24px;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 3px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.skill-item::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--slate);
  border-radius: 50%;
  flex-shrink: 0;
}
.skill-item:hover {
  border-left-color: var(--slate);
  background: #eeecea;
}

/* What We Offer cards */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.offer-card {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid var(--navy);
}
.offer-card h4 {
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.offer-card p { font-size: 15px; margin: 0; }

/* Requirements callout */
.requirements-callout {
  background: var(--navy);
  padding: 48px 52px;
  border-left: 4px solid rgba(224,221,216,0.25);
  max-width: 860px;
}
.requirements-callout .form-section-title {
  color: rgba(224,221,216,0.38);
  border-bottom-color: rgba(224,221,216,0.07);
  margin-bottom: 20px;
}
.requirements-list li {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  color: var(--off-white);
  padding: 15px 0;
  border-bottom: 1px solid rgba(224,221,216,0.07);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.45;
}
.requirements-list li:last-child { border-bottom: none; }
.requirements-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(224,221,216,0.28);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* Application form section */
.careers-apply {
  padding: 80px 0 100px;
  background: var(--white);
}
.careers-apply-header { margin-bottom: 60px; }
.careers-apply-header h2 { color: var(--navy); margin-bottom: 14px; }
.careers-apply-header p { font-size: 17px; }

/* Form sections */
.form-section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(26,33,50,0.07);
}
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.form-section-title {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,33,50,0.07);
}

/* Checkboxes / radios */
.form-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.form-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--navy);
  cursor: pointer;
}
.form-check-label input[type="checkbox"],
.form-check-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.form-radio-group {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

/* Work history rows */
.work-history-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 2fr;
  gap: 0 16px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(26,33,50,0.05);
}
.work-history-row:last-of-type { border-bottom: none; }
.work-history-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid rgba(26,33,50,0.14);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  padding: 10px 20px;
  cursor: pointer;
  margin-top: 8px;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.work-history-add:hover { background: var(--warm-gray); border-color: var(--navy); }
.work-history-add::before { content: '+'; font-size: 15px; font-weight: 400; }

/* Reference groups */
.reference-group {
  background: var(--warm-gray);
  padding: 28px 28px 8px;
  margin-bottom: 12px;
}
.reference-group-title {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

/* Disclaimer */
.form-disclaimer {
  background: var(--warm-gray);
  padding: 26px 28px;
  margin-bottom: 28px;
}
.form-disclaimer p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text-faint);
  font-weight: 400;
  margin-bottom: 18px;
}
.form-disclaimer .form-check-label { font-size: 12px; letter-spacing: 0.3px; }

/* Felony conditional textarea */
#felony-explain-group { display: none; }
#felony-explain-group.visible { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--t-base);
    padding: 44px var(--container-pad);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 15px; letter-spacing: 3px; opacity: 1; }
  .nav-cta { align-self: flex-start; padding: 14px 32px; }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(224,221,216,0.1); }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(224,221,216,0.1); }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-photo { aspect-ratio: 16/9; }
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-block-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-block:nth-child(even) .service-block-grid { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
  /* Careers */
  .skills-list { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .work-history-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --container-pad: 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; }
  #chatbot-panel { left: 12px; right: 12px; width: auto; bottom: 96px; height: calc(100vh - 124px); }
  #chatbot-toggle { bottom: 20px; right: 20px; width: 60px; height: 60px; }
  /* Careers */
  .skills-list { grid-template-columns: 1fr; }
  .requirements-callout { padding: 32px 24px; }
  .work-history-row { grid-template-columns: 1fr; }
  .careers-hero { padding: 130px 0 64px; }
}
