@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');



/*

Theme Name: Delta Theme

Theme URI: https://delta.197.jaysoft.dev

Author: JAYsoft

Author URI: https://jaybranding.com

Description: DeltaNexus corporate theme — dark design, Agrandir font, inline text editor for admins.

Version: 1.0.0

License: Private

Text Domain: delta-theme

*/



/* ============================================================

   FONTS

   ============================================================ */

/* ============================================================

   TOKENS

   ============================================================ */

:root {

  --dark: #131818;

  --primary: #394f5a;

  --lb: #d5e2e9;

  --muted: #7e94a2;

  --faded: #a8b8be;

  --mid: #4a6973;

  --white: #fff;

  --off: #e6e6e6;

  --fh: 'Fira Sans', Arial, sans-serif;

  --fb: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

}



/* ============================================================

   RESET

   ============================================================ */

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

html { font-family: var(--fb); color: var(--dark); background: #fff; scroll-behavior: smooth; overflow-x: hidden; }

body { overflow-x: hidden; }

img { max-width: 100%; display: block; }

a { text-decoration: none; }

h1,h2,h3,h4,h5,h6 { font-family: var(--fh); }



/* ============================================================

   HEADER

   ============================================================ */

.site-header {

  position: fixed; top: 0; left: 0; right: 0; z-index: 300;

  background: #fff; height: 88px;

  display: flex; align-items: center; justify-content: space-between;

  padding: 0 120px;

  border-bottom: 1px solid #eee;

  transition: box-shadow .3s;

}

.site-header.scrolled {

  box-shadow: 0 2px 16px rgba(0,0,0,.1);

  border-bottom-color: transparent;

}

.site-logo { font-family: var(--fh); font-size: 22px; font-weight: 700; color: var(--dark); flex-shrink: 0; }

.site-logo:hover { color: var(--primary); }

.main-nav { position: static; left: auto; transform: none; display: flex; align-items: center; gap: 0; height: 88px; }

/* Desktop: show desktop nav, hide mobile nav */

.main-nav-mobile { display: none; }

@keyframes dropInOut {

  0%   { transform: translateY(0);    opacity: 1; }

  35%  { transform: translateY(80%);  opacity: 0; }

  36%  { transform: translateY(-80%); opacity: 0; }

  100% { transform: translateY(0);    opacity: 1; }

}

.nav-item { font-family: var(--fh); font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--dark); padding: 8px 16px; border-radius: 4px; transition: background .15s, color .15s; white-space: nowrap; display: flex; align-items: center; gap: 5px; overflow: hidden; }

.nav-item .nav-label { display: inline-block; line-height: 1; }

.nav-item:hover { background: #f5f7f8; color: var(--primary); }

.nav-item:hover .nav-label { animation: dropInOut 0.3s ease forwards; }

.nav-item.current { color: var(--primary); }

.nav-dropdown-icon { font-size: 10px; color: #aaa; transition: transform .2s; }

.nav-item-wrap.has-dropdown:hover .nav-dropdown-icon { transform: rotate(180deg); }

.lang-switcher { position: relative; } .lang-dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }

.lang-btn { font-family: var(--fh); font-size: 14px; font-weight: 500; color: var(--dark); background: transparent; border: 1.5px solid var(--dark); padding: 7px 14px; border-radius: 50px; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; transition: background .2s; }

.lang-dropdown { position: absolute; top: calc(100% + 4px); right: 0; background: #fff; border: 1px solid #e0e8ec; border-radius: 10px; box-shadow: 0 8px 24px rgba(57,79,90,.12); list-style: none; margin: 0; padding: 6px 0; min-width: 80px; z-index: 1000; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; transition-delay: 0s; }

.lang-switcher:hover .lang-dropdown, .lang-switcher:focus-within .lang-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0.08s; }

.lang-dropdown li a { display: block; padding: 8px 18px; font-family: var(--fh); font-size: 14px; font-weight: 500; color: var(--dark); text-decoration: none; transition: background .15s; }

.lang-dropdown li a:hover { background: var(--lb); }

.lang-dropdown li.active a { color: var(--primary); font-weight: 700; }

.header-spacer { height: 88px; }



/* Mobile nav */

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 5px 0; transition: all .3s; }



/* ============================================================

   BUTTONS

   ============================================================ */

.btn-primary-dn {

  display: inline-flex; align-items: center; gap: 8px;

  background: var(--primary); color: #fff;

  height: 66px; padding: 0 32px; border: none; border-radius: 100px;

  font-family: var(--fh); font-size: 18px; font-weight: 700;

  cursor: pointer; transition: background .2s;

}

.btn-primary-dn:hover { background: #2e4049; color: #fff; }

.btn-white-dn {

  display: inline-flex; align-items: center; gap: 8px;

  background: #fff; color: var(--primary);

  height: 66px; padding: 0 32px; border: none; border-radius: 100px;

  font-family: var(--fh); font-size: 18px; font-weight: 700;

  cursor: pointer; transition: background .2s;

}

.btn-white-dn:hover { background: #f0f4f5; color: var(--primary); }

.btn-sm-dn {

  display: inline-flex; align-items: center; gap: 6px;

  background: var(--primary); color: #fff;

  height: 44px; padding: 0 22px; border: none; border-radius: 100px;

  font-family: var(--fh); font-size: 14px; font-weight: 600;

  cursor: pointer; transition: background .2s;

}

.btn-sm-dn:hover { background: #2e4049; color: #fff; }

.arrow-icon { display: inline-block; width: 24px; height: 24px; flex-shrink: 0; }



/* ============================================================

   PAGE HERO

   ============================================================ */

.page-hero {

  position: relative; height: 500px; overflow: hidden;

  display: flex; align-items: flex-end;

}

.page-hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; }

.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }

.page-hero-title {

  position: relative; z-index: 2;

  padding: 0 120px 60px;

  font-family: var(--fh); font-size: 64px; font-weight: 700;

  color: #e6e6e6; text-transform: uppercase; line-height: 1;

}



/* ============================================================

   INTRO SECTION (split layout)

   ============================================================ */

.intro-section {

  background: var(--dark); padding: 80px 120px;

  display: flex; align-items: center; gap: 80px;

}

.intro-text { flex: 0 0 508px; }

.intro-title { font-family: var(--fh); font-size: 52px; font-weight: 700; color: var(--lb); line-height: 1.1; margin-bottom: 24px; }

.intro-body { font-size: 16px; color: var(--faded); line-height: 1.75; margin-bottom: 32px; }

.intro-img { flex: 1; height: 488px; border-radius: 4px; overflow: hidden; background: #222; }

.intro-img img { width: 100%; height: 100%; object-fit: cover; }



/* ============================================================

   CTA BANNER

   ============================================================ */

.footer-cta-wrap { background: transparent; display: flex; justify-content: center; padding: 0; position: relative; z-index: 10; margin-bottom: -120px; }

.footer-cta {

  position: relative;

  margin: 0 auto;

  width: calc(100% - 240px); max-width: 1200px;

  height: 400px;

  background: #394F5A;

  border-radius: 4px;

  overflow: hidden;

  display: flex; align-items: center;

  box-shadow: 0 24px 64px rgba(0,0,0,.25);

  z-index: 10;

  margin-bottom: -120px;

}

.footer-cta-bg {

  position: absolute;

  right: 0; top: 0; bottom: 0;

  width: 55%;

  background: url('/wp-content/themes/delta-theme/assets/contact-bg.png') right center/cover no-repeat;

  opacity: 1;

  mix-blend-mode: color-dodge;

}

.footer-cta-content {

  position: relative; z-index: 2;

  padding: 0 64px;

  max-width: 560px;

}

.footer-cta-label { font-family: var(--fh); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }

.footer-cta-title { font-family: var(--fh); font-size: 48px; font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 14px; }

.footer-cta-sub { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 0; max-width: 420px; }

.footer-cta-text { font-family: var(--fh); font-size: 40px; font-weight: 700; color: #fff; max-width: 508px; line-height: 1.3; }



/* ============================================================

   FOOTER

   ============================================================ */

.site-footer { background: #131818; padding: 180px 120px 0; min-height: 480px; border-top: none; position: relative; overflow: hidden; }

.site-footer::before {

  content: '';

  position: absolute;

  inset: 0;

  background: url('/wp-content/themes/delta-theme/assets/footer-bg.png') bottom center / cover no-repeat;

  mix-blend-mode: screen;

  pointer-events: none;

  z-index: 0;

  opacity: 0.3;

}

.site-footer > * { position: relative; z-index: 1; }

.footer-main { display: flex; gap: 80px; padding-bottom: 48px; align-items: flex-start; }

.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 80px; padding-bottom: 48px; }

.footer-brand { flex: 0 0 260px; position: relative; }

.footer-brand-glow { position: absolute; width: 372px; height: 402px; top: -13%; left: 50%; transform: translate(-50%, -40%); background: url('/wp-content/themes/delta-theme/assets/blur-glow.svg') center / contain no-repeat; pointer-events: none; z-index: 0; opacity: .18; }

.footer-brand > *:not(.footer-brand-glow) { position: relative; z-index: 1; }

.footer-logo { font-family: var(--fh); font-size: 20px; font-weight: 700; color: #fff; }

.footer-logo:hover { color: var(--lb); }

.footer-tagline { font-size: 15px; color: rgba(255,255,255,.55); margin-top: 12px; line-height: 1.6; max-width: 220px; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }

.soc-btn { width: 38px; height: 38px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; }

.soc-btn:hover { background: var(--primary); }

.soc-btn svg, .soc-btn img { width: 18px; height: 18px; display: block; }

.footer-cols { display: flex; gap: 64px; align-items: flex-start; }

.footer-col h4 { font-family: var(--fh); font-size: 13px; font-weight: 700; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a { font-size: 15px; color: rgba(255,255,255,.75); transition: color .2s; }

.footer-col a:hover { color: #fff; }

.footer-hr { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 0; }

.footer-bottom {

  display: flex; align-items: center; justify-content: space-between;

  padding: 24px 0; border-top: none;

}

.footer-copy { font-size: 14px; color: rgba(255,255,255,.4); }

.footer-links { display: flex; gap: 28px; }

.footer-links a { font-size: 14px; color: rgba(255,255,255,.4); }

.footer-links a:hover { color: rgba(255,255,255,.8); }



/* ============================================================

   HERO HOME (1440×728)

   ============================================================ */

.home-hero {

  position: relative; height: 728px; overflow: hidden;

  display: flex; align-items: flex-end;

}

.home-hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; }

.home-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(19,24,24,.88) 35%, rgba(19,24,24,.4) 100%); }

.home-hero-content {

  position: relative; z-index: 2;

  max-width: 1200px; width: 100%; margin: 0 auto;

  padding: 0 120px 80px;

}

.home-hero-tag {

  display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);

  color: rgba(255,255,255,.9); font-size: 13px; padding: 5px 14px;

  border-radius: 4px; letter-spacing: .05em; font-family: var(--fh); margin-bottom: 20px;

}

.home-hero-title {

  font-size: 72px; font-weight: 700; color: #fff; line-height: 1.0;

  letter-spacing: -.02em; text-transform: uppercase; max-width: 700px; margin-bottom: 20px;

}

.home-hero-sub { font-size: 16px; color: rgba(255,255,255,.7); max-width: 480px; line-height: 1.7; margin-bottom: 32px; }

.home-hero-btns { display: flex; gap: 16px; }



/* ============================================================

   SERVICES / ACCORDION

   ============================================================ */

.services-section { background: var(--dark); padding: 80px 120px; }

.services-inner { max-width: 1200px; margin: 0 auto; }

.svc-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 56px; gap: 60px; }

.svc-title { font-family: var(--fh); font-size: 52px; font-weight: 700; color: var(--lb); max-width: 508px; line-height: 1.1; }

.svc-desc { font-size: 16px; color: var(--muted); max-width: 580px; line-height: 1.75; padding-top: 12px; }

.svc-list { border-top: 1px solid #2a3535; }

.svc-row {

  display: flex; align-items: center; justify-content: space-between;

  padding: 28px 0; border-bottom: 1px solid #2a3535;

  cursor: pointer; transition: background .2s;

}

.svc-row:hover { padding-left: 16px; padding-right: 16px; margin: 0 -16px; }

.svc-row-left { flex: 1; }

.svc-row-title { font-family: var(--fh); font-size: 32px; font-weight: 700; color: var(--muted); line-height: 1.2; transition: color .3s; }

.svc-row:hover .svc-row-title, .svc-row.open .svc-row-title { color: var(--lb); }

.svc-row-body { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 793px; margin-top: 12px; display: none; }

.svc-row.open .svc-row-body { display: block; }

.svc-plus {

  position: relative; width: 36px; height: 36px; flex-shrink: 0; margin-left: 40px;

  border: 2px solid var(--lb); border-radius: 50%;

  display: flex; align-items: center; justify-content: center; transition: transform .3s;

}

.svc-row.open .svc-plus { transform: rotate(45deg); }

.svc-plus::before, .svc-plus::after { content: ''; position: absolute; background: var(--lb); }

.svc-plus::before { width: 14px; height: 2px; }

.svc-plus::after { width: 2px; height: 14px; }



/* ============================================================

   QUALIFICATION CARDS (Who It's For)

   ============================================================ */

.qualification-section { background: var(--dark); padding: 80px 120px; }

.qual-inner { max-width: 1200px; margin: 0 auto; }

.qual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.qual-col-title { font-family: var(--fh); font-size: 36px; font-weight: 700; color: var(--lb); margin-bottom: 24px; line-height: 1.2; }

.qual-col-title.no { color: #c97a7a; }

.qual-card {

  background: var(--dark); border: 1px solid #2a3535; border-radius: 4px;

  display: flex; align-items: stretch; overflow: hidden; min-height: 160px;

  margin-bottom: 12px; transition: border-color .2s;

}

.qual-card:hover { border-color: var(--primary); }

.qual-card-text { flex: 1; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; }

.qual-card-title { font-family: var(--fh); font-size: 20px; font-weight: 500; color: var(--lb); text-transform: uppercase; margin-bottom: 10px; line-height: 1.3; }

.qual-card-title.no { color: #c97a7a; }

.qual-card-body { font-size: 16px; color: var(--muted); line-height: 1.65; }

.qual-card-img { flex: 0 0 160px; height: 160px; overflow: hidden; }

.qual-card-img img { width: 100%; height: 100%; object-fit: cover; }



/* ============================================================

   HOW IT WORKS — 2×2 GRID

   ============================================================ */

.how-section { background: var(--dark); padding: 80px 120px; }

.how-inner { max-width: 1200px; margin: 0 auto; }

.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.how-card { background: var(--dark); border: 1px solid #2a3535; border-radius: 4px; overflow: hidden; transition: border-color .3s; }

.how-card:hover { border-color: var(--primary); }

.how-card-img { height: 330px; overflow: hidden; }

.how-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.how-card:hover .how-card-img img { transform: scale(1.04); }

.how-card-body { padding: 32px; }

.how-card-title { font-family: var(--fh); font-size: 28px; font-weight: 500; color: var(--lb); margin-bottom: 16px; line-height: 1.3; }

.how-card-text { font-size: 16px; color: var(--muted); line-height: 1.75; }



/* ============================================================

   BLOG

   ============================================================ */

.trending-section { background: var(--dark); padding: 80px 120px; display: flex; align-items: center; gap: 80px; }

.trending-text { flex: 0 0 589px; }

.trending-label { font-family: var(--fh); font-size: 24px; font-weight: 700; color: var(--mid); margin-bottom: 20px; }

.trending-title { font-family: var(--fh); font-size: 52px; font-weight: 700; color: var(--lb); line-height: 1.1; margin-bottom: 20px; }

.trending-body { font-size: 16px; color: var(--lb); line-height: 1.75; margin-bottom: 12px; }

.trending-author { font-size: 15px; color: var(--muted); margin-bottom: 32px; }

.trending-btns { display: flex; gap: 16px; }

.trending-img { flex: 1; height: 488px; border-radius: 4px; overflow: hidden; }

.trending-img img { width: 100%; height: 100%; object-fit: cover; }

.allposts-section { background: #f5f7f8; padding: 40px 120px 80px; }

.allposts-inner { max-width: 1200px; margin: 0 auto; }

.allposts-title { font-family: var(--fh); font-size: 40px; font-weight: 700; color: var(--dark); margin-bottom: 40px; }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.blog-card { border-radius: 4px; overflow: hidden; position: relative; height: 399px; cursor: pointer; display: block; }

.blog-card-img { position: absolute; inset: 0; background: center/cover no-repeat; transition: transform .4s; }

.blog-card:hover .blog-card-img { transform: scale(1.04); }

.blog-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(19,24,24,.95) 0%, rgba(19,24,24,.1) 60%); }

.blog-card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }

.blog-card-title { font-family: var(--fh); font-size: 20px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 10px; }

.blog-card-author { font-size: 15px; color: var(--faded); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 48px 0 0; }

.pag-btn { width: 44px; height: 44px; border-radius: 50%; border: none; background: transparent; font-family: var(--fh); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; color: var(--mid); }

.pag-btn.active { background: rgba(213,226,233,.15); color: var(--lb); font-weight: 700; }

.pag-arr { width: 56px; height: 56px; border-radius: 50%; border: none; background: #616b6d; cursor: pointer; display: flex; align-items: center; justify-content: center; }



/* Blog single */

/* Blog single — article header zone */

.bd-header-zone { background: #f5f7f8; border-bottom: 1px solid #e0e8ec; padding: 48px 0 56px; }

.bd-header-zone-inner { max-width: 800px; margin: 0 auto; padding: 0 40px; }

.bd-breadcrumb { font-size: 14px; color: #aaa; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }

.bd-breadcrumb a { color: var(--primary); text-decoration: none; font-weight: 500; }

.bd-breadcrumb a:hover { color: var(--dark); }

.bd-breadcrumb .sep { color: #ccc; }

.bd-title { font-family: var(--fh); font-size: clamp(28px, 4vw, 46px); font-weight: 700; color: var(--dark); line-height: 1.15; margin-bottom: 20px; }

.bd-meta { font-size: 14px; color: #999; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.bd-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: #ccc; }

/* Article body */

.blog-detail-wrap { background: #fff; padding: 0; }

.blog-detail-inner { max-width: 800px; margin: 0 auto; padding: 56px 40px 80px; }

.bd-featured-img { width: 100%; height: 420px; border-radius: 12px; overflow: hidden; margin-bottom: 48px; }

.bd-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.bd-body h2 { font-family: var(--fh); font-size: 26px; font-weight: 700; color: var(--dark); margin: 44px 0 14px; padding-top: 4px; border-top: 2px solid #e0e8ec; }

.bd-body h3 { font-family: var(--fh); font-size: 20px; font-weight: 600; color: var(--dark); margin: 28px 0 10px; }

.bd-body p { font-size: 17px; color: #444; line-height: 1.9; margin-bottom: 22px; }

.bd-body ul, .bd-body ol { margin: 0 0 22px 24px; }

.bd-body li { font-size: 17px; color: #444; line-height: 1.8; margin-bottom: 6px; }

.bd-body a { color: var(--primary); text-decoration: underline; }

.bd-body blockquote { border-left: 3px solid var(--primary); margin: 32px 0; padding: 16px 24px; background: #f5f7f8; border-radius: 0 8px 8px 0; font-style: italic; color: #555; font-size: 17px; line-height: 1.8; }



/* ============================================================

   CONTACT

   ============================================================ */

.contact-section { background: #f5f7f8; padding: 80px 120px; }

.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.contact-title { font-family: var(--fh); font-size: 52px; font-weight: 700; color: var(--dark); margin-bottom: 20px; line-height: 1.1; }

.contact-body { font-size: 16px; color: #555; line-height: 1.75; margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 28px; }

.contact-detail { display: flex; gap: 16px; align-items: flex-start; }

.cd-icon { width: 44px; height: 44px; background: rgba(57,79,90,.1); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.cd-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; stroke-width: 2; }

.cd-label { font-family: var(--fh); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-bottom: 4px; }

.cd-value { font-size: 16px; color: var(--dark); line-height: 1.5; }

.contact-form { background: #fff; border: 1px solid #dce6ea; border-radius: 4px; padding: 48px; }

.form-title { font-family: var(--fh); font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }

.form-sub { font-size: 15px; color: #666; margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.form-group label { font-family: var(--fh); font-size: 13px; font-weight: 600; color: var(--dark); letter-spacing: .02em; }

.form-group input, .form-group select, .form-group textarea { padding: 14px 16px; border: 1.5px solid #dce6ea; border-radius: 4px; font-family: var(--fb); font-size: 15px; color: var(--dark); background: #fff; transition: border-color .2s; outline: none; }

.form-group input::placeholder, .form-group textarea::placeholder { color: #aab; }

.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select { appearance: none; cursor: pointer; color: var(--dark); }

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }



/* ============================================================

   LEGAL

   ============================================================ */

.legal-section { background: #fff; padding: 80px 120px; }

.legal-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: 80px; align-items: start; }

.legal-sidebar { position: sticky; top: 108px; }

.legal-sidebar-label { font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 20px; }

.legal-nav { list-style: none; }

.legal-nav li { margin-bottom: 2px; }

.legal-nav a { font-family: var(--fh); font-size: 16px; color: #fff; padding: 10px 16px; border-radius: 4px; display: block; transition: all .2s; }

.legal-nav a:hover { background: rgba(213,226,233,.06); color: var(--lb); }

.legal-nav a.active { color: var(--lb); font-weight: 700; border-left: 3px solid var(--primary); border-radius: 0 4px 4px 0; padding-left: 13px; }

.legal-content h1 { font-family: var(--fh); font-size: 52px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }

.legal-updated { font-size: 15px; color: var(--mid); margin-bottom: 56px; padding-bottom: 48px; border-bottom: 1px solid #2a3535; }

.legal-sec { margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid #2a3535; }

.legal-sec:last-child { border-bottom: none; }

.legal-sec h2 { font-family: var(--fh); font-size: 28px; font-weight: 500; color: var(--lb); margin-bottom: 20px; }

.legal-sec h3 { font-family: var(--fh); font-size: 20px; font-weight: 500; color: var(--lb); margin: 28px 0 12px; }

.legal-sec p { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }

.legal-sec ul { padding-left: 20px; margin-bottom: 16px; }

.legal-sec ul li { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 8px; }

.legal-sec strong { color: var(--lb); }



/* ============================================================

   STATS (Home)

   ============================================================ */

.stats-section { background: var(--dark); padding: 60px 120px; border-top: 1px solid #1e2a2a; border-bottom: 1px solid #1e2a2a; }

.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; text-align: center; }

.stat-num { font-family: var(--fh); font-size: 56px; font-weight: 700; color: var(--lb); line-height: 1; margin-bottom: 8px; }

.stat-label { font-size: 16px; color: var(--muted); }



/* ============================================================

   INLINE TEXT EDITOR (admin only)

   ============================================================ */

[data-editable] { position: relative; }

.delta-edit-btn {

  position: absolute; top: -8px; right: -8px; z-index: 100;

  width: 28px; height: 28px; border-radius: 50%;

  background: var(--primary); color: #fff; border: none;

  cursor: pointer; display: none; align-items: center; justify-content: center;

  box-shadow: 0 2px 8px rgba(0,0,0,.4); transition: background .2s; font-size: 12px;

}

[data-editable]:hover .delta-edit-btn { display: flex; }

body.delta-is-editor [data-editable] .delta-edit-btn { display: flex; }

.delta-edit-btn:hover { background: #2e4049; }

[data-editable][contenteditable="true"] {

  outline: 2px dashed var(--primary); outline-offset: 4px;

  background: rgba(57,79,90,.1); border-radius: 2px;

}

.delta-save-bar {

  position: fixed; bottom: 24px; right: 24px; z-index: 9999;

  display: flex; gap: 12px; background: var(--dark);

  border: 1px solid #2a3535; border-radius: 8px; padding: 16px 20px;

  box-shadow: 0 8px 32px rgba(0,0,0,.5);

  font-family: var(--fh); font-size: 14px;

}

.delta-save-bar button { height: 40px; padding: 0 20px; border-radius: 4px; border: none; cursor: pointer; font-family: var(--fh); font-size: 14px; font-weight: 600; }

.delta-save-bar .save { background: var(--primary); color: #fff; }

.delta-save-bar .cancel { background: #2a3535; color: var(--muted); }

.delta-notice { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }

.delta-notice.success { color: #4ade80; }

.delta-notice.error { color: #f87171; }

.delta-lang-switcher { display: flex; gap: 4px; align-items: center; border-right: 1px solid #2a3535; padding-right: 12px; margin-right: 4px; }

.delta-lang-btn { height: 32px; padding: 0 12px; border-radius: 4px; border: 1px solid #2a3535; cursor: pointer; font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: .05em; background: transparent; color: var(--muted); transition: background .15s, color .15s, border-color .15s; }

.delta-lang-btn:hover { background: #2a3535; color: var(--white); }

.delta-lang-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }



/* ============================================================

   WP NAV MENU — desktop

   ============================================================ */

.nav-menu-list { list-style:none; display:flex; align-items:center; gap:0; margin:0; padding:0; }

.nav-item-wrap { position:relative; }

.nav-item-wrap.has-dropdown::before { content:''; position:absolute; top:100%; left:-10px; right:-10px; height:12px; background:transparent; }

.nav-item-wrap.has-dropdown:hover .nav-dropdown { opacity:1; visibility:visible; transform:translateY(0); pointer-events:all; }

.nav-dropdown {

  position:absolute; top:calc(100% + 8px); left:0; min-width:220px;

  background:#fff; border:1px solid #e8eef0; border-radius:20px;

  box-shadow:0 8px 32px rgba(57,79,90,.12);

  list-style:none; padding:8px 0; margin:0;

  opacity:0; visibility:hidden; transform:translateY(6px);

  transition:opacity .18s ease, transform .18s ease, visibility .18s; z-index:300;

}

.nav-dropdown .nav-item-wrap a { font-family:var(--fh); font-size:13px; font-weight:600; letter-spacing:.06em; height:44px; padding:0 20px; display:flex; align-items:center; overflow:hidden; color:var(--dark); transition:background .12s, color .12s; }

.nav-dropdown .nav-item-wrap a .nav-label { display:inline-block; line-height:1; }

.nav-dropdown .nav-item-wrap a:hover { background:var(--primary); color:#fff; }

.nav-dropdown .nav-item-wrap a:hover .nav-label { animation:dropInOut 0.3s ease forwards; }

.header-right-group { display: flex; align-items: center; gap: 0; }

.header-right { display:flex; align-items:center; gap:12px; margin-left:16px; flex-shrink:0; }

.nav-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:150; }

.nav-overlay.active { display:block; }



/* ============================================================

   HAMBURGER

   ============================================================ */

.nav-toggle {

  display:none; flex-direction:column; justify-content:center; align-items:center;

  width:40px; height:40px; border:none; background:none; cursor:pointer; padding:4px;

}

.nav-toggle span {

  display:block; width:22px; height:2px; background:var(--dark);

  margin:3px 0; border-radius:2px; transition:all .3s;

}

.nav-toggle.open span:nth-child(1) { transform:translateY(8px) rotate(45deg); }

.nav-toggle.open span:nth-child(2) { opacity:0; }

.nav-toggle.open span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }



/* ============================================================

   RESPONSIVE — tablet 1024px

   ============================================================ */

@media (max-width:1200px) {

  .site-header { padding:0 40px; gap:24px; }

  .nav-item { font-size:14px; padding:8px 10px; }

  .intro-section, .services-section, .how-section, .qualification-section,

  .trending-section, .allposts-section, .contact-section, .legal-section,

  .stats-section, .footer-cta, .blog-detail-wrap { padding-left:0; padding-right:0; }

  .page-hero-title { padding-left:40px; padding-right:40px; font-size:48px; }

  .home-hero-content { padding-left:40px; padding-right:40px; }

  .home-hero-title { font-size:52px; }

  .site-footer { padding-left:40px; padding-right:40px; padding-top:80px; }

  .footer-inner { gap:48px; }

  .footer-cols { gap:32px; }

  .footer-main { gap:40px; }

}



@media (max-width:1024px) {

  /* Nav → mobile */

  .nav-toggle { display:flex; }

  /* Hide desktop nav, show mobile nav panel */

  .main-nav-desktop { display:none !important; }

  .main-nav-mobile {

    display:flex;

    position:fixed; top:64px; right:0; bottom:0; width:300px;

    left:auto; height:auto;

    background:#fff; flex-direction:column; align-items:flex-start;

    padding:0; overflow-y:auto; z-index:400;

    transform:translateX(100%); transition:transform .3s ease;

    box-shadow:-4px 0 24px rgba(0,0,0,.15);

  }

  .main-nav-mobile.open { transform:translateX(0); }

  /* Keep legacy .main-nav selector working for JS */

  .main-nav {

    position:fixed; top:64px; right:0; bottom:0; width:300px;

    left:auto; height:auto;

    background:#fff; flex-direction:column; align-items:flex-start;

    padding:0; overflow-y:auto; z-index:400;

    transform:translateX(100%); transition:transform .3s ease;

    box-shadow:-4px 0 24px rgba(0,0,0,.15);

  }

  .main-nav.open { transform:translateX(0); }

  .nav-menu-list { flex-direction:column; width:100%; gap:0; margin:0; padding:0; list-style:none; }

  .nav-item-wrap { width:100%; position:relative; }

  .nav-item {

    display:flex; align-items:center; justify-content:space-between;

    width:100%; padding:16px 24px; font-size:16px; font-weight:600;

    border-radius:0; box-sizing:border-box; border-bottom:1px solid #f0f2f4;

    color:var(--dark); text-decoration:none; white-space:normal;

  }

  .nav-item .nav-label { white-space:normal; overflow-wrap:break-word; }

  .nav-item:hover { background:#f5f7f8; }

  .nav-dropdown-icon { pointer-events:none; transition:transform .25s; flex-shrink:0; }

  .nav-item-wrap.has-dropdown.open > .nav-item .nav-dropdown-icon { transform:rotate(180deg); }

  /* Dropdown as accordion — reset ALL desktop styles */

  .nav-dropdown {

    all:unset !important;

    display:block !important;

    position:static !important;

    width:100% !important;

    background:#f7f9fa !important;

    overflow:hidden !important;

    max-height:0 !important;

    transition:max-height .3s ease !important;

    border-top:1px solid #eef0f2 !important;

  }

  .nav-item-wrap.has-dropdown.open > .nav-dropdown { max-height:500px !important; }

  .nav-dropdown > li { list-style:none; width:100%; }

  .nav-dropdown > li > a {

    display:flex; align-items:center;

    padding:13px 24px 13px 56px; font-size:16px; font-weight:500;

    color:var(--dark); text-decoration:none; border-bottom:1px solid #eef0f2;

    width:100%; box-sizing:border-box;

  }

  .nav-dropdown > li > a:hover { background:#edf0f2; color:var(--primary); }

  .nav-dropdown > li > a .nav-label { pointer-events:none; }

  .has-dropdown > .nav-item { display:flex; justify-content:space-between; width:100%; }



  /* Layout → stack */

  .intro-section { flex-direction:column; padding:48px 24px; gap:40px; }

  .intro-text { flex:none; width:100%; }

  .intro-img { width:100%; flex:none; height:300px; }

  .trending-section { flex-direction:column; padding:48px 24px; gap:32px; }

  .trending-text { flex:none; width:100%; }

  .trending-img { width:100%; flex:none; height:300px; }

  .contact-inner { grid-template-columns:1fr; gap:40px; padding:48px 24px; }

  .legal-inner { grid-template-columns:1fr; gap:32px; padding:48px 24px; }

  .legal-sidebar { position:static; }

  .how-grid { grid-template-columns:1fr; }

  .qual-grid { grid-template-columns:1fr; }

  .blog-grid { grid-template-columns:1fr 1fr; }

  .footer-cta-wrap { padding: 0 20px; margin-bottom: -80px; }

  .footer-cta { height: auto; min-height: 320px; }

  .footer-cta-content { padding: 48px 32px; }

  .footer-cta-title { font-size: 32px; }

  .footer-cta-bg { width: 100%; opacity: .2; }

  .stats-inner { grid-template-columns:1fr 1fr; gap:24px; }

}



/* ============================================================

   RESPONSIVE — mobile 640px

   ============================================================ */



@media (max-width:768px) {

  .footer-inner { flex-direction:column; gap:32px; }

  .footer-brand { flex:none; width:100%; }

  .footer-cols { flex-wrap:wrap; gap:24px; }

  .footer-cta { width: calc(100% - 48px); }

  .footer-cta-title { font-size:28px; }

  .footer-cta-sub { font-size:14px; }

}

@media (max-width:640px) {

  .dn-blog { padding:48px 20px; }

  .dn-blog-header { flex-direction:column !important; align-items:flex-start !important; gap:16px; }

  .dn-blog-header-right { width:100%; }

  .dn-blog-header-right .dn-btn-sm { width:100%; justify-content:center; }

  .site-header { padding:0 20px; height:64px; }

  /* top:64px already set in 1024px block */

  .site-logo { font-size:18px; }

  .header-spacer { height:64px; }



  .page-hero { height:320px; }

  .page-hero-title { font-size:32px; padding:0 20px 32px; }

  .home-hero { height:520px; }

  .home-hero-title { font-size:36px; }

  .home-hero-content { padding:0 20px 48px; }

  .home-hero-tag { font-size:11px; }



  .intro-section, .services-section, .how-section, .qualification-section,

  .trending-section, .allposts-section, .contact-section, .legal-section,

  .blog-detail-wrap { padding:0; }

  .footer-cta { width: calc(100% - 32px); border-radius:10px; margin-bottom: -50px; }

  .stats-section { padding:40px 20px; }

  .site-footer { padding:70px 20px 0; }

  .footer-inner { flex-direction:column; gap:32px; }

  .footer-brand { flex:none; width:100%; }

  .footer-cols { flex-wrap:wrap; gap:24px; }

  .footer-main { flex-direction:column; gap:32px; }

  .footer-bottom { flex-direction:column; gap:16px; text-align:center; }

  .footer-links { flex-wrap:wrap; justify-content:center; gap:16px; }



  .intro-title, .svc-title, .trending-title, .contact-title { font-size:36px; }

  .stat-num { font-size:40px; }

  .stats-inner { grid-template-columns:1fr; }

  .blog-grid { grid-template-columns:1fr; }

  .how-grid { grid-template-columns:1fr; }

  .how-card-img { height:220px; }



  .svc-row-title { font-size:22px; }

  .btn-primary-dn, .btn-white-dn { height:52px; padding:0 20px; font-size:15px; }

  .footer-cta-text { font-size:28px; }



  .contact-form { padding:28px 20px; }

  .form-row { grid-template-columns:1fr; }



  .bd-featured-img { height:240px; }

  .blog-card { height:280px; }



  .legal-nav { display:flex; flex-wrap:wrap; gap:8px; }

  .legal-nav li { margin-bottom:0; }

  .legal-nav a { padding:6px 12px; border:1px solid #2a3535; border-radius:20px; font-size:14px; }

  .legal-nav a.active { border-color:var(--primary); }

}



/* ============================================================

   HOMEPAGE — matching deltanexus-home.html reference

   All classes prefixed dn- to avoid conflict

   ============================================================ */



/* --- NAV (dark transparent - reference style) --- */

/* dark-nav removed — header is always light */

  background: rgba(19,24,24,.92);

  backdrop-filter: blur(8px);

  border-bottom: none;

}

.site-header.dark-nav .site-logo { color: #fff; }

.site-header.dark-nav .nav-item { color: rgba(255,255,255,.85); }

.site-header.dark-nav .nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }

.site-header.dark-nav .lang-btn { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.3); }

.site-header.dark-nav .lang-dropdown { background: #1e2c34; border-color: rgba(255,255,255,.15); }

.site-header.dark-nav .lang-dropdown li a { color: rgba(255,255,255,.8); }

.site-header.dark-nav .lang-dropdown li a:hover { background: rgba(255,255,255,.08); }

.site-header.dark-nav .lang-dropdown li.active a { color: #fff; }

.site-header.dark-nav .nav-toggle span { background: #fff; }



/* --- HERO --- */

.dn-hero {

  position: relative; min-height: 800px;

  background: linear-gradient(135deg,#1a2a35 0%,#0d1a22 60%,#394f5a 100%);

  display: flex; align-items: center; overflow: hidden;

}

.dn-hero-pattern {

  position: absolute; inset: 0; opacity: .08;

  background-image: linear-gradient(rgba(255,255,255,.3) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.3) 1px,transparent 1px);

  background-size: 60px 60px;

}

.dn-hero-content {

  position: relative; z-index: 2;

  max-width: 1200px; width: 100%; margin: 0 auto;

  padding: 120px 120px 80px;

  display: flex; flex-direction: column; gap: 16px;

}

.dn-hero-label {

  display: inline-block;

  background: rgba(255,255,255,.08);

  border: 1px solid rgba(255,255,255,.2);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  color: rgba(255,255,255,.9); font-size: 14px; padding: 7px 20px;

  border-radius: 99px; letter-spacing: .05em; width: fit-content;

  font-family: var(--fh);

}

.dn-hero-title {

  font-family: var(--fh); font-size: 72px; line-height: 1.05;

  color: #fff; font-weight: 700; letter-spacing: -.02em;

  max-width: 700px; text-transform: uppercase;

}

.dn-hero-sub {

  font-size: 18px; color: rgba(255,255,255,.7);

  max-width: 480px; line-height: 1.6; margin-bottom: 8px;

}

.dn-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.dn-hero-img {

  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);

  width: 488px; height: 488px;

  background: rgba(255,255,255,.07); border-radius: 8px; overflow: hidden;

}

.dn-hero-img img { width: 100%; height: 100%; object-fit: cover; }



/* --- BUTTONS (dn- namespace) --- */

.dn-btn {

  display: inline-flex; align-items: center; gap: 8px;

  padding: 0 32px; height: 56px; border-radius: 100px;

  font-family: var(--fh); font-size: 16px; font-weight: 500;

  cursor: pointer; text-decoration: none; border: none;

  transition: color .35s ease, transform .2s; white-space: nowrap;

  position: relative; overflow: hidden;

}

.dn-btn::before {

  content: ''; position: absolute;

  width: 0; height: 0; border-radius: 50%;

  top: 50%; left: 50%; transform: translate(-50%, -50%);

  transition: width 0.55s cubic-bezier(0.22,1,0.36,1), height 0.55s cubic-bezier(0.22,1,0.36,1), opacity 0.3s;

  opacity: 0; z-index: 1; pointer-events: none;

}

.dn-btn:hover::before { width: 500px; height: 500px; opacity: 1; }

.dn-btn > *, .dn-btn span, .dn-btn svg, .dn-btn .btn-text { position: relative; z-index: 2; transition: color .35s ease, stroke .35s ease, transform .3s cubic-bezier(0.22,1,0.36,1); }

.dn-btn:hover svg { transform: rotate(-45deg); }



/* Primary — wave fills white, text → primary */

.dn-btn-primary { background: var(--primary); color: #fff; }

.dn-btn-primary::before { background: #fff; }

.dn-btn-primary:hover { color: var(--primary); }

.dn-btn-primary svg { stroke: #fff; }

.dn-btn-primary:hover svg { stroke: var(--primary); transform: rotate(-45deg); }



/* White — wave fills primary, text → white */

.dn-btn-white { background: #fff; color: var(--primary); }

.dn-btn-white::before { background: var(--primary); }

.dn-btn-white:hover { color: #fff; }

.dn-btn-white svg { stroke: var(--primary); }

.dn-btn-white:hover svg { stroke: #fff; transform: rotate(-45deg); }



/* Outline */

.dn-btn-outline { background: transparent; color: #fff; border: 2px solid #fff; transition: color .35s, border-color .35s; }

.dn-btn-outline::before { background: #fff; }

.dn-btn-outline:hover { color: var(--primary); border-color: transparent; }

.dn-btn-outline svg { stroke: #fff; }

.dn-btn-outline:hover svg { stroke: var(--primary); transform: rotate(-45deg); }



/* Outline white (hero) */

.dn-btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); transition: color .35s, border-color .35s; }

.dn-btn-outline-white::before { background: #fff; }

.dn-btn-outline-white:hover { color: var(--primary); border-color: transparent; }

.dn-btn-outline-white svg { stroke: #fff; }

.dn-btn-outline-white:hover svg { stroke: var(--primary); transform: rotate(-45deg); }



/* Small button */

.dn-btn-sm {

  display: inline-flex; align-items: center; gap: 6px;

  background: var(--primary); color: #fff;

  padding: 0 22px; height: 44px; border-radius: 100px;

  font-family: var(--fh); font-size: 14px; text-decoration: none;

  border: none; cursor: pointer;

  position: relative; overflow: hidden;

  transition: color .35s ease, transform .2s; white-space: nowrap;

}

.dn-btn-sm::before {

  content: ''; position: absolute;

  width: 0; height: 0; border-radius: 50%;

  top: 50%; left: 50%; transform: translate(-50%, -50%);

  background: #fff;

  transition: width 0.5s cubic-bezier(0.22,1,0.36,1), height 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.3s;

  opacity: 0; z-index: 1; pointer-events: none;

}

.dn-btn-sm:hover::before { width: 400px; height: 400px; opacity: 1; }

.dn-btn-sm > *, .dn-btn-sm span, .dn-btn-sm .btn-text { position: relative; z-index: 2; transition: color .35s ease; }

.dn-btn-sm svg { position: relative; z-index: 2; stroke: #fff; transition: transform .3s cubic-bezier(0.22,1,0.36,1), stroke .35s ease; }

.dn-btn-sm:hover { color: var(--primary); }

.dn-btn-sm:hover svg { transform: rotate(-45deg); stroke: var(--primary); }



/* --- SHARED SECTION TYPOGRAPHY --- */

.dn-section-title {

  font-family: var(--fh); font-size: 52px; font-weight: 700;

  color: var(--primary); line-height: 1.15;

  margin-bottom: 24px; letter-spacing: -.01em;

}

.dn-section-body {

  font-size: 16px; line-height: 1.75; color: var(--dark); margin-bottom: 32px;

}



/* --- ABOUT --- */

.dn-about {

  background: #fff; padding: 80px 120px;

  display: flex; align-items: center; justify-content: center;

  min-height: 728px;

}

.dn-about-inner {

  max-width: 1200px; width: 100%;

  display: flex; align-items: center; gap: 80px;

}

.dn-about-text { flex: 0 0 508px; position: relative; overflow: visible; }

.dn-about-glow { position: absolute; width: 576px; height: 580px; top: 50%; left: 30%; transform: translate(-50%, -50%); background: url('/wp-content/themes/delta-theme/assets/blur-glow.svg') center / contain no-repeat; pointer-events: none; z-index: 0; opacity: .22; }

.dn-about-text > *:not(.dn-about-glow) { position: relative; z-index: 1; }

.dn-about-img {

  flex: 0 0 488px; height: 488px;

  background: transparent; border-radius: 0; overflow: visible;

  display: flex; align-items: center; justify-content: center;

}

.dn-about-img img { width: 100%; height: 100%; object-fit: cover; }



/* --- SYSTEMS --- */

.dn-systems { background: #f5f5f5; }

.dn-systems-header {

  max-width: 1200px; margin: 0 auto; padding: 80px 120px 40px;

  text-align: center; display: flex; flex-direction: column; align-items: center;

}

.dn-systems-header .dn-section-body { max-width: 626px; margin-bottom: 0; }

.dn-sys-item {

  background: #f5f5f5; display: flex; align-items: center;

  justify-content: center; padding: 40px 120px;

}

.dn-sys-inner {

  max-width: 1200px; width: 100%;

  display: flex; align-items: center; gap: 0;

  background: #fff;

  box-shadow: 0 8px 16px rgba(0,0,0,0.04);

}

.dn-sys-item.reverse .dn-sys-inner { flex-direction: row-reverse; }

.dn-sys-img {

  flex: 0 0 488px; height: 488px;

  background: #e6e6e6; border-radius: 4px; overflow: hidden;

}

.dn-sys-img img { width: 100%; height: 100%; object-fit: cover; }

.dn-sys-text { flex: 1; padding: 0 60px; }

.dn-sys-icon {

  width: 52px; height: 52px; background: var(--lb); border-radius: 8px;

  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;

}

.dn-sys-icon svg { width: 28px; height: 28px; }

.dn-sys-title {

  font-family: var(--fh); font-size: 40px; font-weight: 700;

  color: var(--primary); line-height: 1.2; margin-bottom: 20px;

}

.dn-sys-body { font-size: 16px; line-height: 1.75; color: var(--dark); }

.dn-sys-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

.dn-sys-list li { font-size: 16px; line-height: 1.6; color: var(--dark); padding-left: 20px; position: relative; }

.dn-sys-list li::before { content: '—'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }



/* --- CTA BANNER --- */

.dn-footer-cta {

  background: var(--primary); padding: 60px 120px;

  display: flex; align-items: center; gap: 60px;

  position: relative; overflow: hidden;

}

.dn-footer-cta::before {

  content: ''; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);

  width: 360px; height: 360px; background: rgba(255,255,255,.05); border-radius: 50%;

}

.dn-cta-text {

  flex: 1; font-family: var(--fh); font-size: 40px; font-weight: 700;

  color: #fff; line-height: 1.25; max-width: 508px;

}



/* --- VIDEO --- */

.dn-video {

  position: relative; height: 700px;

  background: linear-gradient(to bottom, #0d1a22, #1a2a35);

  display: flex; align-items: center; justify-content: center; overflow: hidden;

}

.dn-video-bg-video {

  position: absolute; inset: 0; width: 100%; height: 100%;

  object-fit: cover; opacity: .7; z-index: 0;

}

.dn-video-bg {

  position: absolute; inset: 0;

  background: url('/wp-content/themes/delta-theme/assets/prev-ueber-uns.jpg') center/cover;

  opacity: .6;

}

.dn-video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }

.dn-video-content {

  position: relative; z-index: 2; text-align: center;

  display: flex; flex-direction: column; align-items: center; gap: 40px;

}

.dn-video-title {

  font-family: var(--fh); font-size: 40px; font-weight: 700; color: #fff;

  max-width: 600px; line-height: 1.25;

}

.dn-play-btn {

  width: 72px; height: 72px;

  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.6);

  border-radius: 50%; display: flex; align-items: center; justify-content: center;

  cursor: pointer; transition: all .3s; color: #fff;

}

.dn-play-btn:hover { background: rgba(255,255,255,.3); transform: scale(1.05); }

.dn-play-btn svg { width: 28px; height: 28px; margin-left: 4px; }



/* --- BLOG --- */

.dn-blog { padding: 80px 120px; background: #fff; }

.dn-blog-header {

  max-width: 1200px; margin: 0 auto 48px;

  display: flex; align-items: center; justify-content: space-between; gap: 40px;

}

.dn-blog-header .dn-btn-sm { white-space: nowrap; flex-shrink: 0; padding: 10px 24px; }

.dn-blog-header-right { position: relative; flex-shrink: 0; display: flex; align-items: center; }

.dn-blog-header-glow { position: absolute; width: 500px; height: 500px; top: 2%; left: 50%; transform: translate(-50%, -50%); background: url('/wp-content/themes/delta-theme/assets/blur-glow.svg') center / contain no-repeat; pointer-events: none; z-index: 0; opacity: .38; }

.dn-blog-header-right .dn-btn-sm { position: relative; z-index: 1; }

.dn-blog-cards {

  max-width: 1200px; margin: 0 auto;

  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;

}

.dn-blog-card {

  position: relative; height: 399px;

  background: #ddd; border-radius: 8px; overflow: hidden;

  cursor: pointer; display: block; text-decoration: none;

}

.dn-blog-card-bg {

  position: absolute; inset: 0; background: center/cover no-repeat;

  transition: transform .4s;

}

.dn-blog-card:hover .dn-blog-card-bg { transform: scale(1.04); }

.dn-blog-card-gradient {

  position: absolute; inset: 0;

  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);

}

.dn-blog-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; }

.dn-blog-card-title {

  font-family: var(--fh); font-size: 18px; font-weight: 600; color: #fff;

  line-height: 1.4; margin-bottom: 12px;

}

.dn-blog-card-excerpt {

  font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.6; margin-bottom: 20px;

  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;

}



/* --- RESPONSIVE: dn-* homepage sections --- */

@media (max-width:1200px) {

  .dn-hero-content { padding: 100px 40px 60px; }

  .dn-hero-img { right: 40px; width: 380px; height: 380px; }

  .dn-about, .dn-sys-item { padding-left: 40px; padding-right: 40px; }

  .dn-systems-header { padding-left: 40px; padding-right: 40px; }

  .dn-footer-cta { padding-left: 40px; padding-right: 40px; }

  .dn-blog { padding-left: 40px; padding-right: 40px; }

}

@media (max-width:1024px) {

  .dn-hero { min-height: 600px; }

  .dn-hero-title { font-size: 48px; }

  .dn-hero-img { display: none; }

  .dn-about-inner { flex-direction: column; gap: 40px; width: 100%; }

  .dn-about-text { flex: none; width: 100%; }

  .dn-about-img { flex: none; width: 100%; max-width: 100%; height: 320px; margin-top: 40px; box-sizing: border-box; }

  .dn-sys-inner { flex-direction: column !important; gap: 40px; }

  .dn-sys-img { flex: none; width: 100%; height: 300px; }

  .dn-sys-text { padding: 0; }

  .dn-blog-cards { grid-template-columns: 1fr 1fr; }

  .dn-section-title { font-size: 40px; }

  .dn-sys-title { font-size: 30px; }

}

@media (max-width:640px) {

  .dn-hero-content { padding: 80px 20px 48px; }

  .dn-hero-title { font-size: 32px; }

  .dn-hero-sub { font-size: 15px; }

  .dn-about { padding: 48px 20px; min-height: auto; }

  .dn-systems-header { padding: 48px 20px 24px; }

  .dn-sys-item { padding: 24px 16px; }

  .dn-sys-inner { border-radius: 12px; overflow: hidden; gap: 0; }

  .dn-sys-img { height: 220px; }

  .dn-sys-text { padding: 24px 20px; }

  .dn-sys-icon { width: 40px; height: 40px; margin-bottom: 14px; }

  .dn-sys-icon svg { width: 22px; height: 22px; }

  .dn-sys-list li { font-size: 14px; }

  .dn-footer-cta { padding: 40px 20px; flex-direction: column; gap: 24px; }

  .dn-cta-text { font-size: 28px; }

  .dn-blog { padding: 48px 20px; }

  .dn-blog-cards { grid-template-columns: 1fr; }

  .dn-section-title { font-size: 32px; }

  .dn-sys-title { font-size: 26px; }

  .dn-video-title { font-size: 28px; }

  .dn-hero-btns { flex-direction: column; }

  .dn-btn { justify-content: center; }

}



/* ============================================================

   LOGO IMAGE

   ============================================================ */

.site-logo { display:flex; align-items:center; flex-shrink:0; }

.site-logo-img { height:auto; width:200px; display:block; object-fit:contain; }

.site-header.dark-nav .site-logo-img { filter:brightness(0) invert(1); }

.footer-logo { display:flex; align-items:center; }

.footer-logo-img { height:36px; width:auto; display:block; object-fit:contain; filter:brightness(0) invert(1); }



@media (max-width:640px) {

  .site-logo-img { width:160px; }

  .footer-logo-img { width:140px; }

}



/* ============================================================

   HERO SLIDER

   ============================================================ */

.dn-hero-slider {

  position: relative; height: 800px; overflow: hidden;

  display: flex; align-items: center; justify-content: center;

}



/* Slides */

.dn-slides { position: absolute; inset: 0; }

.dn-slide {

  position: absolute; inset: 0;

  background: center/cover no-repeat;

  opacity: 0; transition: opacity 1s ease;

}

.dn-slide.active { opacity: 1; }



/* Dark overlay */

.dn-hero-overlay {

  position: absolute; inset: 0;

  background: rgba(0,0,0,.55);

  z-index: 1;

}



/* Content — per-slide (inside .dn-slide) */

.dn-slide-content {

  position: absolute; inset: 0; z-index: 2;

  display: flex; flex-direction: column; align-items: center; justify-content: center;

  text-align: center;

  padding: 0 40px;

  opacity: 0; pointer-events: none;

  transition: opacity 0.6s ease 0.2s;

}

.dn-slide.active .dn-slide-content {

  opacity: 1; pointer-events: auto;

}

.dn-slide-content .dn-hero-label {

  font-size: 20px; font-weight: 500; color: #fff;

  letter-spacing: 0.01em; opacity: .9;

  transform: translateY(16px);

  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.3s, opacity 0.6s ease 0.3s;

  opacity: 0;

}

.dn-slide.active .dn-slide-content .dn-hero-label {

  transform: translateY(0); opacity: .9;

}

.dn-slide-content .dn-hero-title {

  font-size: 64px; font-weight: 700; color: #fff;

  max-width: 900px; text-align: center; line-height: 1.1;

  letter-spacing: -0.01em;

  transform: translateY(20px);

  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.45s, opacity 0.6s ease 0.45s;

  opacity: 0;

}

.dn-slide.active .dn-slide-content .dn-hero-title {

  transform: translateY(0); opacity: 1;

}

.dn-slide-content .dn-hero-btns {

  justify-content: center; gap: 20px; margin-top: 8px;

  transform: translateY(20px);

  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.6s, opacity 0.6s ease 0.6s;

  opacity: 0;

}

.dn-slide.active .dn-slide-content .dn-hero-btns {

  transform: translateY(0); opacity: 1;

}

/* Slide bullet list */

.dn-slide-bullets {

  list-style: none; margin: 0 0 8px; padding: 0;

  display: flex; flex-direction: column; gap: 8px;

  max-width: 560px;

  transform: translateY(20px);

  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.52s, opacity 0.6s ease 0.52s;

  opacity: 0;

}

.dn-slide.active .dn-slide-content .dn-slide-bullets {

  transform: translateY(0); opacity: 1;

}

.dn-slide-bullets li {

  font-size: 17px; color: rgba(255,255,255,.88); font-weight: 400;

  padding-left: 20px; position: relative; text-align: left;

}

.dn-slide-bullets li::before {

  content: '';

  position: absolute; left: 0; top: 10px;

  width: 6px; height: 6px; border-radius: 50%;

  background: rgba(255,255,255,.7);

}

.dn-btn-outline-white {

  background: transparent; color: #fff;

  border: 2px solid rgba(255,255,255,.7);

  display: inline-flex; align-items: center; gap: 8px;

  padding: 0 32px; border-radius: 100px; font-weight: 700;

  transition: background .2s, border-color .2s;

  text-decoration: none;

}

.dn-btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }



/* Dots */

.dn-slider-dots {

  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);

  z-index: 3; display: flex; gap: 10px;

}

.dn-dot {

  width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6);

  background: transparent; cursor: pointer; transition: all .3s; padding: 0;

}

.dn-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }



/* Arrows */

.dn-slider-arrow {

  position: absolute; top: 50%; transform: translateY(-50%);

  z-index: 3; width: 48px; height: 48px; border-radius: 50%;

  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);

  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;

  transition: background .2s;

}

.dn-slider-arrow:hover { background: rgba(255,255,255,.3); }

.dn-slider-arrow svg { width: 22px; height: 22px; }

.dn-arrow-prev { left: 32px; }

.dn-arrow-next { right: 32px; }



/* Responsive slider */

@media (max-width: 1024px) {

  .dn-hero-slider { height: 600px; }

  .dn-slide-content .dn-hero-title { font-size: 52px; }

  .dn-arrow-prev { left: 16px; }

  .dn-arrow-next { right: 16px; }

}

@media (max-width: 640px) {

  .dn-hero-slider { height: 520px; }

  .dn-slide-content { padding: 0 20px; }

  .dn-slide-content .dn-hero-title { font-size: 32px; }

  .dn-slide-content .dn-hero-btns { flex-direction: column; align-items: center; }

  .dn-slide-bullets li { font-size: 15px; }

  .dn-slider-arrow { width: 36px; height: 36px; }

  .dn-arrow-prev { left: 10px; }

  .dn-arrow-next { right: 10px; }

}



/* ============================================================

   ANIMATIONS

   ============================================================ */



/* Base state � hidden before animate */

.dn-anim {

  opacity: 0;

  transform: translateY(28px);

  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);

}

.dn-anim.from-left  { transform: translateX(-32px); }

.dn-anim.from-right { transform: translateX(32px); }

.dn-anim.scale-in   { transform: scale(0.94); }



/* Visible state */

.dn-anim.visible {

  opacity: 1;

  transform: translateY(0) translateX(0) scale(1);

}



/* Hero entrance � triggered by JS on load */

/* -- Header entrance ----------------------------------- */

.site-logo {

  opacity: 0;

  transform: translateX(-20px);

  animation: headerLogoIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;

}

.header-right-group {

  opacity: 0;

  transform: translateX(20px);

  animation: headerNavIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.2s forwards;

}

@keyframes headerLogoIn {

  to { opacity: 1; transform: translateX(0); }

}

@keyframes headerNavIn {

  to { opacity: 1; transform: translateX(0); }

}



/* -- LEGAL DOCUMENT PAGES ------------------------------ */

.doc-header-spacer { height: 88px; }

.doc-wrap { background: #fff; padding: 64px 120px 80px; min-height: 60vh; }

.doc-inner { max-width: 800px; margin: 0 auto; }

.doc-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--fh); font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; letter-spacing: .04em; margin-bottom: 40px; }

.doc-back:hover { color: var(--dark); }

.doc-title { font-family: var(--fh); font-size: 40px; font-weight: 700; color: var(--dark); line-height: 1.1; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 2px solid #e0e8ec; }

.doc-inner h2 { font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--dark); margin: 36px 0 12px; }

.doc-inner h3 { font-family: var(--fh); font-size: 16px; font-weight: 700; color: var(--dark); margin: 24px 0 8px; }

.doc-inner p { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 14px; }

.doc-inner a { color: var(--primary); text-decoration: underline; }

.doc-inner ul { margin: 0 0 16px 20px; }

.doc-inner ul li { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 4px; }

.doc-stand { font-size: 13px; color: #999; margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }



@media (max-width: 1024px) { .doc-wrap { padding: 48px 40px 64px; } }

@media (max-width: 600px) { .doc-wrap { padding: 32px 20px 48px; } .doc-title { font-size: 28px; } }



/* -- RELATED POSTS CAROUSEL --------------------------- */

.rp-section { background: #f5f7f8; padding: 64px 120px; border-top: 1px solid #e0e8ec; }

.rp-inner { max-width: 1200px; margin: 0 auto; }

.rp-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }

.rp-title { font-family: var(--fh); font-size: 26px; font-weight: 700; color: var(--dark); }

.rp-arrows { display: flex; gap: 10px; }

.rp-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #d0d8dc; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, background .2s; }

.rp-arrow:hover { border-color: var(--primary); background: var(--primary); }

.rp-arrow:hover svg { stroke: #fff; }

.rp-arrow svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }

.rp-track-wrap { overflow: hidden; }

.rp-track { display: flex; gap: 24px; transition: transform .45s cubic-bezier(0.22,1,0.36,1); }

.rp-card { flex: 0 0 calc(33.333% - 16px); border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e0e8ec; text-decoration: none; display: block; transition: box-shadow .2s, transform .2s; }

.rp-card:hover { box-shadow: 0 8px 32px rgba(57,79,90,.12); transform: translateY(-3px); }

.rp-card-img { height: 200px; background: center/cover no-repeat; }

.rp-card-body { padding: 20px 22px 24px; }

.rp-card-title { font-family: var(--fh); font-size: 17px; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 8px; }

.rp-card-meta { font-size: 13px; color: #999; }



/* -- BLOG ARCHIVE PAGE -------------------------------- */

.blog-archive-wrap { background: #fff; }

.blog-archive-grid { max-width: 1200px; margin: 0 auto; padding: 64px 120px 80px; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

.ba-card { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid #e0e8ec; text-decoration: none; display: block; transition: box-shadow .2s, transform .2s; }

.ba-card:hover { box-shadow: 0 8px 32px rgba(57,79,90,.12); transform: translateY(-4px); }

.ba-card-img { height: 220px; background: center/cover no-repeat; }

.ba-card-body { padding: 22px 24px 26px; }

.ba-card-cat { font-family: var(--fh); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

.ba-card-title { font-family: var(--fh); font-size: 19px; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: 10px; }

.ba-card-excerpt { font-size: 14px; color: #666; line-height: 1.65; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.ba-card-meta { font-size: 13px; color: #aaa; }

.blog-archive-pagination { max-width: 1200px; margin: 0 auto; padding: 0 120px 64px; display: flex; align-items: center; justify-content: center; gap: 8px; }

.blog-archive-pagination .page-numbers { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid #e0e8ec; font-family: var(--fh); font-size: 15px; font-weight: 600; color: var(--dark); text-decoration: none; transition: border-color .2s, background .2s, color .2s; }

.blog-archive-pagination .page-numbers:hover, .blog-archive-pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }

.blog-archive-pagination .page-numbers.dots { border: none; width: auto; color: #aaa; }



/* -- 404 PAGE ----------------------------------------- */

.notfound-wrap { background: #fff; min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 120px 40px; }

.notfound-inner { text-align: center; max-width: 560px; }

.notfound-code { font-family: var(--fh); font-size: 120px; font-weight: 800; color: #e0e8ec; line-height: 1; margin-bottom: 0; }

.notfound-title { font-family: var(--fh); font-size: 32px; font-weight: 700; color: var(--dark); margin: 8px 0 16px; }

.notfound-text { font-size: 16px; color: #666; line-height: 1.7; margin-bottom: 36px; }



@media (max-width: 1024px) {

  .rp-section { padding: 48px 40px; }

  .rp-card { flex: 0 0 calc(50% - 12px); }

  .blog-archive-grid { padding: 48px 40px 64px; grid-template-columns: 1fr 1fr; }

  .blog-archive-pagination { padding: 0 40px 48px; }

}

@media (max-width: 600px) {

  .rp-card { flex: 0 0 calc(100% - 0px); }

  .blog-archive-grid { padding: 32px 20px 48px; grid-template-columns: 1fr; }

  .blog-archive-pagination { padding: 0 20px 40px; }

}



/* ============================================================

   DELTA EDIT MODAL — stacked layout

   ============================================================ */

#delta-edit-modal {

  display: none;

  position: fixed; inset: 0; z-index: 99999;

  align-items: center; justify-content: center;

}

#delta-edit-modal.active { display: flex; }



.dem-backdrop {

  position: absolute; inset: 0;

  background: rgba(0,0,0,.65);

  backdrop-filter: blur(3px);

}

.dem-box {

  position: relative; z-index: 1;

  background: #1a2628;

  border: 1px solid #2a3535;

  border-radius: 12px;

  width: 520px; max-width: 95vw;

  box-shadow: 0 24px 64px rgba(0,0,0,.7);

  font-family: var(--fh);

  overflow: hidden;

}

.dem-header {

  display: flex; align-items: center; justify-content: space-between;

  padding: 16px 20px;

  border-bottom: 1px solid #2a3535;

  background: #151f21;

}

.dem-title {

  display: flex; align-items: center; gap: 8px;

  color: #fff; font-size: 15px; font-weight: 700;

  text-transform: capitalize;

}

.dem-close {

  background: none; border: none; cursor: pointer;

  color: var(--muted); font-size: 22px; line-height: 1;

  padding: 0 4px; transition: color .15s;

}

.dem-close:hover { color: #fff; }



.dem-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }

.dem-field { display: flex; flex-direction: column; gap: 6px; }

.dem-label {

  font-size: 11px; font-weight: 700; letter-spacing: .1em;

  color: var(--primary); text-transform: uppercase;

}

.dem-textarea {

  width: 100%; box-sizing: border-box;

  background: #0f1a1c;

  border: 1px solid #2a3535;

  border-radius: 6px;

  color: #e8f0f0;

  font-family: var(--fb), sans-serif;

  font-size: 14px; line-height: 1.6;

  padding: 10px 14px;

  resize: vertical; min-height: 80px;

  outline: none; transition: border-color .2s;

}

.dem-textarea:focus { border-color: var(--primary); }



.dem-footer {

  display: flex; align-items: center; justify-content: space-between;

  padding: 14px 20px;

  border-top: 1px solid #2a3535;

  background: #151f21;

}

.dem-status { font-size: 13px; color: var(--muted); min-width: 80px; }

.dem-actions { display: flex; gap: 10px; }

.dem-btn-cancel {

  padding: 8px 18px; border-radius: 6px; border: 1px solid #2a3535;

  background: transparent; color: var(--muted);

  font-family: var(--fh); font-size: 13px; font-weight: 600;

  cursor: pointer; transition: background .15s, color .15s;

}

.dem-btn-cancel:hover { background: #2a3535; color: #fff; }

.dem-btn-save {

  padding: 8px 22px; border-radius: 6px; border: none;

  background: var(--primary); color: #fff;

  font-family: var(--fh); font-size: 13px; font-weight: 700;

  cursor: pointer; transition: opacity .15s;

}

.dem-btn-save:hover { opacity: .85; }

.dem-btn-save:disabled { opacity: .5; cursor: not-allowed; }


/* ── Nav Edit Button (editor only, hover on nav wrapper) ── */
.main-nav-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 5px 10px;
  background: rgba(57,79,90,.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 100;
}
.main-nav-wrapper:hover .nav-edit-btn {
  opacity: 1;
  pointer-events: auto;
}
.nav-edit-btn:hover {
  background: var(--primary, #394f5a);
  color: #fff;
}
