/* ============================================
   G&M Electrical Solutions — design tokens
   ============================================ */
:root {
  --ink: #0b0c0e;
  --panel: #17181c;
  --panel-2: #1f2024;
  --line: rgba(255, 255, 255, 0.09);
  --steel: #aab1bc;
  --steel-light: #e7e9ec;
  --red: #d81f2c;
  --red-dark: #9e1520;
  --paper: #f4f3f1;
  --paper-2: #eae8e4;
  --ink-on-paper: #17181c;
  --slate: #585e68;

  --font-head: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-on-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  border-color: rgba(23,24,28,0.35);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(23,24,28,0.06); }

/* ============================================
   Header
   ============================================ */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 58px; width: auto; filter: brightness(0) invert(1); }
.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
}
.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--steel);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--steel-light);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  border-color: var(--red);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 3px;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 940px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .nav-book { display: none; }
}

.nav-book { white-space: nowrap; margin-right: 20px; }

/* ============================================
   Hero (home)
   ============================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(100deg, rgba(11,12,14,0.9) 14%, rgba(11,12,14,0.55) 44%, rgba(11,12,14,0.15) 72%), url("../assets/hero-branded.webp");
  background-size: cover;
  background-position: 68% 20%;
}
@media (max-width: 700px) {
  .hero-media {
    background-image: linear-gradient(180deg, rgba(11,12,14,0.82) 0%, rgba(11,12,14,0.78) 55%, rgba(11,12,14,0.92) 100%), url("../assets/hero-branded-mobile.webp");
    background-position: 75% 15%;
  }
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero-content { max-width: 640px; }
.hero-kicker {
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero p.lead {
  color: var(--steel-light);
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 32px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-trust img { height: 56px; width: auto; background: #fff; border-radius: 4px; padding: 4px; }
.hero-trust-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--steel-light);
}
.hero-trust-list li { display: flex; align-items: center; gap: 8px; }
.hero-trust-list svg { flex-shrink: 0; color: var(--red); }

/* ============================================
   Page header (interior pages)
   ============================================ */
.page-header {
  background: var(--ink);
  position: relative;
  padding: 52px 0 36px;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 88px);
}
.page-header .container { position: relative; z-index: 1; }
.page-header .crumb {
  color: var(--steel);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.page-header .crumb a:hover { color: var(--red); }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-header p { color: var(--steel-light); font-size: 1.08rem; margin-bottom: 0; }

/* ============================================
   Sections
   ============================================ */
.section { padding: 48px 0; }
.section-tight { padding: 36px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--steel-light); }
.section-panel { background: var(--panel); color: #fff; }
.section-panel h2, .section-panel h3 { color: #fff; }
.section-panel p { color: var(--steel-light); }
.section-alt { background: var(--paper-2); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 20ch; }
.section-head p { color: var(--slate); margin-bottom: 0; }
.section-dark .section-head p, .section-panel .section-head p { color: var(--steel-light); }

/* ============================================
   Services grid
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.service-card {
  background: var(--paper);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.service-card:hover { background: var(--paper-2); }
.section-dark .service-card:hover, .section-panel .service-card:hover { background: #1f2026; }
.section-dark .service-card, .section-panel .service-card { background: var(--panel); }
.service-icon-img { height: 76px; width: auto; object-fit: contain; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.service-card p { font-size: 0.95rem; margin-bottom: 0; color: var(--slate); }
.section-dark .service-card p, .section-panel .service-card p { color: var(--steel); }
.service-card .service-link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
  padding-top: 8px;
}

/* ============================================
   Certification / trust band
   ============================================ */
.cert-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
}
.cert-band img { height: 130px; width: auto; background: #fff; padding: 14px; border-radius: 4px; }
.cert-band h2 { margin-bottom: 14px; }
.cert-logos {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.cert-logos img {
  height: 78px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 4px;
}
@media (max-width: 700px) {
  .cert-logos { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
}
.cert-list {
  list-style: none;
  margin: 22px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 24px;
}
.cert-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--steel-light);
  font-size: 0.95rem;
}
.cert-list svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 700px) {
  .cert-band { grid-template-columns: 1fr; text-align: left; }
}

/* ============================================
   Process steps
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.step-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--slate); margin-bottom: 0; }

/* ============================================
   Cards / value props
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { font-size: 0.96rem; color: var(--slate); margin-bottom: 0; }
.value-rule {
  width: 40px; height: 3px; background: var(--red); margin-bottom: 18px;
}

/* ============================================
   Area coverage chips
   ============================================ */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.area-chips span {
  border: 1px solid rgba(23, 24, 28, 0.16);
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--ink-on-paper);
}
.section-dark .area-chips span,
.section-panel .area-chips span {
  border-color: var(--line);
  color: var(--steel-light);
}

/* ============================================
   CTA band
   ============================================ */
.cta-band {
  background: var(--red);
  color: #fff;
  padding: 36px 0;
}
.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: rgba(255,255,255,0.92); margin-bottom: 0; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); }
.cta-band .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.14); }
.cta-band .btn-dark { background: var(--ink); color: #fff; }
.cta-band .btn-dark:hover { background: #000; }
.cta-band-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cta-band-badges img { height: 48px; width: auto; max-width: 110px; object-fit: contain; background: #fff; padding: 6px; border-radius: 3px; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #000;
  color: var(--steel);
  padding: 44px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--font-head); font-weight: 800; color: #fff; }
.social-follow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  color: #fff;
}
.social-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: border-color 160ms ease;
}
.social-divider { width: 1px; height: 26px; background: rgba(255,255,255,0.25); flex-shrink: 0; }
.social-text { font-size: 1rem; font-weight: 500; }
.social-arrow { color: var(--red); font-family: var(--font-head); font-weight: 700; transition: transform 160ms ease; }
.social-follow:hover .social-icon { border-color: var(--red); }
.social-follow:hover .social-arrow { transform: translateX(4px); }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 0.92rem; color: var(--steel); }
.footer-col a:hover { color: var(--red); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.footer-badge { height: 48px; width: auto; max-width: 110px; object-fit: contain; background: #fff; padding: 6px; border-radius: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #565c66;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-col a, .footer-col p { font-size: 0.88rem; }
}

/* ============================================
   Contact page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-info-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-list .ic {
  width: 42px; height: 42px; flex-shrink: 0;
  border: 1.5px solid var(--red); border-radius: 3px;
  display: flex; align-items: center; justify-content: center; color: var(--red);
}
.contact-info-list strong { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: 2px; }
.contact-info-list span, .contact-info-list a { color: var(--slate); font-size: 0.95rem; }
.contact-info-list a:hover { color: var(--red); }

.form-card {
  background: var(--panel);
  color: #fff;
  padding: 40px;
  border-radius: 4px;
}
.form-card h3 { color: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--steel-light);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: max(16px, 0.96rem);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--steel); margin-top: 14px; margin-bottom: 0; }

/* ============================================
   Projects page
   ============================================ */
.feature-project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .feature-project { grid-template-columns: 1fr; } }
.feature-project img { border-radius: 4px; }
.feature-tag {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.placeholder-tile {
  border: 1.5px dashed var(--line);
  border-radius: 4px;
  padding: 40px 24px;
  text-align: center;
  color: var(--steel);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.placeholder-tile svg { color: var(--slate); }
.placeholder-tile span { font-size: 0.9rem; }

/* ============================================
   About page
   ============================================ */
.about-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .about-lead { grid-template-columns: 1fr; } }
.about-lead .lead-text p { font-size: 1.08rem; }

/* ============================================
   WhatsApp floating button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform 160ms ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
@media (max-width: 540px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ============================================
   Our work — project gallery
   ============================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.work-card {
  background: #fff;
  border: 1px solid rgba(23,24,28,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.work-card-media { display: grid; gap: 2px; background: var(--line); }
.work-card-media.cols-1 { grid-template-columns: 1fr; }
.work-card-media.cols-2 { grid-template-columns: 1fr 1fr; }
.work-card-media img { width: 100%; height: 370px; object-fit: cover; display: block; }
.work-card-media.cols-1 img { height: 570px; }
.work-card-media.mosaic { grid-template-columns: 1fr 1fr; }
.work-card-media.mosaic img { height: 250px; }

.hover-slider {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.hover-slider-incoming {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hover-slider img { pointer-events: none; }
.hover-slider-dots {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
}
.hover-slider-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background-color 150ms ease, transform 150ms ease;
}
.hover-slider-dots span.active { background: #fff; transform: scale(1.25); }
.hover-slider-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11,12,14,0.65);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.hover-slider.is-active .hover-slider-hint { opacity: 0; }
.work-card-body { padding: 26px; }
.work-tag {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.work-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.work-card p { font-size: 0.94rem; color: var(--slate); margin-bottom: 0; }

/* ============================================
   Testimonials
   ============================================ */
.testimonial-slider { overflow: hidden; }
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .testimonial-track { grid-template-columns: 1fr; }
}
.testimonial-card {
  box-sizing: border-box;
  background: var(--panel);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  justify-content: center;
  transition: opacity 350ms ease;
}
.testimonial-stars { color: var(--red); display: flex; gap: 3px; }
.testimonial-card p { color: var(--steel-light); font-size: 0.96rem; margin-bottom: 0; }
.testimonial-name { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 0.92rem; }
.testimonial-meta { color: var(--steel); font-size: 0.82rem; }

/* utility */
.mt-0 { margin-top: 0; }

@media (max-width: 700px) {
  .section { padding: 36px 0; }
  .section-head { margin-bottom: 20px; }
  .hero { min-height: 0; }
  .hero .container { padding-top: 44px; padding-bottom: 44px; }
  .page-header { padding: 40px 0 28px; }
  .cta-band { padding: 30px 0; }
}

@media (max-width: 540px) {
  .navbar { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 44px; }
  .navbar { position: relative; }
  .brand-text { font-size: 0.86rem; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .brand-text span { font-size: 0.7rem; }
}

/* ============================================
   Cookie consent banner
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 400;
  max-width: 560px;
  background: var(--panel);
  color: var(--steel-light);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-banner p { margin: 0 0 14px; color: var(--steel-light); }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-btn {
  flex: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 16px;
  border-radius: 3px;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.cookie-btn:hover { background: rgba(255,255,255,0.12); }
.cookie-settings-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-settings-link:hover { color: #fff; }

.footer-legal-link { color: inherit; text-decoration: underline; }
.footer-legal-link:hover { color: #fff; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p { margin-bottom: 12px; }
.legal a { color: var(--red); text-decoration: underline; }
@media (max-width: 699px) {
  .services-grid .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
