/* ── DVR Management Solutions — Shared Stylesheet ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #142f66;
  --navy-deep:  #0b1d45;
  --navy-mid:   #1a3570;
  --red:        #e03425;
  --red-hover:  #c0392b;
  --cream:      #faf8f5;
  --off-white:  #f4f1ec;
  --border:     #e2ddd7;
  --grey:       #6b6560;
  --text:       #1a1a1a;
  --white:      #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7%; height: 70px;
  border-bottom: 3px solid var(--red);
}

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .brand { font-weight: 600; font-size: 1rem; color: #fff; letter-spacing: 0.02em; }
.nav-logo-text .sub { font-weight: 300; font-size: 0.58rem; color: rgba(255,255,255,0.45); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; gap: 2.4rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.8rem; font-weight: 400; letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { background: var(--red) !important; color: #fff !important; padding: 9px 22px !important; border-radius: 2px; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--red-hover) !important; }

/* ── FOOTER ── */
footer {
  background: #07101c; padding: 2rem 7%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.f-left { display: flex; align-items: center; gap: 14px; }
.f-text { font-size: 0.72rem; color: rgba(255,255,255,0.28); line-height: 1.65; }
.f-links { display: flex; gap: 1.8rem; }
.f-links a { font-size: 0.7rem; color: rgba(255,255,255,0.28); text-decoration: none; letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.2s; }
.f-links a:hover { color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 8px; align-items: center; }
.footer-social-icon { width: 30px; height: 30px; border-radius: 2px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.footer-social-icon svg { width: 13px; height: 13px; fill: rgba(255,255,255,0.3); transition: fill 0.2s; }
.footer-social-icon:hover { background: rgba(224,52,37,0.15); border-color: rgba(224,52,37,0.3); }
.footer-social-icon:hover svg { fill: rgba(255,255,255,0.8); }

/* ── SECTIONS ── */
.section { padding: 100px 7%; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.eyebrow {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; display: block; width: 26px; height: 2px; background: var(--red); }

h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700; color: var(--navy-deep); line-height: 1.2; margin-bottom: 1rem;
}

.section-lead {
  font-size: 1rem; color: var(--grey); line-height: 1.8; max-width: 580px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--red); color: #fff; padding: 14px 30px; border-radius: 2px;
  text-decoration: none; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: background 0.2s, transform 0.15s; display: inline-block;
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
  padding: 14px 30px; border-radius: 2px; text-decoration: none;
  font-size: 0.85rem; font-weight: 400; letter-spacing: 0.07em; text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, transform 0.15s; display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); color: #fff; transform: translateY(-1px); }

/* ── HERO (index) ── */
.hero {
  padding-top: 70px;
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(224,52,37,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,46,74,0.6) 0%, transparent 70%);
}
.hero-rule {
  position: absolute; top: 0; right: 30%; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(224,52,37,0.25) 30%, rgba(224,52,37,0.25) 70%, transparent);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%; padding: 80px 7%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center;
}
.hero-eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; display: block; width: 30px; height: 2px; background: var(--red); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1.5rem;
}
.hero h1 .accent { color: rgba(255,255,255,0.45); font-weight: 400; font-style: italic; }
.hero-body {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.6);
  line-height: 1.8; max-width: 520px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-pillars { display: flex; flex-direction: column; gap: 1px; }
.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 1.6rem;
  display: flex; align-items: flex-start; gap: 1.1rem;
  transition: background 0.25s;
}
.pillar:hover { background: rgba(255,255,255,0.07); }
.pillar:first-child { border-radius: 4px 4px 0 0; }
.pillar:last-child { border-radius: 0 0 4px 4px; }
.pillar-icon { width: 38px; height: 38px; flex-shrink: 0; background: rgba(224,52,37,0.12); border: 1px solid rgba(224,52,37,0.22); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.pillar-title { font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
.pillar-desc { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.5; }

/* ── ACCREDITATION STRIP ── */
.accred-strip {
  background: var(--navy-mid);
  padding: 18px 7%;
  display: flex; align-items: center; justify-content: center;
  gap: 3.5rem; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.accred-item { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.accred-dot { width: 5px; height: 5px; background: var(--red); border-radius: 50%; flex-shrink: 0; }

/* ── PROMISE ── */
.promise-section { background: var(--cream); }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.promise-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.stat-box { background: var(--white); padding: 2.2rem 2rem; text-align: center; transition: background 0.2s; }
.stat-box:hover { background: var(--off-white); }
.stat-val { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 700; color: var(--navy-deep); line-height: 1; margin-bottom: 6px; }
.stat-val span { font-size: 1.4rem; color: var(--red); }
.stat-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.promise-quote { border-left: 3px solid var(--red); padding: 1.4rem 1.8rem; background: var(--off-white); border-radius: 0 4px 4px 0; margin: 2rem 0; }
.promise-quote p { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-style: italic; color: var(--navy-deep); line-height: 1.65; }

/* ── SERVICES ── */
.services-section { background: var(--white); }
.services-top { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; margin-bottom: 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.svc { background: var(--white); padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: background 0.2s; }
.svc::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.svc:hover { background: var(--cream); }
.svc:hover::after { transform: scaleX(1); }
.svc-num { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 1.1rem; }
.svc-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; color: var(--navy-deep); line-height: 1.25; margin-bottom: 0.9rem; }
.svc-desc { font-size: 0.86rem; color: var(--grey); line-height: 1.75; }
.svc-list { margin-top: 1rem; padding-left: 0; list-style: none; }
.svc-list li { font-size: 0.82rem; color: #555; padding: 5px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 8px; }
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before { content: '—'; color: var(--red); font-size: 0.7rem; flex-shrink: 0; margin-top: 2px; }

/* ── APPROACH ── */
.approach-section { background: var(--navy-deep); position: relative; overflow: hidden; }
.approach-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(224,52,37,0.07) 0%, transparent 60%); }
.approach-inner { position: relative; z-index: 2; }
.approach-section h2.section-title { color: #fff; }
.approach-section .section-lead { color: rgba(255,255,255,0.5); }
.approach-section .eyebrow { color: rgba(224,52,37,0.85); }
.approach-section .eyebrow::before { background: rgba(224,52,37,0.85); }
.approach-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 4rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.step { padding: 2.5rem 2rem; border-right: 1px solid rgba(255,255,255,0.08); position: relative; transition: background 0.2s; }
.step:last-child { border-right: none; }
.step:hover { background: rgba(255,255,255,0.03); }
.step-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: rgba(224,52,37,0.2); line-height: 1; margin-bottom: 1.2rem; }
.step-title { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 0.7rem; }
.step-desc { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ── SECTORS ── */
.sectors-section { background: var(--cream); }
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.sector { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 2rem 1.5rem; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.sector:hover { border-color: var(--red); transform: translateY(-3px); }
.sector-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.sector-name { font-size: 0.88rem; font-weight: 600; color: var(--navy-deep); margin-bottom: 0.4rem; }
.sector-note { font-size: 0.78rem; color: var(--grey); line-height: 1.5; }

/* ── CONTACT (index inline form) ── */
.contact-section { background: var(--navy-deep); position: relative; overflow: hidden; }
.contact-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 0% 100%, rgba(224,52,37,0.1) 0%, transparent 60%); }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-section h2.section-title { color: #fff; }
.contact-section .eyebrow { color: rgba(224,52,37,0.85); }
.contact-section .eyebrow::before { background: rgba(224,52,37,0.85); }
.contact-intro { font-size: 0.95rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 2.5rem; }
.c-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.c-row:first-of-type { border-top: 1px solid rgba(255,255,255,0.07); }
.c-ico { width: 38px; height: 38px; flex-shrink: 0; background: rgba(224,52,37,0.1); border: 1px solid rgba(224,52,37,0.22); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.c-lbl { font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.c-val { font-size: 0.9rem; color: rgba(255,255,255,0.78); }
.c-val a { color: rgba(255,255,255,0.78); text-decoration: none; transition: color 0.2s; }
.c-val a:hover { color: #fff; }

/* ── FORM ── */
.c-form { display: flex; flex-direction: column; gap: 1rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-lbl { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.38); }
.f-input, .f-select, .f-textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px; padding: 11px 14px; color: #fff;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: rgba(224,52,37,0.45); background: rgba(255,255,255,0.07); }
.f-input::placeholder, .f-textarea::placeholder { color: rgba(255,255,255,0.22); }
.f-select option { background: var(--navy-deep); }
.f-textarea { resize: vertical; min-height: 110px; }
.f-note { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.f-submit {
  background: var(--red); color: #fff; border: none;
  padding: 13px 28px; border-radius: 2px;
  font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s, transform 0.15s; align-self: flex-start;
}
.f-submit:hover { background: var(--red-hover); transform: translateY(-1px); }

/* ── SOCIAL ── */
.social-block { margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.07); }
.social-label { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1rem; }
.social-icons { display: flex; gap: 10px; }
.social-icon { width: 40px; height: 40px; border-radius: 3px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s, border-color 0.2s, transform 0.15s; flex-shrink: 0; }
.social-icon svg { width: 17px; height: 17px; fill: rgba(255,255,255,0.5); transition: fill 0.2s; }
.social-icon:hover { background: rgba(224,52,37,0.15); border-color: rgba(224,52,37,0.35); transform: translateY(-2px); }
.social-icon:hover svg { fill: #fff; }

/* ── PAGE HERO (contact.html) ── */
.page-hero { padding-top: 70px; background: var(--navy-deep); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(224,52,37,0.07) 0%, transparent 60%), radial-gradient(ellipse 80% 60% at 80% 50%, rgba(26,46,74,0.5) 0%, transparent 70%); }
.page-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 70px 7% 60px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.page-hero h1 .accent { color: rgba(255,255,255,0.4); font-weight: 400; font-style: italic; }
.page-hero-body { font-size: 0.98rem; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 520px; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.animated { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner, .promise-grid, .services-top, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-rule { display: none; }
  .approach-steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section { padding: 70px 6%; }
  .approach-steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .step:last-child { border-bottom: none; }
}
@media (max-width: 560px) {
  .services-grid, .sectors-grid { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .promise-stats { grid-template-columns: 1fr 1fr; }
}

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger { display: flex; align-items: center; gap: 5px; cursor: pointer; }

.nav-arrow {
  font-size: 0.5rem; opacity: 0.6;
  transition: transform 0.2s;
  display: inline-block;
}

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--red);
  border-radius: 0 0 4px 4px;
  min-width: 240px;
  list-style: none;
  z-index: 300;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  padding: 6px 0;
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-submenu li { display: block; }

.nav-submenu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.78rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  border-left: 2px solid transparent;
}

.nav-submenu a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.05);
  border-left-color: var(--red);
  padding-left: 24px;
}

/* Fix display:none not working with CSS transitions — use visibility trick */
.nav-dropdown { position: relative; }
.nav-submenu {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}