/* ============================================================
   DENIAL MAX — Logo-exact palette
   Navy #1b3a5c + Amber #d4a017 | Light backgrounds
============================================================ */

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

:root {
  /* ── Logo Navy ── */
  --navy-900: #0f2338;
  --navy-800: #1b3a5c;   /* main logo navy */
  --navy-700: #224878;
  --navy-600: #2d5f9a;
  --navy-100: #e8f0f8;
  --navy-50:  #f2f6fb;

  /* ── Logo Amber/Gold ── */
  --amber:      #d4a017;
  --amber-dark: #b8880f;
  --amber-mid:  #e0b030;
  --amber-pale: #fdf3d8;
  --amber-10:   #fffbf0;

  /* ── Light Backgrounds ── */
  --white:    #ffffff;
  --bg-1:     #f8fafd;   /* very light blue-white */
  --bg-2:     #f0f5fa;   /* soft blue-grey */
  --bg-3:     #e8f0f8;   /* pale navy tint */

  /* ── Text ── */
  --text-900: #0f2338;
  --text-700: #1b3a5c;
  --text-500: #4a6580;
  --text-300: #8aa4be;
  --text-200: #b8cede;

  /* ── Utility ── */
  --border:       #d6e4f0;
  --border-light: #e8f0f8;
  --shadow-sm:    0 1px 8px  rgba(27,58,92,0.06);
  --shadow:       0 4px 20px rgba(27,58,92,0.09);
  --shadow-lg:    0 12px 44px rgba(27,58,92,0.14);
  --radius:       10px;
  --radius-lg:    18px;
  --font-head:    'Cinzel', 'Times New Roman', serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --font-ui:      'Lato', sans-serif;
  --ease:         cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body  { font-family: var(--font-body); background: var(--bg-1); color: var(--text-700); line-height: 1.65; overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-head); }

/* ── Labels ─────────────────────────────────── */
.sec-label {
  font-family: var(--font-ui);
  font-size: .67rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px;
  background: var(--amber-dark); flex-shrink: 0;
}
.sec-label.center { justify-content: center; }
.sec-label.center::before { display: none; }
.sec-label.light { color: var(--amber-mid); }
.sec-label.light::before { background: var(--amber-mid); }

/* ── Titles ──────────────────────────────────── */
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 700; line-height: 1.18;
  color: var(--navy-900);
  margin-bottom: 16px; letter-spacing: .03em;
}
.sec-title em {
  font-family: var(--font-body);
  font-style: italic; font-weight: 400;
  color: var(--amber-dark);
}
.sec-title.center { text-align: center; }
.sec-title.light { color: var(--white); }
.sec-sub {
  font-family: var(--font-body); font-size: 1.08rem;
  color: var(--text-500); max-width: 530px; margin: 0 auto;
  line-height: 1.75; text-align: center;
}
.sec-header { text-align: center; margin-bottom: 56px; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 36px; }

/* ── Buttons ─────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: var(--navy-800); color: var(--white);
  border: none; border-radius: 5px;
  font-family: var(--font-head); font-size: .71rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: all .28s var(--ease);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,92,.28);
}
.btn-primary.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px;
  background: transparent; color: var(--navy-800);
  border: 2px solid var(--navy-800); border-radius: 5px;
  font-family: var(--font-head); font-size: .71rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: all .28s var(--ease);
}
.btn-outline:hover { background: var(--navy-800); color: var(--white); }

.btn-nav {
  padding: 9px 20px;
  background: var(--amber); color: var(--white) !important;
  border-radius: 5px;
  font-family: var(--font-head); font-size: .67rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: all .28s var(--ease);
}
.btn-nav:hover { background: var(--amber-dark) !important; }

/* ── Navbar ──────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.navbar.scrolled {
  box-shadow: var(--shadow);
  padding: 8px 0;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 50px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-head); font-size: .67rem;
  font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-800); transition: color .25s;
}
.nav-links a:hover { color: var(--amber-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: all .3s; }

/* ── Hero ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--bg-3) 0%, var(--bg-2) 40%, var(--bg-1) 80%, var(--white) 100%);
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative; overflow: hidden;
  padding: 120px 36px 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(27,58,92,.055) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero-pattern::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(212,160,23,.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 40%, rgba(27,58,92,.07) 0%, transparent 55%);
}

.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }

.hero-logo-wrap { margin-bottom: 28px; animation: riseUp .9s ease both; }
.hero-logo { max-width: 540px; width: 88%; height: auto; }

.hero-divider {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 28px; animation: riseUp .9s .12s ease both;
}
.div-line { width: 72px; height: 1px; }
.div-line:first-child { background: linear-gradient(90deg, transparent, var(--amber)); }
.div-line:last-child  { background: linear-gradient(90deg, var(--amber), transparent); }
.div-emblem { color: var(--amber-dark); font-size: 1.15rem; }

.hero-title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 700; color: var(--navy-900); line-height: 1.18;
  margin-bottom: 18px; letter-spacing: .04em;
  animation: riseUp .9s .2s ease both;
}
.hero-title em {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  color: var(--amber-dark);
}
.hero-sub {
  font-family: var(--font-body); font-size: 1.13rem;
  color: var(--text-500); line-height: 1.8;
  max-width: 580px; margin: 0 auto 38px;
  animation: riseUp .9s .3s ease both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 56px; animation: riseUp .9s .4s ease both;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  animation: riseUp .9s .5s ease both;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: var(--font-head); font-size: 2rem;
  font-weight: 700; color: var(--navy-800); line-height: 1;
}
.stat-label {
  font-family: var(--font-ui); font-size: .62rem;
  color: var(--text-300); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px;
}
.stat-sep { width: 1px; height: 42px; background: var(--border); }

/* ── About ───────────────────────────────────── */
.about { padding: 100px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; height: 400px; }
.about-card {
  position: absolute;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow);
}
.card-a { top: 0; left: 0; width: 230px; }
.card-b { bottom: 0; right: 0; width: 230px; }
.card-ico { font-size: 1.9rem; margin-bottom: 10px; }
.about-card h3 {
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  color: var(--navy-800); margin-bottom: 7px; letter-spacing: .04em;
}
.about-card p { font-family: var(--font-body); font-size: .9rem; color: var(--text-500); line-height: 1.6; }
.about-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--amber); color: var(--white);
  padding: 13px 20px; border-radius: 6px;
  font-family: var(--font-head); font-size: .67rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; box-shadow: var(--shadow-lg);
}
.about-p { font-family: var(--font-body); font-size: 1.04rem; color: var(--text-500); line-height: 1.82; margin-bottom: 14px; }
.pillars { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 24px 0; }
.pillars li { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: .95rem; color: var(--text-700); }
.dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; flex-shrink: 0; }

/* ── Services ────────────────────────────────── */
.services { padding: 100px 0; background: var(--bg-1); }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.svc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  position: relative; overflow: hidden; transition: all .3s var(--ease);
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--amber);
  transform: scaleX(0); transition: all .3s var(--ease); transform-origin: left;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card.featured {
  background: linear-gradient(145deg, var(--navy-50) 0%, var(--bg-2) 100%);
  border-color: var(--navy-100);
}
.svc-card.featured::after { transform: scaleX(1); height: 4px; background: var(--amber); }
.svc-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 700;
  color: var(--border); line-height: 1; margin-bottom: 10px;
}
.svc-card.featured .svc-num { color: var(--bg-3); }
.svc-ico { font-size: 1.6rem; margin-bottom: 10px; }
.svc-card h3 {
  font-family: var(--font-head); font-size: .94rem; font-weight: 700;
  color: var(--navy-900); margin-bottom: 10px; letter-spacing: .03em;
}
.svc-card p { font-family: var(--font-body); font-size: .91rem; color: var(--text-500); line-height: 1.7; margin-bottom: 18px; }
.svc-link {
  font-family: var(--font-head); font-size: .65rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber-dark); transition: color .25s;
}
.svc-link:hover { color: var(--navy-800); }

/* ── Digital Rights ──────────────────────────── */
.dr-section {
  padding: 100px 0;
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 100%);
  position: relative; overflow: hidden;
}
.dr-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(212,160,23,.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.dr-section::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(212,160,23,.09) 0%, transparent 55%);
}
.dr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 2; }
.dr-p { font-family: var(--font-body); font-size: 1.04rem; color: rgba(255,255,255,.62); line-height: 1.82; margin-bottom: 34px; }
.dr-feats { display: flex; flex-direction: column; gap: 20px; margin-bottom: 34px; }
.dr-feat { display: flex; gap: 14px; align-items: flex-start; }
.dr-ico { font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }
.dr-feat h4 { font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--white); margin-bottom: 4px; letter-spacing: .05em; }
.dr-feat p  { font-family: var(--font-body); font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.65; }

/* Dashboard — white card on dark */
.dash {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.dash-ttl { font-family: var(--font-head); font-size: .68rem; font-weight: 700; color: var(--navy-900); letter-spacing: .14em; text-transform: uppercase; }
.dash-live { display: flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: .62rem; color: var(--amber-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; background: #38a169; border-radius: 50%; animation: blink 2s infinite; }
.dash-rows { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.drow { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 7px; background: var(--bg-1); border: 1px solid var(--border-light); }
.drow.warn { border-color: var(--amber-pale); background: var(--amber-10); }
.dico { font-size: .95rem; }
.dname { font-family: var(--font-ui); font-size: .82rem; color: var(--navy-800); flex: 1; }
.dtag { font-family: var(--font-ui); font-size: .6rem; font-weight: 700; padding: 2px 9px; border-radius: 100px; letter-spacing: .06em; text-transform: uppercase; }
.dtag.ok { background: rgba(56,161,105,.12); color: #276749; }
.dtag.wr { background: rgba(212,160,23,.15); color: var(--amber-dark); }
.dash-nums { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.dnum { text-align: center; }
.dn-val { display: block; font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--navy-800); }
.dn-lbl { font-family: var(--font-ui); font-size: .58rem; color: var(--text-300); letter-spacing: .08em; text-transform: uppercase; }

/* ── Process ─────────────────────────────────── */
.process { padding: 100px 0; background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 56px; }
.step { position: relative; padding: 0 20px; }
.step-n { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: 8px; }
.step-ln { position: absolute; top: 18px; right: 0; width: 46%; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.step h3 { font-family: var(--font-head); font-size: .86rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; letter-spacing: .05em; }
.step p  { font-family: var(--font-body); font-size: .9rem; color: var(--text-500); line-height: 1.7; }

/* ── Contact ─────────────────────────────────── */
.contact { padding: 100px 0; background: var(--bg-1); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.contact-p { font-family: var(--font-body); font-size: 1.04rem; color: var(--text-500); line-height: 1.8; margin-bottom: 30px; }
.cinfo { display: flex; flex-direction: column; gap: 18px; }
.citem { display: flex; gap: 14px; align-items: flex-start; }
.cico { font-size: 1.15rem; flex-shrink: 0; margin-top: 3px; }
.clbl { display: block; font-family: var(--font-head); font-size: .58rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--text-300); margin-bottom: 2px; }
.cval { font-family: var(--font-body); font-size: .95rem; color: var(--text-700); }
a.cval:hover { color: var(--amber-dark); }
.form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 38px; border: 1px solid var(--border); box-shadow: var(--shadow); }
form { display: flex; flex-direction: column; gap: 16px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-family: var(--font-head); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-500); }
.fg input, .fg select, .fg textarea {
  padding: 11px 15px; border: 1.5px solid var(--border); border-radius: 6px;
  background: var(--bg-1); font-family: var(--font-body); font-size: .94rem;
  color: var(--text-700); outline: none; resize: vertical; transition: all .25s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(27,58,92,.09); background: var(--white);
}
.fnote { font-family: var(--font-body); font-size: .76rem; color: var(--text-300); text-align: center; font-style: italic; }
.fsuccess { text-align: center; padding: 40px 20px; }
.fcheck { width: 58px; height: 58px; background: var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); margin: 0 auto 18px; }
.fsuccess h3 { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy-900); margin-bottom: 10px; }
.fsuccess p  { font-family: var(--font-body); color: var(--text-500); font-size: .98rem; }

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--navy-900);
  border-top: 3px solid var(--amber);
  padding: 70px 0 30px;
}
.footer-top { text-align: center; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 46px; }
.footer-logo { max-width: 360px; width: 76%; height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .88; }
.footer-desc { font-family: var(--font-body); font-size: .9rem; color: rgba(255,255,255,.42); max-width: 450px; margin: 0 auto 14px; line-height: 1.75; }
.footer-email { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .09em; color: var(--amber-mid); text-transform: uppercase; transition: color .25s; }
.footer-email:hover { color: var(--amber); }
.footer-cols { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-bottom: 44px; }
.fcol h4 { font-family: var(--font-head); font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-mid); margin-bottom: 16px; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fcol a { font-family: var(--font-body); font-size: .88rem; color: rgba(255,255,255,.45); transition: color .25s; }
.fcol a:hover { color: var(--amber-mid); }
.footer-btm { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; gap: 10px; }
.footer-btm p { font-family: var(--font-ui); font-size: .68rem; color: rgba(255,255,255,.22); letter-spacing: .04em; }
.flinks { display: flex; gap: 22px; }
.flinks a { font-family: var(--font-ui); font-size: .68rem; color: rgba(255,255,255,.22); transition: color .25s; }
.flinks a:hover { color: var(--amber-mid); }

/* ── Animations ──────────────────────────────── */
@keyframes riseUp  { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes blink   { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.55; transform:scale(.85); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible    { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid,.dr-grid,.contact-grid { grid-template-columns:1fr; gap:48px; }
  .svc-grid { grid-template-columns:repeat(2,1fr); }
  .steps    { grid-template-columns:repeat(2,1fr); gap:40px; }
  .footer-cols { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top:0; right:-100%; height:100vh; width:276px;
    background: var(--white); flex-direction:column; justify-content:center;
    align-items:flex-start; padding:40px 32px; gap:26px;
    transition: right .4s ease;
    border-left:1px solid var(--border); box-shadow:-4px 0 32px rgba(27,58,92,.12);
  }
  .nav-links.open { right:0; }
  .hamburger { display:flex; }
  .svc-grid,.steps,.footer-cols { grid-template-columns:1fr; }
  .frow { grid-template-columns:1fr; }
  .about-visual { height:auto; min-height:300px; }
  .about-card { position:relative; width:100%!important; top:auto!important; left:auto!important; right:auto!important; bottom:auto!important; margin-bottom:14px; }
  .about-badge { position:relative; top:auto; left:auto; transform:none; display:inline-block; margin:14px 0; }
  .hero-stats { flex-wrap:wrap; gap:20px; }
  .hero-actions { flex-direction:column; align-items:center; }
  .hero-logo { max-width:320px; }
}
