/* ==========================================================
   BOLIVAR · stylesheet — TAL-inspired industrial system
   ========================================================== */

:root {
  /* Type */
  --font-display: "Asap", "Helvetica Neue", system-ui, sans-serif;
  --font-body: "Asap", "Helvetica Neue", system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(18px, 4vw, 56px);

  /* Palette */
  --bg: #ffffff;
  --bg-alt: #f4f4f6;
  --bg-soft: #fafafa;
  --bg-dark: #0e1115;
  --bg-dark-2: #161a20;
  --ink: #15171c;
  --ink-2: #2c2f36;
  --ink-dim: #5a5e68;
  --ink-muted: #6b7078;
  --ink-on-dark: #ffffff;
  --ink-on-dark-dim: #b0b6c0;
  --ink-on-dark-muted: #8b919c;
  --line: #e6e7eb;
  --line-dark: #2a2e36;
  --accent: #eb0a1e;
  --accent-hover: #c8081a;
  --accent-ink: #ffffff;
  --accent-soft: #ffe4e6;
  --whatsapp: #25d366;
  --whatsapp-hover: #1faa53;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

/* ---- Containers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(56px, 8vw, 120px); }

/* ==========================================================
   Type
   ========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.h-section {
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
}
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform .25s ease;
  flex-shrink: 0;
}
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-2);
}
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn--whatsapp:hover { background: var(--whatsapp-hover); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  transition: gap .2s;
}
.text-link:hover { gap: 10px; }
.text-link svg { width: 14px; height: 14px; }

/* ==========================================================
   Topbar (dark, very thin)
   ========================================================== */
.topbar {
  background: var(--bg-dark);
  color: var(--ink-on-dark-dim);
  font-size: 13px;
  border-bottom: 1px solid var(--line-dark);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 8px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  transition: color .15s;
}
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  overflow: hidden;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--ink-on-dark-dim);
  padding: 5px 10px;
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 640px) {
  .topbar-left .hide-sm { display: none; }
}

/* ==========================================================
   Header
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--ink);
  border-radius: 2px;
}

.nav {
  display: none;
  gap: 4px;
}
@media (min-width: 1020px) { .nav { display: flex; } }
.nav a {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .15s;
  position: relative;
}
.nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { display: none; }
@media (min-width: 720px) { .header-actions .btn { display: inline-flex; } }

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
@media (min-width: 1020px) { .mobile-toggle { display: none; } }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }

/* ==========================================================
   Hero (dark with red glow)
   ========================================================== */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 120px) clamp(40px, 6vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 85% 60%, rgba(235,10,30,.28), transparent 70%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(235,10,30,.18), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 60% 50%, #000 30%, transparent 80%);
}
/* Hereda el ancho y gutter de .container para que el hero alinee con el
   logo, el menú y todas las secciones de abajo. Antes usaba un contenedor
   propio (1600px) que lo corría hasta 136px a la izquierda del resto. */
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.45fr 1fr; }
}
.hero-eyebrow { color: var(--accent); margin-bottom: 20px; }
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 3.8vw, 62px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero h1 .accent { color: var(--accent); display: block; }
.hero-lede {
  color: var(--ink-on-dark-dim);
  max-width: 52ch;
  margin: 20px 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.hero .btn--ghost:hover { background: rgba(255,255,255,.06); border-color: #fff; color: #fff; }

.hero-stats {
  position: relative;
  display: grid;
  gap: 20px;
  align-content: start;
}
@media (min-width: 980px) {
  .hero-stats {
    border-left: 1px solid rgba(255,255,255,.12);
    padding-left: clamp(28px, 4vw, 48px);
  }
}
.hero-stat-value {
  font-size: clamp(36px, 3.8vw, 60px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
}
.hero-stat + .hero-stat {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ==========================================================
   Strip "Trabajamos con"
   ========================================================== */
.strip {
  background: var(--bg-dark);
  color: var(--ink-on-dark-dim);
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  font-size: 14px;
}
.strip-label {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--ink-on-dark-muted);
}
.strip-items {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  flex-wrap: wrap;
}
.strip-items span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-on-dark);
  font-weight: 600;
}
.strip-items span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* ==========================================================
   About — "Servicios de obra, no de marca"
   ========================================================== */
.about {
  background: var(--bg);
}
.about-grid {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.about h2 { margin-top: 18px; }
.about-side p {
  color: var(--ink-dim);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 52ch;
}
.about-link { margin-top: 20px; }

/* ==========================================================
   Services — Two big cards
   ========================================================== */
.services { background: var(--bg); }
.services .section-head {
  margin-bottom: clamp(36px, 4vw, 56px);
}
.services .section-head h2 { margin-top: 16px; }
.services .section-head .lede { margin-top: 18px; }

.svc-cards {
  display: grid;
  gap: clamp(20px, 2vw, 28px);
  margin-inline: auto;
}
@media (min-width: 720px) and (max-width: 979px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .svc-cards { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  background: var(--bg-alt);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.svc-card:hover { transform: translateY(-4px); }

.svc-media {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(180deg, #d7d8db, #b9bbc0);
  overflow: hidden;
}
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  color: #fff;
}
.svc-tag--dark { background: var(--ink); }
.svc-tag--red { background: var(--accent); }
.svc-tag--amber { background: #e8a000; color: var(--ink); }

.svc-body {
  padding: 22px clamp(20px, 3vw, 36px) 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-body h3 { font-size: clamp(22px, 2vw, 30px); }
.svc-body > p { color: var(--ink-dim); font-size: 16px; line-height: 1.55; margin: 0; max-width: 48ch; }
.svc-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 8px 0 4px;
  list-style: none;
  padding: 0;
}
.svc-checks li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.svc-checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23fff' d='M14 4l-8 8-4-4 1.4-1.4L6 9.2 12.6 2.6z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23fff' d='M14 4l-8 8-4-4 1.4-1.4L6 9.2 12.6 2.6z'/></svg>") center / contain no-repeat;
}
.svc-foot {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* ==========================================================
   Structures grid (8 icon cards)
   ========================================================== */
.structures { background: var(--bg-alt); }
.structures .section-head h2 { margin-top: 16px; }
.struct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .struct-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .struct-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .struct-grid { grid-template-columns: repeat(4, 1fr); } }

.struct-card {
  background: var(--bg);
  border-radius: 6px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid transparent;
}
.struct-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 24px 50px -22px rgba(15,17,21,.15);
}
.struct-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
}
.struct-icon svg { width: 100%; height: 100%; }
.struct-card h3 { font-size: 19px; font-weight: 700; }
.struct-card p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; margin: 0; }

/* ==========================================================
   Process — 4 steps with red top line
   ========================================================== */
.process { background: var(--bg); }
.process .section-head h2 { margin-top: 16px; }
.process .section-head .lede { margin-top: 18px; }
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 640px) { .process-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .process-list { grid-template-columns: repeat(4, 1fr); } }
.process-step { padding-top: 22px; border-top: 2px solid var(--accent); }
.process-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.process-step h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}
.process-step p { color: var(--ink-dim); font-size: 15px; line-height: 1.55; margin: 0; }

/* ==========================================================
   Industries — 6 image cards
   ========================================================== */
.industries { background: var(--bg-alt); }
.industries .section-head h2 { margin-top: 16px; }
.industries .section-head .lede { margin-top: 18px; }
.industries-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: clamp(36px, 4vw, 56px);
}
@media (min-width: 640px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }

.industry {
  background: var(--bg);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.industry:hover { transform: translateY(-4px); }

.industry-media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}
.industry-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industry-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 3px;
}
.industry-body {
  padding: 18px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.industry-body h3 { font-size: 21px; font-weight: 700; }
.industry-body p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; margin: 0; }
.industry-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-weight: 700;
  font-size: 14.5px;
  transition: background-color .2s;
}
.industry-link:hover { background: var(--accent-soft); }
.industry-link svg { width: 16px; height: 16px; }

/* ==========================================================
   Why us — dark bg with 4 features
   ========================================================== */
.why {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
.why .section-head .lede { color: var(--ink-on-dark-dim); margin-top: 18px; }
.why h2 { color: #fff; margin-top: 16px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(36px, 4vw, 56px);
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-item {
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 6px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-icon {
  width: 36px; height: 36px;
  color: var(--accent);
}
.why-icon svg { width: 100%; height: 100%; }
.why-item h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}
.why-item p {
  color: var(--ink-on-dark-dim);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================
   CTA banner — dark with red glow
   ========================================================== */
.cta-banner {
  position: relative;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  overflow: hidden;
  border-top: 3px solid var(--accent);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 90% 50%, rgba(235,10,30,.28), transparent 70%);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  align-items: center;
  padding-block: clamp(44px, 7vw, 92px);
}
@media (min-width: 900px) {
  .cta-banner-inner {
    grid-template-columns: 1.3fr 1fr;
  }
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.cta-banner p {
  color: var(--ink-on-dark-dim);
  font-size: 16px;
  margin: 18px 0 0;
  max-width: 50ch;
}
.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (min-width: 900px) {
  .cta-banner-actions { justify-content: flex-end; }
}

/* ==========================================================
   Contact section
   ========================================================== */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.05fr; }
}
.contact h2 { margin-top: 16px; }
.contact-lede { margin-top: 18px; color: var(--ink-dim); font-size: 17px; line-height: 1.55; max-width: 44ch; }

.contact-info {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
}
.contact-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { border-bottom: 0; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-row small {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.contact-row strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.contact-row strong a { color: inherit; text-decoration: none; }
.contact-row strong a:hover { color: var(--accent); text-decoration: underline; }

.contact-extra {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* Form */
.contact-form {
  background: var(--bg-alt);
  border-radius: 6px;
  padding: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input, .field select, .field textarea {
  font: inherit;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 4px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(235,10,30,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--ink-on-dark-dim);
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: 24px;
  font-size: 14.5px;
}
.footer .brand { color: #fff; }
.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer p {
  margin: 18px 0 0;
  max-width: 36ch;
  line-height: 1.6;
  color: var(--ink-on-dark-dim);
}
.footer h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--ink-on-dark-dim); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--ink-on-dark-muted);
}
.footer-bottom a { color: var(--accent); }

/* ==========================================================
   Section heads
   ========================================================== */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(40px, 5vw, 80px); }
}

/* ---- Tighter spacing on small screens ---- */
@media (max-width: 640px) {
  .h-section { font-size: clamp(28px, 8vw, 40px); }
  .topbar-inner { min-height: 34px; padding-block: 6px; gap: 12px; }
  .topbar-left, .topbar-right { gap: 12px; }
  .header-inner { min-height: 64px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 38px; height: 38px; font-size: 14px; }
  .hero h1 { font-size: clamp(28px, 8vw, 46px); }
  .hero-stat-value { font-size: clamp(36px, 11vw, 52px); }
  .strip-items span { font-size: 13px; }
  .struct-grid { gap: 12px; }
  .industries-grid { gap: 14px; }
  .why-grid { gap: 12px; }
  .process-list { gap: 24px; }
  .svc-checks { grid-template-columns: 1fr; gap: 8px; }
  .cta-banner h2 { font-size: clamp(28px, 7vw, 40px); }
  .contact-extra { gap: 14px; }
  .footer-grid { gap: 28px; padding-bottom: 32px; }
  .footer-bottom { font-size: 12px; gap: 12px; }
}

/* ---- Floating WhatsApp button ---- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  width: 60px;
  padding: 0;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 2px 6px rgba(0, 0, 0, .25);
  overflow: hidden;
  transition: width .28s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wa-float svg {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  padding: 15px;
  box-sizing: border-box;
}
.wa-float-tip {
  white-space: nowrap;
  font-weight: 700;
  font-size: 15px;
  opacity: 0;
  padding-right: 4px;
  transition: opacity .2s ease .05s;
}
.wa-float:hover,
.wa-float:focus-visible {
  width: 190px;
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .5), 0 3px 8px rgba(0, 0, 0, .3);
  outline: none;
}
.wa-float:hover .wa-float-tip,
.wa-float:focus-visible .wa-float-tip { opacity: 1; }

/* Gentle attention pulse (respects reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .wa-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
    animation: wa-pulse 2.4s ease-out infinite;
    pointer-events: none;
  }
  .wa-float:hover::after { animation: none; }
  @keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  }
}

@media (max-width: 640px) {
  .wa-float { height: 54px; width: 54px; }
  .wa-float svg { flex-basis: 54px; width: 54px; height: 54px; padding: 13px; }
  /* No expand-on-tap label on mobile — keep it a clean circle. */
  .wa-float:hover, .wa-float:focus-visible { width: 54px; }
  .wa-float .wa-float-tip { display: none; }
}
