/* ==========================================================
   Texas Fire Tech — styles.css
   Plain CSS. No framework. No build step. Edit and refresh.
   ========================================================== */

:root {
  --red:         #dc2626;
  --red-dark:    #991b1b;
  --black:       #0b0b0c;
  --white:       #ffffff;
  --navy:        #0f2a44;
  --gray-light:  #f6f7f9;
  --gray-mid:    #dee2e6;
  --gray-text:   #6c757d;
  --radius-btn:  50px;
  --radius-card: 14px;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 20px 60px rgba(11,11,12,.14);
  --transition:  .35s ease;
  --max:         1280px;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---------- ANIMATION BASE ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="1"] { transition-delay: .1s; }
[data-animate-delay="2"] { transition-delay: .2s; }
[data-animate-delay="3"] { transition-delay: .3s; }
[data-animate-delay="4"] { transition-delay: .4s; }

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  animation: fadeDown .8s ease both;
  position: relative;
  z-index: 10;
}
.nav .logo img { height: 52px; width: auto; }
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  color: var(--black);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .35s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-phone {
  background: var(--red);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  animation: pulseRed 2.8s ease-in-out infinite;
  transition: transform .25s ease;
}
.nav-phone:hover { transform: translateY(-1px) scale(1.02); }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  padding: 40px 64px 120px;
  align-items: center;
  min-height: 640px;
  position: relative;
}
.hero-bg-glow {
  position: absolute;
  top: 30%;
  left: -140px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(220,38,38,0.09) 0%, transparent 70%);
  border-radius: 50%;
  animation: slowDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; }
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 3px solid var(--red);
  margin-bottom: 28px;
  animation: fadeUp .7s ease .2s both;
}
.hero-headline {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.97;
  margin-bottom: 28px;
  color: var(--black);
}
.hero-headline .word {
  display: inline-block;
  opacity: 0;
  margin-right: 0.25em;
  animation: fadeUp .75s ease both;
}
.hero-headline .word.red { color: var(--red); }
.hero-headline br + .word { margin-left: 0; }
.hero-sub {
  font-size: 19px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 40px;
  animation: fadeUp .7s ease .95s both;
}
.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp .7s ease 1.05s both;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 18px 34px;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(220,38,38,.3);
}
.btn-secondary {
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  padding: 18px 8px;
  font-size: 16px;
}
.btn-secondary::after {
  content: " →";
  color: var(--red);
  transition: margin-left .25s;
  display: inline-block;
}
.btn-secondary:hover::after { margin-left: 6px; }

/* Hero strip — pyramid composition, upright, clickable, with hover lift */
.hero-strip {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: flex-end;
  height: 600px;
  padding-bottom: 120px;
  position: relative;
}
.hero-photo {
  flex: 0 0 auto;
  position: relative;
  opacity: 0;
  transform: translateX(80px);
  animation: slideInRight .85s ease both;
  text-decoration: none;
  cursor: pointer;
}
.hero-photo::before,
.hero-photo::after {
  content: none;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 22px 28px rgba(11, 11, 12, 0.22));
  transform-origin: bottom center;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s ease;
}
.hero-photo:hover img {
  transform: translateY(-20px) scale(1.07);
  filter: drop-shadow(0 36px 42px rgba(220, 38, 38, 0.38));
}
.hero-photo:hover {
  z-index: 10;
}

/* Per-child sizing, layering, overlap.
   Center extinguisher is the hero (biggest, on top);
   mediums flank it; smalls sit at the edges behind. */
.hero-photo:nth-child(1) {
  width: 130px;
  height: 320px;
  margin-right: -26px;
  z-index: 1;
  animation-delay: .55s;
}
.hero-photo:nth-child(2) {
  width: 160px;
  height: 440px;
  margin-right: -20px;
  z-index: 2;
  animation-delay: .7s;
}
.hero-photo:nth-child(3) {
  width: 200px;
  height: 560px;
  z-index: 3;
  animation-delay: .85s;
}
.hero-photo:nth-child(4) {
  width: 160px;
  height: 440px;
  margin-left: -20px;
  z-index: 2;
  animation-delay: 1s;
}
.hero-photo:nth-child(5) {
  width: 130px;
  height: 320px;
  margin-left: -26px;
  z-index: 1;
  animation-delay: 1.15s;
}

/* ---------- SERVICES — dark marquee ---------- */
.services {
  padding: 100px 0 120px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.services-heading {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 64px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.services h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.services .red { color: var(--red); }

.marquee-wrap {
  position: relative;
  overflow: hidden;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}
.marquee {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee .card {
  flex: 0 0 360px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.marquee .card:hover {
  background: rgba(220,38,38,0.08);
  border-color: var(--red);
  transform: translateY(-4px);
}
.marquee .card-photo {
  width: 100%;
  height: 130px;
  background: linear-gradient(135deg, #2a3042 0%, #141820 100%);
  border-radius: 10px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.marquee .card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(220,38,38,0.25) 0%, transparent 60%);
}
.marquee .card-photo::after {
  content: "PHOTO";
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 3px 7px;
  border-radius: 20px;
}
.marquee .card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.marquee .card .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.marquee .card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.marquee .card p {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  flex: 1;
}

/* ---------- TRUST ROW ---------- */
.trust {
  padding: 100px 64px;
  background: var(--white);
}
.trust-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.trust-item {
  position: relative;
  padding-top: 24px;
}
.trust-item::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--red);
  margin-bottom: 24px;
}
.trust-item h3 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.trust-item p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ---------- PROCESS ---------- */
.process {
  padding: 100px 64px 120px;
  background: var(--gray-light);
}
.process-heading {
  text-align: center;
  margin-bottom: 64px;
}
.process-heading h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.process-heading .red { color: var(--red); }
.process-steps {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--white);
  border-radius: 18px;
  padding: 48px 36px 40px;
  position: relative;
  box-shadow: 0 4px 20px rgba(11,11,12,0.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step .num {
  font-size: 56px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.9;
}
.step h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 100px 64px 120px;
  background: var(--white);
}
.testimonials-heading {
  text-align: center;
  margin-bottom: 56px;
}
.testimonials-heading h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.testimonials-heading .red { color: var(--red); }
.testimonials-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--gray-light);
  border-radius: 18px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 28px;
  font-size: 90px;
  color: var(--red);
  font-weight: 900;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.18;
}
.testimonial .quote {
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 24px;
  flex: 1;
  position: relative;
}
.testimonial .author {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 2px;
}
.testimonial .role {
  font-size: 13px;
  color: var(--gray-text);
}

/* ---------- CONTACT CTA ---------- */
.contact {
  padding: 120px 64px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.eyebrow-light {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contact-copy h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--white);
}
.contact-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
}
.contact-phone {
  display: inline-block;
  font-size: 38px;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  padding: 16px 0;
  border-bottom: 3px solid var(--red);
  margin-bottom: 28px;
  transition: color .25s ease;
}
.contact-phone:hover { color: var(--red); }
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .25s ease, background .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255,255,255,0.1);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 18px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
  margin-top: 8px;
}
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(220,38,38,.3);
}
.contact-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Inline form success / error states */
.form-success {
  text-align: center;
  padding: 48px 20px 20px;
}
.form-success .success-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 16px;
}
.form-success h3 {
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.form-success p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.form-success a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.form-error {
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.42);
  color: #fca5a5;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--red-dark);
  padding: 48px 64px;
  color: var(--white);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo { height: 48px; width: auto; }
.footer-meta {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
  flex-wrap: wrap;
}

/* ---------- ACTIVE NAV LINK (current page) ---------- */
.nav-links a.active {
  color: var(--red);
}
.nav-links a.active::after {
  width: 100%;
}

/* ---------- PAGE HERO (sub-pages like products.html) ---------- */
.page-hero {
  padding: 80px 64px 60px;
  text-align: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(220,38,38,0.09) 0%, transparent 70%);
  pointer-events: none;
  animation: slowDrift 14s ease-in-out infinite alternate;
}
.page-hero .kicker {
  margin-bottom: 24px;
  animation: fadeUp .7s ease .15s both;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.97;
  margin: 0 auto 24px;
  max-width: 1000px;
  color: var(--black);
  animation: fadeUp .75s ease .3s both;
  position: relative;
  z-index: 1;
}
.page-hero h1 .red { color: var(--red); }
.page-hero-sub {
  font-size: 19px;
  color: var(--gray-text);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
  animation: fadeUp .7s ease .5s both;
  position: relative;
  z-index: 1;
}

/* ---------- PRODUCTS GRID ---------- */
.products-grid-section {
  padding: 60px 64px 120px;
  background: var(--gray-light);
}
.products-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  justify-content: center;
}
.product-card {
  background: var(--white);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  box-shadow: 0 4px 20px rgba(11,11,12,0.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-photo {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #232a3a 0%, #0b0b0c 100%);
  border-radius: 12px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.product-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(220,38,38,0.22) 0%, transparent 60%);
}
.product-photo::after {
  content: "PHOTO";
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}
.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.product-card .tag {
  font-size: 11px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.product-card h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.product-card p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}
.btn-request {
  background: var(--red);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  align-self: flex-start;
  letter-spacing: 0.02em;
}
.btn-request::after {
  content: " →";
  display: inline-block;
  transition: margin-left .25s;
}
.btn-request:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(220,38,38,.3);
}
.btn-request:hover::after { margin-left: 6px; }

/* ---------- TOAST (phone copy feedback on desktop) ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--black);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  z-index: 1000;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.14);
  letter-spacing: 0.01em;
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.4); }
  50% { box-shadow: 0 0 0 14px rgba(220,38,38,0); }
}
@keyframes slowDrift {
  from { transform: translate(0, 0); }
  to   { transform: translate(50px, -40px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 32px 40px 80px;
  }
  .hero-strip { height: 400px; }
  .trust-inner,
  .process-steps,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .marquee .card { flex: 0 0 300px; }
}
@media (max-width: 700px) {
  /* Nav: horizontally scrollable strip so 6 items fit cleanly */
  .nav {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
  }
  .nav .logo img { height: 40px; }
  .nav-links {
    order: 3;
    width: calc(100% + 40px);
    margin: 0 -20px;
    padding: 4px 20px 8px;
    justify-content: flex-start;
    gap: 22px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links li { flex-shrink: 0; }
  .nav-links a { white-space: nowrap; font-size: 13px; font-weight: 700; }
  .nav-phone {
    padding: 11px 18px;
    font-size: 13px;
  }

  /* Hero — tighter padding, smaller cluster */
  .hero {
    padding: 16px 20px 40px;
    gap: 24px;
    min-height: auto;
  }
  .hero-headline { margin-bottom: 20px; }
  .hero-sub { font-size: 17px; margin-bottom: 28px; }

  /* Section padding */
  .services,
  .trust,
  .process,
  .testimonials,
  .contact,
  .footer { padding-left: 24px; padding-right: 24px; }
  .contact-form { padding: 28px; }
  .contact-inner { gap: 40px; }

  /* Hero strip — pyramid shrunk to fit a phone screen */
  .hero-strip {
    gap: 4px;
    height: 270px;
    padding-bottom: 20px;
    align-items: flex-end;
  }
  .hero-photo:nth-child(1),
  .hero-photo:nth-child(5) {
    width: 56px;
    height: 150px;
    margin: 0;
  }
  .hero-photo:nth-child(2),
  .hero-photo:nth-child(4) {
    width: 66px;
    height: 200px;
    margin: 0;
  }
  .hero-photo:nth-child(3) {
    width: 84px;
    height: 250px;
    margin: 0;
  }
  .hero-photo img { transform: none !important; }
  .hero-photo:hover img {
    transform: translateY(-8px) scale(1.04);
  }
}

/* ==============================================================
   SUB-PAGES: services.html, about.html, contact.html
   ============================================================== */

/* ---------- SERVICES PAGE — detail list ---------- */
.service-detail-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 64px 100px;
}
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-mid);
  align-items: center;
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .detail-copy { order: 2; }
.service-detail:nth-child(even) .detail-photo { order: 1; }
.detail-photo {
  height: 440px;
  border-radius: 18px;
  background: linear-gradient(135deg, #232a3a 0%, #0b0b0c 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11,11,12,0.15);
}
.detail-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 35%, rgba(220,38,38,0.2) 0%, transparent 60%);
}
.detail-photo::after {
  content: "PHOTO";
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 1;
}
.detail-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}
.detail-copy .tag {
  font-size: 11px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.detail-copy h2 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 20px;
}
.detail-copy p.long {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-text);
  margin-bottom: 28px;
}
.detail-copy .includes-heading {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
}
.detail-copy .includes {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.detail-copy .includes li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 15px;
  color: var(--black);
  border-bottom: 1px solid var(--gray-mid);
}
.detail-copy .includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 2px;
  background: var(--red);
}

/* ---------- ABOUT PAGE ---------- */
.stats-section {
  padding: 40px 64px 80px;
  background: var(--white);
}
.stats-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
  padding: 32px 20px;
  border-top: 3px solid var(--red);
}
.stat .value {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 12px;
}
.stat .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.story-section {
  padding: 80px 64px;
  background: var(--gray-light);
}
.story {
  max-width: 780px;
  margin: 0 auto;
}
.story p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 24px;
}
.story p:last-child { margin-bottom: 0; }
.story p:first-child::first-letter {
  font-size: 1.3em;
  font-weight: 900;
  color: var(--red);
}
.values-section {
  padding: 100px 64px 120px;
  background: var(--white);
}
.values-heading {
  text-align: center;
  margin-bottom: 56px;
}
.values-heading h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.values-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value {
  padding: 40px 32px;
  background: var(--gray-light);
  border-radius: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.value:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.value .num {
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
}
.value h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.value p {
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ---------- CONTACT PAGE ---------- */
.contact-info-section {
  padding: 40px 64px 80px;
  background: var(--white);
}
.contact-info-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-card {
  padding: 32px 28px;
  background: var(--gray-light);
  border-radius: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.info-card .info-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.info-card .info-value {
  font-size: 19px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq-section {
  padding: 100px 64px 120px;
  background: var(--gray-light);
}
.faq-heading {
  text-align: center;
  margin-bottom: 56px;
}
.faq-heading h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.faq-heading .red { color: var(--red); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(11,11,12,0.04);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 72px 26px 32px;
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  position: relative;
  transition: color .25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}
.faq-item[open] summary { color: var(--red); }
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .answer {
  padding: 0 32px 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-text);
}

/* ---------- SUB-PAGE RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  .service-detail:nth-child(even) .detail-copy { order: 0; }
  .service-detail:nth-child(even) .detail-photo { order: 0; }
  .detail-photo { height: 320px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .page-hero {
    padding: 48px 24px 40px;
  }
  .page-hero h1 { line-height: 1; }
  .service-detail-list,
  .stats-section,
  .story-section,
  .values-section,
  .contact-info-section,
  .faq-section { padding-left: 24px; padding-right: 24px; }
  .stats-row { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .faq-item summary { padding: 20px 60px 20px 24px; font-size: 16px; }
  .faq-item summary::after { right: 16px; width: 30px; height: 30px; font-size: 20px; }
  .faq-item .answer { padding: 0 24px 22px; }
  .story p { font-size: 17px; }
}
