﻿/*
Theme Name: CENCOM
Theme URI: https://www.cccencom.com
Author: CENCOM Central Coast Communication
Description: Custom theme for CENCOM — business phone systems, VoIP, and network solutions for the Central Coast.
Version: 1.0
License: Proprietary
Text Domain: cencom
*/
/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal:   #007a7f;
  --teal-light: #e6f4f4;
  --orange: #e06408;
  --navy:   #0a2240;
  --bg:     #f4f6f9;
  --dark:   #0d0d0d;
  --white:  #ffffff;
  --gray:   #5a6474;
  --text:   #1a2332;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(10,34,64,.08);
  --shadow-md: 0 8px 32px rgba(10,34,64,.12);
  --shadow-lg: 0 20px 60px rgba(10,34,64,.16);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: #ffffff; color: var(--text); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Utilities ────────────────────────────────────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 16px; }
.section-subtext { font-size: .97rem; color: var(--gray); line-height: 1.75; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: .93rem; cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .18s, box-shadow .2s;
  letter-spacing: .01em;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); box-shadow: 0 4px 20px rgba(224,100,8,.38); }
.btn-primary:hover { background: #c25807; border-color: #c25807; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(224,100,8,.50); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.60); }
.btn-outline-white:hover { background: rgba(255,255,255,.10); color: var(--white); border-color: rgba(255,255,255,.85); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: rgba(10,34,64,.28); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: var(--white); border-color: var(--teal); box-shadow: 0 4px 20px rgba(0,122,127,.32); }
.btn-teal:hover { background: #006368; border-color: #006368; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,122,127,.44); }

/* ── Scroll-reveal ────────────────────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right { will-change: opacity, transform; }
.reveal { opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .75s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .75s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity .8s cubic-bezier(0.16,1,0.3,1), transform .75s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-left, .reveal-right { transition: opacity .3s ease; transform: none !important; will-change: auto; } }

/* ── Navigation ───────────────────────────────────────────────────────── */
#navbar { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 1px 0 #e8ecf2, 0 4px 24px rgba(10,34,64,.07); transition: box-shadow .3s; }

/* Top bar: logo + tagline + phone */
.nav-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-tagline { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9aa4b2; flex: 1; text-align: center; }
@keyframes navPhonePulse { 0%,100% { box-shadow: 0 4px 18px rgba(230,110,14,.32); } 60% { box-shadow: 0 4px 26px rgba(230,110,14,.52), 0 0 0 5px rgba(230,110,14,.10); } }
.nav-phone { display: flex; align-items: center; gap: 9px; background: var(--orange); color: var(--white); padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: .86rem; white-space: nowrap; letter-spacing: .01em; animation: navPhonePulse 3.5s ease-in-out infinite; transition: background .2s, transform .2s, box-shadow .2s; }
.nav-phone:hover { background: #c55b08; transform: translateY(-1px); box-shadow: 0 6px 22px rgba(230,110,14,.48); animation: none; }
.nav-phone svg { flex-shrink: 0; }

/* Bottom bar: all nav links */
.nav-bottom { border-top: 1px solid #edf0f4; background: #f9fafb; }
.nav-links { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 2px; list-style: none; padding: 4px 0; margin: 0; }
.nav-links > li > a { display: block; padding: 6px 13px; font-size: .775rem; font-weight: 600; color: #374151; letter-spacing: .01em; white-space: nowrap; border-radius: 6px; transition: color .18s, background .18s; }
.nav-links > li > a:hover { color: var(--teal); background: rgba(0,122,127,.07); }
.nav-links > li > a.active { color: var(--teal); font-weight: 700; background: rgba(0,122,127,.10); }

/* Vertical separator between nav groups */
.nav-sep { width: 1px; height: 16px; background: #d8d8d8; margin: 0 4px; flex-shrink: 0; align-self: center; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { display: none; flex-direction: column; background: var(--white); border-top: 1px solid #eee; padding: 12px 24px 20px; gap: 4px; }
.mobile-nav a { padding: 10px 0; font-weight: 600; color: #1a1a1a; border-bottom: 1px solid #f0f0f0; display: block; font-size: .9rem; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .nav-phone { display: flex; margin-top: 10px; justify-content: center; border-radius: 8px; animation: none; }
.mobile-nav.open { display: flex; }

/* ── Hero keyframes ───────────────────────────────────────────────────── */
@keyframes heroFadeUp  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroChipPop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes heroBtnSlide{ from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orangePulse { 0%, 100% { text-shadow: 0 0 0 transparent; } 50% { text-shadow: 0 0 24px rgba(230,110,14,.45); } }
@keyframes heroBgZoom  { 0% { transform: scale(1); } 100% { transform: scale(1.08); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer { background: #060d18; color: #bbb; padding: 80px 24px 0; position: relative; overflow: hidden; }
footer .nav-logo img { filter: brightness(0) invert(1); opacity: .85; }
@keyframes footerStrip { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--orange), #005f8a, var(--teal), var(--orange), var(--teal)); background-size: 300% 100%; animation: footerStrip 6s ease infinite; }
footer::after { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(0,130,135,.07) 0%, transparent 70%); bottom: -100px; right: -100px; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 28px; margin-bottom: 40px; position: relative; z-index: 1; }
.footer-brand .nav-logo { display: block; margin-bottom: 12px; }
.footer-brand > p { font-size: .82rem; line-height: 1.72; color: #5a7080; max-width: 240px; margin-bottom: 16px; }
.footer-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 5px; padding: 5px 9px; font-size: .68rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #5a8099; margin-right: 5px; margin-bottom: 5px; }
.footer-badges { margin-bottom: 2px; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 20px; height: 2px; background: var(--orange); border-radius: 2px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .82rem; color: #4d6878; transition: color .2s, padding-left .2s; display: block; }
.footer-col ul a:hover { color: var(--teal); padding-left: 4px; }
.footer-brand .nav-logo img { height: 44px; filter: brightness(0) invert(1); }
.footer-phone-link { display: flex; align-items: center; gap: 10px; background: rgba(230,110,14,.1); border: 1px solid rgba(230,110,14,.2); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; transition: background .2s, border-color .2s; }
.footer-phone-link:hover { background: rgba(230,110,14,.18); border-color: rgba(230,110,14,.4); }
.footer-phone-link svg { width: 18px; height: 18px; stroke: var(--orange); flex-shrink: 0; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.footer-phone-link span { font-size: .95rem; font-weight: 700; color: var(--white); letter-spacing: .02em; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list a { display: flex; align-items: flex-start; gap: 9px; font-size: .84rem; color: #4d6878; transition: color .2s; line-height: 1.5; }
.footer-contact-list a:hover { color: var(--teal); }
.footer-contact-list svg { width: 14px; height: 14px; stroke: var(--teal); flex-shrink: 0; margin-top: 2px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-divider { border: none; border-top: 1px solid #111c28; margin: 0; position: relative; z-index: 1; }
.footer-bottom { padding: 24px 0 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.footer-bottom p { font-size: .8rem; color: #4a6478; }
.footer-teal { color: var(--teal); }

/* ── Scroll progress bar ──────────────────────────────────────────────── */
#scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--orange)); z-index: 2000; transition: width .08s linear; border-radius: 0 2px 2px 0; }

/* ── Mobile Call Bar ──────────────────────────────────────────────────── */
#mobile-call-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--navy); border-top: 2px solid var(--orange); padding: 12px 20px; align-items: center; justify-content: space-between; gap: 12px; }
.mcb-text { display: flex; flex-direction: column; }
.mcb-label { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.mcb-number { font-size: 1rem; font-weight: 800; color: var(--white); }
.mcb-btn { display: flex; align-items: center; gap: 8px; background: var(--orange); color: var(--white); padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: .88rem; white-space: nowrap; }
@media (max-width: 768px) { #mobile-call-bar { display: flex; } body { padding-bottom: 72px; } }

/* ── Chat float button ────────────────────────────────────────────────── */
@keyframes kiteEntrance { from { opacity: 0; transform: translateY(28px) scale(.88); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes kiteOnline   { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes kitePulse    { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14); } }
#kite-float { position: fixed; bottom: 32px; right: 32px; z-index: 1050; display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #008287 0%, #00a8ae 100%); color: #fff; padding: 15px 24px 15px 18px; border-radius: 50px; font-family: 'DM Sans', sans-serif; font-size: .92rem; font-weight: 700; text-decoration: none; box-shadow: 0 8px 32px rgba(0,130,135,.50), 0 2px 8px rgba(0,0,0,.12); transition: transform .25s cubic-bezier(0.16,1,0.3,1), box-shadow .25s; animation: kiteEntrance .7s cubic-bezier(0.16,1,0.3,1) 1.4s both; }
#kite-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 16px 44px rgba(0,130,135,.60), 0 4px 12px rgba(0,0,0,.15); }
#kite-float::before { content: ''; position: absolute; inset: -5px; border-radius: 50px; border: 2px solid rgba(0,130,135,.5); opacity: 0; animation: kitePulse 2.6s ease-out 2.2s infinite; }
.kite-float-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.kite-float-icon svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.kite-float-icon::after { content: ''; position: absolute; top: 1px; right: 1px; width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; border: 2px solid #fff; animation: kiteOnline 2s ease-in-out infinite; }
.kite-float-text { display: flex; flex-direction: column; line-height: 1.2; }
.kite-float-text strong { font-size: .92rem; font-weight: 700; color: #fff; }
.kite-float-text span { font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.75); }

/* ── FAQ Accordion (shared: wildx, mitel, spydur) ────────────────────── */
[id$="-faq"] { padding: 80px 24px; background: var(--bg); }
.faq-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 10px; letter-spacing: -.02em; }
.faq-header p { font-size: .93rem; color: var(--gray); line-height: 1.7; }
.faq-header p a { color: var(--teal); font-weight: 600; }
.faq-header p a:hover { color: var(--orange); }
.faq-grid { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid #e4e8ed; }
.faq-item:first-child { border-top: 1px solid #e4e8ed; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; background: none; border: none; cursor: pointer; font-family: inherit; text-align: left; }
.faq-num { display: none; }
.faq-q-text { font-size: .97rem; font-weight: 700; color: var(--navy); line-height: 1.4; transition: color .2s; }
.faq-q:hover .faq-q-text { color: var(--teal); }
.faq-item.open .faq-q-text { color: var(--teal); }
.faq-chevron { width: 18px; height: 18px; stroke: #aab0ba; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; transition: transform .3s ease, stroke .2s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); stroke: var(--teal); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 0 20px; }
.faq-a-inner p { font-size: .92rem; color: #555; line-height: 1.8; }
.faq-a-inner a { color: var(--teal); font-weight: 600; }
.faq-a-inner a:hover { color: var(--orange); }
.faq-bottom { margin-top: 40px; text-align: center; }
.faq-bottom p { font-size: .95rem; color: var(--gray); margin-bottom: 16px; }
.btn-faq-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--teal); color: #fff; font-family: inherit; font-size: .9rem; font-weight: 700; padding: 12px 26px; border-radius: 6px; text-decoration: none; transition: background .2s; }
.btn-faq-cta:hover { background: var(--orange); }

/* ── Focus visible (keyboard accessibility) ───────────────────────────── */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.nav-links a:focus-visible { outline: 2px solid var(--teal); }
.dropdown-menu a:focus-visible { outline: none; background: #f5f5f5; color: var(--teal); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 1050px) { .nav-bottom { display: none; } .nav-phone { display: none; } .hamburger { display: flex; } }
@media (max-width: 640px) { .nav-tagline { display: none; } }
@media (max-width: 768px) {
  #kite-float { bottom: 80px !important; right: 16px !important; padding: 12px 18px 12px 14px !important; }
  .kite-float-text span { display: none; }
}
@media (max-width: 600px) { .container { padding: 0 20px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } .footer-bottom { flex-direction: column; text-align: center; gap: 6px; } }

/* ── HOW IT WORKS SECTION ─────────────────────────────────────────────── */
#how-wildix-works {
  background: var(--white);
  padding: 96px 24px 80px;
}
.hiw-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.hiw-header h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hiw-header h2 em { font-style: normal; color: var(--teal); }
.hiw-header p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
}
.hiw-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,51,102,.10);
  margin-bottom: 32px;
}
.hiw-hero-img {
  position: relative;
  min-height: 340px;
  background: #0a1628;
  overflow: hidden;
}
.hiw-hero-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 24px;
}
.hiw-hero-img-placeholder {
  width: 100%; height: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, #0a1628, #003366);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.25);
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.hiw-hero-content {
  background: var(--navy);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hiw-hero-content .section-label { color: var(--orange); margin-bottom: 14px; }
.hiw-hero-content .section-label::before { background: var(--orange); }
.hiw-hero-content h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.hiw-hero-content p {
  font-size: .93rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 28px;
}
.hiw-hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hiw-tag {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 5px 14px;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.hiw-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8edf4;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.hiw-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.hiw-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eef2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.hiw-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
  transition: transform .4s ease;
}
.hiw-card:hover .hiw-card-img img { transform: scale(1.04); }
.hiw-card-body {
  padding: 22px 24px 26px;
  flex: 1;
}
.hiw-card h4 {
  font-size: .95rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.hiw-card p {
  font-size: .84rem; color: var(--gray);
  line-height: 1.75;
}
.hiw-banner {
  background: linear-gradient(100deg, var(--navy) 0%, #002a5e 100%);
  border-radius: 20px;
  padding: 44px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 24px;
}
.hiw-banner-img {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.hiw-banner-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
}
.hiw-banner-left h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800; color: var(--white);
  line-height: 1.2; letter-spacing: -.02em;
  margin-bottom: 12px;
}
.hiw-banner-left p { font-size: .92rem; color: rgba(255,255,255,.68); line-height: 1.78; }
.hiw-banner-right {
  display: flex; flex-direction: column; gap: 14px;
}
.hiw-step {
  display: flex; align-items: flex-start; gap: 14px;
}
.hiw-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange);
  color: var(--white); font-size: .78rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hiw-step p { font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.6; margin: 0; }
.hiw-step strong { color: var(--white); }
@media (max-width: 1100px) {
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hiw-hero { grid-template-columns: 1fr; }
  .hiw-banner { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
}
@media (max-width: 560px) {
  .hiw-grid { grid-template-columns: 1fr; }
  #how-wildix-works { padding: 64px 24px; }
  .hiw-hero-content { padding: 32px 28px; }
}

/* ── WHAT IS WILDIX ───────────────────────────────────────────────── */
#what-is-wildix {
  background: var(--navy);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
#what-is-wildix::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
#what-is-wildix::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,130,135,.18) 0%, transparent 65%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.wiw-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.wiw-left .section-label { color: var(--orange); margin-bottom: 16px; }
.wiw-left h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}
.wiw-left h2 em { font-style: normal; color: var(--teal); }
.wiw-left p {
  font-size: .97rem;
  color: rgba(255,255,255,.68);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 520px;
}
.wiw-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.wiw-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.wiw-bullet::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0,130,135,.25);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%2300c4cb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.wiw-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wiw-quote {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--teal);
  border-radius: 12px;
  padding: 24px 26px;
  transition: background .3s;
}
.wiw-quote:hover { background: rgba(255,255,255,.08); }
.wiw-quote-text {
  font-size: .93rem;
  color: rgba(255,255,255,.80);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 14px;
}
.wiw-quote-author {
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wiw-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
}
.wiw-stat {
  background: rgba(255,255,255,.04);
  padding: 22px 16px;
  text-align: center;
}
.wiw-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.wiw-stat strong em { font-style: normal; color: var(--orange); }
.wiw-stat span {
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
@media (max-width: 900px) {
  .wiw-inner { grid-template-columns: 1fr; gap: 48px; }
  #what-is-wildix { padding: 72px 24px; }
}
@media (max-width: 560px) {
  .wiw-stats { grid-template-columns: 1fr; }
  .wiw-stat { padding: 14px 16px; }
}

/* ── SECTION 1 — FULL FEATURE SET ─────────────────────────────── */
#s1-features {
  background: var(--bg);
  padding: 96px 24px 96px;
}
.wx-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eaeaea;
}
.wx-intro-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}
.wx-intro-divider {
  width: 48px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 24px;
}
.wx-intro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wx-chip {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(0,130,135,.08);
  border: 1px solid rgba(0,130,135,.2);
  border-radius: 50px;
  padding: 6px 14px;
  letter-spacing: .03em;
}
.wx-intro-right p {
  font-size: .97rem;
  color: #444;
  line-height: 1.88;
  margin-bottom: 18px;
}
.wx-intro-right p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .wx-intro { grid-template-columns: 1fr; gap: 36px; }
}
.s1-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.s1-header .section-label { color: var(--orange); }
.s1-header h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.s1-header p {
  font-size: .97rem;
  color: var(--gray);
  line-height: 1.78;
}
.s1-device-strip {
  background:
    radial-gradient(ellipse at 12% 50%, rgba(0,130,135,.22) 0%, transparent 42%),
    radial-gradient(ellipse at 88% 15%, rgba(0,100,160,.28) 0%, transparent 38%),
    radial-gradient(ellipse at 55% 95%, rgba(0,130,135,.12) 0%, transparent 35%),
    linear-gradient(155deg, #010d1a 0%, #001228 55%, #00102a 100%);
  margin-top: 40px;
  padding: 52px 24px 48px;
  position: relative;
  overflow: hidden;
}
.s1-device-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.s1-device-strip::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,150,155,.18) 0%, transparent 60%);
  top: -380px; right: -220px;
  pointer-events: none;
}
.s1-device-inner { position: relative; z-index: 1; }
.s1-device-text {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.s1-device-text h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.s1-device-text p {
  font-size: .97rem;
  color: rgba(255,255,255,.58);
  line-height: 1.78;
}
.s1-device-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.s1-device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.s1-device-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background .25s, border-color .25s, transform .25s;
}
.s1-device-item:hover .s1-device-icon {
  background: rgba(0,130,135,.25);
  border-color: rgba(0,130,135,.5);
  transform: translateY(-5px);
}
.s1-device-icon svg {
  width: 30px; height: 30px;
  stroke: rgba(255,255,255,.75); fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s;
}
.s1-device-item:hover .s1-device-icon svg { stroke: var(--teal); }
.s1-device-dot {
  position: absolute;
  top: -4px; right: -4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #001833;
  animation: pulse-green 2.5s ease-in-out infinite;
}
.s1-device-label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
  text-align: center;
  line-height: 1.3;
}
.s1-device-stats {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto 52px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 14px 40px;
}
.s1-stat { text-align: center; padding: 0 32px; }
.s1-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.s1-stat-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  white-space: nowrap;
}
.s1-stat-div {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
.s1-img-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}
.s1-img-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.s1-img-card img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 28px 72px rgba(0,0,0,.50), 0 0 0 1px rgba(255,255,255,.07);
  transition: transform .45s cubic-bezier(0.16,1,0.3,1), box-shadow .45s ease;
  cursor: pointer;
}
.s1-img-card img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 44px 96px rgba(0,0,0,.60), 0 0 0 1px rgba(255,255,255,.12);
}
.s1-img-label {
  margin-top: 18px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  text-align: center;
  line-height: 1.5;
}
.s1-img-label span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
}
@media (max-width: 640px) {
  .s1-img-row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 780px) {
  #s1-features { padding: 72px 24px 72px; }
  .s1-device-grid { gap: 24px; }
  .s1-device-icon { width: 56px; height: 56px; border-radius: 14px; }
  .s1-device-icon svg { width: 24px; height: 24px; }
  .s1-device-strip { padding: 64px 24px 60px; margin-top: 60px; }
}
@media (max-width: 480px) {
  .s1-device-grid { gap: 16px; }
  .s1-device-item { gap: 8px; }
  .s1-device-icon { width: 48px; height: 48px; border-radius: 12px; }
  .s1-device-label { font-size: .65rem; }
  .s1-img-row { gap: 14px; }
}
.s2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.s2-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px 28px 28px;
  border: 1px solid #e8edf4;
  position: relative;
  overflow: hidden;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  box-shadow: var(--shadow);
}
.s2-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform .32s ease;
}
.s2-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.s2-card:hover::before { transform: scaleX(1); }
.s2-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: #f0f8f8;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background .25s;
}
.s2-card:hover .s2-icon { background: #e0f2f2; }
.s2-icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal); fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.s2-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.s2-card p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.7;
}
.s2-card--cta {
  background: linear-gradient(140deg, var(--navy) 0%, #001f4d 100%);
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.s2-card--cta::before { transform: scaleX(1); height: 3px; transition: none; }
.s2-cta-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.s2-card--cta h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.s2-card--cta > p {
  font-size: .85rem;
  color: rgba(255,255,255,.60);
  line-height: 1.65;
  margin-bottom: 24px;
}
.s2-cta-btn { font-size: .85rem; padding: 12px 22px; }
.s2-card--cta:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.18); border-color: transparent; }
/* Featured card — full-width horizontal layout */
.s2-card--featured {
  grid-column: 1 / -1;
  grid-row: auto;
  background: linear-gradient(135deg, var(--navy) 0%, #001f4d 55%, #002a60 100%);
  border: none;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 16px 56px rgba(0,20,70,.22);
  cursor: default;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}
.s2-card--featured::before {
  transform: scaleX(1);
  height: 4px;
  transition: none;
}
.s2-card--featured::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,130,135,.12) 0%, transparent 65%);
  right: -120px; bottom: -120px;
  pointer-events: none;
}
.s2-card--featured:hover {
  transform: none;
  box-shadow: 0 24px 72px rgba(0,20,70,.30);
  border-color: transparent;
}
/* Left panel: icon + heading + description */
.s2-feat-main {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Vertical divider between panels */
.s2-feat-divider {
  background: rgba(255,255,255,.10);
  align-self: stretch;
  width: 1px;
  flex-shrink: 0;
}
/* Right panel: checklist */
.s2-feat-right {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.03);
}
.s2-feat-right-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s2-feat-right-label::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.s2-feat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  background: rgba(230,100,8,.12);
  border: 1px solid rgba(230,100,8,.22);
  border-radius: 50px;
  padding: 5px 14px 5px 10px;
}
.s2-feat-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.s2-feat-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.s2-feat-icon svg {
  width: 28px; height: 28px;
  stroke: #4dd8dc; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.s2-card--featured h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.s2-card--featured .s2-feat-desc {
  font-size: .93rem;
  color: rgba(255,255,255,.60);
  line-height: 1.82;
  max-width: 400px;
}
.s2-feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s2-feat-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  line-height: 1.4;
}
.s2-feat-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(0,130,135,.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234dd8dc' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 1100px) {
  .s2-grid { grid-template-columns: repeat(3, 1fr); }
  .s2-card--featured { grid-column: 1 / -1; grid-template-columns: 1fr 1px 1fr; padding: 0; }
  .s2-feat-main { padding: 38px 40px; }
  .s2-feat-right { padding: 38px 40px; }
}
@media (max-width: 780px) {
  .s2-grid { grid-template-columns: repeat(2, 1fr); }
  .s2-card--featured { grid-template-columns: 1fr; grid-column: 1 / -1; }
  .s2-feat-divider { width: auto; height: 1px; }
  .s2-feat-main { padding: 32px 28px 24px; }
  .s2-feat-right { padding: 24px 28px 32px; }
  .s2-card--featured h3 { font-size: 1.35rem; }
  .s2-card--featured .s2-feat-desc { max-width: 100%; }
  .s2-feat-list { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
}
@media (max-width: 480px) {
  .s2-grid { grid-template-columns: 1fr; }
  .s2-feat-main { padding: 28px 24px 20px; }
  .s2-feat-right { padding: 20px 24px 28px; }
  .s2-card--featured h3 { font-size: 1.2rem; }
  .s2-feat-list { flex-direction: column; }
}

/* ── FLEXIBLE DEPLOYMENT ──────────────────────────────────────────── */
#s4-deploy {
  background: var(--white);
  padding: 96px 24px;
}
.s4-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}
.s4-header h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}
.s4-header p {
  font-size: .97rem;
  color: var(--gray);
  line-height: 1.75;
}
.s4-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.s4-or-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  gap: 12px;
}
.s4-or-divider::before,
.s4-or-divider::after {
  content: '';
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #d0d0d0, transparent);
}
.s4-or-pill {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid #d8d8d8;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800;
  color: var(--gray);
  letter-spacing: .05em;
  flex-shrink: 0;
}
.s4-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.s4-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 56px rgba(0,0,0,.13);
}
.s4-card--cloud,
.s4-card--onsite {
  display: flex;
  flex-direction: column;
}
.s4-card--cloud {
  background: linear-gradient(150deg, #004f55 0%, #007a82 55%, #009ea8 100%);
}
.s4-card--onsite {
  background: linear-gradient(150deg, #001533 0%, #002a6b 55%, #003d99 100%);
}
.s4-head {
  padding: 110px 28px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}
.s4-bg-cloud,
.s4-bg-server {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 220px;
  height: 150px;
  object-fit: contain;
  opacity: .10;
  z-index: 0;
  pointer-events: none;
}
.s4-head > * { position: relative; z-index: 1; }
.s4-badge {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.s4-head-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.s4-head-icon svg {
  width: 26px; height: 26px;
  stroke: #fff; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.s4-head h3 {
  font-size: 1.45rem; font-weight: 800;
  color: #fff; margin-bottom: 10px;
}
.s4-head p {
  font-size: .92rem;
  color: rgba(255,255,255,.82);
  line-height: 1.68;
}
.s4-checklist {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px; margin-top: 22px;
  position: relative; z-index: 1;
  padding: 0;
}
.s4-checklist li {
  display: flex; align-items: center;
  gap: 10px; font-size: .92rem;
  color: rgba(255,255,255,.90); font-weight: 500;
}
.s4-checklist li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 9px; background-repeat: no-repeat; background-position: center;
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .s4-grid { grid-template-columns: 1fr; }
  .s4-or-divider { flex-direction: row; padding: 16px 0; }
  .s4-or-divider::before, .s4-or-divider::after { flex: 1; height: 1px; width: auto; background: linear-gradient(to right, transparent, #d0d0d0, transparent); }
  .s4-head { padding-left: 26px; padding-right: 26px; }
  #s4-deploy { padding: 72px 24px; }
}

/* ── WHO IT'S BUILT FOR ───────────────────────────────────────────── */
#wildx-roles {
  background: var(--navy);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
#wildx-roles::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.roles-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}
.roles-header .section-label { color: #4dd8dc; }
.roles-header .section-label::before { background: #4dd8dc; }
.roles-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.roles-header p {
  font-size: .97rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.role-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 28px 22px;
  transition: background .25s, border-color .25s, transform .25s;
}
.role-card:hover {
  background: rgba(0,130,135,.15);
  border-color: rgba(0,130,135,.35);
  transform: translateY(-6px);
}
.role-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(0,130,135,.18);
  border: 1px solid rgba(0,130,135,.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.role-icon svg {
  width: 22px; height: 22px;
  stroke: var(--teal); fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.role-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.role-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
.role-list li {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.role-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .7;
}
@media (max-width: 768px) { .roles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .roles-grid { grid-template-columns: 1fr; } }

/* ── TRAINING & SUPPORT ───────────────────────────────────────────── */
#training-support {
  background: var(--bg);
  padding: 96px 24px;
}
.ts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ts-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(10,34,64,.18);
}
.ts-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ts-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--teal);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  z-index: 2;
}
.ts-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,20,50,.45) 0%, transparent 55%);
  pointer-events: none;
}
.ts-img-stat {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-img-stat strong {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
}
.ts-img-stat span {
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}
.ts-content {
  display: flex;
  flex-direction: column;
}
.ts-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 14px 0 20px;
}
.ts-content h2 em {
  font-style: normal;
  color: var(--teal);
}
.ts-content > p {
  font-size: .97rem;
  color: var(--gray);
  line-height: 1.78;
  margin-bottom: 32px;
}
.ts-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}
.ts-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ts-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,122,127,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0,122,127,.15);
}
.ts-feat-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
}
.ts-features li > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
}
.ts-features li strong {
  font-size: .93rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.ts-features li span {
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.55;
}
@media (max-width: 920px) {
  .ts-inner { grid-template-columns: 1fr; gap: 48px; }
  .ts-img-wrap img { height: 380px; }
}
@media (max-width: 560px) {
  #training-support { padding: 72px 24px; }
  .ts-img-wrap img { height: 280px; }
}

/* ── WILDIX DESK PHONES ───────────────────────────────────────────── */
#wildix-phones {
  padding: 96px 24px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#wildix-phones::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,50,100,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.phones-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}
.phones-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.025em;
  line-height: 1.18;
  margin-bottom: 14px;
}
.phones-header p {
  font-size: .98rem;
  color: var(--gray);
  line-height: 1.72;
}
.phones-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}
.phones-grid .phone-card:nth-child(1),
.phones-grid .phone-card:nth-child(2),
.phones-grid .phone-card:nth-child(3) { grid-column: span 2; }
.phones-grid .phone-card:nth-child(4) { grid-column: 2 / span 2; }
.phones-grid .phone-card:nth-child(5) { grid-column: 4 / span 2; }
.phone-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,51,102,.07);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid #e8ecf2;
}
.phone-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,51,102,.13);
}
.phone-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.phone-card:hover::before { transform: scaleX(1); }
.phone-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 24px;
  position: relative;
}
.phone-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}
.phone-card:hover .phone-img-wrap img { transform: scale(1.04); }
.phone-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .10em; text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 50px;
}
.phone-body {
  padding: 22px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid #f0f2f6;
}
.phone-model {
  font-size: .70rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.phone-body h3 {
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.28;
  letter-spacing: -.015em;
}
.phone-body p {
  font-size: .86rem;
  color: var(--gray);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}
.phone-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.phone-spec {
  font-size: .72rem; font-weight: 600;
  color: var(--navy);
  background: #f0f4f9;
  border: 1px solid #e0e7f0;
  border-radius: 50px;
  padding: 4px 12px;
  letter-spacing: .02em;
}
@media (max-width: 960px) {
  .phones-grid { grid-template-columns: repeat(2, 1fr); }
  .phones-grid .phone-card { grid-column: auto !important; }
}
@media (max-width: 560px) {
  .phones-grid { grid-template-columns: 1fr; }
  #wildix-phones { padding: 72px 24px; }
}

/* ── WHY-CTA SHARED LAYOUT (used by #why on index and #mitel-cta) ──────── */
.why-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,110,14,.09) 0%, transparent 65%);
  top: -180px; left: -140px;
  pointer-events: none;
  z-index: 0;
}
.why-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-cta-left { display: flex; flex-direction: column; }
.why-cta-right { display: flex; flex-direction: column; gap: 16px; }
.why-cta-desc {
  font-size: .97rem;
  color: rgba(255,255,255,.55);
  line-height: 1.82;
  margin-bottom: 36px;
}
.why-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.why-cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.38);
}
.why-cta-note::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: .88rem;
}
.why-cta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}
.why-cta-stat {
  background: rgba(255,255,255,.04);
  padding: 36px 28px;
  text-align: center;
  transition: background .25s;
}
.why-cta-stat:hover { background: rgba(255,255,255,.09); }
.why-cta-stat strong {
  display: block;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.why-cta-stat strong em { font-style: normal; color: var(--orange); }
.why-cta-stat span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
@media (max-width: 900px) {
  .why-cta-inner { grid-template-columns: 1fr; gap: 52px; }
}
@media (max-width: 480px) {
  .why-cta-stat { padding: 28px 20px; }
}

/* ── SCROLL-REVEAL STAGGER DELAYS ─────────────────────────────────────── */

/* Features grid — featured card fires first, then row 1, row 2 */
.s2-grid > *:nth-child(2) { transition-delay: 80ms; }
.s2-grid > *:nth-child(3) { transition-delay: 160ms; }
.s2-grid > *:nth-child(4) { transition-delay: 240ms; }
.s2-grid > *:nth-child(5) { transition-delay: 320ms; }
.s2-grid > *:nth-child(6) { transition-delay: 80ms; }
.s2-grid > *:nth-child(7) { transition-delay: 160ms; }
.s2-grid > *:nth-child(8) { transition-delay: 240ms; }
.s2-grid > *:nth-child(9) { transition-delay: 320ms; }

/* How Wildix Works — 4 cards */
.hiw-grid > *:nth-child(2) { transition-delay: 80ms; }
.hiw-grid > *:nth-child(3) { transition-delay: 160ms; }
.hiw-grid > *:nth-child(4) { transition-delay: 240ms; }

/* Who It's Built For — 6 role cards, 3 per row */
.roles-grid > *:nth-child(2) { transition-delay: 100ms; }
.roles-grid > *:nth-child(3) { transition-delay: 200ms; }
.roles-grid > *:nth-child(4) { transition-delay: 80ms; }
.roles-grid > *:nth-child(5) { transition-delay: 160ms; }
.roles-grid > *:nth-child(6) { transition-delay: 240ms; }

/* Wildix desk phones — 5 cards */
.phones-grid > *:nth-child(2) { transition-delay: 80ms; }
.phones-grid > *:nth-child(3) { transition-delay: 160ms; }
.phones-grid > *:nth-child(4) { transition-delay: 240ms; }
.phones-grid > *:nth-child(5) { transition-delay: 320ms; }

/* Stats bar — 4 items */
.stats-inner > *:nth-child(2) { transition-delay: 80ms; }
.stats-inner > *:nth-child(3) { transition-delay: 160ms; }
.stats-inner > *:nth-child(4) { transition-delay: 240ms; }

/* How It Works — steps at positions 1, 3, 5 (connectors between them) */
.steps-row > .step:nth-child(3) { transition-delay: 140ms; }
.steps-row > .step:nth-child(5) { transition-delay: 280ms; }

/* Testimonials — 3 cards */
.testimonial-grid > *:nth-child(2) { transition-delay: 100ms; }
.testimonial-grid > *:nth-child(3) { transition-delay: 200ms; }

/* What We Do cards — 2 cards */
#services-preview .cards-grid > *:nth-child(2) { transition-delay: 120ms; }

/* Flexible Deployment — 2 cards */
.s4-cards > *:nth-child(2) { transition-delay: 120ms; }

/* Disable stagger on mobile to keep it snappy */
@media (max-width: 640px) {
  .s2-grid > *,
  .hiw-grid > *,
  .roles-grid > *,
  .phones-grid > *,
  .stats-inner > *,
  .steps-row > .step,
  .testimonial-grid > *,
  #services-preview .cards-grid > *,
  .s4-cards > * { transition-delay: 0ms !important; }
}

