/* ============================================
   SECURR — ENTERPRISE SECURITY SYSTEMS
   Light Theme CSS
   Colors from logo: Navy #1B2B5E, Red #B01C2E
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- TOKENS ---- */
:root {
  --navy:       #1B2B5E;
  --navy-dark:  #0F1A3D;
  --navy-light: #2D3F75;
  --red:        #B01C2E;
  --red-light:  #D42238;
  --white:      #FFFFFF;
  --off-white:  #F5F4F0;
  --cream:      #EDEAE2;
  --light-grey: #E2E0DA;
  --mid-grey:   #9A9690;
  --dark-grey:  #3C3A36;
  --text:       #1A1917;
  --text-light: #5C5A56;

  --shadow-sm:  0 2px 8px rgba(27,43,94,0.08);
  --shadow-md:  0 8px 32px rgba(27,43,94,0.12);
  --shadow-lg:  0 24px 64px rgba(27,43,94,0.18);

  --radius:     4px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 72px;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display-xl { font-size: clamp(68px, 9vw, 144px); }
.display-lg { font-size: clamp(48px, 6vw, 96px); }
.display-md { font-size: clamp(36px, 4vw, 60px); }
.display-sm { font-size: clamp(26px, 3vw, 38px); }

.serif { font-family: 'Lora', Georgia, serif; }

.label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
}
.label-navy { color: var(--navy); }
.label::before { content: '— '; }

/* ---- LAYOUT ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 60px; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

/* ---- NAV ---- */

body.admin-bar nav#nav {
    top: 32px;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--light-grey);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex; gap: 40px; align-items: center;
}
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--navy);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-phone {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--navy); display: flex; align-items: center; gap: 8px;
}
.nav-phone svg { color: var(--red); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 14px 32px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(176,28,46,0.3); }
.btn-navy {
  background: var(--navy); color: var(--white);
  padding: 14px 32px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,43,94,0.3); }
.btn-outline {
  border: 1.5px solid var(--navy); color: var(--navy);
  padding: 13px 30px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
  color: var(--navy); padding: 0; font-size: 12px; gap: 12px;
}
.btn-ghost .line {
  width: 32px; height: 1.5px; background: currentColor;
  position: relative; transition: width 0.25s;
}
.btn-ghost .line::after {
  content: ''; position: absolute; right: -1px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
}
.btn-ghost:hover .line { width: 48px; }
.btn-ghost:hover { color: var(--red); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  background: var(--navy);
  padding: 80px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-eyebrow {
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px; position: relative; z-index: 1;
  opacity: 0; animation: fadeUp 0.7s 0.3s forwards;
}
.hero-title {
  color: var(--white);
  position: relative; z-index: 1;
  opacity: 0; animation: fadeUp 0.8s 0.45s forwards;
}
.hero-title .accent { color: var(--red); }
.hero-title .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.2);
}
.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 16px; line-height: 1.75;
  max-width: 420px; margin-top: 28px;
  position: relative; z-index: 1;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; position: relative; z-index: 1;
  opacity: 0; animation: fadeUp 0.8s 0.75s forwards;
}
.hero-right {
  position: relative; overflow: hidden;
  background: var(--cream);
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero-right:hover img { transform: scale(1.04); }
.hero-badge {
  position: absolute; bottom: 40px; left: -1px;
  background: var(--red); color: var(--white);
  padding: 20px 32px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; animation: slideRight 0.8s 1s forwards;
}
.hero-badge-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px; font-weight: 800; line-height: 1;
}
.hero-badge-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0.85;
}
/* Live dot */
.live-dot {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255,255,255,0.95);
  padding: 8px 16px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text);
}
.live-dot-circle {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  animation: pulse 1.5s infinite;
}

/* ---- MARQUEE ---- */
.marquee-wrap {
  background: var(--navy); overflow: hidden;
  padding: 16px 0; border-top: 3px solid var(--red);
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); padding: 0 32px;
}
.marquee-sep { color: var(--red); padding: 0 8px; }

/* ---- STATS ---- */
.stats-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--light-grey);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--light-grey);
}
.stat-cell {
  padding: 48px 40px;
  border-right: 1px solid var(--light-grey);
  position: relative;
}
.stat-cell::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--transition);
}
.stat-cell:hover::before { transform: scaleX(1); }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px; font-weight: 800; line-height: 1;
  color: var(--navy);
}
.stat-num sup { font-size: 28px; color: var(--red); }
.stat-desc { font-size: 13px; color: var(--text-light); margin-top: 8px; font-weight: 500; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--light-grey);
  border: 1px solid var(--light-grey);
  margin-top: 64px;
}
.service-card {
  background: var(--white);
  padding: 52px 44px;
  position: relative; overflow: hidden;
  transition: background var(--transition);
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--transition);
}
.service-card:hover { background: var(--off-white); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; margin-bottom: 28px;
  color: var(--red);
}
.service-num {
  position: absolute; top: 28px; right: 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 72px; font-weight: 800; line-height: 1;
  color: var(--cream); user-select: none;
}
.service-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 14px;
}
.service-desc { font-size: 14px; line-height: 1.75; color: var(--text-light); }

/* ---- CLIENTS ---- */
.clients-section { background: var(--off-white); }
.clients-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--light-grey);
  border: 1px solid var(--light-grey); margin-top: 56px;
}
.client-cell {
  background: var(--white); padding: 36px 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mid-grey);
  transition: color 0.2s, background 0.2s;
}
.client-cell:hover { color: var(--navy); background: var(--off-white); }

/* ---- CASE STUDY ---- */
.case-card {
  display: grid; grid-template-columns: 5fr 4fr;
  border: 1px solid var(--light-grey);
  overflow: hidden;
  margin-top: 56px;
  box-shadow: var(--shadow-md);
}
.case-img-wrap {
  position: relative; overflow: hidden; min-height: 540px;
}
.case-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--transition);
}
.case-card:hover .case-img-wrap img { transform: scale(1.04); }
.case-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(27,43,94,0.4) 0%, transparent 60%);
}
.case-content {
  padding: 72px 60px;
  background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
}
.case-tag { margin-bottom: 20px; }
.case-tag .label { color: rgba(255,255,255,0.5); }
.case-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px; font-weight: 800; line-height: 1.05;
  color: var(--white); text-transform: uppercase;
  margin-bottom: 20px;
}
.case-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 44px; }
.case-metrics {
  display: flex; gap: 40px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.metric-val {
  font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 800;
  color: var(--red); line-height: 1;
}
.metric-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px;
  font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-top: 4px;
}

/* ---- FEATURE ROW ---- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 0;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--transition);
}
.feature-img:hover img { transform: scale(1.04); }
.feature-text {
  padding: 80px 80px;
  background: var(--off-white);
}
.feature-text .label { margin-bottom: 20px; display: block; }
.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px; font-weight: 800; text-transform: uppercase;
  color: var(--navy); margin-bottom: 20px; line-height: 1.05;
}
.feature-desc { font-size: 15px; line-height: 1.8; color: var(--text-light); margin-bottom: 36px; }
.feature-list { margin-bottom: 40px; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  font-size: 14px; color: var(--text-light);
  display: flex; align-items: center; gap: 10px;
}
.feature-list li::before {
  content: ''; width: 20px; height: 2px; background: var(--red); flex-shrink: 0;
}

/* ---- TECH STRIP ---- */
.tech-strip {
  background: var(--navy); padding: 80px 0;
  border-top: 3px solid var(--red);
}
.tech-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 52px;
}
.tech-item {
  background: var(--navy); padding: 40px 36px;
  transition: background 0.25s;
}
.tech-item:hover { background: var(--navy-light); }
.tech-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--red); margin-bottom: 16px;
}
.tech-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 700; text-transform: uppercase;
  color: var(--white); margin-bottom: 12px;
}
.tech-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); }

/* ---- TESTIMONIAL ---- */
.testimonial-section { background: var(--cream); }
.testimonial-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center;
}
.testimonial-quote {
  font-family: 'Lora', Georgia, serif;
  font-size: 22px; font-style: italic; line-height: 1.6;
  color: var(--navy); margin-bottom: 28px;
}
.testimonial-quote::before { content: '\201C'; font-size: 60px; color: var(--red); line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy);
}
.testimonial-role { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--red); position: relative; overflow: hidden;
  padding: 100px 0; text-align: center;
}
.cta-banner::before {
  content: 'SECURR';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 300px; font-weight: 800;
  color: rgba(255,255,255,0.04); white-space: nowrap;
  pointer-events: none; letter-spacing: -0.02em;
}
.cta-banner .display { color: var(--white); position: relative; z-index: 1; margin-bottom: 20px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 44px; position: relative; z-index: 1; }
.cta-banner .btn-navy { position: relative; z-index: 1; background: var(--navy); }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}
.footer-brand img { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tagline { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 260px; }
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ---- BLOG PAGE ---- */
.page-header {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header .label { margin-bottom: 16px; display: block; color: rgba(255,255,255,0.4); }
.page-header .label::before { color: var(--red); }
.page-header .display { color: var(--white); }
.page-header p { color: rgba(255,255,255,0.55); font-size: 16px; max-width: 500px; margin-top: 20px; line-height: 1.7; }

.blog-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 2px;
  background: var(--light-grey); border: 1px solid var(--light-grey);
}
.blog-featured {
  position: relative; overflow: hidden; min-height: 520px;
}
.blog-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--transition); }
.blog-featured:hover img { transform: scale(1.04); }
.blog-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,43,94,0.9) 0%, rgba(27,43,94,0.1) 60%, transparent 100%);
}
.blog-featured-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px;
}
.blog-tag {
  display: inline-block; background: var(--red); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 12px; margin-bottom: 14px;
}
.blog-featured-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 800; text-transform: uppercase;
  color: var(--white); margin-bottom: 12px; line-height: 1.1;
}
.blog-featured-meta { font-size: 12px; color: rgba(255,255,255,0.5); }

.blog-sidebar { display: flex; flex-direction: column; gap: 1px; background: var(--light-grey); }
.blog-side-card {
  background: var(--white); padding: 32px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: background 0.2s;
}
.blog-side-card:hover { background: var(--off-white); }
.blog-side-img {
  width: 90px; height: 70px; object-fit: cover; flex-shrink: 0;
}
.blog-side-tag { margin-bottom: 6px; }
.blog-side-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; text-transform: uppercase;
  color: var(--navy); line-height: 1.2; margin-bottom: 6px;
}
.blog-side-meta { font-size: 11px; color: var(--text-light); }

.blog-list-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--light-grey);
  border: 1px solid var(--light-grey); margin-top: 2px;
}
.blog-card {
  background: var(--white); overflow: hidden;
  transition: background 0.25s;
}
.blog-card:hover { background: var(--off-white); }
.blog-card-img {
  aspect-ratio: 16/10; overflow: hidden;
  position: relative;
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--transition);
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 32px; }
.blog-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800; text-transform: uppercase;
  color: var(--navy); margin: 10px 0 12px; line-height: 1.15;
}
.blog-card-excerpt { font-size: 13px; line-height: 1.7; color: var(--text-light); margin-bottom: 20px; }
.blog-card-meta { font-size: 11px; color: var(--mid-grey); display: flex; gap: 16px; align-items: center; }
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }

/* Newsletter */
.newsletter-strip {
  background: var(--off-white); border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 64px 0;
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.newsletter-text h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--navy);
}
.newsletter-text p { font-size: 14px; color: var(--text-light); margin-top: 6px; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-input {
  border: 1.5px solid var(--light-grey); border-right: none;
  padding: 13px 20px; font-size: 14px; font-family: 'DM Sans', sans-serif;
  background: var(--white); color: var(--text);
  min-width: 280px; outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--navy); }
.newsletter-submit {
  background: var(--navy); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 13px 28px; cursor: pointer; transition: background 0.2s;
  border: 1.5px solid var(--navy);
}
.newsletter-submit:hover { background: var(--red); border-color: var(--red); }

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.75s var(--transition), transform 0.75s var(--transition);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ---- UTILS ---- */
.text-red { color: var(--red); }
.text-navy { color: var(--navy); }
.text-light { color: var(--text-light); }
.bg-off { background: var(--off-white); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }

/* ============================================
   RESPONSIVE — TABLET & MOBILE
   ============================================ */

/* ---- TABLET: ≤ 1024px ---- */
@media (max-width: 1024px) {
  .container, .container-wide { padding: 0 32px; }
  .section { padding: 80px 0; }

  /* Nav */
  .nav-inner { padding: 0 32px; }
  .nav-links { gap: 24px; }
  .nav-phone { display: none; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 120px 32px 60px; }
  .hero-right { min-height: 420px; }
  .display-xl { font-size: 80px; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Case study */
  .case-card { grid-template-columns: 1fr; }
  .case-img-wrap { min-height: 360px; }
  .case-content { padding: 48px 40px; }

  /* Feature rows */
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .feature-text { padding: 60px 40px; }

  /* Clients */
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .clients-section .flex-between { flex-direction: column; gap: 24px; }

  /* Tech */
  .tech-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonial */
  .testimonial-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { flex-direction: row; gap: 1px; background: var(--light-grey); }
  .blog-sidebar .blog-side-card { flex: 1; }
  .blog-list-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Newsletter */
  .newsletter-inner { flex-direction: column; gap: 28px; align-items: flex-start; }
}

/* ---- MOBILE: ≤ 768px ---- */
@media (max-width: 768px) {
  .container, .container-wide { padding: 0 20px; }
  .section { padding: 60px 0; }
  .section-sm { padding: 48px 0; }

  /* Nav */
  .nav-inner { padding: 0 20px; height: 60px; }
  .nav-links { display: none; }
  .nav-actions .btn-primary { padding: 10px 20px; font-size: 11px; }
  .nav-phone { display: none; }

  /* Hamburger */
  .nav-hamburger {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 4px;
  }
  .nav-hamburger span {
    width: 22px; height: 2px; background: var(--navy);
    transition: all 0.3s;
  }

  /* Mobile menu */
  .mobile-menu {
    position: fixed; inset: 0; top: 60px;
    background: var(--white); z-index: 800;
    flex-direction: column; padding: 40px 24px;
    gap: 0; border-top: 1px solid var(--light-grey);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px; font-weight: 800; text-transform: uppercase;
    color: var(--navy); padding: 16px 0;
    border-bottom: 1px solid var(--light-grey);
    letter-spacing: 0.03em;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu-cta {
    margin-top: 32px; display: flex; flex-direction: column; gap: 12px;
  }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 60px 20px 52px; }
  .hero-right { min-height: 280px; }
  .display-xl { font-size: 60px; }
  .display-lg { font-size: 44px; }
  .display-md { font-size: 32px; }
  .hero-badge { padding: 16px 20px; }
  .hero-badge-num { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* Marquee */
  .marquee-item { font-size: 12px; padding: 0 20px; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 32px 24px; }
  .stat-num { font-size: 40px; }
  .stat-num sup { font-size: 20px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }

  /* Case study */
  .case-img-wrap { min-height: 260px; }
  .case-content { padding: 36px 24px; }
  .case-title { font-size: 30px; }
  .case-metrics { gap: 24px; flex-wrap: wrap; }
  .metric-val { font-size: 30px; }

  /* Feature rows */
  .feature-text { padding: 48px 20px; }
  .feature-title { font-size: 32px; }

  /* Clients */
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-section > .container > div:first-child {
    flex-direction: column; gap: 20px; align-items: flex-start;
  }

  /* Tech */
  .tech-grid { grid-template-columns: 1fr; }
  .tech-item { padding: 32px 24px; }
  .tech-strip { padding: 60px 0; }

  /* Testimonial */
  .testimonial-quote { font-size: 17px; }

  /* CTA Banner */
  .cta-banner { padding: 72px 0; }
  .cta-banner .display { font-size: 48px; }
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; }

  /* Blog */
  .page-header { padding: 100px 0 60px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-sidebar { flex-direction: column; }
  .blog-list-grid { grid-template-columns: 1fr; }
  .blog-featured { min-height: 340px; }
  .blog-featured-title { font-size: 22px; }
  .blog-featured-content { padding: 28px; }

  /* Newsletter */
  .newsletter-inner { gap: 20px; }
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-input { min-width: unset; width: 100%; border-right: 1.5px solid var(--light-grey); border-bottom: none; }
  .newsletter-submit { width: 100%; padding: 14px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-legal { justify-content: center; }
  .footer { padding: 60px 0 32px; }
}

/* ---- SMALL MOBILE: ≤ 480px ---- */
@media (max-width: 480px) {
  .display-xl { font-size: 50px; }
  .display-lg { font-size: 38px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .case-metrics { flex-direction: column; gap: 20px; }
  .hero-left { padding: 80px 20px 48px; }
}

/* Hamburger + mobile menu hidden on desktop */
.nav-hamburger { display: none; }
.mobile-menu { display: none; }
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.active span:nth-child(2) { opacity: 0; }
  .nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── CONTACT PAGE ──────────────────────────────────────── */
.contact-hero { display:grid; grid-template-columns:1fr 1fr; min-height:520px; }
.contact-hero-left { background:var(--navy); padding:80px; display:flex; flex-direction:column; justify-content:flex-end; position:relative; overflow:hidden; }
.contact-hero-left::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px); background-size:60px 60px; }
.contact-hero-left::after { content:'CONTACT'; position:absolute; bottom:-20px; right:-20px; font-family:'Barlow Condensed',sans-serif; font-size:160px; font-weight:800; color:rgba(255,255,255,0.04); line-height:1; pointer-events:none; }
.contact-hero-right { background:var(--red); padding:80px; display:flex; flex-direction:column; justify-content:flex-end; position:relative; overflow:hidden; }
.contact-hero-right::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.05) 1px,transparent 1px); background-size:60px 60px; }
.contact-hero-eyebrow { font-family:'Barlow Condensed',sans-serif; font-size:11px; font-weight:600; letter-spacing:0.25em; text-transform:uppercase; color:rgba(255,255,255,0.45); margin-bottom:16px; position:relative; z-index:1; }
.contact-hero-eyebrow::before { content:'— '; color:var(--red); }
.contact-hero-right .contact-hero-eyebrow::before { color:rgba(255,255,255,0.6); }
.contact-hero-title { font-family:'Barlow Condensed',sans-serif; font-size:clamp(52px,5vw,80px); font-weight:800; line-height:0.95; text-transform:uppercase; color:var(--white); position:relative; z-index:1; }
.contact-hero-desc { font-size:15px; line-height:1.75; color:rgba(255,255,255,0.65); max-width:360px; margin-top:20px; position:relative; z-index:1; }
.contact-info-row { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--light-grey); border:1px solid var(--light-grey); }
.info-card { background:var(--white); padding:52px 44px; display:flex; flex-direction:column; gap:20px; position:relative; overflow:hidden; transition:background var(--transition); }
.info-card::after { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform 0.4s var(--transition); }
.info-card:hover { background:var(--off-white); }
.info-card:hover::after { transform:scaleX(1); }
.info-icon { width:48px; height:48px; color:var(--red); flex-shrink:0; }
.info-label { font-family:'Barlow Condensed',sans-serif; font-size:10px; font-weight:700; letter-spacing:0.25em; text-transform:uppercase; color:var(--mid-grey); }
.info-value { font-family:'Barlow Condensed',sans-serif; font-size:22px; font-weight:700; color:var(--navy); margin-top:4px; line-height:1.3; }
.info-sub { font-size:13px; color:var(--text-light); line-height:1.6; }
.contact-body { display:grid; grid-template-columns:5fr 4fr; gap:1px; background:var(--light-grey); border:1px solid var(--light-grey); }
.form-panel { background:var(--white); padding:80px; }
.form-heading { font-family:'Barlow Condensed',sans-serif; font-size:42px; font-weight:800; text-transform:uppercase; color:var(--navy); line-height:1; margin-bottom:8px; }
.form-sub { font-size:14px; color:var(--text-light); line-height:1.7; margin-bottom:48px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-group { display:flex; flex-direction:column; gap:8px; }
.form-group.full { grid-column:1/-1; }
.form-label { font-family:'Barlow Condensed',sans-serif; font-size:11px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--navy); }
.form-label span { color:var(--red); }
.form-input,.form-select,.form-textarea { font-family:'DM Sans',sans-serif; font-size:14px; color:var(--text); background:var(--off-white); border:1.5px solid var(--light-grey); padding:14px 18px; outline:none; transition:border-color 0.2s,background 0.2s; width:100%; }
.form-input::placeholder,.form-textarea::placeholder { color:var(--mid-grey); }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color:var(--navy); background:var(--white); }
.form-input.error,.form-textarea.error { border-color:var(--red); }
.form-select { appearance:none; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9690' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 18px center; padding-right:44px; }
.form-textarea { resize:vertical; min-height:140px; line-height:1.6; }
.form-checks { display:flex; flex-wrap:wrap; gap:10px; margin-top:4px; }
.form-check { display:flex; align-items:center; gap:8px; cursor:pointer; }
.form-check input[type="checkbox"] { display:none; }
.form-check-box { width:18px; height:18px; border:1.5px solid var(--light-grey); background:var(--off-white); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all 0.2s; }
.form-check input:checked+.form-check-box { background:var(--navy); border-color:var(--navy); }
.form-check input:checked+.form-check-box::after { content:''; width:5px; height:9px; border-right:2px solid white; border-bottom:2px solid white; transform:rotate(45deg) translate(-1px,-1px); display:block; }
.form-check-label { font-size:13px; color:var(--text-light); user-select:none; }
.form-submit-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-top:36px; padding-top:36px; border-top:1px solid var(--light-grey); }
.form-privacy { font-size:12px; color:var(--mid-grey); max-width:320px; line-height:1.6; }
.form-privacy a { color:var(--navy); text-decoration:underline; }
.form-success { display:none; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:60px 40px; gap:20px; }
.form-success.show { display:flex; }
.form-success-icon { width:72px; height:72px; background:var(--navy); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.form-success-title { font-family:'Barlow Condensed',sans-serif; font-size:36px; font-weight:800; text-transform:uppercase; color:var(--navy); }
.form-success-desc { font-size:15px; color:var(--text-light); line-height:1.7; max-width:360px; }
.contact-side { background:var(--navy); padding:80px 60px; display:flex; flex-direction:column; gap:0; }
.side-section { padding:40px 0; border-bottom:1px solid rgba(255,255,255,0.08); }
.side-section:first-child { padding-top:0; }
.side-section:last-child { border-bottom:none; }
.side-title { font-family:'Barlow Condensed',sans-serif; font-size:13px; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.4); margin-bottom:20px; }
.side-contact-item { display:flex; align-items:flex-start; gap:14px; margin-bottom:20px; }
.side-contact-item:last-child { margin-bottom:0; }
.side-contact-icon { width:18px; height:18px; color:var(--red); flex-shrink:0; margin-top:2px; }
.side-contact-label { font-family:'Barlow Condensed',sans-serif; font-size:10px; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.35); }
.side-contact-val { font-size:15px; color:var(--white); margin-top:2px; line-height:1.5; }
.side-contact-val a { color:var(--white); transition:color 0.2s; }
.side-contact-val a:hover { color:var(--red); }
.office-card { padding:24px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.office-card:last-child { border-bottom:none; padding-bottom:0; }
.office-city { font-family:'Barlow Condensed',sans-serif; font-size:18px; font-weight:800; text-transform:uppercase; color:var(--white); margin-bottom:6px; display:flex; align-items:center; gap:10px; }
.office-city-dot { width:6px; height:6px; border-radius:50%; background:var(--red); flex-shrink:0; }
.office-addr { font-size:13px; color:rgba(255,255,255,0.5); line-height:1.6; }
.hours-row { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid rgba(255,255,255,0.05); }
.hours-row:last-child { border-bottom:none; }
.hours-day { font-size:13px; color:rgba(255,255,255,0.5); }
.hours-time { font-family:'Barlow Condensed',sans-serif; font-size:14px; font-weight:700; color:var(--white); }
.hours-time.closed { color:rgba(255,255,255,0.25); }
.map-wrap { position:relative; }
.map-strip { width:100%; height:400px; border:none; display:block; filter:grayscale(30%) contrast(1.05); }
.map-overlay { position:absolute; top:32px; left:32px; background:var(--white); padding:20px 28px; box-shadow:var(--shadow-md); }
.map-overlay-title { font-family:'Barlow Condensed',sans-serif; font-size:14px; font-weight:800; text-transform:uppercase; color:var(--navy); margin-bottom:4px; }
.map-overlay-addr { font-size:12px; color:var(--text-light); }

/* Contact responsive */
@media (max-width:1024px) {
  .contact-hero { grid-template-columns:1fr; }
  .contact-hero-right { min-height:240px; }
  .contact-hero-left,.contact-hero-right { padding:60px 40px; }
  .contact-info-row { grid-template-columns:1fr; }
  .contact-body { grid-template-columns:1fr; }
  .contact-side { padding:60px 40px; }
  .form-panel { padding:60px 40px; }
}
@media (max-width:768px) {
  .contact-hero-left,.contact-hero-right { padding:48px 20px; }
  .form-panel { padding:40px 20px; }
  .form-grid { grid-template-columns:1fr; }
  .contact-side { padding:48px 20px; }
  .form-submit-row { flex-direction:column; align-items:flex-start; }
  .info-card { padding:36px 24px; }
}
