/* =====================================================================
   SMF — Industrial Premium Design
   Fonts: Barlow Condensed (display) + Barlow (body)
   Palette: #0b1420 steel-black · #ff6a13 welding-orange
   ===================================================================== */

/* ============================================================ TOKENS */
:root {
  /* Steel palette */
  --smf-bg:           #0b1420;
  --smf-steel:        #101c2c;
  --smf-steel-mid:    #152238;
  --smf-steel-light:  #1d2f45;
  --smf-steel-border: rgba(255,255,255,.07);

  /* Logo palette — integrated into design system */
  --smf-logo-blue:    #2963A0;
  --smf-logo-red:     #DE5469;
  --smf-logo-gray:    #4C545B;

  /* Accent — molten orange (primary CTAs only) */
  --smf-accent:       #F26B2A;
  --smf-accent-dark:  #D45618;
  --smf-accent-glow:  rgba(242,107,42,.18);

  /* Warm editorial accent — logo red */
  --smf-warm:         #DE5469;
  --smf-warm-soft:    rgba(222,84,105,.13);
  --smf-warm-glow:    rgba(222,84,105,.22);

  /* Cool structural accent — logo blue */
  --smf-cool:         #2963A0;
  --smf-cool-soft:    rgba(41,99,160,.1);
  --smf-cool-border:  rgba(41,99,160,.22);

  /* Text */
  --smf-text:         #0f1720;
  --smf-text-inv:     #e8edf3;
  --smf-text-soft:    #8fa3bb;
  --smf-muted:        #6b7a89;

  /* Surfaces */
  --smf-surface:      #ffffff;
  --smf-surface-2:    #f4f6f9;

  /* Muted text (light backgrounds) */
  --smf-muted:        #6b7a89;

  /* Fonts */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Barlow', 'Segoe UI', sans-serif;

  /* Rhythm */
  --gap-section: clamp(4rem, 8vw, 7rem);
}

/* ============================================================ BASE */
html { height: auto; overflow-x: hidden; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--smf-text);
  background: var(--smf-surface-2);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body > .smf-main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: .02em;
}

/* ============================================================ UTILITY */
.text-accent      { color: var(--smf-accent) !important; }
.text-warm        { color: var(--smf-logo-red) !important; }
.text-cool        { color: var(--smf-logo-blue) !important; }
.text-muted-light { color: var(--smf-text-soft) !important; }

/* Section label — uppercase eyebrow using logo red */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--smf-logo-red);
  margin-bottom: .8rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--smf-logo-red);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: .025em;
  line-height: 1.0;
  margin-bottom: .5rem;
}
.section-sub {
  font-size: .97rem;
  color: var(--smf-muted);
  margin-bottom: 2.5rem;
  line-height: 1.65;
  max-width: 600px;
}

/* ============================================================ BUTTONS */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--smf-accent);
  color: #fff;
  border: 2px solid var(--smf-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .65rem 1.55rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background .18s, border-color .18s, transform .15s, box-shadow .2s;
}
.btn-accent:hover {
  background: var(--smf-accent-dark);
  border-color: var(--smf-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,106,19,.35);
}

.btn-outline-accent {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 2px solid var(--smf-accent);
  color: var(--smf-accent);
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .65rem 1.55rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.btn-outline-accent:hover { background: var(--smf-accent); color: #fff; }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 2px solid rgba(255,255,255,.45) !important;
  color: rgba(255,255,255,.9) !important;
  background: transparent !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .65rem 1.55rem;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color .18s, background .18s !important, color .18s !important;
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,.8) !important;
  background: rgba(255,255,255,.09) !important;
  color: #fff !important;
}
.btn-lg { padding: .8rem 2rem !important; font-size: 1rem !important; }

/* ============================================================ HEADER */
.bg-steel { background: var(--smf-steel); }

.smf-header,
.smf-header.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: linear-gradient(180deg, #0e1e32 0%, var(--smf-steel) 100%);
  border-bottom: 1px solid var(--smf-cool-border);
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
}
/* Precision metal trim — bridges logo blue → red */
.smf-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right,
    var(--smf-logo-blue) 0%,
    var(--smf-logo-red) 50%,
    var(--smf-logo-blue) 100%);
  z-index: 2;
}
.smf-header.smf-hide    { transform: translateY(-100%); }
.smf-header.smf-scrolled { box-shadow: 0 6px 30px rgba(0,0,0,.45); }

.smf-header .navbar { padding-top: .55rem; padding-bottom: .55rem; min-height: 80px; }
.smf-header .navbar-brand {
  padding: .2rem 1.1rem .2rem 0;
  margin-right: 1.5rem;
  border-right: 1px solid var(--smf-cool-border);
}

.smf-logo-header {
  height: 104px; width: auto; max-width: 400px;
  display: block; object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(7,17,29,.65));
}
/* Logo height overrides moved to responsive section below */

.smf-header .nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75) !important;
  padding: .55rem .85rem !important;
  position: relative;
  transition: color .2s;
}
.smf-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: .85rem; right: .85rem;
  height: 2px;
  background: var(--smf-logo-red);
  transform: scaleX(0);
  transition: transform .22s ease;
}
.smf-header .nav-link:hover,
.smf-header .nav-link.active { color: #fff !important; }
.smf-header .nav-link:hover::after,
.smf-header .nav-link.active::after { transform: scaleX(1); }

.smf-header .btn-accent { font-size: .82rem; padding: .45rem 1.1rem; }

.smf-header .navbar-toggler {
  border: 1px solid rgba(255,255,255,.25);
  padding: .3rem .55rem;
}
.smf-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================ HERO */
.smf-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(15,23,32,.95) 0%, rgba(15,23,32,.78) 45%, rgba(15,23,32,.4) 100%),
    url('../img/background.jpg') center right / cover no-repeat,
    var(--smf-steel);
  color: #fff;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 575.98px) {
  .smf-hero {
    background:
      linear-gradient(180deg, rgba(15,23,32,.85) 0%, rgba(15,23,32,.92) 100%),
      url('../img/background.jpg') center / cover no-repeat,
      var(--smf-steel);
  }
}

/* Blueprint / engineering grid */
.smf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,99,160,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,99,160,.07) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* Warm forge glow (top-right) + cool steel glow (bottom-left) */
.smf-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 20%, rgba(242,107,42,.13), transparent 60%),
    radial-gradient(ellipse 45% 50% at 5% 90%,  rgba(41,99,160,.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.smf-hero-inner {
  position: relative;
  z-index: 1;
}

.smf-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .73rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--smf-logo-red);
  background: var(--smf-warm-soft);
  border: 1px solid rgba(222,84,105,.32);
  padding: .35rem .95rem;
  margin-bottom: 1.6rem;
}

.smf-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: .97;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}
.hero-accent {
  color: var(--smf-accent);
  display: block;
}

.smf-hero .lead {
  font-size: clamp(.97rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.7);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 3.5rem; }

/* Stats row */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
}
.hero-stat {
  padding: .4rem 2.5rem .4rem 0;
  margin-right: .5rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1;
  display: block;
}
.hero-stat .num em { color: var(--smf-accent); font-style: normal; }
.hero-stat .lbl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  display: block;
  margin-top: .25rem;
}
@media (max-width: 575.98px) {
  .hero-stat { border-right: none; padding-right: 1.5rem; }
}

/* ============================================================ SECTIONS */
.section     { padding: var(--gap-section) 0; }
.section-alt { background: #fff; }

/* Dark inverted section */
.section-dark {
  background: var(--smf-bg);
  color: var(--smf-text-inv);
  padding: var(--gap-section) 0;
}
.section-dark .section-sub { color: var(--smf-text-soft); }
.section-dark .section-title { color: #fff; }

/* ============================================================ WHY US (dark steel + bg image) */
.smf-why {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,20,32,.94) 0%, rgba(11,20,32,.90) 60%, rgba(11,20,32,.96) 100%),
    url('../img/why-bg.jpg') center / cover no-repeat,
    var(--smf-bg);
  padding: var(--gap-section) 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.smf-why::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,99,160,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,99,160,.05) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}
.smf-why .container { position: relative; z-index: 1; }
.smf-why .section-sub  { color: var(--smf-text-soft); }
.smf-why .section-title { color: #fff; }

.feature-box {
  background: var(--smf-steel-mid);
  border: 1px solid var(--smf-steel-light);
  border-radius: 0;
  padding: 1.9rem 1.6rem;
  height: 100%;
  position: relative;
  transition: transform .22s, box-shadow .22s;
  overflow: hidden;
}
.feature-box::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--smf-logo-red);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .28s ease;
}
.feature-box:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(0,0,0,.35); }
.feature-box:hover::before { transform: scaleY(1); }
.feature-box .icon {
  width: 56px; height: 56px;
  background: rgba(255,106,19,.1);
  color: var(--smf-accent);
  font-size: 1.65rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.15rem;
  border-radius: 0;
}
.feature-box h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  margin-bottom: .5rem;
}
.feature-box p { color: var(--smf-text-soft); margin: 0; font-size: .92rem; line-height: 1.6; }

/* ============================================================ SERVICES (light bg) */
.service-card {
  background: #fff;
  border: 1px solid #e0e7ef;
  border-top: 3px solid var(--smf-accent);
  border-radius: 0;
  padding: 1.9rem 1.6rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--smf-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(15,23,32,.12); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .icon {
  width: 52px; height: 52px;
  background: rgba(255,106,19,.08);
  color: var(--smf-accent);
  font-size: 1.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-card h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--smf-text);
  margin-bottom: .5rem;
}
.service-card p { color: var(--smf-muted); margin: 0; font-size: .92rem; line-height: 1.6; }

/* ============================================================ PROCESS / METHOD */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #dde4ed;
}
@media (max-width: 991.98px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  padding: 2.25rem 1.75rem;
  border-right: 1px solid #dde4ed;
  border-bottom: 1px solid #dde4ed;
  position: relative;
  transition: background .22s;
}
.process-step:nth-child(3n) { border-right: none; }
@media (max-width: 991.98px) {
  .process-step:nth-child(3n) { border-right: 1px solid #dde4ed; }
  .process-step:nth-child(2n) { border-right: none; }
}
@media (max-width: 575.98px) {
  .process-step { border-right: none !important; }
}
.process-step:hover { background: rgba(255,106,19,.025); }
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: transparent;
  transition: background .22s;
}
.process-step:hover::before { background: var(--smf-accent); }

.process-step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.8rem;
  color: rgba(255,106,19,.15);
  line-height: 1;
  margin-bottom: .6rem;
  transition: color .22s;
}
.process-step:hover .process-step-num { color: rgba(255,106,19,.28); }
.process-step h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--smf-text);
  margin-bottom: .45rem;
}
.process-step p { color: var(--smf-muted); font-size: .92rem; line-height: 1.6; margin: 0; }

/* ============================================================ PROJECT CARDS */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: var(--smf-steel-mid);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform .28s, box-shadow .28s;
  box-shadow: 0 2px 12px rgba(15,23,32,.12);
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(15,23,32,.28); }
.project-card:hover img { transform: scale(1.08); }
.project-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,32,.94) 0%, rgba(11,20,32,.25) 55%, transparent 100%);
  display: flex; align-items: flex-end;
  padding: 1.3rem;
  color: #fff;
}
.project-card .overlay .category {
  font-family: var(--font-display);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--smf-accent);
  margin-bottom: .35rem;
  font-weight: 700;
}
.project-card .overlay h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
  line-height: 1.15;
}

/* ============================================================ SLIDER */
.smf-realisations-slider .swiper { padding: 1rem 0 3.5rem; }
.smf-realisations-slider .swiper-slide { height: auto; }
.smf-realisations-slider .project-card { aspect-ratio: 3 / 2; height: 100%; }
.smf-realisations-slider .swiper-pagination-bullet { background: #bbb; opacity: .5; border-radius: 0; }
.smf-realisations-slider .swiper-pagination-bullet-active {
  background: var(--smf-logo-red); opacity: 1; width: 28px; border-radius: 0;
}
.smf-realisations-slider .swiper-button-prev,
.smf-realisations-slider .swiper-button-next {
  color: #fff;
  background: var(--smf-steel);
  width: 44px; height: 44px;
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(15,23,32,.3);
  transition: background .18s;
}
.smf-realisations-slider .swiper-button-prev:hover,
.smf-realisations-slider .swiper-button-next:hover { background: var(--smf-accent); }
.smf-realisations-slider .swiper-button-prev::after,
.smf-realisations-slider .swiper-button-next::after { font-size: 15px; font-weight: 900; }

/* ============================================================ BLOG CARDS */
.blog-card {
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 0;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 38px rgba(15,23,32,.1); }
.blog-card .cover { aspect-ratio: 16/9; background: #e8edf4; overflow: hidden; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.blog-card:hover .cover img { transform: scale(1.06); }
.blog-card .body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .date {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--smf-accent);
  margin-bottom: .45rem;
  font-weight: 700;
}
.blog-card h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--smf-text);
  margin: 0 0 .65rem;
  line-height: 1.2;
}
.blog-card p { color: var(--smf-muted); flex: 1; font-size: .92rem; margin: 0; line-height: 1.6; }

/* ============================================================ FAQ */
#smfFaq { margin-top: 1rem; }
#smfFaq .accordion-item {
  border: none;
  border-left: 3px solid #dde4ed;
  border-radius: 0;
  background: #fff;
  margin-bottom: .65rem;
  overflow: hidden;
  transition: border-color .2s;
  box-shadow: 0 1px 6px rgba(15,23,32,.04);
}
#smfFaq .accordion-item:hover { border-left-color: var(--smf-accent); }
#smfFaq .accordion-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .97rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--smf-text);
  padding: 1.2rem 1.5rem;
  background: transparent;
  box-shadow: none !important;
  transition: color .2s;
}
#smfFaq .accordion-button:not(.collapsed) {
  color: var(--smf-accent);
  background: rgba(255,106,19,.025);
}
#smfFaq .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-left-color: var(--smf-accent);
}
#smfFaq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230f1720'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform .25s ease;
}
#smfFaq .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6a13'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
#smfFaq .accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--smf-muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* ============================================================ CTA SECTION */
.smf-cta {
  background: var(--smf-steel);
  color: #fff;
  padding: var(--gap-section) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.smf-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,99,160,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,99,160,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.smf-cta::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(242,107,42,.09), transparent 70%),
    radial-gradient(ellipse 40% 40% at 0% 50%,   rgba(41,99,160,.08), transparent 60%);
  pointer-events: none;
}
.smf-cta-inner { position: relative; z-index: 1; }
.smf-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: .6rem;
}
.smf-cta p { color: rgba(255,255,255,.6); font-size: 1rem; margin-bottom: 2.25rem; }

/* ============================================================ PAGE HEADER */
.breadcrumb-wrap { background: #f0f3f8; padding: .75rem 0; border-bottom: 1px solid #dde4ed; }
.page-header {
  background: var(--smf-steel);
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,99,160,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,99,160,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: .025em;
  margin: 0;
  position: relative;
}
.page-header p { color: rgba(255,255,255,.6); margin: .6rem 0 0; position: relative; font-size: .97rem; }

/* ============================================================ FORMS */
.smf-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 0;
  border-top: 3px solid var(--smf-accent);
  box-shadow: 0 4px 28px rgba(15,23,32,.08);
}
.smf-form .form-label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.smf-form .form-control, .smf-form .form-select { border-radius: 2px; border-color: #d1dae4; font-family: var(--font-body); }
.smf-form .form-control:focus, .smf-form .form-select:focus {
  border-color: var(--smf-accent);
  box-shadow: 0 0 0 3px rgba(255,106,19,.15);
}

/* ============================================================ FOOTER */
.smf-footer {
  background: var(--smf-bg);
  color: rgba(255,255,255,.5);
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.smf-footer-inner { padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem; }

.smf-logo-footer {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block; object-fit: contain;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 2px 12px rgba(7,17,29,.7));
}
@media (max-width: 767.98px) { .smf-logo-footer { max-width: 220px; } }

.smf-footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.38);
  line-height: 1.65;
  max-width: 240px;
}

.smf-footer-col h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--smf-logo-red);
  margin-bottom: 1.25rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(222,84,105,.18);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.48);
  text-decoration: none;
  font-size: .88rem;
  transition: color .18s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.footer-links a:hover { color: var(--smf-accent); }
.footer-links a::before {
  content: '—';
  font-size: .65rem;
  color: rgba(222,84,105,.45);
  flex-shrink: 0;
}

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  margin-bottom: .6rem;
  font-size: .88rem;
  color: rgba(255,255,255,.48);
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}
.footer-contact li i { color: var(--smf-logo-red); flex-shrink: 0; margin-top: .1rem; }
.footer-contact a { color: rgba(255,255,255,.48); text-decoration: none; transition: color .18s; }
.footer-contact a:hover { color: var(--smf-accent); }

.smf-footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.06);
  margin: 2.5rem 0 0;
}
.smf-footer-bottom {
  padding: 1.4rem 0;
  color: rgba(255,255,255,.28);
  font-size: .8rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* ============================================================ WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 1030;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }

/* ============================================================ LIGHTBOX */
.smf-lightbox {
  position: fixed; inset: 0; z-index: 1055;
  background: rgba(11,20,32,.97);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.smf-lightbox.open { display: flex; }
.smf-lightbox img { max-width: 100%; max-height: 90vh; }
.smf-lightbox .close {
  position: absolute; top: 20px; right: 24px;
  color: #fff; background: transparent; border: none;
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ============================================================ MAPS */
.maps-wrap { overflow: hidden; box-shadow: 0 2px 12px rgba(15,23,32,.1); }
.maps-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ============================================================ SCROLL REVEAL */
.smf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.smf-reveal.visible { opacity: 1; transform: none; }
.smf-reveal-d1 { transition-delay: .1s; }
.smf-reveal-d2 { transition-delay: .2s; }
.smf-reveal-d3 { transition-delay: .3s; }
.smf-reveal-d4 { transition-delay: .4s; }

/* ============================================================ BADGE */
.badge.bg-light { background: rgba(255,255,255,.12) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.2); font-family: var(--font-display); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; border-radius: 2px; }

/* ============================================================ RESPONSIVE */

/* ── 1. HEADER / NAVBAR ─────────────────────────────────────────────────── */
/* Prevent any header content from triggering horizontal scroll */
.smf-header { overflow: hidden; }

@media (max-width: 991.98px) {
  .smf-header .navbar { min-height: 64px; }
  .smf-header .navbar-brand {
    margin-right: 0;
    border-right: none;
    padding-right: 0;
  }
  .smf-header .navbar-collapse {
    background: linear-gradient(180deg, var(--smf-steel) 0%, #0b1826 100%);
    border-top: 1px solid var(--smf-cool-border);
    /* NO negative margins — they cause horizontal overflow */
    padding: .5rem 0 1.25rem;
  }
  .smf-header .nav-link {
    padding: .72rem 1rem !important;
    min-height: 44px;
    border-radius: 2px;
    transition: color .2s, background .18s;
  }
  .smf-header .nav-link::after { display: none !important; }
  .smf-header .nav-link:hover { background: rgba(255,255,255,.05); }
  .smf-header .nav-item.ms-lg-2 { margin: .6rem 0 0; }
  .smf-header .nav-item.ms-lg-2 .btn-accent {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: .8rem 1.5rem;
    font-size: .88rem;
  }
  /* Switch logo from height-controlled to width-controlled on mobile */
  .smf-logo-header {
    height: auto !important;
    max-width: 180px;
  }
}
@media (max-width: 575.98px) {
  .smf-header .navbar { min-height: 58px; padding-top: .25rem; padding-bottom: .25rem; }
  .smf-logo-header { max-width: 150px; }
}
@media (max-width: 374.98px) {
  .smf-logo-header { max-width: 120px; }
}

/* ── 2. HERO HEADING ────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .smf-hero h1 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
}
@media (max-width: 413.98px) {
  .smf-hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
}
@media (max-width: 359.98px) {
  .smf-hero h1 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
}

/* Hero layout & spacing */
@media (max-width: 767.98px) {
  .smf-hero { padding: 3.5rem 0 3rem; }
  .smf-hero .lead { font-size: .97rem; max-width: 100%; }
  .hero-cta { margin-bottom: 2.5rem; gap: .65rem; }
}
@media (max-width: 575.98px) {
  .smf-hero { padding: 2.75rem 0 2.5rem; }
  .smf-hero-eyebrow { font-size: .67rem; padding: .3rem .75rem; }
}

/* CTA buttons: stack on narrow phones */
@media (max-width: 479.98px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100% !important; justify-content: center; }
}

/* Hero stats: grid on small screens */
@media (max-width: 767.98px) {
  .hero-stat { padding-right: 2rem; border-right: none; }
}
@media (max-width: 479.98px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    padding-top: 1.5rem;
  }
  .hero-stat { padding: 0; margin: 0; border-right: none !important; }
  .hero-stat:last-child { grid-column: span 2; }
  .hero-stat .num { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
}

/* ── 3. SECTION SPACING ─────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .section,
  .section-alt,
  .section-dark,
  .smf-why { padding: 3.5rem 0; }
  .smf-cta { padding: 3.5rem 0; }
}
@media (max-width: 575.98px) {
  .section,
  .section-alt,
  .section-dark,
  .smf-why,
  .smf-cta { padding: 2.75rem 0; }
  .section-title { font-size: clamp(1.55rem, 6.5vw, 2.2rem); }
  .section-sub { font-size: .92rem; margin-bottom: 2rem; }
  .mb-5 { margin-bottom: 2.25rem !important; }
}

/* ── 4. FEATURE BOXES / SERVICE CARDS ──────────────────────────────────── */
@media (max-width: 575.98px) {
  .feature-box,
  .service-card { padding: 1.5rem 1.2rem; }
  .feature-box .icon,
  .service-card .icon { width: 46px; height: 46px; font-size: 1.4rem; }
}

/* ── 5. PROCESS GRID ────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .process-step { padding: 1.5rem 1.1rem; }
  .process-step-num { font-size: 2rem; }
}

/* ── 6. PROJECT SLIDER ──────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .smf-realisations-slider .project-card { aspect-ratio: 4/3; }
  .smf-realisations-slider .swiper-button-prev,
  .smf-realisations-slider .swiper-button-next { width: 36px; height: 36px; }
  .smf-realisations-slider .swiper-button-prev::after,
  .smf-realisations-slider .swiper-button-next::after { font-size: 12px; }
}

/* ── 7. BLOG CARDS ──────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .blog-card .body { padding: 1.2rem; }
}

/* ── 8. FAQ ─────────────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  #smfFaq .accordion-button { font-size: .9rem; padding: 1rem 1.2rem; }
  #smfFaq .accordion-body { padding: 0 1.2rem 1rem; }
}

/* ── 9. CTA SECTION ─────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .smf-cta h2 { font-size: clamp(1.8rem, 7vw, 3rem); }
}
@media (max-width: 479.98px) {
  .smf-cta h2 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .smf-cta .btn-accent { min-width: 100%; justify-content: center; }
}

/* ── 10. FOOTER ─────────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .smf-footer-inner { padding: 3rem 0 2rem; }
}
@media (max-width: 575.98px) {
  .smf-footer-inner { padding: 2.5rem 0 1.5rem; }
  .smf-footer-bottom { text-align: center; font-size: .78rem; }
  .smf-footer-col h6 { margin-bottom: 1rem; }
}

/* ── 11. PAGE HEADER ─────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .page-header { padding: 2.75rem 0; }
}
@media (max-width: 575.98px) {
  .page-header { padding: 2.25rem 0; }
  .page-header h1 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
}

/* ── 12. MAPS ────────────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .maps-wrap iframe { height: 280px; }
}

/* ── 13. FORMS ───────────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .smf-form { padding: 1.75rem 1.25rem; }
}

/* ── 14. GLOBAL OVERFLOW GUARD ───────────────────────────────────────────── */
/* Ensure no element can cause horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }
.smf-hero .col-lg-9,
.smf-hero-inner,
.smf-hero .container { min-width: 0; overflow: hidden; }
/* Swiper overflow containment */
.smf-realisations-slider { overflow: hidden; }

/* ============================================================ NOS CLIENTS (marquee) */
.smf-clients .clients-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.smf-clients .clients-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  will-change: transform;
}
.smf-clients .client-logo {
  flex: 0 0 auto;
  width: 180px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}
.smf-clients .client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(.85);
  opacity: .65;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.smf-clients .client-logo:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
@media (max-width: 575.98px) {
  .smf-clients .clients-track { gap: 2.5rem; }
  .smf-clients .client-logo { width: 130px; height: 70px; padding: 0 .5rem; }
}

/* ============================================================ SECTION POLISH
   Subtle backgrounds + accent dividers so successive sections feel
   distinct and editorial instead of flat slabs.
   ========================================================================= */

/* Light sections — soft engineering blueprint grid + faint accent radial */
.section,
.section-alt {
  position: relative;
  isolation: isolate;
}
.section::before,
.section-alt::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,32,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,32,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}
.section > .container,
.section-alt > .container { position: relative; z-index: 1; }

/* NOS CLIENTS — sleek light strip, no grid (logos do the work) */
.smf-clients { background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%); }
.smf-clients::before { display: none; }

/* SERVICES — soft warm radial glow top-right for energy */
.section.smf-services-section { background: #fbfbfc; }
.section.smf-services-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 95% 0%, rgba(242,107,42,.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* METHOD — keep alt white, add cool steel-blue radial bottom-left */
.section-alt.smf-method-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 5% 100%, rgba(41,99,160,.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* RÉALISATIONS — flip to dark steel, breaks light/dark rhythm */
.smf-realisations-slider {
  background:
    linear-gradient(180deg, #0d1726 0%, #101c2c 50%, #0d1726 100%);
  color: #fff;
  padding: var(--gap-section) 0;
  overflow: hidden;
}
.smf-realisations-slider::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41,99,160,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,99,160,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}
.smf-realisations-slider .section-title { color: #fff; }
.smf-realisations-slider .section-sub   { color: var(--smf-text-soft); }
.smf-realisations-slider .swiper-button-prev,
.smf-realisations-slider .swiper-button-next {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

/* BLOG (section-alt) — keep light, soft top accent line */
.section-alt + .section,
section.section-alt {
  /* no-op anchor for future cascade tweaks */
}

/* FAQ — center spotlight to focus attention on the questions */
.section.smf-faq-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 55% at 50% 50%, rgba(41,99,160,.04), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Accent divider — thin orange hairline at the top of key sections */
.smf-clients,
.smf-realisations-slider {
  border-top: 1px solid rgba(242,107,42,.18);
}
