/* ============================================================
   TK FERRO WIRES — MASTER STYLESHEET v2
   ============================================================
   Section Index:
   01. CSS Variables & Reset
   02. Typography
   03. Utility Classes
   04. Navigation / Header
   05. Hero / Banner
   06. Feature Strip
   07. About Section
   08. Products Section
   09. Applications Section
   10. Why Choose Us / Specs Panel
   11. Stats / Counter Section
   12. CTA Banner
   13. Contact Page
   14. Footer
   15. Animations & Scroll Reveals
   16. Responsive / Media Queries
   ============================================================ */


/* ============================================================
   01. CSS VARIABLES & RESET
   ============================================================ */
:root {
  /* Brand colours extracted from logo */
  --red:        #FF0010;
  --red-dark:   #CC0010;
  --red-light:  #FF4455;
  --blue:       #0046A3;
  --blue-dark:  #003480;

  /* UI palette */
  --navy:       #0B1929;
  --navy-mid:   #122138;
  --navy-light: #1B3050;
  --steel:      #2E4A65;
  --silver:     #7A96B0;
  --ice:        #E8EFF7;
  --white:      #FFFFFF;
  --off-white:  #F5F8FC;
  --text-dark:  #0B1929;
  --text-mid:   #3A5268;
  --text-light: #7A96B0;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --r:    6px;
  --r-lg: 14px;
  --sh:   0 4px 24px rgba(11,25,41,0.10);
  --sh-lg:0 14px 52px rgba(11,25,41,0.18);

  --ease: 0.26s cubic-bezier(0.4,0,0.2,1);
  --w:    1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: color var(--ease); }
ul   { list-style: none; }
button, input, textarea, select { font-family: var(--font-body); font-size: 1rem; }


/* ============================================================
   02. TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem,6vw,5rem); }
h2 { font-size: clamp(2rem,4vw,3rem); }
h3 { font-size: clamp(1.4rem,2.5vw,1.9rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-mid); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.6rem;
}
.lead { font-size: 1.08rem; color: var(--text-mid); max-width: 620px; }


/* ============================================================
   03. UTILITY CLASSES
   ============================================================ */
.container { max-width: var(--w); margin: 0 auto; padding: 0 2rem; }
.section   { padding: 96px 0; }
.section--dark { background: var(--navy); }
.section--dark p { color: var(--silver); }
.section--dark h2,.section--dark h3,.section--dark h4 { color: var(--white); }
.section--ice  { background: var(--off-white); }

.section-hd      { margin-bottom: 56px; }
.section-hd--c   { text-align: center; }
.section-hd--c .lead { margin: 0.8rem auto 0; }

.divider         { width: 44px; height: 4px; background: var(--red); border-radius: 2px; margin: 1rem 0; }
.divider--c      { margin: 1rem auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.82rem 1.9rem;
  border-radius: var(--r);
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; transition: all var(--ease); border: 2px solid transparent;
}
.btn-red   { background:var(--red);   color:var(--white); border-color:var(--red); }
.btn-red:hover   { background:var(--red-dark); border-color:var(--red-dark); transform:translateY(-2px); box-shadow:0 8px 28px rgba(255,0,16,.28); }
.btn-blue  { background:var(--blue);  color:var(--white); border-color:var(--blue); }
.btn-blue:hover  { background:var(--blue-dark); border-color:var(--blue-dark); transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--white); border-color:rgba(255,255,255,.38); }
.btn-ghost:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.7); }
.btn-navy  { background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-navy:hover  { background:var(--navy); color:var(--white); }
.btn::after { content:' →'; }

/* Tags */
.tag { display:inline-block; padding:.2rem .68rem; border-radius:100px; font-size:.72rem; font-weight:700; font-family:var(--font-display); letter-spacing:.07em; text-transform:uppercase; }
.tag-red  { background:rgba(255,0,16,.09); color:var(--red); }
.tag-blue { background:rgba(0,70,163,.1); color:var(--blue); }


/* ============================================================
   04. NAVIGATION / HEADER
   ============================================================ */
#header {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  transition: background var(--ease), box-shadow var(--ease);
}
#header.scrolled { background:var(--white); box-shadow:0 2px 20px rgba(11,25,41,.10); }

/* Logo */
.header-inner { display:flex; align-items:stretch; height:72px; }
.nav-logo     { display:flex; align-items:center; padding:0; flex-shrink:0; margin-right:auto; }
.nav-logo-img { height:26px; width:auto; filter:brightness(0) invert(1); transition:filter var(--ease); }
#header.scrolled .nav-logo-img { filter:none; }

/* Nav links */
nav { display:flex; align-items:center; }
nav ul { display:flex; align-items:center; gap:.15rem; }
nav a {
  font-family:var(--font-display); font-size:.88rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
  color:rgba(255,255,255,.86);
  padding:.42rem .95rem; border-radius:var(--r);
  transition:all var(--ease);
}
nav a:hover, nav a.active { color:var(--white); background:rgba(255,255,255,.12); }
#header.scrolled nav a      { color:var(--navy); }
#header.scrolled nav a:hover,
#header.scrolled nav a.active { color:var(--red); background:rgba(255,0,16,.07); }

/* CTA pill */
.nav-cta { display:flex; align-items:center; }
.nav-cta-link {
  font-family:var(--font-display); font-weight:700; font-size:.88rem;
  letter-spacing:.06em; text-transform:uppercase;
  color:var(--white) !important; background:var(--red);
  padding:0 1.9rem; height:72px; display:flex; align-items:center;
  transition:background var(--ease); white-space:nowrap;
}
.nav-cta-link:hover { background:var(--red-dark) !important; }

/* Hamburger */
.menu-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:.7rem; background:none; border:none; margin-top: 15px; }
.menu-toggle span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:all var(--ease); }
#header.scrolled .menu-toggle span { background:var(--navy); }
.menu-toggle.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity:0; }
.menu-toggle.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* Mobile drawer */
.mobile-nav { display:none; background:var(--white); padding:.5rem 1.5rem 1.8rem; box-shadow:var(--sh-lg); }
.mobile-nav ul  { flex-direction:column; gap:0; }
.mobile-nav a   { color:var(--navy); display:block; padding:.85rem 0; border-bottom:1px solid var(--ice); font-family:var(--font-display); font-weight:700; letter-spacing:.04em; text-transform:uppercase; font-size:.96rem; }
.mobile-nav .m-cta { margin-top:1rem; background:var(--red); color:var(--white) !important; border-radius:var(--r); text-align:center; padding:.85rem 0; border:none; }


/* ============================================================
   05. HERO / BANNER
   ============================================================ */
.hero {
  background: var(--navy);
  position: relative; min-height:100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 72px;
}

/* Grid overlay */
.hero-grid {
  position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,0,16,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(255,0,16,.04) 1px,transparent 1px);
  background-size:64px 64px; pointer-events:none;
}
/* Red radial glow */
.hero-glow-r { position:absolute; top:-180px; right:-80px; width:660px; height:660px; background:radial-gradient(circle,rgba(255,0,16,.17) 0%,transparent 65%); pointer-events:none; }
/* Blue radial glow */
.hero-glow-b { position:absolute; bottom:-130px; left:-100px; width:500px; height:500px; background:radial-gradient(circle,rgba(0,70,163,.13) 0%,transparent 65%); pointer-events:none; }

.hero-inner {
  position:relative; z-index:2;
  display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center;
  padding:80px 0; width:100%;
}

/* Badge */
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(255,0,16,.11); border:1px solid rgba(255,0,16,.28);
  border-radius:100px; padding:.32rem .9rem;
  font-family:var(--font-display); font-weight:700; font-size:.74rem;
  letter-spacing:.13em; text-transform:uppercase; color:#FF6677;
  margin-bottom:1.3rem;
}
.badge-dot { width:6px; height:6px; background:var(--red); border-radius:50%; animation:blink 1.6s ease-in-out infinite; flex-shrink:0; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.28;} }

.hero h1 { color:var(--white); font-size:clamp(3rem,6.5vw,5.4rem); line-height:1.0; margin-bottom:1.3rem; }
.hero h1 .acc-r { color:var(--red); }
.hero h1 .acc-b { color:#5BA8FF; }
.hero-desc { font-size:1.04rem; color:var(--silver); line-height:1.82; max-width:480px; margin-bottom:2rem; }
.hero-btns { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.8rem; }
.hero-stats { display:flex; gap:2.5rem; padding-top:2rem; border-top:1px solid rgba(255,255,255,.1); flex-wrap:wrap; }
.stat-n { font-family:var(--font-display); font-size:2.2rem; font-weight:800; color:var(--white); line-height:1; }
.stat-n span { color:var(--red); }
.stat-l { font-size:.76rem; color:var(--silver); text-transform:uppercase; letter-spacing:.08em; margin-top:.2rem; }

/* Hero right visual */
.hero-visual { display:flex; flex-direction:column; gap:1.5rem; align-items:center; }
.hero-banner-img { width:100%; max-width:580px; opacity:.88; animation:float 7s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }

/* Wire shape mini-cards */
.shape-row { display:grid; grid-template-columns:repeat(4,1fr); gap:.75rem; width:100%; max-width:580px; }
.sh-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-lg); padding:.9rem .7rem;
  text-align:center; display:flex; flex-direction:column; align-items:center; gap:.55rem;
  transition:all var(--ease);
}
.sh-card:hover { background:rgba(255,0,16,.1); border-color:rgba(255,0,16,.3); transform:translateY(-3px); }
.sh-card img { width:82px; height:52px; object-fit:contain; margin:0 auto; filter:invert(1); }
.sh-lbl { font-family:var(--font-display); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; color:var(--silver); }


/* ============================================================
   06. FEATURE STRIP
   ============================================================ */
.feature-strip { background:var(--white); border-bottom:1px solid var(--ice); }
.feat-grid  { display:grid; grid-template-columns:repeat(4,1fr); }
.feat-item  { padding:1.7rem 1.5rem; border-right:1px solid var(--ice); display:flex; align-items:flex-start; gap:.85rem; transition:background var(--ease); }
.feat-item:last-child { border-right:none; }
.feat-item:hover { background:var(--off-white); }
.feat-ico   { width:40px; height:40px; background:rgba(255,0,16,.07); border-radius:var(--r); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--red); }
.feat-item h4 { font-size:.88rem; margin-bottom:.2rem; color:var(--text-dark); }
.feat-item p  { font-size:.8rem; color:var(--text-light); line-height:1.5; }


/* ============================================================
   07. ABOUT SECTION
   ============================================================ */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.about-vis  { position:relative; }
.about-main { border-radius:var(--r-lg); overflow:hidden; background:var(--navy); aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; padding:2.5rem; }
.about-main img { width:100%; opacity:.85; }
.about-badge { position:absolute; bottom:-1.2rem; right:-1.2rem; background:var(--red); color:var(--white); border-radius:var(--r-lg); padding:1.4rem; text-align:center; box-shadow:var(--sh-lg); }
.ab-num { font-family:var(--font-display); font-size:2.4rem; font-weight:800; line-height:1; }
.ab-lbl { font-size:.7rem; opacity:.85; text-transform:uppercase; letter-spacing:.08em; margin-top:.25rem; }
.about-checks { margin-top:1.8rem; display:flex; flex-direction:column; gap:.8rem; }
.about-check  { display:flex; align-items:flex-start; gap:.7rem; font-size:.91rem; color:var(--text-mid); }
.chk-dot { width:18px; height:18px; background:rgba(255,0,16,.1); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--red); font-size:.64rem; margin-top:3px; }


/* ============================================================
   08. PRODUCTS SECTION
   ============================================================ */

/* Edge-type row */
.edge-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; margin-bottom:4rem; }
.edge-card  { background:var(--white); border:1.5px solid var(--ice); border-radius:var(--r-lg); padding:1.75rem 1.5rem; text-align:center; transition:all var(--ease); }
.edge-card:hover { border-color:var(--red); box-shadow:0 6px 24px rgba(255,0,16,.10); transform:translateY(-3px); }
.edge-img   { width:90px; height:56px; object-fit:contain; margin:0 auto 1rem; }
.edge-card h4 { font-size:.98rem; margin-bottom:.4rem; }
.edge-card p  { font-size:.82rem; }

/* Tab buttons */
.prod-tabs  { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:2rem; }
.tab-btn    { padding:.43rem 1.2rem; border-radius:100px; border:1.5px solid var(--ice); background:var(--white); font-family:var(--font-display); font-size:.82rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--text-mid); cursor:pointer; transition:all var(--ease); }
.tab-btn:hover, .tab-btn.active { background:var(--navy); border-color:var(--navy); color:var(--white); }

/* Product cards */
.prod-grid  { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.prod-card  { background:var(--white); border:1.5px solid var(--ice); border-radius:var(--r-lg); overflow:hidden; transition:all var(--ease); }
.prod-card:hover { border-color:var(--red); box-shadow:0 10px 36px rgba(255,0,16,.10); transform:translateY(-4px); }
.prod-vis   { background:var(--navy); aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; padding:1.5rem 2rem; position:relative; overflow:hidden; }
.prod-vis::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,transparent 55%,rgba(255,0,16,.12)); }
.prod-vis img   { max-width:200px; object-fit:contain; }
.prod-body      { padding:1.4rem; }
.prod-body h4   { margin:.5rem 0 .4rem; }
.prod-body p    { font-size:.86rem; margin-bottom:.8rem; }
.chips { display:flex; gap:.4rem; flex-wrap:wrap; margin-top:.7rem; }
.chip  { font-size:.7rem; padding:.17rem .55rem; background:var(--ice); border-radius:4px; color:var(--text-mid); font-weight:500; }


/* ============================================================
   09. APPLICATIONS SECTION
   ============================================================ */
.app-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
.app-card { background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:var(--r-lg); padding:1.7rem 1.4rem; transition:all var(--ease); }
.app-card:hover { background:rgba(255,0,16,.1); border-color:rgba(255,0,16,.28); transform:translateY(-3px); }
.app-ico  { font-size:1.85rem; margin-bottom:.85rem; }
.app-card h4 { color:var(--white); font-size:.96rem; margin-bottom:.3rem; }
.app-card p  { font-size:.82rem; color:var(--silver); line-height:1.6; }


/* ============================================================
   10. WHY CHOOSE US / SPECS PANEL
   ============================================================ */
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.why-list { display:flex; flex-direction:column; gap:1.25rem; margin-top:1.8rem; }
.why-item { display:flex; gap:1.2rem; align-items:flex-start; padding:1.15rem 1.2rem; border-radius:var(--r-lg); border:1.5px solid var(--ice); transition:all var(--ease); }
.why-item:hover { border-color:rgba(255,0,16,.22); box-shadow:0 4px 14px rgba(255,0,16,.07); }
.why-n    { font-family:var(--font-display); font-size:1.9rem; font-weight:800; color:rgba(255,0,16,.14); line-height:1; flex-shrink:0; min-width:2.1rem; }
.why-item h4 { margin-bottom:.25rem; }
.why-item p  { font-size:.87rem; }

.specs-panel { background:var(--navy); border-radius:var(--r-lg); padding:2.5rem; color:var(--white); position:relative; overflow:hidden; }
.specs-panel::before { content:''; position:absolute; top:-80px; right:-80px; width:320px; height:320px; background:radial-gradient(circle,rgba(255,0,16,.16) 0%,transparent 70%); }
.spec-cells { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:2rem; }
.spec-cell  { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:var(--r); padding:1.1rem; text-align:center; }
.spc-v { font-family:var(--font-display); font-size:1.55rem; color:var(--white); font-weight:800; }
.spc-l { font-size:.7rem; color:var(--silver); text-transform:uppercase; letter-spacing:.08em; margin-top:.28rem; }


/* ============================================================
   11. STATS / COUNTER SECTION
   ============================================================ */
.stats-band { background:var(--red); padding:60px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; text-align:center; }
.stat-item  { color:var(--white); }
.stat-num   { font-family:var(--font-display); font-size:3.3rem; font-weight:800; line-height:1; display:block; }
.stat-u     { font-size:1.75rem; }
.stat-lab   { font-size:.8rem; opacity:.84; text-transform:uppercase; letter-spacing:.1em; margin-top:.45rem; display:block; }
.stat-ln    { width:28px; height:2px; background:rgba(255,255,255,.35); margin:.6rem auto 0; border-radius:2px; }


/* ============================================================
   12. CTA BANNER
   ============================================================ */
.cta-band { background:var(--navy); padding:76px 0; text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,0,16,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,0,16,.04) 1px,transparent 1px); background-size:40px 40px; }
.cta-band h2 { color:var(--white); position:relative; z-index:1; }
.cta-band p  { color:var(--silver); max-width:540px; margin:1rem auto 2.2rem; position:relative; z-index:1; font-size:1rem; }
.cta-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; position:relative; z-index:1; }
.cta-tel  { display:flex; align-items:center; gap:.5rem; color:var(--silver); font-size:.86rem; margin-top:1.2rem; justify-content:center; position:relative; z-index:1; }
.cta-tel a { color:var(--white); font-weight:600; }
.cta-tel a:hover { color:var(--red-light); }


/* ============================================================
   13. CONTACT PAGE
   ============================================================ */
.page-hero { background:var(--navy); padding:140px 0 80px; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,0,16,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,0,16,.05) 1px,transparent 1px); background-size:60px 60px; }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1   { color:var(--white); }
.page-hero .lead{ color:var(--silver); margin-top:.75rem; }

.contact-layout { display:grid; grid-template-columns:1fr 1.5fr; gap:4rem; align-items:flex-start; padding:80px 0; }

/* Info side */
.contact-info h3 { font-size:1.45rem; margin-bottom:.4rem; }
.info-cards { display:flex; flex-direction:column; gap:1.1rem; margin-top:1.8rem; }
.info-card  { display:flex; gap:1rem; align-items:flex-start; padding:1.1rem 1.2rem; background:var(--off-white); border-radius:var(--r-lg); border:1.5px solid var(--ice); transition:border-color var(--ease); }
.info-card:hover { border-color:var(--red); }
.i-ico  { width:38px; height:38px; background:rgba(255,0,16,.08); border-radius:var(--r); display:flex; align-items:center; justify-content:center; color:var(--red); flex-shrink:0; font-size:.95rem; }
.i-lab  { font-family:var(--font-display); font-size:.7rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--text-light); margin-bottom:.18rem; }
.i-val  { font-size:.88rem; color:var(--text-dark); font-weight:500; line-height:1.6; }
.i-val a { color:var(--red); }
.i-val a:hover { color:var(--red-dark); }

.soc-row  { display:flex; gap:.6rem; margin-top:1.7rem; }
.soc-btn  { width:38px; height:38px; border-radius:var(--r); background:var(--navy); color:var(--white); display:flex; align-items:center; justify-content:center; font-size:.9rem; font-weight:700; transition:all var(--ease); }
.soc-btn:hover { background:var(--red); transform:translateY(-2px); }

/* Form side */
.form-wrap   { background:var(--white); border:1.5px solid var(--ice); border-radius:var(--r-lg); padding:2.4rem; box-shadow:var(--sh); }
.form-ttl    { font-size:1.5rem; margin-bottom:.3rem; }
.form-sub    { font-size:.86rem; color:var(--text-light); margin-bottom:1.9rem; }
.form-row    { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group  { margin-bottom:1.15rem; }
.form-group label { display:block; font-size:.76rem; font-weight:700; font-family:var(--font-display); letter-spacing:.07em; text-transform:uppercase; color:var(--text-mid); margin-bottom:.32rem; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:.78rem .95rem; border:1.5px solid var(--ice); border-radius:var(--r);
  background:var(--off-white); color:var(--text-dark); font-size:.88rem;
  transition:all var(--ease); outline:none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--red); background:var(--white); box-shadow:0 0 0 3px rgba(255,0,16,.07); }
.form-group textarea { min-height:130px; resize:vertical; }
.form-group select { appearance:none; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 5L10 1' stroke='%237A96B0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .95rem center; }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color:var(--red); background:rgba(255,0,16,.03); }
.err-msg  { font-size:.74rem; color:var(--red); margin-top:.27rem; display:none; }
.has-err .err-msg { display:block; }
.req      { color:var(--red); }
.form-btn { width:100%; padding:.92rem; font-size:.98rem; }
.form-note{ font-size:.76rem; color:var(--text-light); text-align:center; margin-top:.82rem; }

/* Success */
.frm-success { display:none; text-align:center; padding:2.8rem 1.5rem; }
.form-wrap.submitted .form-fields { display:none; }
.form-wrap.submitted .frm-success  { display:block; }
.success-ico { width:66px; height:66px; background:rgba(34,197,94,.1); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 1.4rem; font-size:1.85rem; }

/* Map */
.map-wrap { height:420px; overflow:hidden; }
.map-wrap iframe { width:100%; height:100%; border:none; display:block; }

/* Contact quick strip */
.c-strip     { background:var(--navy); padding:50px 0; }
.c-strip-g   { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; text-align:center; }
.c-strip-ico { font-size:1.75rem; margin-bottom:.55rem; }
.c-strip h4  { color:var(--white); margin-bottom:.28rem; }
.c-strip a   { color:var(--red); font-weight:600; font-size:1rem; }
.c-strip a:hover { color:var(--red-light); }
.c-strip span { color:var(--silver); }


/* ============================================================
   14. FOOTER
   ============================================================ */
#footer { background:var(--navy); padding:64px 0 0; }
.foot-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:3rem; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.foot-logo { height:24px; filter:brightness(0) invert(1); margin-bottom:1rem; }
.foot-desc { font-size:.84rem; color:var(--silver); line-height:1.78; margin-bottom:1.35rem; max-width:268px; }
.foot-cl   { display:flex; flex-direction:column; gap:.42rem; }
.foot-cl-row { display:flex; align-items:center; gap:.5rem; }
.foot-cl-row .dot { width:5px; height:5px; background:var(--red); border-radius:50%; flex-shrink:0; }
.foot-cl a, .foot-cl span { font-size:.84rem; color:var(--silver); transition:color var(--ease); }
.foot-cl a:hover { color:var(--white); }
.foot-hd   { font-family:var(--font-display); font-size:.74rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--silver); margin-bottom:1.15rem; }
.foot-lnks { display:flex; flex-direction:column; gap:.52rem; }
.foot-lnks a { font-size:.86rem; color:rgba(255,255,255,.6); transition:color var(--ease); }
.foot-lnks a:hover { color:var(--white); }
.foot-soc  { display:flex; gap:.6rem; margin-top:1.2rem; }
.fs-btn    { width:36px; height:36px; border-radius:var(--r); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; color:var(--silver); font-size:.86rem; font-weight:700; transition:all var(--ease); }
.fs-btn:hover { background:var(--red); border-color:var(--red); color:var(--white); transform:translateY(-2px); }
.foot-bot  { padding:1.35rem 0; display:flex; align-items:center; justify-content:space-between; font-size:.78rem; color:rgba(255,255,255,.34); }
.foot-bot a { color:rgba(255,255,255,.44); }
.foot-bot a:hover { color:var(--white); }


/* ============================================================
   15. ANIMATIONS & SCROLL REVEALS
   ============================================================ */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .6s ease,transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.d1{transition-delay:.1s;} .d2{transition-delay:.2s;} .d3{transition-delay:.3s;} .d4{transition-delay:.4s;} .d5{transition-delay:.5s;}

@keyframes fadeUp { from{opacity:0;transform:translateY(26px);} to{opacity:1;transform:translateY(0);} }
.hero-anim > * { animation:fadeUp .65s ease both; }
.hero-anim > *:nth-child(1){animation-delay:.1s;}
.hero-anim > *:nth-child(2){animation-delay:.22s;}
.hero-anim > *:nth-child(3){animation-delay:.34s;}
.hero-anim > *:nth-child(4){animation-delay:.46s;}
.hero-anim > *:nth-child(5){animation-delay:.58s;}


/* ============================================================
   16. RESPONSIVE / MEDIA QUERIES
   ============================================================ */
@media(max-width:1024px){
  .hero-inner { grid-template-columns:1fr; gap:3rem; }
  .hero-visual{ display:none; }
  .hero       { min-height:auto; padding:140px 0 80px; }
  .about-grid { grid-template-columns:1fr; }
  .about-vis  { display:none; }
  .why-grid   { grid-template-columns:1fr; }
  .foot-grid  { grid-template-columns:1fr 1fr; }
  .app-grid   { grid-template-columns:repeat(2,1fr); }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .prod-grid  { grid-template-columns:repeat(2,1fr); }
  .edge-grid  { grid-template-columns:repeat(2,1fr); }
}

@media(max-width:768px){
  .section    { padding:64px 0; }
  .container  { padding:0 1.2rem; }
  nav,.nav-cta{ display:none; }
  .menu-toggle{ display:flex; margin-left:auto; }
  .mobile-nav.open { display:flex; flex-direction:column; }
  .hero-inner { padding:50px 0; }
  .feat-grid  { grid-template-columns:1fr 1fr; }
  .contact-layout { grid-template-columns:1fr; gap:2.5rem; padding:50px 0; }
  .form-row   { grid-template-columns:1fr; }
  .foot-grid  { grid-template-columns:1fr; }
  .app-grid   { grid-template-columns:1fr 1fr; }
  .prod-grid  { grid-template-columns:1fr; }
  .edge-grid  { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .spec-cells { grid-template-columns:1fr 1fr; }
  .hero-stats { flex-wrap:wrap; gap:1.4rem; }
  .hero-btns  { flex-direction:column; align-items:flex-start; }
  .cta-btns   { flex-direction:column; align-items:center; }
  .foot-bot   { flex-direction:column; gap:.45rem; text-align:center; }
  .c-strip-g  { grid-template-columns:1fr; }
}

@media(max-width:480px){
  .app-grid  { grid-template-columns:1fr; }
  .feat-grid { grid-template-columns:1fr; }
  .edge-grid { grid-template-columns:1fr; }
}


/* ============================================================
   FORM — SPINNER · ERROR BANNER · SUCCESS PANEL
   ============================================================ */

/* ── Submit button spinner ── */
.btn-spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Error banner ── */
.form-error-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff5f5;
  border: 1.5px solid #fca5a5;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.1rem;
  animation: slideDown .3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.feb-icon {
  width: 38px; height: 38px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #dc2626;
}
.feb-body { flex: 1; }
.feb-title {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: .3rem;
}
.feb-msg {
  font-size: .88rem;
  color: #b91c1c;
  line-height: 1.6;
  margin: 0;
}
.feb-msg a { color: #991b1b; font-weight: 600; text-decoration: underline; }
.feb-msg a:hover { color: #7f1d1d; }

/* ── Success panel (replaces form after submit) ── */
.frm-success {
  display: none;
  text-align: center;
  padding: 3.5rem 2rem;
  animation: fadeIn .5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-wrap.submitted .form-fields { display: none; }
.form-wrap.submitted .frm-success  { display: block; }

.suc-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border: 3px solid #86efac;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.suc-check {
  font-size: 2.2rem;
  line-height: 1;
  animation: popIn .5s .1s cubic-bezier(.34,1.56,.64,1) both;
}
.suc-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #166534;
  margin-bottom: .5rem;
}
.suc-sub {
  font-size: .95rem;
  color: var(--text-mid);
  max-width: 380px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.suc-sub strong { color: #166534; }
.suc-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, #86efac, #4ade80);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.suc-contact {
  display: inline-flex;
  flex-direction: column;
  gap: .4rem;
  background: var(--off-white);
  border: 1.5px solid var(--ice);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.suc-contact-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text-mid);
}
.suc-contact-row a {
  color: var(--red);
  font-weight: 600;
}
.suc-contact-row a:hover { color: var(--red-dark); }
.suc-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
}
