/* =========================================================
   FORMULA KARRAS — Shared Stylesheet
   Industrial / fire-protection themed, dark + ember accents
   ========================================================= */

:root{
  --bg: #0b0c0f;
  --bg-soft: #121317;
  --bg-card: #17181d;
  --line: rgba(255,255,255,0.08);
  --text: #f3f2ef;
  --text-dim: #a7a8ad;
  --ember: #ff4d1c;
  --ember-2: #ff8a1e;
  --ember-deep: #b3220a;
  --steel: #3a3f47;
  --radius: 16px;
  --maxw: 1180px;
  --shadow: 0 20px 60px rgba(0,0,0,0.45);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }

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

.gradient-text{
  background: linear-gradient(90deg, var(--ember-2), var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-2);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
  display:inline-block;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
  color: #100a08;
  box-shadow: 0 10px 30px rgba(255,77,28,0.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255,77,28,0.5); }
.btn-ghost{
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--ember-2); color: var(--ember-2); }

/* ---------- Navbar ---------- */
.nav{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 999;
  background: rgba(11,12,15,0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family:"Poppins",sans-serif;
  font-weight:700;
  font-size:1.15rem;
  letter-spacing: 0.02em;
}
.brand-mark{
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ember), var(--ember-2));
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 20px rgba(255,77,28,0.4);
  flex-shrink:0;
}
.brand-mark svg{ width:20px; height:20px; }

.nav-links{
  display:flex;
  align-items:center;
  gap:36px;
}
.nav-links a{
  font-size:0.94rem;
  font-weight:500;
  color: var(--text-dim);
  position:relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-4px;
  height:2px;
  background: linear-gradient(90deg, var(--ember), var(--ember-2));
  border-radius:2px;
}
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-cta .btn{ padding: 10px 22px; font-size:0.88rem; }

.burger{
  display:none;
  width: 42px; height:42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  align-items:center; justify-content:center;
  cursor:pointer;
}
.burger span, .burger span::before, .burger span::after{
  content:"";
  display:block;
  width: 18px; height:2px;
  background: var(--text);
  position:relative;
  transition: all .25s ease;
}
.burger span::before{ position:absolute; top:-6px; }
.burger span::after{ position:absolute; top:6px; }

@media (max-width: 900px){
  .nav-links, .nav-cta .btn-ghost{ display:none; }
  .burger{ display:flex; }
  .nav-cta{ gap:10px; }
  .mobile-menu.open{
    display:flex;
  }
}

.mobile-menu{
  display:none;
  flex-direction:column;
  gap:2px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 10px 24px 20px;
}
.mobile-menu a{
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-weight:500;
}
.mobile-menu a:last-child{ border-bottom:none; }
.mobile-menu a.active{ color: var(--ember-2); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(255,77,28,0.18), transparent 60%),
    radial-gradient(500px 400px at 10% 90%, rgba(255,138,30,0.10), transparent 60%),
    var(--bg);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 20%, black, transparent 70%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items:center;
}
.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
}
.hero p.lead{
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 20px 0 34px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

.ember-orb{
  position:relative;
  aspect-ratio: 1;
  border-radius: 32px;
  background:
    conic-gradient(from 180deg at 50% 50%, var(--ember-deep), var(--ember), var(--ember-2), var(--ember-deep));
  filter: saturate(1.1);
  box-shadow: var(--shadow), inset 0 0 80px rgba(0,0,0,0.35);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.ember-orb::after{
  content:"";
  position:absolute; inset:10%;
  border-radius: 26px;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.18), transparent 60%);
}
.ember-orb svg{ width: 46%; height:46%; position:relative; z-index:2; opacity:0.92; }

.stat-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.stat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align:center;
}
.stat-grid div strong{
  display:block;
  font-family:"Poppins",sans-serif;
  font-size: 1.8rem;
  color: var(--ember-2);
}
.stat-grid div span{
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Section shell ---------- */
section{ padding: 110px 0; position:relative; }
.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-head p{ color: var(--text-dim); font-size:1.05rem; }
.section-alt{ background: var(--bg-soft); }

/* ---------- Cards / grids ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }

.card{
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,138,30,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.card .icon{
  width: 52px; height:52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,77,28,0.18), rgba(255,138,30,0.10));
  border: 1px solid rgba(255,138,30,0.25);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.card .icon svg{ width:24px; height:24px; color: var(--ember-2); }
.card h3{ font-size: 1.15rem; margin-bottom: 10px; }
.card p{ color: var(--text-dim); font-size: 0.95rem; margin:0; }

.reveal{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in{ opacity:1; transform: translateY(0); }

/* ---------- CTA band ---------- */
.cta-band{
  border-radius: 28px;
  background: linear-gradient(120deg, var(--ember-deep), var(--ember) 55%, var(--ember-2));
  padding: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 40px;
  flex-wrap:wrap;
  color: #14090500;
}
.cta-band h2, .cta-band p{ color:#160c08; }
.cta-band .btn-ghost{ border-color: rgba(20,10,6,0.35); color:#160c08; }
.cta-band .btn-ghost:hover{ border-color:#160c08; }

/* ---------- Footer ---------- */
footer{
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: var(--bg);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4{ font-size: 0.95rem; margin-bottom: 16px; color: var(--text); }
.footer-grid p, .footer-grid a, .footer-grid li{
  color: var(--text-dim);
  font-size: 0.92rem;
}
.footer-grid li{ margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--ember-2); }
.footer-bottom{
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding: 170px 0 80px;
  background:
    radial-gradient(500px 320px at 90% 0%, rgba(255,77,28,0.16), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow{ margin-bottom: 18px; }
.page-hero h1{ font-size: clamp(2rem, 4vw, 3.1rem); max-width: 20ch; }
.page-hero p{ color: var(--text-dim); max-width: 60ch; font-size:1.05rem; margin-top:16px; }
.breadcrumb{
  font-size:0.85rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.breadcrumb a{ color: var(--text-dim); }
.breadcrumb a:hover{ color: var(--ember-2); }
.breadcrumb span{ color: var(--ember-2); }

/* ---------- Services list page ---------- */
.service-row{
  display:grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items:flex-start;
}
.service-row:first-child{ border-top: 1px solid var(--line); }
.service-row .num{
  font-family:"Poppins",sans-serif;
  font-weight:700;
  font-size: 1.3rem;
  color: var(--ember-2);
  opacity:0.7;
}
.service-row h3{ font-size:1.15rem; margin-bottom: 6px; }
.service-row p{ color: var(--text-dim); margin:0; font-size:0.95rem; }

/* ---------- Certification badges ---------- */
.cert-card{
  background: var(--bg-card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align:center;
}
.cert-card .badge{
  width: 84px; height:84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--ember-2));
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 30px rgba(255,77,28,0.35);
}
.cert-card .badge svg{ width: 38px; height:38px; color:#160c08; }
.cert-card h3{ font-size:1.2rem; }
.cert-card p{ color: var(--text-dim); font-size:0.95rem; }

/* ---------- Contact page ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items:start;
}
.contact-card{
  background: var(--bg-card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-item{
  display:flex;
  gap:16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child{ border-bottom:none; }
.contact-item .icon{
  width: 44px; height:44px;
  border-radius: 12px;
  background: rgba(255,138,30,0.12);
  border: 1px solid rgba(255,138,30,0.25);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-item .icon svg{ width:20px; height:20px; color: var(--ember-2); }
.contact-item h4{ font-size:0.95rem; margin-bottom:4px; }
.contact-item p, .contact-item a{ color: var(--text-dim); font-size:0.92rem; margin:0; }
.contact-item a:hover{ color: var(--ember-2); }

.map-frame{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line);
  height: 320px;
  margin-top: 24px;
}
.map-frame iframe{ width:100%; height:100%; border:0; filter: grayscale(0.4) invert(0.92) contrast(0.9); }

form.contact-form{
  background: var(--bg-card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display:grid;
  gap: 18px;
}
form.contact-form .row-2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field label{ display:block; font-size:0.85rem; color: var(--text-dim); margin-bottom:8px; }
.field input, .field textarea{
  width:100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--ember-2);
}
.form-note{ font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .ember-orb{ max-width: 320px; margin: 0 auto; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .grid-3{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .cta-band{ padding: 40px 28px; flex-direction:column; align-items:flex-start; }
  section{ padding: 76px 0; }
  .hero{ padding: 150px 0 80px; }
  form.contact-form .row-2{ grid-template-columns: 1fr; }
}

/* === FORMULA KARRAS FINAL RED/BLACK VISUAL SYSTEM === */
:root{--bg:#050505;--bg-soft:#0b0b0c;--bg-card:#111214;--line:rgba(239,27,32,.28);--text:#f5f3ef;--text-dim:#b6b3ae;--ember:#ef1b20;--ember-2:#ff3b30;--ember-deep:#8d0b0f;}
body{background:#050505}
.brand{line-height:0}.brand-logo{height:60px;width:auto;max-width:330px;object-fit:contain}
.nav{background:rgba(0,0,0,.90);border-bottom:1px solid rgba(239,27,32,.35)}
.nav-inner{min-height:90px;max-width:1480px}.nav-links{gap:44px}.nav-links a.active::after{background:#ef1b20}
.btn-primary{background:linear-gradient(90deg,#d91016,#f0262d);color:#fff;box-shadow:0 10px 30px rgba(239,27,32,.25)}
.btn-dark{background:#070707;color:#fff;border:1px solid #ef1b20}
.hero{padding:90px 0 0;min-height:760px;background:#050505}.hero::before{display:none}
.hero-pro{max-width:1480px;padding:0;display:grid;grid-template-columns:46% 54%;min-height:670px;position:relative}
.hero-copy{padding:110px 50px 80px 70px;z-index:3;background:#050505}
.hero-copy h1{font-size:clamp(3rem,5.5vw,5.4rem);line-height:.98;letter-spacing:-.025em;margin:0;text-transform:uppercase}
.hero-copy h1 span{color:#ef1b20;display:block}.hero-rule{width:54px;height:3px;background:#ef1b20;margin:30px 0 24px}
.hero-copy p{max-width:620px;color:#ddd7d2;font-size:1.15rem}.hero-media{position:relative;overflow:hidden;min-height:670px}
.hero-media img{width:100%;height:100%;object-fit:cover;filter:saturate(1.05) contrast(1.05) brightness(.82)}
.hero-media-shade{position:absolute;inset:0;background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.4) 14%,transparent 38%)}
.services-showcase{padding:24px 0 70px;background:#050505}.services-showcase .container{max-width:1480px}
.service-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:-110px;position:relative;z-index:5}
.service-photo-card{min-height:290px;border:1px solid rgba(255,255,255,.12);background:#111;border-radius:14px;overflow:hidden;position:relative;box-shadow:0 14px 38px rgba(0,0,0,.42)}
.service-photo-card>img{width:100%;height:145px;object-fit:cover}.service-photo-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(5,5,5,.12) 48%,rgba(5,5,5,.98) 72%)}
.service-photo-content{position:absolute;left:18px;right:18px;bottom:18px;z-index:2}.service-photo-content span{display:inline-flex;width:38px;height:38px;border-radius:50%;background:#ef1b20;color:#fff;align-items:center;justify-content:center;font-weight:700;margin-bottom:12px}
.service-photo-content h3{font-size:1.05rem;margin:0 0 8px}.service-photo-content p{color:#c9c5c0;font-size:.9rem;line-height:1.45;margin:0}
.cert-band{margin-top:20px;border:1px solid rgba(239,27,32,.45);border-radius:14px;padding:24px 30px;display:grid;grid-template-columns:1.6fr .7fr .9fr;gap:30px;align-items:center;background:linear-gradient(90deg,#0b0b0c,#111 50%,#080808)}
.cert-copy{display:flex;gap:20px;align-items:center}.cert-icon{width:76px;height:76px;border:4px solid #ef1b20;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.2rem;color:#ef1b20}
.cert-badge{border-left:1px solid rgba(255,255,255,.12);padding-left:28px}.cert-badge strong{display:block;color:#fff;font-size:1.55rem}.cert-badge span{color:#ef1b20;font-size:.9rem}
.trust-strip{border-top:1px solid rgba(239,27,32,.26);margin-top:18px;padding-top:20px;display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.trust-strip div{padding-left:18px;border-left:1px solid rgba(255,255,255,.1)}.trust-strip b{display:block}.trust-strip span{color:#aaa6a1;font-size:.82rem}
footer{background:#030303}.footer-grid .brand-logo{height:74px;max-width:360px}
@media(max-width:1100px){.hero-pro{grid-template-columns:1fr}.hero-copy{padding:130px 34px 70px}.hero-media{min-height:520px}.service-cards{grid-template-columns:repeat(2,1fr);margin-top:24px}.cert-band{grid-template-columns:1fr}.cert-badge{border-left:0;border-top:1px solid rgba(255,255,255,.12);padding:18px 0 0}.trust-strip{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.brand-logo{height:44px;max-width:215px}.hero{padding-top:72px;min-height:auto}.hero-copy{padding:80px 20px 44px}.hero-copy h1{font-size:2.65rem}.hero-media{min-height:380px}.service-cards{grid-template-columns:1fr}.cert-band{padding:24px 20px}.trust-strip{grid-template-columns:1fr}}

/* NAV LOGO — FK symbol only, larger */
.brand-logo--symbol{
  height:82px !important;
  width:auto !important;
  max-width:150px !important;
  object-fit:contain;
}
@media(max-width:640px){
  .brand-logo--symbol{
    height:58px !important;
    max-width:105px !important;
  }
}


/* =========================================================
   HOME MOCKUP MATCH — FINAL
   ========================================================= */

:root{
  --fk-red:#ed171c;
  --fk-red-dark:#a8070c;
  --fk-black:#020202;
  --fk-panel:#111;
  --fk-border:rgba(237,23,28,.55);
  --fk-text:#f4f1ec;
  --fk-muted:#aaa5a0;
}

body{
  background:var(--fk-black);
}

.nav{
  background:#020202;
  border-bottom:1px solid rgba(237,23,28,.55);
}

.nav-inner{
  max-width:1600px;
  padding:14px 34px;
  min-height:118px;
}

.brand-symbol img{
  height:98px;
  width:auto;
  display:block;
}

.nav-links{
  gap:54px;
}

.nav-links a{
  font-size:.98rem;
  text-transform:uppercase;
}

.nav-phone{
  display:flex;
  gap:10px;
  align-items:center;
  color:#fff;
  font-weight:500;
}

.home-pro{
  max-width:1600px;
  margin:0 auto;
  background:#020202;
}

.hero-pro{
  min-height:670px;
  display:grid;
  grid-template-columns:46% 54%;
  position:relative;
  overflow:hidden;
}

.hero-copy{
  padding:72px 34px 80px 66px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at 90% 36%, rgba(237,23,28,.10), transparent 32%),
    #020202;
  position:relative;
  z-index:3;
}

.hero-copy .eyebrow{
  color:var(--fk-red);
  margin-bottom:16px;
  font-size:.82rem;
  letter-spacing:.14em;
}

.hero-copy h1{
  margin:0;
  font-size:clamp(3.5rem,5vw,5.7rem);
  line-height:.98;
  letter-spacing:-.035em;
  color:#fff;
  text-transform:uppercase;
}

.hero-copy h1 span{
  color:var(--fk-red);
  display:block;
}

.hero-copy p{
  max-width:620px;
  font-size:1.25rem;
  line-height:1.55;
  color:#e0dad4;
  margin:28px 0 34px;
}

.hero-actions{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.btn-outline{
  border:1px solid var(--fk-red);
  color:#fff;
  background:transparent;
}

.hero-image-wrap{
  position:relative;
  min-height:670px;
  overflow:hidden;
}

.hero-image{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:contrast(1.08) saturate(1.05) brightness(.80);
}

.hero-image-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,#020202 0%,rgba(2,2,2,.68) 11%,rgba(2,2,2,.08) 34%,transparent 52%),
    linear-gradient(180deg,transparent 68%,rgba(0,0,0,.45) 100%);
}

.hero-watermark{
  position:absolute;
  right:80px;
  bottom:80px;
  width:220px;
  opacity:.55;
  filter:drop-shadow(0 10px 28px rgba(0,0,0,.45));
}

.service-strip{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  padding:0 66px;
  margin-top:-78px;
  position:relative;
  z-index:5;
}

.service-card{
  background:linear-gradient(180deg,#171717,#0d0d0d);
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.45);
}

.service-card>img{
  width:100%;
  height:150px;
  object-fit:cover;
}

.service-card-body{
  position:relative;
  padding:22px 16px 20px;
}

.service-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--fk-red);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
  margin-top:-46px;
  margin-bottom:16px;
  border:3px solid #151515;
}

.service-card h3{
  font-size:1.05rem;
  margin-bottom:10px;
  color:#fff;
}

.service-card p{
  color:#bcb7b2;
  font-size:.9rem;
  line-height:1.55;
  margin:0;
}

.quality-band{
  margin:16px 66px 0;
  border:1px solid var(--fk-border);
  border-radius:12px;
  display:grid;
  grid-template-columns:1.4fr .8fr 1fr;
  align-items:center;
  background:linear-gradient(90deg,#0a0a0a,#111,#090909);
  min-height:150px;
}

.quality-main,
.quality-cert{
  display:flex;
  align-items:center;
  gap:22px;
  padding:22px 28px;
}

.quality-cert{
  border-left:1px solid rgba(255,255,255,.14);
}

.quality-seal{
  width:86px;
  height:86px;
  flex:0 0 auto;
  border:5px solid var(--fk-red);
  border-radius:50%;
  color:var(--fk-red);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2.5rem;
}

.quality-main h2{
  font-size:1.8rem;
  line-height:1.1;
  margin:0 0 8px;
}

.quality-main p{
  color:#b8b2ad;
  font-size:.9rem;
  line-height:1.45;
  margin:0;
}

.quality-circle{
  width:88px;
  height:88px;
  border-radius:50%;
  border:2px solid #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:1.7rem;
  flex:0 0 auto;
}

.quality-box{
  width:88px;
  height:88px;
  border:2px solid #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.72rem;
  font-weight:700;
  flex:0 0 auto;
}

.quality-cert strong{
  display:block;
  color:#fff;
  font-size:1.05rem;
  margin-bottom:8px;
}

.quality-cert span{
  color:var(--fk-red);
  font-size:.8rem;
  line-height:1.5;
}

.trust-bar{
  margin:18px 66px 34px;
  border-top:1px solid rgba(237,23,28,.28);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}

.trust-bar>div{
  padding:20px 20px 6px;
  display:grid;
  grid-template-columns:48px 1fr;
  column-gap:14px;
  border-right:1px solid rgba(255,255,255,.1);
}

.trust-bar>div:last-child{
  border-right:0;
}

.trust-icon{
  grid-row:1 / span 2;
  color:var(--fk-red);
  font-size:2rem;
}

.trust-bar b{
  color:#fff;
  font-size:.88rem;
}

.trust-bar small{
  color:#aaa5a0;
  font-size:.78rem;
  line-height:1.35;
}

.footer-logo{
  height:74px;
  width:auto;
}

@media(max-width:1100px){
  .nav-inner{min-height:92px}
  .brand-symbol img{height:72px}
  .hero-pro{grid-template-columns:1fr}
  .hero-copy{padding:90px 30px 54px}
  .hero-image-wrap{min-height:520px}
  .service-strip{grid-template-columns:repeat(2,1fr);margin-top:20px;padding:0 24px}
  .quality-band{margin:20px 24px 0;grid-template-columns:1fr}
  .quality-cert{border-left:0;border-top:1px solid rgba(255,255,255,.14)}
  .trust-bar{margin:18px 24px 34px;grid-template-columns:1fr 1fr}
}

@media(max-width:640px){
  .nav-inner{min-height:78px;padding:10px 16px}
  .brand-symbol img{height:62px}
  .nav-cta .btn-primary{display:none}
  .nav-phone span{display:none}
  .hero-copy{padding:70px 18px 40px}
  .hero-copy h1{font-size:2.65rem}
  .hero-copy p{font-size:1rem}
  .hero-image-wrap{min-height:380px}
  .hero-watermark{width:140px;right:20px;bottom:24px}
  .service-strip{grid-template-columns:1fr;padding:0 16px}
  .quality-band{margin:18px 16px 0}
  .quality-main,.quality-cert{padding:20px 18px}
  .quality-main{align-items:flex-start}
  .quality-seal,.quality-circle,.quality-box{width:64px;height:64px}
  .trust-bar{margin:18px 16px 30px;grid-template-columns:1fr}
  .trust-bar>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}
}


/* =========================================================
   V3 FIXES — NAV / HERO SPACING + INNER PAGE SPLIT HERO
   ========================================================= */

/* Keep homepage content safely below fixed navigation */
.home-pro {
  padding-top: 118px;
}

.hero-pro {
  margin-top: 0;
}

.hero-copy {
  padding-top: 86px;
}

/* Inner page split hero: text left, image right */
.page-hero {
  padding: 0;
  margin-top: 0;
  background: #020202;
  border-bottom: 1px solid rgba(237,23,28,.35);
}

.page-hero .container {
  max-width: 1600px;
  padding: 0;
}

.inner-hero-split {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 500px;
  overflow: hidden;
}

.inner-hero-copy {
  padding: 165px 54px 70px 66px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 90% 35%, rgba(237,23,28,.10), transparent 34%),
    #020202;
  position: relative;
  z-index: 2;
}

.inner-hero-copy .breadcrumb {
  margin-bottom: 18px;
}

.inner-hero-copy .eyebrow {
  margin-bottom: 14px;
}

.inner-hero-copy h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 4.4vw, 4.8rem);
  line-height: 1;
  margin: 0 0 20px;
}

.inner-hero-copy p {
  max-width: 620px;
  color: #c9c3bd;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.inner-hero-media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #0a0a0a;
}

.inner-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.03) contrast(1.06) brightness(.78);
}

.inner-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #020202 0%, rgba(2,2,2,.56) 12%, rgba(2,2,2,.08) 34%, transparent 52%),
    linear-gradient(180deg, transparent 68%, rgba(0,0,0,.42) 100%);
}

@media (max-width: 1100px) {
  .home-pro {
    padding-top: 92px;
  }

  .inner-hero-split {
    grid-template-columns: 1fr;
  }

  .inner-hero-copy {
    padding: 130px 30px 50px;
  }

  .inner-hero-media {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .home-pro {
    padding-top: 78px;
  }

  .hero-copy {
    padding-top: 58px;
  }

  .inner-hero-copy {
    padding: 110px 18px 36px;
  }

  .inner-hero-copy h1 {
    font-size: 2.5rem;
  }

  .inner-hero-media {
    min-height: 300px;
  }
}

/* CLIENT PREVIEW FINAL */
.brand .header-logo{
  display:block;
  height:94px;
  width:auto;
  max-width:170px;
  object-fit:contain;
}
.footer-brand-logo{
  display:block;
  width:min(390px,100%);
  height:auto;
  object-fit:contain;
}
.service-icon{display:none!important;}
.service-card-body{padding-top:20px!important;}
.service-card h3{margin-top:0!important;}
.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr;}
.footer-grid>div:first-child{min-width:320px;}

@media(max-width:1100px){
  .brand .header-logo{height:78px;max-width:145px;}
  .footer-brand-logo{width:min(330px,100%);}
}
@media(max-width:640px){
  .brand .header-logo{height:62px;max-width:115px;}
  .footer-brand-logo{width:min(280px,86vw);margin:0 auto;}
  footer .brand{justify-content:center;}
}


/* =========================================================
   FINAL CARD + FOOTER FIXES
   ========================================================= */

/* Service cards: clean photos only, consistent height */
.service-card > img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-card-body {
  padding: 24px 20px 24px !important;
}

.service-card h3 {
  font-size: 1.08rem !important;
  line-height: 1.2 !important;
  margin: 0 0 12px !important;
}

.service-card p {
  font-size: .92rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  color: #bdb8b2 !important;
}

/* Absolutely no decorative circles/icons */
.service-icon,
.service-card .service-icon {
  display: none !important;
}

/* Footer logo back to balanced size */
.footer-brand-logo {
  width: 300px !important;
  max-width: 100% !important;
  height: auto !important;
}

.footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1fr !important;
  align-items: start;
  gap: 48px;
}

.footer-grid > div:first-child {
  min-width: 0 !important;
}

@media (max-width: 1100px) {
  .service-card > img {
    height: 200px !important;
  }

  .footer-brand-logo {
    width: 260px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 640px) {
  .service-card > img {
    height: 190px !important;
  }

  .footer-brand-logo {
    width: 230px !important;
    margin: 0 auto !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   FORMULA KARRAS — CLIENT FINAL V4
   ========================================================= */

/* Header logo */
.brand .header-logo{
  display:block;
  height:96px;
  width:auto;
  max-width:175px;
  object-fit:contain;
}

/* Remove any hero logo/watermark on right image */
.hero-watermark{
  display:none !important;
}

/* Service card icons restored as clean HTML elements */
.service-card{
  position:relative;
  overflow:hidden;
}

.service-card-body{
  position:relative;
  padding:28px 20px 24px !important;
}

.service-icon--clean{
  position:absolute;
  top:-24px;
  left:18px;
  width:48px;
  height:48px;
  border-radius:50%;
  background:#ed171c;
  color:#fff;
  display:flex !important;
  align-items:center;
  justify-content:center;
  border:3px solid #111;
  box-shadow:0 8px 18px rgba(0,0,0,.28);
  z-index:3;
}

.service-icon--clean svg{
  width:23px;
  height:23px;
  display:block;
}

.service-card h3{
  margin-top:12px !important;
}

/* Footer — compact, balanced, aligned with logo lettering */
footer{
  padding-top:42px !important;
}

.footer-grid{
  grid-template-columns:1.35fr .85fr 1fr 1fr !important;
  gap:42px !important;
  align-items:start !important;
}

.footer-grid > div:first-child{
  min-width:0 !important;
}

.footer-brand-logo{
  display:block;
  width:320px !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain;
}

/* Align right-side footer headings with 'formula karras' lettering */
.footer-grid > div:not(:first-child){
  padding-top:72px;
}

.footer-grid h4{
  margin-top:0 !important;
  margin-bottom:16px !important;
}

/* Footer description directly under logo */
.footer-grid > div:first-child > p{
  margin-top:18px !important;
  max-width:360px;
}

@media(max-width:1100px){
  .brand .header-logo{
    height:78px;
    max-width:145px;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .footer-grid > div:not(:first-child){
    padding-top:0;
  }

  .footer-brand-logo{
    width:280px !important;
  }
}

@media(max-width:640px){
  .brand .header-logo{
    height:62px;
    max-width:115px;
  }

  .footer-grid{
    grid-template-columns:1fr !important;
  }

  .footer-grid > div{
    padding-top:0 !important;
  }

  .footer-brand-logo{
    width:250px !important;
    margin:0 auto;
  }

  footer .brand{
    justify-content:center;
  }

  .footer-grid > div:first-child > p{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }
}


/* =========================================================
   CLIENT FINAL V5 — FOOTER LOGO + SERVICE ICONS
   ========================================================= */

/* Use the new V03 footer logo: red symbol + white lettering */
.footer-brand-logo--v03{
  display:block !important;
  width:360px !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}

/*
  Align the footer navigation/contact/address headings with the
  lettering portion of the logo rather than with the top of the red FK symbol.
*/
.footer-grid{
  grid-template-columns:1.35fr .8fr 1fr 1fr !important;
  align-items:start !important;
  gap:46px !important;
}

.footer-grid > div:first-child{
  min-width:0 !important;
}

.footer-grid > div:not(:first-child){
  padding-top:66px !important;
}

.footer-grid h4{
  margin-top:0 !important;
}

/* Footer description stays directly below the logo */
.footer-grid > div:first-child > p{
  margin-top:18px !important;
  max-width:390px;
}

/* Force the five service icons to be visible and fully inside each card */
body .service-card .service-icon.service-icon--clean{
  display:flex !important;
  position:absolute !important;
  top:-25px !important;
  left:18px !important;
  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  border-radius:50% !important;
  align-items:center !important;
  justify-content:center !important;
  background:#ed171c !important;
  color:#fff !important;
  border:3px solid #111 !important;
  box-shadow:0 8px 18px rgba(0,0,0,.35) !important;
  z-index:20 !important;
  opacity:1 !important;
  visibility:visible !important;
  overflow:visible !important;
}

body .service-card .service-icon.service-icon--clean svg{
  display:block !important;
  width:23px !important;
  height:23px !important;
  stroke:#fff !important;
}

.service-card-body{
  position:relative !important;
  overflow:visible !important;
  padding-top:30px !important;
}

/* Keep cards themselves clean and uniform */
.service-card h3{
  margin-top:10px !important;
}

/* No logo/watermark inside hero image */
.hero-watermark{
  display:none !important;
}

@media(max-width:1100px){
  .footer-brand-logo--v03{
    width:310px !important;
  }

  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }
}

@media(max-width:640px){
  .footer-brand-logo--v03{
    width:270px !important;
    margin:0 auto !important;
  }

  .footer-grid > div{
    padding-top:0 !important;
  }
}


/* =========================================================
   DESIGNER REVISION V6
   ========================================================= */

/* Header designer mark */
.header-logo--designer{
  display:block !important;
  height:82px !important;
  width:auto !important;
  max-width:130px !important;
  object-fit:contain !important;
}

/* Keep menu visually closer to logo */
.nav-inner{
  column-gap:28px !important;
}
.nav-links{
  margin-left:12px !important;
}

/* Animated flame side frame — desktop only */
.site-fire-frame{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:1;
  overflow:hidden;
}

.site-fire{
  position:absolute;
  top:0;
  bottom:0;
  width:min(17vw,260px);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center top;
  opacity:.82;
  mix-blend-mode:screen;
  filter:saturate(1.2) contrast(1.08);
  will-change:transform,opacity,filter;
}

.site-fire--left{
  left:0;
  background-image:url('../assets/images/side-flame-left.png');
  animation:fkFireLeft 4.8s ease-in-out infinite alternate;
}

.site-fire--right{
  right:0;
  background-image:url('../assets/images/side-flame-right.png');
  animation:fkFireRight 5.4s ease-in-out infinite alternate;
}

@keyframes fkFireLeft{
  0%{transform:scale(1.02) translate3d(-3px,6px,0);opacity:.72;filter:saturate(1.08) brightness(.92);}
  50%{transform:scale(1.07) translate3d(3px,-8px,0);opacity:.9;filter:saturate(1.35) brightness(1.08);}
  100%{transform:scale(1.04) translate3d(-1px,-2px,0);opacity:.78;filter:saturate(1.18) brightness(.98);}
}

@keyframes fkFireRight{
  0%{transform:scale(1.03) translate3d(2px,-5px,0);opacity:.76;filter:saturate(1.14) brightness(.95);}
  55%{transform:scale(1.08) translate3d(-4px,8px,0);opacity:.92;filter:saturate(1.4) brightness(1.1);}
  100%{transform:scale(1.02) translate3d(1px,0,0);opacity:.8;filter:saturate(1.2) brightness(1);}
}

/* Keep actual site content above fire frame */
.nav,
.home-pro,
main,
footer{
  position:relative;
  z-index:2;
}

/* Slightly tighten menu spacing */
.nav-links{
  gap:38px !important;
}

/* Footer designer color */
footer{
  background:
    radial-gradient(circle at 50% 0%, rgba(125,0,0,.45), transparent 38%),
    linear-gradient(180deg,#650000 0%,#500000 100%) !important;
  border-top:1px solid rgba(255,80,80,.22) !important;
}

/* Footer columns start near the lettering baseline of the logo */
.footer-grid{
  align-items:start !important;
}
.footer-grid > div:not(:first-child){
  padding-top:58px !important;
}

/* Global scroll reveal */
.scroll-reveal{
  opacity:0;
  transform:translateY(28px);
  transition:
    opacity .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms),
    transform .75s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms);
}

.scroll-reveal.is-revealed{
  opacity:1;
  transform:translateY(0);
}

/* Hero appears immediately and smoothly */
.hero-pro .scroll-reveal{
  transition-duration:.9s;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .site-fire{
    animation:none !important;
  }
  .scroll-reveal{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}

@media(max-width:1200px){
  .site-fire{
    width:110px;
    opacity:.42;
  }
}

@media(max-width:900px){
  .site-fire-frame{
    display:none;
  }

  .header-logo--designer{
    height:66px !important;
    max-width:105px !important;
  }

  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }
}

@media(max-width:640px){
  .header-logo--designer{
    height:56px !important;
    max-width:90px !important;
  }
}


/* =========================================================
   V7 — EXACT FK ICON + FOOTER CENTER WATERMARK
   ========================================================= */

/* Exact icon-only logo in header */
.header-logo--icon-only{
  display:block !important;
  height:78px !important;
  width:auto !important;
  max-width:110px !important;
  object-fit:contain !important;
}

/* Footer watermark requested by designer */
footer{
  position:relative !important;
  overflow:hidden !important;
}

.footer-fk-watermark{
  position:absolute !important;
  left:50% !important;
  bottom:-48px !important;
  transform:translateX(-50%) !important;
  width:250px !important;
  height:auto !important;
  opacity:.085 !important;
  pointer-events:none !important;
  z-index:0 !important;
  filter:none !important;
}

/* Keep footer content above the watermark */
footer .container,
footer .footer-grid,
footer .footer-bottom{
  position:relative !important;
  z-index:2 !important;
}

/* Bring menu slightly closer to the small symbol */
.nav-links{
  margin-left:0 !important;
  gap:34px !important;
}

/* Footer right columns aligned with lettering area of horizontal logo */
.footer-grid > div:not(:first-child){
  padding-top:54px !important;
}

@media(max-width:900px){
  .header-logo--icon-only{
    height:62px !important;
    max-width:90px !important;
  }

  .footer-fk-watermark{
    width:190px !important;
    bottom:-28px !important;
  }

  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }
}

@media(max-width:640px){
  .header-logo--icon-only{
    height:54px !important;
    max-width:78px !important;
  }

  .footer-fk-watermark{
    width:150px !important;
    opacity:.06 !important;
  }
}


/* =========================================================
   V8 — EXACT BRAND ASSETS / REAL SIDE FIRE STAGE
   ========================================================= */

/* Header: exact supplied horizontal transparent logo */
.header-logo--horizontal{
  display:block !important;
  width:170px !important;
  max-width:170px !important;
  height:auto !important;
  object-fit:contain !important;
}

/* Bring menu down/closer to the logo as designer requested */
.nav-inner{
  align-items:center !important;
}
.nav-links{
  margin-left:22px !important;
  gap:34px !important;
  transform:translateY(5px);
}

/* Homepage central stage narrower so flame gutters are genuinely visible */
.home-pro{
  width:min(74vw,1500px) !important;
  max-width:1500px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  position:relative !important;
  overflow:visible !important;
  background:#020202 !important;
  z-index:2 !important;
}

/* Animated side flames belong to the homepage content stage only */
.home-fire-frame{
  position:absolute;
  top:0;
  left:50%;
  width:100vw;
  height:100%;
  transform:translateX(-50%);
  pointer-events:none;
  overflow:hidden;
  z-index:-1;
}

.home-fire{
  position:absolute;
  top:0;
  bottom:0;
  width:15vw;
  min-width:150px;
  max-width:300px;
  background-repeat:repeat-y;
  background-size:100% auto;
  filter:saturate(1.25) contrast(1.12) brightness(1.04);
  opacity:.95;
  will-change:background-position,transform,filter,opacity;
}

.home-fire--left{
  left:0;
  background-image:url('../assets/images/flame-side-left.png');
  background-position:center 0;
  animation:fkFlameScrollLeft 5.8s ease-in-out infinite alternate;
}

.home-fire--right{
  right:0;
  background-image:url('../assets/images/flame-side-right.png');
  background-position:center 0;
  animation:fkFlameScrollRight 6.2s ease-in-out infinite alternate;
}

@keyframes fkFlameScrollLeft{
  0%{background-position:center 0;transform:scale(1.02);filter:saturate(1.12) brightness(.95);}
  50%{background-position:center -90px;transform:scale(1.07);filter:saturate(1.42) brightness(1.12);}
  100%{background-position:center -35px;transform:scale(1.03);filter:saturate(1.22) brightness(1.02);}
}

@keyframes fkFlameScrollRight{
  0%{background-position:center -40px;transform:scale(1.03);filter:saturate(1.18) brightness(.98);}
  55%{background-position:center -125px;transform:scale(1.08);filter:saturate(1.45) brightness(1.14);}
  100%{background-position:center -60px;transform:scale(1.02);filter:saturate(1.25) brightness(1.03);}
}

/* Footer: exact same transparent logo supplied by user */
.footer-brand-logo--horizontal{
  display:block !important;
  width:290px !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}

/* Footer tone: deeper burgundy, subtle as designer mockup */
footer{
  position:relative !important;
  overflow:visible !important;
  background:
    linear-gradient(180deg,rgba(84,0,0,.96),rgba(69,0,0,.98)) !important;
}

/* Huge centered FK watermark, extends upward into black section */
.footer-fk-watermark--large{
  position:absolute !important;
  left:50% !important;
  top:-175px !important;
  bottom:auto !important;
  transform:translateX(-50%) !important;
  width:520px !important;
  max-width:none !important;
  height:auto !important;
  opacity:.055 !important;
  pointer-events:none !important;
  z-index:0 !important;
  filter:none !important;
}

/* Footer content above watermark */
footer .container,
footer .footer-grid,
footer .footer-bottom{
  position:relative !important;
  z-index:2 !important;
}

/* Align footer columns to the lettering area of the horizontal logo */
.footer-grid{
  align-items:start !important;
  grid-template-columns:1.3fr .85fr 1fr 1fr !important;
  gap:46px !important;
}
.footer-grid > div:not(:first-child){
  padding-top:48px !important;
}

/* Keep footer logo compact and description below it */
.footer-grid > div:first-child > p{
  margin-top:16px !important;
  max-width:350px !important;
}

/* Hide the old fixed flames from previous versions */
.site-fire-frame{
  display:none !important;
}

@media(max-width:1200px){
  .home-pro{
    width:84vw !important;
  }
  .home-fire{
    width:10vw;
    min-width:90px;
    opacity:.72;
  }
  .footer-fk-watermark--large{
    width:420px !important;
    top:-125px !important;
  }
}

@media(max-width:900px){
  .home-pro{
    width:100% !important;
  }
  .home-fire-frame{
    display:none !important;
  }
  .header-logo--horizontal{
    width:145px !important;
    max-width:145px !important;
  }
  .nav-links{
    transform:none !important;
    margin-left:0 !important;
  }
  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }
}

@media(max-width:640px){
  .header-logo--horizontal{
    width:125px !important;
    max-width:125px !important;
  }
  .footer-brand-logo--horizontal{
    width:250px !important;
    margin:0 auto !important;
  }
  .footer-fk-watermark--large{
    width:300px !important;
    top:-70px !important;
    opacity:.04 !important;
  }
}


/* =========================================================
   V9 — CLEAN DESIGNER REVISION
   Focus only on HEADER + FOOTER. No flames.
   ========================================================= */

/* Remove every flame treatment from previous revisions */
.site-fire-frame,
.home-fire-frame,
.site-fire,
.home-fire{
  display:none !important;
  background-image:none !important;
  animation:none !important;
}

/* Restore site to full-width clean black layout */
.home-pro{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
  background:#020202 !important;
  overflow:hidden !important;
}

/* HEADER — exact horizontal transparent logo */
.header-logo--final-brand{
  display:block !important;
  width:175px !important;
  max-width:175px !important;
  height:auto !important;
  object-fit:contain !important;
}

/* Bring navigation lower and closer to the logo, per designer note */
.nav-inner{
  align-items:center !important;
  column-gap:22px !important;
}

.nav-links{
  margin-left:12px !important;
  gap:34px !important;
  transform:translateY(6px) !important;
}

/* FOOTER — cleaner burgundy tone */
footer{
  position:relative !important;
  overflow:visible !important;
  background:
    linear-gradient(180deg,#720000 0%,#5a0000 100%) !important;
  border-top:1px solid rgba(255,75,75,.18) !important;
}

/* Exact transparent horizontal logo supplied by user */
.footer-brand-logo--final{
  display:block !important;
  width:300px !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}

/* Large FK mark centered, barely visible, extending into black area */
.footer-fk-watermark--designer{
  position:absolute !important;
  left:50% !important;
  top:-165px !important;
  transform:translateX(-50%) !important;
  width:500px !important;
  max-width:none !important;
  height:auto !important;
  opacity:.045 !important;
  pointer-events:none !important;
  z-index:0 !important;
  filter:none !important;
}

/* Footer content stays above watermark */
footer .container,
footer .footer-grid,
footer .footer-bottom{
  position:relative !important;
  z-index:2 !important;
}

/* Align footer headings to the lettering area of logo */
.footer-grid{
  grid-template-columns:1.3fr .8fr 1fr 1fr !important;
  gap:46px !important;
  align-items:start !important;
}

.footer-grid > div:first-child{
  min-width:0 !important;
}

.footer-grid > div:not(:first-child){
  padding-top:50px !important;
}

.footer-grid h4{
  margin-top:0 !important;
}

/* Company copy under logo */
.footer-grid > div:first-child > p{
  margin-top:16px !important;
  max-width:350px !important;
}

/* Keep footer bottom elegant */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12) !important;
  margin-top:36px !important;
  padding-top:22px !important;
}

/* Keep scroll reveals from v6/v7 */
.scroll-reveal{
  will-change:opacity,transform;
}

@media(max-width:1100px){
  .header-logo--final-brand{
    width:150px !important;
    max-width:150px !important;
  }

  .nav-links{
    transform:none !important;
    margin-left:0 !important;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }

  .footer-fk-watermark--designer{
    width:400px !important;
    top:-120px !important;
  }
}

@media(max-width:640px){
  .header-logo--final-brand{
    width:128px !important;
    max-width:128px !important;
  }

  .footer-grid{
    grid-template-columns:1fr !important;
  }

  .footer-brand-logo--final{
    width:250px !important;
    margin:0 auto !important;
  }

  footer .brand{
    justify-content:center !important;
  }

  .footer-grid > div:first-child > p{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .footer-fk-watermark--designer{
    width:280px !important;
    top:-65px !important;
    opacity:.035 !important;
  }
}


/* =========================================================
   V10 — HISTORY PAGE + DESIGNER HEADER/FOOTER FINAL
   ========================================================= */

/* HEADER */
.header-logo--final-brand{
  width:165px !important;
  max-width:165px !important;
}

.nav-inner{
  min-height:86px !important;
}

.nav-links{
  transform:translateY(4px) !important;
  margin-left:10px !important;
  gap:30px !important;
}

/* FOOTER — compact like designer */
footer{
  padding-top:28px !important;
  padding-bottom:18px !important;
  background:linear-gradient(180deg,#680000 0%,#520000 100%) !important;
  overflow:visible !important;
}

.footer-grid{
  grid-template-columns:1.2fr .75fr .95fr .95fr !important;
  gap:34px !important;
  align-items:start !important;
}

.footer-brand-logo--final{
  width:255px !important;
}

.footer-grid > div:not(:first-child){
  padding-top:34px !important;
}

.footer-grid > div:first-child > p{
  margin-top:12px !important;
  font-size:.92rem !important;
  line-height:1.45 !important;
}

.footer-grid h4{
  font-size:1rem !important;
  margin-bottom:12px !important;
}

.footer-grid li,
.footer-grid p{
  font-size:.9rem !important;
}

.footer-bottom{
  margin-top:24px !important;
  padding-top:16px !important;
  font-size:.82rem !important;
}

/* Large central watermark */
.footer-fk-watermark--designer{
  top:-145px !important;
  width:420px !important;
  opacity:.035 !important;
}

/* HISTORY PAGE */
.history-page{
  background:#050505;
  color:#fff;
}

.history-hero{
  padding:145px 0 90px;
  background:
    radial-gradient(circle at 76% 28%,rgba(237,23,28,.15),transparent 28%),
    linear-gradient(180deg,#070707,#0a0505);
  border-bottom:1px solid rgba(237,23,28,.25);
}

.history-hero-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
  gap:70px;
}

.history-hero-copy h1{
  font-size:clamp(3.2rem,6vw,6rem);
  margin:0 0 20px;
  letter-spacing:-.03em;
}

.history-hero-copy p{
  max-width:720px;
  color:#c9c2bd;
  font-size:1.15rem;
  line-height:1.7;
}

.history-hero-mark{
  display:flex;
  justify-content:center;
}

.history-hero-mark img{
  width:320px;
  opacity:.10;
}

.history-timeline-section{
  padding:90px 0;
}

.history-intro{
  max-width:800px;
  margin-bottom:54px;
}

.history-intro span{
  color:#ed171c;
  letter-spacing:.12em;
  font-size:.82rem;
}

.history-intro h2{
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:1.08;
  margin:12px 0 0;
}

.history-timeline{
  display:grid;
  gap:28px;
}

.history-step{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:32px;
  align-items:stretch;
}

.history-year{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  padding-top:30px;
  color:#ed171c;
  font-size:1rem;
  font-weight:700;
  letter-spacing:.08em;
}

.history-card{
  position:relative;
  padding:34px 38px 34px 86px;
  border:1px solid rgba(237,23,28,.25);
  border-radius:14px;
  background:linear-gradient(180deg,#121212,#0c0c0c);
}

.history-number{
  position:absolute;
  left:24px;
  top:28px;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#ed171c;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}

.history-card h3{
  font-size:1.7rem;
  margin:0 0 12px;
}

.history-card p{
  color:#bdb7b2;
  line-height:1.7;
  margin:0;
}

.history-legacy{
  padding:70px 0 90px;
  background:#0a0a0a;
  border-top:1px solid rgba(237,23,28,.18);
}

.history-legacy-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:end;
}

.history-legacy h2{
  font-size:clamp(2rem,4vw,3.7rem);
  line-height:1.1;
  margin:12px 0 0;
}

.history-legacy p{
  color:#bbb5b0;
  line-height:1.75;
  font-size:1.05rem;
}

/* Fade-in consistency */
.scroll-reveal{
  opacity:0;
  transform:translateY(26px);
}

.scroll-reveal.is-revealed{
  opacity:1;
  transform:none;
}

@media(max-width:900px){
  .history-hero-grid,
  .history-legacy-grid{
    grid-template-columns:1fr;
  }

  .history-hero-mark{
    justify-content:flex-start;
  }

  .history-step{
    grid-template-columns:1fr;
    gap:10px;
  }

  .history-year{
    justify-content:flex-start;
    padding-top:0;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }
}

@media(max-width:640px){
  .history-hero{
    padding:110px 18px 60px;
  }

  .history-hero-mark img{
    width:220px;
  }

  .history-timeline-section,
  .history-legacy{
    padding:60px 0;
  }

  .history-card{
    padding:28px 22px 28px 68px;
  }

  .history-number{
    left:16px;
    top:24px;
  }

  .footer-grid{
    grid-template-columns:1fr !important;
  }
}


/* =========================================================
   V11 — FOOTER ALIGNMENT + LARGE WATERMARK + HISTORY IMAGES
   ========================================================= */

footer{
  position:relative !important;
  overflow:visible !important;
  padding-top:34px !important;
  padding-bottom:16px !important;
  background:linear-gradient(180deg,#690000 0%,#540000 100%) !important;
}

.footer-grid{
  display:grid !important;
  grid-template-columns:1.32fr .76fr .96fr .96fr !important;
  gap:42px !important;
  align-items:start !important;
}

.footer-brand-logo--final{
  width:285px !important;
  max-width:100% !important;
  height:auto !important;
  display:block !important;
}

.footer-grid > div:not(:first-child){
  padding-top:72px !important;
}

.footer-grid h4{
  margin:0 0 12px !important;
  line-height:1.15 !important;
}

.footer-grid > div:first-child > p{
  margin-top:14px !important;
  max-width:350px !important;
  line-height:1.5 !important;
}

.footer-fk-watermark--designer{
  position:absolute !important;
  left:50% !important;
  top:-265px !important;
  transform:translateX(-50%) !important;
  width:760px !important;
  max-width:none !important;
  height:auto !important;
  opacity:.028 !important;
  pointer-events:none !important;
  z-index:0 !important;
  filter:none !important;
}

footer .container,
footer .footer-grid,
footer .footer-bottom{
  position:relative !important;
  z-index:2 !important;
}

.footer-bottom{
  margin-top:26px !important;
  padding-top:15px !important;
}

/* HISTORY */
.history-card{
  overflow:hidden !important;
  padding:0 !important;
  position:relative !important;
}

.history-card-image{
  width:100%;
  height:260px;
  overflow:hidden;
  border-bottom:1px solid rgba(237,23,28,.22);
  position:relative;
}

.history-card-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(8,8,8,.45) 100%);
}

.history-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease;
}

.history-card-image--1 img{
  filter:sepia(.58) saturate(.65) contrast(1.06) brightness(.78);
}

.history-card-image--2 img{
  filter:saturate(.72) contrast(1.08) brightness(.8);
}

.history-card-image--3 img{
  filter:saturate(1.02) contrast(1.08) brightness(.82);
}

.history-card:hover .history-card-image img{
  transform:scale(1.035);
}

.history-card .history-number{
  position:absolute !important;
  left:26px !important;
  top:232px !important;
  z-index:3 !important;
}

.history-card h3,
.history-card p{
  margin-left:84px !important;
  margin-right:34px !important;
}

.history-card h3{
  margin-top:32px !important;
  margin-bottom:12px !important;
}

.history-card p{
  margin-bottom:34px !important;
}

.history-step{
  grid-template-columns:150px 1fr !important;
  gap:30px !important;
}

.history-year{
  padding-top:18px !important;
}

@media(max-width:1100px){
  .footer-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }

  .footer-fk-watermark--designer{
    width:560px !important;
    top:-180px !important;
  }
}

@media(max-width:700px){
  .footer-grid{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }

  .footer-brand-logo--final{
    width:250px !important;
    margin:0 auto !important;
  }

  .footer-grid > div:first-child{
    text-align:center !important;
  }

  .footer-grid > div:first-child > p{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .footer-fk-watermark--designer{
    width:340px !important;
    top:-90px !important;
    opacity:.022 !important;
  }

  .history-step{
    grid-template-columns:1fr !important;
  }

  .history-card-image{
    height:210px;
  }

  .history-card .history-number{
    top:182px !important;
  }

  .history-card h3,
  .history-card p{
    margin-left:70px !important;
    margin-right:22px !important;
  }
}


/* =========================================================
   V12 — FOOTER FINE ALIGNMENT FROM DESIGNER MOCKUP
   ========================================================= */

/*
  Target:
  - "formula karras" lettering baseline aligns with Πλοήγηση / Επικοινωνία / Διεύθυνση headings
  - tighter vertical spacing in footer links
  - company tagline aligns horizontally with footer contact content
  - center FK watermark slightly more visible
*/

/* Footer grid */
.footer-grid{
  grid-template-columns:1.34fr .78fr .96fr .96fr !important;
  gap:40px !important;
  align-items:start !important;
}

/* Visible logo size */
.footer-brand-logo--final{
  width:285px !important;
  max-width:100% !important;
  height:auto !important;
  display:block !important;
}

/*
  Align right column headings with the top of the
  "formula karras" lettering — not with the top of the FK symbol.
*/
.footer-grid > div:not(:first-child){
  padding-top:64px !important;
}

/* Tighter link spacing */
.footer-grid ul{
  margin:0 !important;
  padding:0 !important;
}

.footer-grid li{
  margin:0 0 8px !important;
  line-height:1.35 !important;
}

.footer-grid li:last-child{
  margin-bottom:0 !important;
}

/* Headings compact */
.footer-grid h4{
  margin:0 0 14px !important;
  line-height:1.15 !important;
}

/*
  Left company copy lowered so "Ολοκληρωμένες λύσεις πυροπροστασίας"
  sits on the same visual horizontal line as the contact column's
  lower content / email region, per mockup.
*/
.footer-grid > div:first-child > p{
  margin-top:26px !important;
  max-width:360px !important;
  line-height:1.45 !important;
}

/* Large central FK watermark — slightly more visible */
.footer-fk-watermark--designer{
  width:760px !important;
  top:-265px !important;
  opacity:.045 !important;
}

/* Footer bottom stays compact */
.footer-bottom{
  margin-top:22px !important;
  padding-top:14px !important;
}

/* Slightly reduce visual density */
.footer-grid{
  padding-top:4px !important;
}

/* Responsive */
@media(max-width:1100px){
  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }

  .footer-fk-watermark--designer{
    opacity:.038 !important;
  }
}

@media(max-width:700px){
  .footer-grid li{
    margin-bottom:7px !important;
  }

  .footer-grid > div:first-child > p{
    margin-top:18px !important;
  }

  .footer-fk-watermark--designer{
    opacity:.03 !important;
  }
}

/* =========================================================
   V13 — HEADER: MENU BROUGHT DOWN / CLOSE TO LOGO
   + FOOTER: "Επικοινωνία" CTA link under company blurb
   (per designer markup notes)
   ========================================================= */

/* Group logo + menu together on the left instead of spreading
   them across the full header width; push phone/CTA/burger to
   the far right on their own. */
.nav-inner{
  justify-content:flex-start !important;
  gap:44px !important;
}
.nav-links{
  margin-left:0 !important;
  transform:none !important;
}
.nav-cta{
  margin-left:auto !important;
}

/* Watermark: make sure the emblem actually reads on screen */
.footer-fk-watermark--designer{
  opacity:.07 !important;
}
@media(max-width:1100px){
  .footer-fk-watermark--designer{ opacity:.06 !important; }
}
@media(max-width:700px){
  .footer-fk-watermark--designer{ opacity:.05 !important; }
}

/* =========================================================
   V14 — PRECISE TEXT ALIGNMENT (measured from the logo PNG)

   The logo file (brand-red-white-final.png, 1078x636) has the
   flame icon spanning nearly its full height, with the
   "formula karras" wordmark sitting lower, centered around
   65.7% down the canvas, and the tagline near the bottom.
   Because of that, simply centering/top-aligning the whole
   image (as before) put the actual wordmark text out of line
   with real HTML text next to it. Fixed with measured offsets
   instead of guessing.
   ========================================================= */

/* HEADER — shift the image so the "formula karras" wordmark's
   own center lines up with the nav menu's center, not the
   image's geometric center. */
.header-logo--final-brand{
  transform: translateY(-15.7%) !important;
}

/* FOOTER — logo sized down so the wordmark can sit level with
   the column headings AND leave room for the company blurb to
   sit level with the contact column, without overlapping the
   logo artwork itself. */
.footer-brand-logo--final{
  width:170px !important;
  height:auto !important;
}
.footer-grid > div:first-child .brand{
  margin-bottom:0 !important;
}
.footer-grid > div:not(:first-child){
  padding-top:50px !important;
}
.footer-grid > div:first-child > p{
  margin-top:-18px !important;
}

@media(max-width:1100px){
  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }
  .footer-grid > div:first-child > p{
    margin-top:14px !important;
  }
}
@media(max-width:700px){
  .footer-brand-logo--final{
    width:170px !important;
    margin:0 auto !important;
  }
  .footer-grid > div:first-child > p{
    margin-top:14px !important;
  }
}

/* =========================================================
   V15 — FOOTER PARAGRAPH: robust bottom-anchor instead of a
   guessed pixel offset.

   The negative margin in V14 was wrong — it pulled the
   paragraph up so far it overlapped the logo artwork itself.
   What's actually wanted: the paragraph should sit cleanly
   below the logo, and its LAST line should finish level with
   the bottom of the Πλοήγηση / Επικοινωνία / Διεύθυνση lists
   on the right.

   Instead of guessing another pixel number, this makes column
   1 stretch to the row's full height (like the other columns
   already implicitly do) and turns it into a flex column with
   the logo pinned to the top and the paragraph pushed to the
   bottom via margin-top:auto — so it always lines up with
   whichever column is tallest, regardless of copy length.
   Desktop (3-4 column row) only; mobile keeps stacking normally.
   ========================================================= */
@media(min-width:1101px){
  .footer-grid{
    align-items:stretch !important;
  }
  .footer-grid > div:first-child{
    display:flex !important;
    flex-direction:column !important;
  }
  .footer-grid > div:first-child > .brand{
    margin-bottom:0 !important;
  }
  .footer-grid > div:first-child > p{
    margin-top:auto !important;
    margin-bottom:0 !important;
  }
}

/* =========================================================
   V16 — Footer logo a little bigger. Placed after V14 so it
   actually wins the cascade (an earlier attempt at this lived
   before V14 and was being overridden by V14's width:170px —
   that's why the size change wasn't visible). The heading
   offset is scaled by the same ratio as the width change, so
   the column headings stay level with the wordmark.
   ========================================================= */
.footer-brand-logo--final{
  width:230px !important;
}
.footer-grid > div:not(:first-child){
  padding-top:67px !important;
}
@media(max-width:1100px){
  .footer-grid > div:not(:first-child){
    padding-top:0 !important;
  }
}
@media(max-width:700px){
  .footer-brand-logo--final{
    width:210px !important;
    margin:0 auto !important;
  }
}

/* =========================================================
   V17 — Align hero copy with the REAL header logo position.
   .nav-inner's effective box (checked directly in this file) is
   max-width:1600px with 34px side padding — a later rule overrides
   the base --maxw:1180px value that plain .container elements use.
   The history hero was built on .container (1180px), so its H1 was
   lining up with a nav LINK instead of the logo. Matching nav-inner's
   real numbers here fixes that, without touching .container itself
   (which is used all over the site for unrelated things).
   ========================================================= */
.history-hero-grid{
  max-width:1600px !important;
  padding-left:34px !important;
  padding-right:34px !important;
}
@media(max-width:640px){
  .history-hero-grid{
    padding-left:16px !important;
    padding-right:16px !important;
  }
}


/* =========================================================
   V-TEXT — Αλλαγές μετά τις παρατηρήσεις πελάτη
   ========================================================= */
/* Μεγαλύτερη γραμματοσειρά στο μενού */
@media(min-width:901px){
  .nav-links a{ font-size:1.08rem !important; white-space:nowrap; }
  .nav-phone, .nav-phone span{ white-space:nowrap; }
}
/* Ιστορία: καταργήθηκαν οι ετικέτες "1η/2η/3η γενιά" */
.history-step{ grid-template-columns:1fr !important; }
.history-card p{ margin-bottom:14px !important; }
.history-card p:last-child{ margin-bottom:34px !important; }
.history-subhead{ margin:26px 34px 10px 84px; color:#f3f2ef; font-size:1.15rem; font-weight:700; }
@media(max-width:700px){ .history-subhead{ margin-left:0; margin-right:0; } }
@media(min-width:901px) and (max-width:1500px){ .nav-links{ gap:26px !important; } }

@media(min-width:1101px){.inner-hero-split,.inner-hero-media{min-height:590px}}
