/* ─── DGM TECHNOLOGY SOLUTIONS — SHARED STYLESHEET ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy: #0f2044;
  --navy-mid: #1b3a6b;
  --blue: #2563b0;
  --blue-light: #3b82d4;
  --gold: #b8922a;
  --gold-light: #d4a843;
  --cream: #f8f5ef;
  --white: #ffffff;
  --gray-100: #f4f4f6;
  --gray-200: #e8e8ec;
  --gray-500: #8888a0;
  --gray-700: #3d3d52;
  --dark: #0a0f1e;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--gray-700); background: var(--white); overflow-x: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,32,68,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,146,42,0.2);
  padding: 0 5vw; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--serif); font-size: 1.2rem; color: var(--white); letter-spacing: 0.02em; text-decoration: none; line-height: 1.2; }
.nav-logo span { color: var(--gold-light); display: block; font-size: 0.62rem; font-family: var(--sans); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.03em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-cta { background: var(--gold); color: var(--white) !important; padding: 0.5rem 1.3rem; border-radius: 3px; font-size: 0.78rem !important; font-weight: 600 !important; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--gold-light) !important; color: var(--white) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.25s; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(15,32,68,0.98); padding: 1.5rem 5vw 2rem; z-index: 99; border-bottom: 1px solid rgba(184,146,42,0.2); }
.mobile-menu.open { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a:last-child { border-bottom: none; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 140px 5vw 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(37,99,176,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 10% 80%, rgba(184,146,42,0.08) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.page-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold-light); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; color: var(--white); line-height: 1.15; margin-bottom: 1rem; }
.page-hero h1 em { color: var(--gold-light); font-style: normal; }
.page-hero p { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 540px; }

/* ─── SHARED SECTION STYLES ─── */
section { padding: 90px 5vw; }
.section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.section-label::before { content: ''; display: block; width: 22px; height: 1px; background: var(--blue); }
h2.section-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--navy); line-height: 1.2; margin-bottom: 1.2rem; font-weight: 700; }
.section-desc { font-size: 1rem; color: var(--gray-500); line-height: 1.75; max-width: 540px; font-weight: 300; }

/* ─── BUTTONS ─── */
.btn-primary { background: var(--gold); color: var(--white); padding: 0.85rem 2rem; border-radius: 3px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--navy-mid); color: var(--navy); padding: 0.85rem 2rem; border-radius: 3px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: border-color 0.2s, background 0.2s; display: inline-block; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); padding: 0.85rem 2rem; border-radius: 3px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-outline-light:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--gold); padding: 0.9rem 5vw; display: flex; align-items: center; justify-content: center; gap: 1.8rem; flex-wrap: wrap; }
.trust-item { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.trust-dot { width: 4px; height: 4px; background: rgba(255,255,255,0.45); border-radius: 50%; }

/* ─── SERVICE AREA STRIP ─── */
.service-area { background: var(--navy-mid); padding: 60px 5vw; text-align: center; }
.area-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 0.8rem; }
.area-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: var(--white); margin-bottom: 1.8rem; font-weight: 700; }
.area-chips { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.area-chip { border: 1px solid rgba(184,146,42,0.35); color: rgba(255,255,255,0.75); padding: 0.45rem 1.1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 500; }

/* ─── CTA STRIP ─── */
.cta-strip { background: var(--dark); padding: 90px 5vw; position: relative; overflow: hidden; }
.cta-strip::before { content: ''; position: absolute; top: -150px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(184,146,42,0.07) 0%, transparent 70%); pointer-events: none; }
.cta-inner { position: relative; max-width: 640px; }
.cta-strip .section-label { color: var(--gold-light); }
.cta-strip .section-label::before { background: var(--gold-light); }
.cta-strip h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--white); line-height: 1.15; margin-bottom: 1rem; font-weight: 700; }
.cta-strip p { font-size: 1rem; color: rgba(255,255,255,0.48); line-height: 1.75; margin-bottom: 2rem; font-weight: 300; max-width: 480px; }
.cta-email { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 1.15rem; font-weight: 600; color: var(--gold-light); text-decoration: none; font-family: var(--serif); border-bottom: 1px solid rgba(184,146,42,0.3); padding-bottom: 0.25rem; transition: border-color 0.2s; }
.cta-email:hover { border-color: var(--gold-light); }

/* ─── FOOTER ─── */
footer { background: var(--navy); padding: 2.5rem 5vw; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-logo { font-family: var(--serif); font-size: 1.05rem; color: var(--white); }
.footer-logo span { color: var(--gold-light); display: block; font-size: 0.6rem; font-family: var(--sans); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-top: 2px; }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.28); }

/* ─── VALUE CARDS ─── */
.value-card { background: var(--white); border: 1px solid var(--gray-200); border-left: 3px solid var(--gold); padding: 1.2rem 1.4rem; border-radius: 0 3px 3px 0; }
.value-card h4 { font-size: 0.85rem; font-weight: 600; color: var(--navy); letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

/* ─── INDUSTRY CARDS ─── */
.industries-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3rem; }
.industry-card { background: var(--white); border: 1px solid var(--gray-200); padding: 1.8rem; border-radius: 2px; display: flex; gap: 1.2rem; align-items: flex-start; transition: border-color 0.2s, box-shadow 0.2s; }
.industry-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(27,58,107,0.07); }
.industry-icon { font-size: 1.5rem; flex-shrink: 0; }
.industry-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.industry-card p { font-size: 0.83rem; color: var(--gray-500); line-height: 1.65; font-weight: 300; }

/* ─── FADE IN ─── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .industries-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 65px 5vw; }
  .page-hero { padding: 120px 5vw 60px; }
}
