/* DX9 LTD Theme - assets/css/theme.css */
/* Theme by Digital Media NW - digitalmedianw.co.uk */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B1526;
  --navy-mid: #132240;
  --gold: #C9960C;
  --gold-light: #F0B429;
  --gold-pale: #FFF8E7;
  --white: #FFFFFF;
  --off-white: #F7F7F5;
  --mid-gray: #6B7280;
  --border: #E5E7EB;
  --text: #1A1A2E;
  --radius: 8px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* NAV */
.dx9-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy); padding: 0 2rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.dx9-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; background: var(--gold); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 17px;
  color: var(--navy); letter-spacing: -0.5px;
}
.logo-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; color: var(--white); letter-spacing: 1px; }
.logo-text span { color: var(--gold-light); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links .nav-cta { background: var(--gold); color: var(--navy) !important; padding: 8px 18px; border-radius: var(--radius); font-weight: 600 !important; transition: background 0.2s !important; }
.nav-links .nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.dx9-hero { background: var(--navy); min-height: 100vh; display: flex; align-items: center; padding-top: 64px; position: relative; overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,150,12,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,150,12,0.06) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.hero-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(201,150,12,0.12) 0%, transparent 70%); top: 50%; right: -100px; transform: translateY(-50%); pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; width: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--gold); }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 800; line-height: 1.05; color: var(--white); margin-bottom: 1.5rem; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2.5rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--navy); padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: 15px; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); padding: 14px 28px; border-radius: var(--radius); font-weight: 500; font-size: 15px; transition: border-color 0.2s, background 0.2s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); background: rgba(201,150,12,0.1); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.stat-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.stat-card .num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--gold-light); line-height: 1; display: block; }
.stat-card .label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 6px; display: block; }
.hero-badge-row { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.6); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* COMMON */
.dx9-section { padding: 5rem 2rem; }
.dx9-container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; display: block; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; color: var(--navy); line-height: 1.1; margin-bottom: 1rem; }
.section-title em { font-style: normal; color: var(--gold); }
.section-sub { font-size: 17px; color: var(--mid-gray); max-width: 540px; line-height: 1.7; }
.section-header { margin-bottom: 3.5rem; }

/* ABOUT */
.dx9-about { background: var(--off-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-img-block { background: var(--navy); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.about-bg-text { position: absolute; font-family: 'Barlow Condensed', sans-serif; font-size: 140px; font-weight: 800; color: rgba(255,255,255,0.03); letter-spacing: -5px; bottom: -20px; right: -10px; line-height: 1; }
.about-img-inner { position: relative; z-index: 1; text-align: center; }
.about-icon-large { font-size: 80px; display: block; margin-bottom: 1rem; line-height: 1; }
.about-img-label { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.about-float-card { position: absolute; bottom: -20px; right: -20px; background: var(--gold); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; min-width: 180px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.about-float-card .num { font-family: 'Barlow Condensed', sans-serif; font-size: 2rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.about-float-card .txt { font-size: 12px; font-weight: 600; color: var(--navy); opacity: 0.7; margin-top: 4px; }
.about-content p { color: var(--mid-gray); margin-bottom: 1.25rem; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.pillar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; }
.pillar-icon { font-size: 22px; margin-bottom: 6px; }
.pillar h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.pillar p { font-size: 13px; color: var(--mid-gray); margin: 0; }

/* SERVICES */
.dx9-services { background: var(--white); }
.services-header-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: box-shadow 0.2s, transform 0.2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.service-card:hover::before, .service-card.featured::before { transform: scaleX(1); }
.service-card.featured { background: var(--navy); border-color: var(--navy); }
.service-card.featured::before { background: var(--gold-light); }
.service-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 1.25rem; }
.service-card.featured .service-icon { background: rgba(255,255,255,0.1); }
.service-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.service-card.featured h3 { color: var(--white); }
.service-card p { font-size: 14px; color: var(--mid-gray); line-height: 1.65; margin-bottom: 1.25rem; }
.service-card.featured p { color: rgba(255,255,255,0.65); }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-list li { font-size: 13px; color: var(--mid-gray); display: flex; align-items: center; gap: 8px; }
.service-card.featured .service-list li { color: rgba(255,255,255,0.6); }
.service-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* PRODUCTS */
.dx9-products { background: var(--navy); padding: 5rem 2rem; position: relative; overflow: hidden; }
.dx9-products .section-title { color: var(--white); }
.dx9-products .section-sub { color: rgba(255,255,255,0.55); }
.dx9-products .section-eyebrow { color: var(--gold); }
.products-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,150,12,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,150,12,0.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.cat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; text-align: center; transition: background 0.2s, border-color 0.2s; }
.cat-card:hover { background: rgba(201,150,12,0.12); border-color: rgba(201,150,12,0.4); }
.cat-emoji { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.cat-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.cat-card p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* WHY */
.dx9-why { background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.why-num { width: 40px; height: 40px; border-radius: var(--radius); background: var(--navy); color: var(--gold-light); font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-text h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.why-text p { font-size: 14px; color: var(--mid-gray); line-height: 1.6; }
.why-visual { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.testimonial-stack { display: flex; flex-direction: column; gap: 1rem; }
.testimonial { background: var(--off-white); border-radius: var(--radius); padding: 1.25rem; border-left: 3px solid var(--gold); }
.testimonial p { font-size: 14px; color: var(--text); font-style: italic; margin-bottom: 0.75rem; line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.testi-role { font-size: 12px; color: var(--mid-gray); }

/* PROCESS */
.dx9-process { background: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 3rem; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); z-index: 0; }
.process-step { text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--navy) !important; border: 3px solid var(--white); color: var(--gold-light) !important; font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; outline: 4px solid var(--border); outline-offset: 0; }
.step-circle.active { background: var(--gold) !important; color: var(--navy) !important; outline-color: var(--gold-pale); }
.process-step h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.process-step p { font-size: 13px; color: var(--mid-gray); line-height: 1.5; }

/* CONTACT */
.dx9-contact { background: var(--navy); padding: 6rem 2rem; position: relative; overflow: hidden; }
.contact-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,150,12,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,150,12,0.04) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; position: relative; z-index: 1; }
.contact-info .section-title { color: var(--white); }
.contact-info .section-eyebrow { color: var(--gold); }
.contact-info .section-sub { color: rgba(255,255,255,0.6); }
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; }
.detail-icon { width: 42px; height: 42px; border-radius: var(--radius); background: rgba(201,150,12,0.15); border: 1px solid rgba(201,150,12,0.3); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.detail-label { font-size: 12px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.detail-value { font-size: 15px; color: var(--white); font-weight: 500; }

/* Contact Form */
.contact-form-wrap { background: var(--white); border-radius: 20px; padding: 2.5rem; box-shadow: 0 32px 80px rgba(0,0,0,0.4); }
.form-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.form-sub { font-size: 14px; color: var(--mid-gray); margin-bottom: 1.5rem; }
.form-tabs { display: flex; gap: 0; background: var(--off-white); border-radius: var(--radius); padding: 4px; margin-bottom: 1.75rem; }
.form-tab { flex: 1; padding: 8px 12px; border-radius: 6px; border: none; background: transparent; font-size: 13px; font-weight: 500; color: var(--mid-gray); cursor: pointer; transition: background 0.2s, color 0.2s; font-family: 'Inter', sans-serif; }
.form-tab.active { background: var(--navy); color: var(--gold-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group label .req { color: var(--gold); margin-left: 3px; }
.form-control { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,150,12,0.12); }
.form-control::placeholder { color: #B0B7C3; }
select.form-control { appearance: none; background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 110px; line-height: 1.5; }
.form-checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 1.5rem; }
.form-checkbox-row input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; cursor: pointer; }
.form-checkbox-row label { font-size: 13px; color: var(--mid-gray); cursor: pointer; line-height: 1.5; }
.form-checkbox-row label a { color: var(--gold); }
.btn-submit { width: 100%; background: var(--navy); color: var(--white); border: none; padding: 15px 24px; border-radius: var(--radius); font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: background 0.2s, transform 0.15s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-submit .arrow { transition: transform 0.2s; }
.btn-submit:hover .arrow { transform: translateX(4px); }
.btn-submit.loading { opacity: 0.7; pointer-events: none; }
.form-trust { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--mid-gray); }
.form-notice { padding: 10px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 1rem; display: none; }
.form-notice.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; display: block; }
.form-notice.success-msg { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; display: block; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #ECFDF5; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 28px; }
.form-success h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { color: var(--mid-gray); font-size: 15px; }

/* FOOTER */
.dx9-footer { background: #070F1E; padding: 3rem 2rem 2rem; color: rgba(255,255,255,0.5); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; }
.footer-brand p { font-size: 14px; margin-top: 0.75rem; max-width: 280px; line-height: 1.6; }
.footer-links-col h5 { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 1rem; letter-spacing: 0.5px; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: 13px; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 1.5rem; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.categories-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.categories-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.categories-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.dx9-hero .hero-inner > * { opacity: 1 !important; transform: none !important; }
.dx9-hero .hero-inner * { opacity: 1 !important; transform: none !important; }
.dx9-hero h1 { color: #FFFFFF !important; opacity: 1 !important; }
.dx9-hero h1 em { color: var(--gold-light) !important; opacity: 1 !important; }

/* MOBILE */
@media (max-width: 900px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; gap: 0; box-shadow: 0 8px 20px rgba(0,0,0,0.3); padding: 0.5rem 0 1rem; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 2rem; font-size: 15px; }
  .nav-links .nav-cta { margin: 0.75rem 2rem 0; border-radius: var(--radius); text-align: center; padding: 12px; display: block; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-desc { font-size: 16px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .stat-card { padding: 1rem 0.75rem; }
  .stat-card .num { font-size: 1.8rem; }
  .stat-card .label { font-size: 11px; }
  .btn-primary, .btn-outline { padding: 12px 20px; font-size: 14px; }
  .about-grid, .why-grid, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-float-card { right: 0; bottom: -15px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.75rem; }
  .contact-inner { padding: 0 1.5rem; }
  .dx9-contact { padding: 4rem 0; }
  .services-header-row { flex-direction: column; gap: 1rem; }
  .dx9-section { padding: 4rem 1.5rem; }
  .dx9-products { padding: 4rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-top > div { width: 100%; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .about-pillars { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .form-tabs { flex-direction: column; }
  .form-tab { text-align: left; padding: 10px 14px; }
  .stat-card .num { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer-legal { justify-content: center; }
  .contact-form-wrap { border-radius: 12px; }
}

/* ====== NEWSLETTER POPUP ====== */
#dx9-newsletter-overlay {
  position: fixed; inset: 0; z-index: 999999;
  background: rgba(7, 15, 30, 0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: dx9FadeIn 0.3s ease;
}

#dx9-newsletter-overlay.dx9-nl-hiding {
  animation: dx9FadeOut 0.3s ease forwards;
}

@keyframes dx9FadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes dx9FadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

#dx9-newsletter-popup {
  background: var(--white);
  border-radius: 20px;
  padding: 2.75rem 2.5rem 2.25rem;
  max-width: 480px; width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  animation: dx9SlideUp 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes dx9SlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

#dx9-newsletter-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--off-white);
  color: var(--mid-gray); font-size: 18px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

#dx9-newsletter-close:hover {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

.nl-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}

.nl-icon { font-size: 26px; line-height: 1; }

.nl-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}

.nl-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: var(--navy); line-height: 1.1;
  margin-bottom: 0.75rem;
}

.nl-title em { font-style: normal; color: var(--gold); }

.nl-sub {
  font-size: 14px; color: var(--mid-gray);
  line-height: 1.65; margin-bottom: 1.5rem;
  max-width: 360px; margin-left: auto; margin-right: auto;
}

.nl-notice {
  font-size: 13px; padding: 10px 14px;
  border-radius: var(--radius); margin-bottom: 1rem;
}

.nl-notice.error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }
.nl-notice.success { background: #ECFDF5; color: #065F46; border: 1px solid #6EE7B7; }

.nl-field { margin-bottom: 0.75rem; }

.nl-field input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; text-align: center;
}

.nl-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,12,0.12);
}

.nl-field input::placeholder { color: #B0B7C3; }

.nl-btn {
  width: 100%; background: var(--navy); color: var(--white);
  border: none; padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 0.5rem;
}

.nl-btn:hover { background: var(--gold); transform: translateY(-1px); }
.nl-btn:hover .nl-btn-arrow { transform: translateX(4px); }
.nl-btn-arrow { transition: transform 0.2s; font-size: 18px; }
.nl-btn.loading { opacity: 0.7; pointer-events: none; }

.nl-legal {
  font-size: 12px; color: #B0B7C3;
  margin-top: 1rem; margin-bottom: 0;
}

/* Popup trigger button — floating bottom-right */
#dx9-nl-trigger {
  position: fixed; bottom: 2rem; right: 2rem;
  z-index: 999998;
  background: var(--navy); color: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 50px; padding: 12px 20px;
  font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: background 0.2s, transform 0.2s;
  animation: dx9BounceIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 4s both;
}

@keyframes dx9BounceIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

#dx9-nl-trigger:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
#dx9-nl-trigger.hidden { display: none; }

@media (max-width: 600px) {
  #dx9-newsletter-popup { padding: 2rem 1.5rem 1.75rem; }
  .nl-title { font-size: 1.8rem; }
  #dx9-nl-trigger { bottom: 1rem; right: 1rem; padding: 10px 16px; font-size: 13px; }
}
