/* ================================================
   SUPERLINK WIRE & CABLES — LIGHT THEME
   ================================================ */

/* Google Fonts — loads when online, falls back gracefully when offline */
/* Fonts are loaded non-blocking via <link> tags in each HTML page */

:root {
  --red:       #C8102E;
  --red-dark:  #9B0C22;
  --red-light: #FF1A35;
  --red-pale:  #FFF0F2;
  --white:     #FFFFFF;
  --off:       #F8F8F6;
  --light:     #F2F2EF;
  --border:    #E8E8E4;
  --text:      #1A1A1A;
  --text2:     #444444;
  --text3:     #777777;
  --gold:      #D4880A;
  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  /* Font stacks: Barlow when online, system condensed fonts when offline */
  --fh: 'Barlow Condensed','Arial Narrow','Impact',Arial,sans-serif;
  --fb: 'Barlow','Segoe UI',Arial,sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--fb); background:var(--white); color:var(--text); overflow-x:hidden; }
img { max-width:100%; display:block; }
a { text-decoration:none; }

/* ── NO LOADER CSS ── 
   Loader is handled by the .loader-logo-css div with simple fade only.
   We do NOT use body::before/after as they can get stuck as white overlays.
── */
.loader-logo-css {
  position:fixed; inset:0; z-index:9000;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
  background:#fff;
  opacity:1;
  animation: loaderOut 0.6s ease 1.0s forwards;
}
.loader-logo-css img {
  height:80px; width:auto; max-width:220px;
  object-fit:contain;
}
@keyframes loaderOut {
  0%   { opacity:1; }
  100% { opacity:0; }
}

/* ── SCROLL REVEAL — content ALWAYS visible by default ──
   The .visible class is added by JS for enhanced animation.
   Without JS, everything shows normally at full opacity.
── */
.reveal        { opacity:1; transform:none; }
.reveal-left   { opacity:1; transform:none; }
.reveal-right  { opacity:1; transform:none; }
.reveal-scale  { opacity:1; transform:none; }

/* Only animate if JS is running (it adds .js-ready to body) */
body.js-ready .reveal        { opacity:0; transform:translateY(28px); transition:opacity .65s ease, transform .65s ease; }
body.js-ready .reveal-left   { opacity:0; transform:translateX(-28px); transition:opacity .65s ease, transform .65s ease; }
body.js-ready .reveal-right  { opacity:0; transform:translateX(28px); transition:opacity .65s ease, transform .65s ease; }
body.js-ready .reveal-scale  { opacity:0; transform:scale(.95); transition:opacity .65s ease, transform .65s ease; }
body.js-ready .reveal.visible       { opacity:1; transform:none; }
body.js-ready .reveal-left.visible  { opacity:1; transform:none; }
body.js-ready .reveal-right.visible { opacity:1; transform:none; }
body.js-ready .reveal-scale.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:.08s !important; }
.delay-2 { transition-delay:.16s !important; }
.delay-3 { transition-delay:.24s !important; }
.delay-4 { transition-delay:.32s !important; }
.delay-5 { transition-delay:.40s !important; }
.delay-6 { transition-delay:.48s !important; }


/* ── NAVBAR ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(255,255,255,0.97); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 40px; height:72px;
  transition:box-shadow .3s, background .3s;
}
nav.scrolled { box-shadow:0 4px 24px rgba(0,0,0,0.08); background:#fff; }

/* Logo image */
.nav-logo { display:flex; align-items:center; gap:0; text-decoration:none; flex-shrink:0; }
.nav-logo-img {
  height:52px; width:auto; max-width:200px;
  object-fit:contain; display:block;
}
.nav-logo-fallback { display:flex; align-items:center; gap:12px; }
.footer-logo-img {
  height:44px; width:auto; max-width:180px;
  object-fit:contain; display:block;
  /* Logo has white bg — invert on dark footer */
  filter:brightness(0) invert(1);
  opacity:0.9;
}
.loader-logo-img {
  height:48px; width:auto; max-width:160px;
  object-fit:contain; display:block;
  filter:brightness(0) invert(1);
}

.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-logo-icon {
  width:42px; height:42px; background:var(--red);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--fh); font-weight:900; font-size:18px; color:#fff;
  clip-path:polygon(10% 0%,90% 0%,100% 50%,90% 100%,10% 100%,0% 50%);
  flex-shrink:0;
}
.nav-logo-text span:first-child {
  font-family:var(--fh); font-weight:800; font-size:18px; color:var(--text);
  letter-spacing:1.5px; text-transform:uppercase; display:block;
}
.nav-logo-text span:last-child { font-size:9px; color:var(--red); letter-spacing:3px; text-transform:uppercase; display:block; }

.nav-links { display:flex; align-items:center; gap:2px; }
.nav-links a {
  color:var(--text2); font-family:var(--fh); font-weight:600; font-size:13px;
  letter-spacing:1.5px; text-transform:uppercase; padding:8px 14px;
  transition:color .2s; position:relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:14px; right:14px;
  height:2px; background:var(--red); transform:scaleX(0); transition:transform .2s;
}
.nav-links a:hover, .nav-links a.active { color:var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { transform:scaleX(1); }
.nav-cta {
  background:var(--red) !important; color:#fff !important;
  padding:10px 20px !important; font-family:var(--fh); font-weight:700;
  font-size:13px; letter-spacing:1px; text-transform:uppercase;
  transition:background .2s !important; margin-left:8px;
}
.nav-cta::after { display:none !important; }
.nav-cta:hover { background:var(--red-dark) !important; }

.nav-hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; }
.nav-hamburger span { width:24px; height:2px; background:var(--text); display:block; transition:all .3s; }
.nav-hamburger.open span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2){ opacity:0; }
.nav-hamburger.open span:nth-child(3){ transform:rotate(-45deg) translate(5px,-5px); }

/* ── SECTIONS ── */
.section { padding:100px 80px; }
.section-sm { padding:70px 80px; }
.section-off { background:var(--off); }
.section-light { background:var(--light); }

.section-label {
  font-family:var(--fh); font-weight:700; font-size:11px;
  letter-spacing:4px; text-transform:uppercase; color:var(--red);
  margin-bottom:10px; display:block;
}
.section-title {
  font-family:var(--fh); font-weight:900;
  font-size:clamp(34px,4vw,54px); text-transform:uppercase;
  letter-spacing:-0.5px; line-height:1; margin-bottom:12px; color:var(--text);
}
.title-bar { width:52px; height:4px; background:var(--red); margin-bottom:36px; }
.text-red { color:var(--red); }

/* ── BUTTONS ── */
.btn-primary {
  background:var(--red); color:#fff; border:none; cursor:pointer;
  font-family:var(--fh); font-weight:700; font-size:14px; letter-spacing:2px;
  text-transform:uppercase; padding:14px 32px;
  display:inline-flex; align-items:center; gap:8px; transition:all .25s;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%);
}
.btn-primary:hover { background:var(--red-dark); transform:translateX(4px); }

.btn-outline {
  background:transparent; color:var(--text); border:2px solid var(--border); cursor:pointer;
  font-family:var(--fh); font-weight:700; font-size:14px; letter-spacing:2px;
  text-transform:uppercase; padding:12px 30px;
  display:inline-flex; align-items:center; gap:8px; transition:all .25s;
}
.btn-outline:hover { border-color:var(--red); color:var(--red); }

.btn-white {
  background:#fff; color:var(--red); border:none; cursor:pointer;
  font-family:var(--fh); font-weight:700; font-size:14px; letter-spacing:2px;
  text-transform:uppercase; padding:14px 32px; flex-shrink:0;
  display:inline-flex; align-items:center; gap:8px; transition:all .25s;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,0 100%);
}
.btn-white:hover { background:var(--text); color:#fff; }

.btn-read {
  font-family:var(--fh); font-weight:700; font-size:12px; letter-spacing:2px;
  text-transform:uppercase; color:var(--red); display:inline-flex; align-items:center; gap:6px;
  transition:gap .2s;
}
.btn-read:hover { gap:12px; }

/* ── CTA BAND ── */
.cta-band {
  background:var(--red); padding:60px 80px;
  display:flex; align-items:center; justify-content:space-between; gap:40px;
}
.cta-band h2 { font-family:var(--fh); font-weight:900; font-size:38px; color:#fff; text-transform:uppercase; line-height:1; }
.cta-band p { color:rgba(255,255,255,.8); font-size:15px; margin-top:8px; }

/* ── FORM ── */
.form-group { display:flex; flex-direction:column; gap:7px; }
.form-group label { font-family:var(--fh); font-weight:600; font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--text3); }
.form-group input, .form-group textarea, .form-group select {
  background:var(--white); border:1.5px solid var(--border); color:var(--text);
  padding:13px 16px; font-family:var(--fb); font-size:14px; outline:none;
  transition:border-color .2s; border-radius:0;
}
.form-group input::placeholder, .form-group textarea::placeholder { color:#bbb; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--red); }
.form-group textarea { resize:vertical; min-height:120px; }
.btn-submit {
  background:var(--red); color:#fff; border:none; cursor:pointer;
  font-family:var(--fh); font-weight:700; font-size:14px; letter-spacing:2px;
  text-transform:uppercase; padding:14px 36px; align-self:flex-start;
  display:inline-flex; align-items:center; gap:8px; transition:background .2s;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);
}
.btn-submit:hover { background:var(--red-dark); }
.btn-submit:disabled { background:#ccc; cursor:not-allowed; }

/* ── FOOTER ── */
footer { background:var(--text); padding:80px 80px 36px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 2fr; gap:56px; margin-bottom:52px; }
.footer-brand p { color:#888; font-size:14px; line-height:1.75; margin:16px 0; }
.footer-col h5 {
  font-family:var(--fh); font-weight:800; font-size:13px; letter-spacing:2px;
  text-transform:uppercase; color:#fff; margin-bottom:20px;
  padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.footer-col ul li a { color:#888; font-size:13px; transition:color .2s; display:flex; align-items:center; gap:7px; }
.footer-col ul li a::before { content:'›'; color:var(--red); }
.footer-col ul li a:hover { color:#fff; }
.footer-contact { display:flex; flex-direction:column; gap:14px; }
.footer-contact-item { display:flex; gap:12px; align-items:flex-start; }
.footer-contact-item .fc-icon { color:var(--red); font-size:15px; flex-shrink:0; margin-top:2px; }
.footer-contact-item span { color:#888; font-size:13px; line-height:1.65; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.07); padding-top:26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
}
.footer-bottom p { color:#555; font-size:12px; }
.footer-bottom span { color:var(--red); }

/* ── TOAST ── */
.toast {
  position:fixed; bottom:28px; right:28px; z-index:9999;
  background:#fff; color:var(--text); padding:14px 20px;
  border-left:4px solid var(--red); box-shadow:var(--shadow-lg);
  font-size:14px; max-width:340px;
  transform:translateY(60px); opacity:0; transition:all .4s ease;
}
.toast.show { transform:translateY(0); opacity:1; }
.toast.success { border-left-color:#22c55e; }
.toast.error { border-left-color:var(--red); }

/* ── PAGE WRAPPER ── */
.page-wrapper { padding-top:72px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background:linear-gradient(135deg,var(--text) 0%,#2d1a00 100%);
  padding:100px 80px 80px; position:relative; overflow:hidden;
}
.page-hero-img {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0.18; filter:grayscale(30%);
}
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg,rgba(10,10,10,.85),rgba(200,16,46,.3)); }
.page-hero::after {
  content:''; position:absolute; bottom:0; left:80px; right:80px;
  height:3px; background:linear-gradient(90deg,var(--red),transparent);
}
.breadcrumb { font-size:11px; color:rgba(255,255,255,.5); letter-spacing:2px; text-transform:uppercase; margin-bottom:20px; display:flex; align-items:center; gap:8px; position:relative; z-index:2; }
.breadcrumb a { color:var(--red); transition:color .2s; }
.breadcrumb a:hover { color:#fff; }
.page-title { font-family:var(--fh); font-weight:900; font-size:clamp(48px,6vw,80px); color:#fff; text-transform:uppercase; line-height:.9; margin-bottom:18px; position:relative; z-index:2; }
.page-title b { color:var(--red); }
.page-desc { color:rgba(255,255,255,.65); font-size:16px; max-width:520px; line-height:1.7; position:relative; z-index:2; }

/* ── RESPONSIVE ── */
@media(max-width:1100px){
  nav { padding:0 24px; }
  .section,.section-sm { padding:80px 40px; }
  .page-hero { padding:80px 40px 60px; }
  .page-hero::after { left:40px; right:40px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:40px; }
  .cta-band { padding:56px 40px; }
  footer { padding:60px 40px 32px; }
}
@media(max-width:768px){
  .nav-links { display:none; position:fixed; top:72px; left:0; right:0; background:#fff; flex-direction:column; align-items:stretch; padding:16px; border-top:1px solid var(--border); gap:0; box-shadow:var(--shadow-lg); }
  .nav-links.open { display:flex; }
  .nav-links a { padding:13px 20px; border-bottom:1px solid var(--border); }
  .nav-links a::after { display:none; }
  .nav-cta { margin-left:0 !important; }
  .nav-hamburger { display:flex; }
  .section,.section-sm { padding:60px 24px; }
  .page-hero { padding:60px 24px 48px; }
  .page-hero::after { left:24px; right:24px; }
  .cta-band { padding:48px 24px; flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  footer { padding:48px 24px 28px; }
}
