/*
Theme Name:  Extintores y Fuegos ABC
Theme URI:   https://extintoresyfuegosabc.com
Description: WordPress theme for Extintores y Fuegos ABC — fire protection company in Guatemala. Built from Claude Design handoff. Spacing mapped to Google's 8dp grid.
Version:     1.0.0
Author:      Extintores y Fuegos ABC
Author URI:  https://extintoresyfuegosabc.com
Text Domain: extintores-abc
Tags:        one-page, dark, business
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS — mirrors theme.json custom settings
   Spacing snapped to Google's 8dp grid (1dp = 1px at 1× scale)
   ───────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --dark:  var(--wp--custom--color--dark,  #0c0c0c);
  --dark2: var(--wp--custom--color--dark2, #161616);
  --dark3: var(--wp--custom--color--dark3, #1d1d1d);
  --red:   var(--wp--custom--color--red,   #d42020);
  --red2:  var(--wp--custom--color--red2,  #b01818);
  --light: var(--wp--custom--color--light, #f3f3f3);
  --white: var(--wp--custom--color--white, #ffffff);

  /* Typography */
  --fh: var(--wp--custom--font--heading, 'Barlow Condensed', sans-serif);
  --fb: var(--wp--custom--font--body,    'Barlow', sans-serif);

  /* Spacing — 8dp grid */
  --sp-1:  var(--wp--preset--spacing--1,  8px);
  --sp-2:  var(--wp--preset--spacing--2,  16px);
  --sp-3:  var(--wp--preset--spacing--3,  24px);
  --sp-4:  var(--wp--preset--spacing--4,  32px);
  --sp-5:  var(--wp--preset--spacing--5,  40px);
  --sp-6:  var(--wp--preset--spacing--6,  48px);
  --sp-7:  var(--wp--preset--spacing--7,  56px);
  --sp-8:  var(--wp--preset--spacing--8,  64px);
  --sp-9:  var(--wp--preset--spacing--9,  72px);
  --sp-10: var(--wp--preset--spacing--10, 80px);
  --sp-11: var(--wp--preset--spacing--11, 88px);
  --sp-12: var(--wp--preset--spacing--12, 96px);

  /* Semantic spacing aliases */
  --nav-height:  var(--wp--custom--spacing--nav-height,  72px);  /* 9×8 */
  --sec-pad:     var(--wp--custom--spacing--section,     96px);  /* 12×8 */
  --sec-h-pad:   var(--wp--custom--spacing--section-h,   32px);  /* 4×8 */
  --container:   var(--wp--custom--spacing--container,   1200px);
}

/* ─────────────────────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  background: var(--white);
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .3s;
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.11); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sec-h-pad);        /* 32px — 4×8 */
  height: var(--nav-height);          /* 72px — 9×8 */
  display: flex;
  align-items: center;
  gap: var(--sp-1);                   /* 8px — 1×8 */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-1);                   /* 8px */
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
.logo-flame { flex-shrink: 0; display: block; }
.logo-words { display: flex; flex-direction: column; justify-content: center; }
.logo-words-top {
  font-family: var(--fh);
  font-size: 9px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #999; line-height: 1.2;
}
.logo-words-main {
  font-family: var(--fh);
  font-size: 27px; font-weight: 800;
  color: #111; letter-spacing: -.01em; line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: var(--sp-1) 14px;          /* 8px vertical — 1×8 */
  font-size: 14px; font-weight: 500;
  color: #555; text-decoration: none;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--red); background: rgba(212,32,32,.07); }

.nav-cta {
  margin-left: var(--sp-1) !important;   /* 8px */
  padding: var(--sp-1) var(--sp-3) !important;  /* 8px 24px */
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red2) !important; }

/* Mobile burger */
.nav-burger {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  margin-left: auto;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  padding: var(--sp-2) var(--sp-3) var(--sp-4);   /* 16px 24px 32px */
  overflow-y: auto;
  z-index: 899;
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-2);   /* 16px */
  font-size: 17px; font-weight: 500;
  color: #333; text-decoration: none;
  border-radius: var(--sp-1);
  transition: background .15s;
  min-height: 48px;
}
.nav-drawer a:hover { background: #f5f5f5; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ─────────────────────────────────────────────────────────────
   SECTION COMMON
   ───────────────────────────────────────────────────────────── */
.sec { padding: var(--sec-pad) var(--sec-h-pad); }   /* 96px 32px — 12×8 / 4×8 */

.sec-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);                   /* 8px */
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-2);        /* 16px */
}
.sec-tag::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
}

.sec-title {
  font-family: var(--fh);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .95;
  color: #111;
  margin-bottom: var(--sp-3);        /* 24px */
}
.sec-title em { font-style: normal; color: var(--red); }
.sec-title.inv { color: var(--white); }

.sec-sub {
  font-size: 16px; color: #666;
  line-height: 1.65; max-width: 500px;
}
.sec-sub.inv { color: rgba(210,210,210,.65); }

/* Reveal animation */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.rv.in { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: var(--nav-height);     /* 72px */
}

/* CSS fire glow particles */
.hf {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: hf-pulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}
.hf1 { width: 600px; height: 600px; background: rgba(212,32,32,.18); bottom: -100px; left: -100px; animation-delay: 0s; }
.hf2 { width: 400px; height: 400px; background: rgba(180,80,0,.14); bottom: 0; left: 200px; animation-delay: 1s; }
.hf3 { width: 500px; height: 500px; background: rgba(212,32,32,.1); top: 10%; right: -80px; animation-delay: 2s; }
.hf4 { width: 300px; height: 300px; background: rgba(255,120,0,.08); top: 30%; right: 200px; animation-delay: .5s; }

@keyframes hf-pulse {
  from { transform: scale(1) translateY(0); opacity: .7; }
  to   { transform: scale(1.12) translateY(-24px); opacity: 1; }
}

/* Video background */
.hero-vid {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
}
.hero-vid video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-vid video.loaded { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(12,12,12,.92) 0%, rgba(12,12,12,.72) 60%, rgba(12,12,12,.55) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-12) var(--sec-h-pad); /* 96px 32px */
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--fh);
  font-size: 13px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--sp-3);        /* 24px */
}

.hero h1 {
  font-family: var(--fh);
  font-size: clamp(72px, 12vw, 136px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .88;
  color: var(--white);
  margin-bottom: var(--sp-4);        /* 32px */
}
.hero h1 em { font-style: normal; color: var(--red); }

.hero-sub {
  font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: var(--sp-5);        /* 40px */
}

/* Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);                  /* 16px */
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);       /* 80px */
}

.btn {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-4);  /* 16px 32px */
  border-radius: var(--sp-1);        /* 8px */
  font-family: var(--fb);
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red2); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Trust pills */
.hero-trust { display: flex; flex-direction: column; gap: var(--sp-2); }
.trust-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.trust-pills { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.trust-pill {
  padding: 5px var(--sp-2);          /* 5px 16px */
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(56px, 16vw, 80px); }
}

/* ─────────────────────────────────────────────────────────────
   SERVICES
   ───────────────────────────────────────────────────────────── */
.services { background: var(--dark3); }

.svc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);                  /* 24px */
  margin-bottom: var(--sp-6);        /* 48px */
  flex-wrap: wrap;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);                  /* 16px */
}

.svc-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 400px;
  transition: transform .3s, box-shadow .3s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.svc-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-card:hover .svc-bg-img { transform: scale(1.06); }
.svc-bg-fb { position: absolute; inset: 0; }
.svc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.93) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.08) 80%, transparent 100%);
  transition: background .3s;
}
.svc-card:hover .svc-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.96) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.2) 85%, transparent 100%);
}
.svc-badge {
  position: absolute; top: var(--sp-3); left: var(--sp-3); /* 24px */
  z-index: 2;
  width: var(--sp-5); height: var(--sp-5);  /* 40px */
  border-radius: var(--sp-1);        /* 8px */
  background: var(--red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.svc-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: var(--sp-4);              /* 32px */
}
.svc-content h3 {
  font-family: var(--fh);
  font-size: 22px; font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-2);       /* 16px */
  line-height: 1.1;
}
.svc-content ul { list-style: none; }
.svc-content li {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  padding: 3px 0;
}
.svc-content li::before {
  content: '— ';
  color: var(--red);
}

@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { height: 280px; }
}

/* ─────────────────────────────────────────────────────────────
   PROCESS
   ───────────────────────────────────────────────────────────── */
.process { background: var(--dark2); }

.proc-head { margin-bottom: var(--sp-10); }  /* 80px */

.proc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);                  /* 32px */
}

.proc-step {
  padding: var(--sp-5) var(--sp-4);  /* 40px 32px */
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.02);
  position: relative;
  overflow: hidden;
}

.proc-num {
  font-family: var(--fh);
  font-size: 80px; font-weight: 800;
  color: rgba(212,32,32,.1);
  line-height: 1;
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);  /* 24px */
  pointer-events: none;
}
.proc-dot {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  margin-bottom: var(--sp-3);        /* 24px */
  box-shadow: 0 0 0 4px rgba(212,32,32,.2);
}
.proc-step h3 {
  font-family: var(--fh);
  font-size: 22px; font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-2);        /* 16px */
}
.proc-step p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .proc-steps { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────────── */
.about { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);                 /* 80px */
  align-items: start;
}
.about-desc {
  font-size: 16px; color: #555;
  line-height: 1.72;
  margin-bottom: var(--sp-5);        /* 40px */
}
.founded-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);                  /* 16px */
  padding: var(--sp-2) var(--sp-3);  /* 16px 24px */
  background: var(--dark);
  border-radius: var(--sp-1);        /* 8px */
  font-family: var(--fh);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.7);
}
.founded-badge strong { font-size: 32px; color: var(--red); }

.values { display: flex; flex-direction: column; gap: var(--sp-3); }  /* 24px */
.val-card {
  background: var(--white);
  border-radius: 10px;
  padding: var(--sp-3) var(--sp-4);  /* 24px 32px */
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.val-card h4 {
  font-family: var(--fh);
  font-size: 18px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #111;
  margin-bottom: var(--sp-1);        /* 8px */
}
.val-card p { font-size: 14px; color: #666; line-height: 1.68; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ─────────────────────────────────────────────────────────────
   BRANDS CAROUSEL
   ───────────────────────────────────────────────────────────── */
.brands {
  background: var(--white);
  padding: var(--sp-8) 0;            /* 64px */
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  overflow: hidden;
}
.brands-head {
  text-align: center;
  margin-bottom: var(--sp-6);        /* 48px */
  padding: 0 var(--sec-h-pad);
}
.brands-head .sec-tag { display: flex; justify-content: center; }
.brands-head h3 {
  font-family: var(--fh);
  font-size: 40px; font-weight: 800;
  text-transform: uppercase;
  color: #111;
  margin-top: 6px;
}
.brands-head h3 em { font-style: normal; color: var(--red); }

.carousel-mask {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.carousel-track {
  display: flex;
  gap: var(--sp-2);                  /* 16px */
  width: max-content;
  animation: marquee 24s linear infinite;
  padding: 4px 0;
}
.carousel-track:hover { animation-play-state: paused; }

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

.b-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-2) var(--sp-4);  /* 16px 32px */
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  min-width: 160px; height: 72px;
  filter: grayscale(1); opacity: .48;
  transition: all .28s; flex-shrink: 0;
}
.b-chip:hover { filter: grayscale(0); opacity: 1; border-color: #bbb; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.b-chip img { max-height: 36px; max-width: 100px; object-fit: contain; display: none; }
.b-chip img.loaded { display: block; }
.b-chip span { font-family: var(--fh); font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #444; }

/* ─────────────────────────────────────────────────────────────
   COVERAGE MAP
   ───────────────────────────────────────────────────────────── */
.coverage { background: var(--dark); }

.cov-head { margin-bottom: var(--sp-7); }   /* 56px */

.cov-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-4);                  /* 32px */
  align-items: start;
}
#gtmap {
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}

/* Leaflet dark popup */
.leaflet-popup-content-wrapper {
  background: #1a1a1a; color: #eee;
  border-radius: var(--sp-1); /* 8px */
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.1);
}
.leaflet-popup-tip { background: #1a1a1a; }
.leaflet-popup-content { margin: 10px 14px; font-family: var(--fb); font-size: 13px; line-height: 1.5; }
.leaflet-popup-content strong { font-family: var(--fh); font-size: 15px; color: var(--red); text-transform: uppercase; display: block; }
.leaflet-popup-close-button { color: rgba(255,255,255,.4) !important; }

.cov-locs { display: flex; flex-direction: column; gap: var(--sp-2); }   /* 16px */
.loc-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: var(--sp-3) var(--sp-3);  /* 24px */
  transition: background .2s, border-color .2s;
  cursor: default;
}
.loc-card:hover { background: rgba(255,255,255,.07); border-color: rgba(212,32,32,.35); }
.loc-card-top { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-1); }  /* 16px / 8px */
.loc-dot { width: 9px; height: 9px; background: var(--red); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(212,32,32,.2); }
.loc-card h4 { font-family: var(--fh); font-size: 17px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.loc-addr { font-size: 13px; color: rgba(255,255,255,.48); line-height: 1.5; margin-bottom: 5px; }
.loc-phone { font-size: 13px; color: rgba(212,32,32,.85); font-weight: 500; }

@media (max-width: 768px) {
  .cov-layout { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────────────────────── */
.contact { background: var(--dark); border-top: 1px solid rgba(255,255,255,.05); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);                 /* 80px */
  align-items: start;
}
.contact-desc {
  font-size: 15px;
  color: rgba(205,205,205,.65);
  line-height: 1.7;
  margin-bottom: var(--sp-5);        /* 40px */
}
.cinfo { display: flex; flex-direction: column; gap: var(--sp-3); }  /* 24px */
.cinfo-item { display: flex; align-items: flex-start; gap: var(--sp-2); }  /* 16px */
.cinfo-icon {
  width: var(--sp-5); height: var(--sp-5);  /* 40px */
  border-radius: var(--sp-1);               /* 8px */
  background: rgba(212,32,32,.15);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cinfo-item strong {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 3px;
}
.cinfo-item a, .cinfo-item span {
  font-size: 15px; font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.cinfo-item a:hover { color: var(--red); }

.cform {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: var(--sp-5);              /* 40px */
}
.cform h3 {
  font-family: var(--fh);
  font-size: 26px; font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);        /* 32px */
}

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }  /* 16px */
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-2); }  /* 16px */
.fg label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.fg input, .fg textarea, .fg select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  padding: 11px 15px;
  font-family: var(--fb);
  font-size: 14px; color: var(--white);
  outline: none;
  transition: border-color .2s;
  resize: none;
  -webkit-appearance: none; appearance: none;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.22); }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--red); }
.fg textarea { min-height: 90px; }
.fg select option { background: #222; color: #fff; }

.submit-btn {
  width: 100%;
  padding: var(--sp-2);              /* 16px */
  background: var(--red); color: #fff;
  border: none;
  border-radius: 7px;
  font-family: var(--fb);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.submit-btn:hover { background: var(--red2); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .frow { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.site-footer {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: var(--sp-7) var(--sec-h-pad) var(--sp-4);  /* 56px 32px 32px */
}
.footer-inner { max-width: var(--container); margin: 0 auto; }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);                  /* 40px */
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);        /* 40px */
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand {
  font-family: var(--fh);
  font-size: 17px; font-weight: 700;
  color: var(--white);
}
.footer-brand em { font-style: normal; color: var(--red); }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  max-width: 240px;
  margin-top: var(--sp-1);           /* 8px */
}

.footer-cols { display: flex; gap: var(--sp-8); flex-wrap: wrap; }   /* 64px */
.fcol h5 {
  font-family: var(--fh);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--white);
  margin-bottom: var(--sp-2);        /* 16px */
}
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }  /* 8px */
.fcol a {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: color .2s;
}
.fcol a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);                  /* 16px */
  flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.28); }
.footer-badge {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
  padding: 5px 12px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE — small screens
   ───────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .sec { padding: var(--sp-8) var(--sp-3); }   /* 64px 24px */
  .hero-inner { padding: var(--sp-8) var(--sp-3); }
}
