  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg:       #090b0e;
    --surface:  #111520;
    --surface2: #181e2e;
    --cyan:     #00c8e8;
    --cyan-dim: rgba(0,200,232,0.12);
    --orange:   #ff6b35;
    --text:     #e2e8f0;
    --muted:    #b4b8be;
    --border:   rgba(255,255,255,0.07);
    --nav-h:    68px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ── NAVBAR ───────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    background: rgba(9,11,14,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
  }

  .logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: .04em;
    color: var(--text);
    text-decoration: none;
  }
  .logo span { color: var(--cyan); }

  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--cyan); }

  .nav-cta {
    background: var(--cyan);
    color: #090b0e !important;
    padding: .45rem 1.2rem;
    border-radius: 2px;
    font-weight: 500 !important;
    transition: opacity .2s !important;
  }
  .nav-cta:hover { opacity: .85; color: #090b0e !important; }

  .hamburger {
    display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px;
  }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: .3s; }

  /* ── HERO ─────────────────────────────────────── */
  #hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: calc(var(--nav-h) + 4rem) 5% 5rem;
    position: relative; overflow: hidden;
  }

  .hero-grid {
    position: absolute; inset: 0; opacity: .06;
    background-image:
      linear-gradient(var(--cyan) 1px, transparent 1px),
      linear-gradient(90deg, var(--cyan) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-glow {
    position: absolute; top: -20%; right: -10%;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,232,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-content { position: relative; max-width: 700px; }

  .hero-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
    color: var(--cyan);
    border: 1px solid rgba(0,200,232,.3);
    padding: .35rem .85rem; border-radius: 2px; margin-bottom: 1.5rem;
  }
  .hero-tag::before {
    content: ''; display: block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--cyan);
    animation: pulse 2s infinite;
  }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

  .hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.01em;
    margin-bottom: 1.5rem;
  }
  .hero-title em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1px var(--cyan);
  }

  .hero-sub {
    font-size: 1rem; font-weight: 300; line-height: 1.7;
    color: var(--muted); max-width: 500px; margin-bottom: 2.5rem;
  }

  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

  .btn-primary {
    background: var(--cyan); color: #090b0e;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .85rem; font-weight: 500; letter-spacing: .06em;
    text-transform: uppercase; text-decoration: none;
    padding: .85rem 2rem; border-radius: 2px;
    display: inline-block; transition: opacity .2s;
  }
  .btn-primary:hover { opacity: .85; }

  .btn-ghost {
    color: var(--text); font-size: .85rem; font-weight: 500;
    letter-spacing: .06em; text-transform: uppercase;
    text-decoration: none; padding: .85rem 1.5rem;
    border: 1px solid var(--border); border-radius: 2px;
    display: inline-block; transition: border-color .2s;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,.25); }

  .hero-stats {
    display: flex; gap: 3rem; margin-top: 4rem;
    padding-top: 2rem; border-top: 1px solid var(--border);
  }
  .stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem; font-weight: 700; color: var(--cyan);
    line-height: 1;
  }
  .stat-label {
    font-size: .75rem; font-weight: 300; color: var(--muted);
    text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem;
  }

  /* ── SECTION BASE ─────────────────────────────── */
  section { padding: 6rem 5%; }

  .section-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: .75rem;
  }

  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700; line-height: 1.05;
    margin-bottom: 1rem;
  }

  .section-lead {
    font-size: .95rem; font-weight: 300; line-height: 1.8;
    color: var(--muted); max-width: 520px;
  }

  .section-header {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem;
    flex-wrap: wrap;
  }

  /* ── SERVICIOS ────────────────────────────────── */
  #servicios { background: var(--surface); }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
  }

  .service-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    position: relative; overflow: hidden;
    transition: background .3s;
    cursor: default;
  }
  .service-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--cyan);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
  }
  .service-card:hover { background: var(--surface2); }
  .service-card:hover::after { transform: scaleX(1); }

  .service-icon {
    width: 44px; height: 44px; margin-bottom: 1.5rem;
    stroke: var(--cyan); fill: none;
  }

  .service-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem; font-weight: 600; letter-spacing: .02em;
    margin-bottom: .75rem;
  }

  .service-desc { font-size: .85rem; font-weight: 300; color: var(--muted); line-height: 1.7; }

  .service-link {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-top: 1.5rem; font-size: .75rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--cyan); text-decoration: none;
    transition: gap .2s;
  }
  .service-link:hover { gap: .7rem; }

  /* ── PRODUCTOS ────────────────────────────────── */
  #productos {}

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }

  .product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px; overflow: hidden;
    transition: border-color .3s, transform .3s;
    display: flex; flex-direction: column;
  }
  .product-card:hover {
    border-color: rgba(0,200,232,.35);
    transform: translateY(-4px);
  }

  .product-visual {
    height: 200px;
    background: var(--surface2);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .product-visual svg { opacity: .7; }

  .product-tag {
    position: absolute; top: 1rem; left: 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .65rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--cyan); background: rgba(0,200,232,.12);
    padding: .3rem .7rem; border-radius: 2px;
  }

  .product-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

  .product-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem;
  }

  .product-desc { font-size: .85rem; font-weight: 300; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

  .product-specs { list-style: none; margin-bottom: 1.5rem; }
  .product-specs li {
    display: flex; align-items: center; gap: .6rem;
    font-size: .8rem; color: var(--muted); padding: .35rem 0;
    border-bottom: 1px solid var(--border);
  }
  .product-specs li::before {
    content: ''; display: block; width: 5px; height: 5px;
    border-radius: 50%; background: var(--cyan); flex-shrink: 0;
  }

  .product-cta {
    margin-top: auto;
    font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--cyan); text-decoration: none;
    display: inline-flex; align-items: center; gap: .4rem;
    transition: gap .2s;
  }
  .product-cta:hover { gap: .7rem; }

  /* ── POR QUÉ ELEGIRNOS ────────────────────────── */
  #nosotros { background: var(--surface); }

  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
  }

  .why-points { list-style: none; display: flex; flex-direction: column; gap: 2rem; }

  .why-point { display: flex; gap: 1.25rem; align-items: flex-start; }

  .why-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem; font-weight: 800;
    line-height: 1; flex-shrink: 0; width: 2.5rem;
    color: rgba(0,200,232,.25);
  }

  .why-point h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem;
  }
  .why-point p { font-size: .85rem; font-weight: 300; color: var(--muted); line-height: 1.7; }

  .why-visual {
    position: relative; display: flex; align-items: center; justify-content: center;
    height: 380px;
  }

  /* ── CONTACTO ─────────────────────────────────── */
  #contacto {}

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem; align-items: start;
  }

  .contact-info { display: flex; flex-direction: column; gap: 2rem; }

  .contact-item { display: flex; gap: 1rem; align-items: flex-start; }

  .contact-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--cyan-dim);
    border: 1px solid rgba(0,200,232,.2);
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
  }
  .contact-icon svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; }

  .contact-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
  .contact-val { font-size: .95rem; }

  .contact-form { display: flex; flex-direction: column; gap: 1rem; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  input, textarea, select {
    width: 100%; padding: .85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px; color: var(--text);
    font-family: 'IBM Plex Sans', sans-serif; font-size: .9rem;
    transition: border-color .2s;
    outline: none;
  }
  input:focus, textarea:focus { border-color: rgba(0,200,232,.5); }
  input::placeholder, textarea::placeholder { color: var(--muted); }
  textarea { resize: vertical; min-height: 120px; }

  .form-submit {
    background: var(--cyan); color: #090b0e;
    border: none; cursor: pointer;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .85rem; font-weight: 500; letter-spacing: .06em;
    text-transform: uppercase; padding: 1rem;
    border-radius: 2px; transition: opacity .2s;
  }
  .form-submit:hover { opacity: .85; }

  /* ── FOOTER ───────────────────────────────────── */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
  }

  .footer-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem; font-weight: 800; color: var(--text);
    text-decoration: none;
  }
  .footer-logo span { color: var(--cyan); }

  .footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
  .footer-links a {
    font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; transition: color .2s;
  }
  .footer-links a:hover { color: var(--text); }

  .footer-copy { font-size: .75rem; color: var(--muted); }

  .social-links { display: flex; gap: 1rem; }
  .social-link {
    width: 36px; height: 36px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 2px;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s;
  }
  .social-link:hover { border-color: rgba(0,200,232,.4); }
  .social-link svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; }

  /* ── REVEAL ANIMATION ─────────────────────────── */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }

  /* ── MOBILE ───────────────────────────────────── */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta-wrap { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
      display: flex; flex-direction: column; gap: 0;
      position: fixed; top: var(--nav-h); left: 0; right: 0;
      background: #090b0e; border-bottom: 1px solid var(--border);
      padding: 1.5rem 5%; z-index: 99;
    }

    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
    .why-grid { grid-template-columns: 1fr; }
    .why-visual { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
  }

  /* ── DECORATIVE LINE ──────────────────────────── */
  .h-rule {
    height: 1px; background: var(--border); margin: 0 5%;
  }

/* ── LOGO IMAGE ──────────────────────────────────── */
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.logo-img--footer {
  height: 28px;
  opacity: .75;
}

/* ── NAV VISIBILITY (set by components.js) ───────── */
nav { visibility: hidden; }
nav.loaded { visibility: visible; }

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { margin: 0 .5rem; }

/* ── DETAIL HERO ─────────────────────────────────── */
.detail-hero {
  min-height: 32vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 3rem) 5% 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.detail-hero .hero-tag { margin-bottom: 1rem; }
.detail-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1; margin-bottom: 0;
}

/* ── GALLERY FILTERS ─────────────────────────────── */
.gallery-filters {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2rem; margin-top: .5rem;
}

.filter-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: .45rem 1rem;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.filter-btn:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.2);
}
.filter-btn.active {
  color: var(--cyan);
  border-color: rgba(0,200,232,.4);
  background: var(--cyan-dim);
}

/* ── GALLERY ITEM WITH CAPTION ───────────────────── */
.gallery-filterable {
  margin-top: 0;
}

.gallery-item {
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color .3s;
  background: var(--surface2);
}
.gallery-item:hover {
  border-color: rgba(0,200,232,.35);
}
.gallery-item .gallery-img {
  border: none; border-radius: 0;
  display: block; width: 100%;
}
.gallery-caption {
  padding: .75rem 1rem;
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.gallery-caption p {
  font-size: .8rem; color: var(--muted); font-weight: 300; margin: 0;
}
.gallery-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-dim);
  padding: .2rem .55rem; border-radius: 2px; white-space: nowrap; flex-shrink: 0;
}

/* ── USE CASES ───────────────────────────────────── */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.use-case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s;
}
.use-case-card:hover {
  border-color: rgba(0,200,232,.35);
  transform: translateY(-4px);
}

.use-case-img-wrap {
  height: 220px; position: relative; overflow: hidden;
  background: var(--surface2);
}
.use-case-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.use-case-card:hover .use-case-img-wrap img { transform: scale(1.03); }
.use-case-img-wrap .product-tag { z-index: 1; }

.use-case-body {
  padding: 1.75rem; flex: 1; display: flex; flex-direction: column;
}
.use-case-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem; font-weight: 700; margin-bottom: .6rem;
}
.use-case-body p {
  font-size: .85rem; font-weight: 300; color: var(--muted);
  line-height: 1.7; margin-bottom: 1.25rem; flex: 1;
}

/* ── PHOTO GALLERY ───────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}
.gallery-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: zoom-in;
  transition: border-color .3s, transform .3s;
  display: block;
}
.gallery-img:hover {
  border-color: rgba(0,200,232,.4);
  transform: scale(1.01);
}

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative; max-width: 90vw; max-height: 90vh;
}
.lightbox-inner img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain; border-radius: 2px;
  border: 1px solid var(--border);
}
.lightbox-close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none; color: var(--muted);
  font-size: 2rem; cursor: pointer; line-height: 1;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--text); }

/* ── VIDEO SECTION ───────────────────────────────── */
.video-section { padding: 4rem 5%; }
.video-section .section-eyebrow { margin-bottom: 1rem; }
.video-wrap {
  position: relative;
  border: 1px solid rgba(0,200,232,.3);
  border-radius: 2px;
  box-shadow: 0 0 40px rgba(0,200,232,.06);
  overflow: hidden;
  max-width: 900px;
}
.video-wrap video {
  width: 100%; display: block;
  background: var(--surface2);
}

/* ── SPECS + DESCRIPTION (detail pages) ─────────── */
.detail-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: start;
  padding: 5rem 5%;
}
.detail-specs-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.5rem;
}
.detail-specs { list-style: none; }
.detail-specs li {
  display: flex; gap: .75rem; align-items: flex-start;
  font-size: .9rem; color: var(--text);
  padding: .6rem 0; border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.detail-specs li::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
  flex-shrink: 0; margin-top: .45rem;
}
.detail-desc h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem;
}
.detail-desc p {
  font-size: .95rem; font-weight: 300; color: var(--muted);
  line-height: 1.8; margin-bottom: 1.25rem;
}

/* ── FEATURE IMAGE (service pages) ──────────────── */
.feature-image-wrap {
  position: relative; width: 100%; height: 420px;
  overflow: hidden;
}
.feature-image-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.feature-image-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,200,232,.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* ── CTA STRIP ───────────────────────────────────── */
.cta-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 5%;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.1;
}
.cta-strip p {
  font-size: .9rem; color: var(--muted);
  margin-top: .5rem;
}

/* ── RELATED SERVICES ────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ── CONTACT PAGE ────────────────────────────────── */
.contact-page-hero {
  padding: calc(var(--nav-h) + 4rem) 5% 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.contact-page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; margin-bottom: .75rem;
}
.contact-page-hero p {
  font-size: 1rem; color: var(--muted); font-weight: 300;
}
select option { background: var(--surface2); }

/* ── MOBILE — detail pages ───────────────────────── */
@media (max-width: 768px) {
  .detail-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .feature-image-wrap { height: 260px; }
  .video-section { padding: 2.5rem 5%; }
}

/* ── THEME TOGGLE BUTTON ─────────────────────────── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: border-color .2s;
}
.theme-toggle:hover { border-color: rgba(0,200,232,.4); }
.theme-toggle svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; transition: stroke .2s; }
.theme-toggle:hover svg { stroke: var(--cyan); }

/* Sun shown in dark mode, moon shown in light mode */
.icon-moon { display: none; }
html.light .icon-sun  { display: none; }
html.light .icon-moon { display: block; }

/* ── LIGHT THEME ─────────────────────────────────── */
html.light {
  --bg:       #f4f6f9;
  --surface:  #ffffff;
  --surface2: #e8ecf2;
  --text:     #1a202c;
  --muted:    #5a6a7e;
  --border:   rgba(0,0,0,0.09);
  --cyan-dim: rgba(0,180,210,0.10);
}

/* Nav background — light version */
html.light nav {
  background: rgba(244,246,249,0.90) !important;
  border-bottom-color: rgba(0,0,0,0.08);
}

/* Mobile nav dropdown */
html.light .nav-links.open {
  background: #f4f6f9;
  border-bottom-color: rgba(0,0,0,0.08);
}

/* Nav link colours on light bg */
html.light .nav-links a { color: var(--muted); }
html.light .nav-links a:hover { color: var(--cyan); }
html.light .nav-cta { background: var(--cyan); color: #fff !important; }
html.light .nav-cta:hover { color: #fff !important; }

/* Logo: filter removed in light mode — src swap handled by JS */
html.light .logo-img {
  filter: none;
}
html.light .logo-img--footer { opacity: .85; }

/* Hero grid subtle on light */
html.light .hero-grid { opacity: .03; }

/* Hero title outline text — darken stroke */
html.light .hero-title em { -webkit-text-stroke-color: var(--cyan); }

/* CTA strip */
html.light .cta-strip { background: var(--surface); }

/* Buttons */
html.light .btn-ghost { border-color: rgba(0,0,0,0.15); color: var(--text); }
html.light .btn-ghost:hover { border-color: rgba(0,0,0,0.3); }

/* Service / product card hovers */
html.light .service-card { background: var(--surface); }
html.light .service-card:hover { background: var(--surface2); }
html.light .product-card { background: var(--surface); }

/* Footer */
html.light footer { background: var(--surface); }

/* Inputs */
html.light input,
html.light textarea { background: var(--surface2); color: var(--text); }
html.light input::placeholder,
html.light textarea::placeholder { color: var(--muted); }
