/* ─── WENNOVATE TECH — SHARED CSS ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #ED1C24;
  --red-dark: #c0141b;
  --red-light: #ff3a42;
  --red-faint: rgba(237,28,36,0.07);
  --white: #ffffff;
  --off-white: #faf8f7;
  --cream: #f5f0ec;
  --charcoal: #1a1a1a;
  --mid: #4a4a4a;
  --muted: #888;
  --border: rgba(237,28,36,0.13);
  --font: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 72px;
  background: rgba(250,248,247,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.08); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-logo-placeholder {
  height: 40px; width: 213px;
  background: var(--cream);
  border: 1.5px dashed rgba(237,28,36,0.3); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-logo-placeholder i { color: var(--red); font-size: 0.8rem; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 0.8rem; font-weight: 600;
  color: var(--mid); letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform 0.25s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--charcoal); }
.nav-cta {
  background: var(--red) !important; color: white !important;
  padding: 9px 20px; border-radius: 6px;
  transition: background 0.2s !important, transform 0.15s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); color: white !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); transition: 0.3s; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--off-white); border-bottom: 1px solid var(--border);
    padding: 8px 0; z-index: 199;
  }
  .nav-links.open a {
    padding: 14px 5vw; border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .nav-links.open a::after { display: none; }
  .nav-links.open .nav-cta { margin: 12px 5vw; border-radius: 6px; text-align: center; }
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: white;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.02em; text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(237,28,36,0.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(237,28,36,0.45); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.7);
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: white; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--red);
  padding: 13px 26px; border-radius: 8px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 700;
  text-decoration: none; border: 2px solid var(--red);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-outline:hover { background: var(--red); color: white; transform: translateY(-2px); }

/* ─── SECTION LABELS ─── */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.section-label::before { content: ''; display: block; width: 22px; height: 2px; background: var(--red); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.05; color: var(--charcoal);
}
.section-sub {
  font-size: 0.98rem; line-height: 1.75; color: var(--muted);
  margin-top: 14px; max-width: 540px;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 140px 5vw 80px;
  background: var(--charcoal); position: relative; overflow: hidden;
}
@media (max-width: 768px) {
  .page-hero { padding: 110px 5vw 56px; }
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(237,28,36,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237,28,36,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(237,28,36,0.14) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(237,28,36,0.12); border: 1px solid rgba(237,28,36,0.25);
  color: #ff5a60; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.05; color: var(--white);
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.4); }
.page-hero h1 .accent { color: var(--red); }
.page-hero p {
  font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.55);
  margin-top: 20px; max-width: 560px;
}
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* Global section mobile padding */
@media (max-width: 768px) {
  section { padding: 64px 5vw !important; }
}

/* ─── FOOTER ─── */
footer {
  background: #111;
  padding: 72px 5vw 32px;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 64px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 768px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } }

.footer-logo-placeholder {
  height: 32px; width: 170px;
  background: rgba(255,255,255,0.06); border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 6px;
  color: rgba(255,255,255,0.3); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-logo-placeholder i { font-size: 0.75rem; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 220px; }

.footer-links-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 560px) { .footer-links-group { grid-template-columns: 1fr 1fr; } }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.83rem; color: rgba(255,255,255,0.35); text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 28px; font-size: 0.75rem; color: rgba(255,255,255,0.2);
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.75rem; color: rgba(255,255,255,0.2); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--red); }