/*
Theme Name: Davors Technologies Marketing
Theme URI: https://suite.davorsfacilities.com
Author: Davors Technologies
Description: Marketing site for the Davors Technologies Enterprise Management System (ERP Suite and Real Estate platform). Navy/lemon-green brand, four pages: Home, Features, Pricing, Contact.
Version: 1.9.4
Requires at least: 5.9
Requires PHP: 7.4
License: Proprietary
Text Domain: davors
*/


:root {
  --navy: #0C1F3D;
  --navy-deep: #081527;
  --deepblue: #16305C;
  --gold: #6FA92F;
  --gold-bright: #8FD849;
  --ink: #22262E;
  --paper: #F7F8FA;
  --paper-warm: #F3F0E8;
  --white: #FFFFFF;
  --muted: #667085;
  --line: #E4E7EC;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.03; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.3rem; line-height: 1.3; }

p { margin: 0 0 1rem; color: var(--ink); }
.lede { font-size: 1.2rem; color: var(--deepblue); line-height: 1.55; }
.muted { color: var(--muted); }

a { color: inherit; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 20px; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,250,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-mark {
  width: 34px; height: 34px; border-radius: 8px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.nav-word { font-family: 'Fraunces', serif; font-weight: 600; color: var(--navy); font-size: 1.08rem; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--deepblue); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy); color: var(--white) !important; padding: 10px 20px;
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--navy-deep); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links:not(.nav-cta-wrap) { display: none; }
  .nav-links.nav-cta-wrap { gap: 12px; }
  .nav-links.nav-cta-wrap a:not(.nav-cta) { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    width: 40px; height: 40px; padding: 0; margin-left: 4px; box-sizing: border-box;
    background: transparent; border: 1px solid var(--line); border-radius: 8px;
    cursor: pointer; flex-shrink: 0; -webkit-appearance: none; appearance: none;
  }
  .nav-toggle span {
    display: block; width: 20px; height: 2px; background: var(--navy);
    border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
  }
  .nav-toggle span + span { margin-top: 5px; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.nav-mobile-menu { display: none; }
@media (max-width: 860px) {
  .nav-mobile-menu.open {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 20px 20px; background: var(--paper, #F7F8FA);
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile-menu a {
    text-decoration: none; color: var(--deepblue); font-size: 1rem; font-weight: 500;
    padding: 12px 4px; border-bottom: 1px solid var(--line);
  }
  .nav-mobile-menu a.active { color: var(--navy); font-weight: 600; }
  .nav-mobile-menu a.nav-cta-mobile {
    margin-top: 12px; border-bottom: none; text-align: center;
    background: var(--navy); color: var(--white) !important; border-radius: 8px; padding: 12px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 9px; text-decoration: none;
  font-weight: 600; font-size: 0.98rem; transition: all 0.15s; border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ---------- Hero split (signature element) ---------- */
.hero { background: var(--navy); position: relative; overflow: hidden; padding: 88px 0 0; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 15% 0%, rgba(111,169,47,0.14), transparent 60%),
    radial-gradient(ellipse 700px 400px at 85% 20%, rgba(111,169,47,0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; padding-bottom: 72px; }
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 { color: var(--white); margin: 18px auto 22px; max-width: 820px; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero .lede { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.split-doors {
  position: relative; display: flex; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.door {
  flex: 1 1 50%; min-width: 320px;
  padding: 46px 40px 54px; position: relative; text-decoration: none;
  transition: background 0.2s;
}
.door:hover { background: rgba(255,255,255,0.035); }
.door-erp { border-right: 1px solid rgba(255,255,255,0.12); }
.door .eyebrow { display: block; margin-bottom: 10px; }
.door h3 { color: var(--white); font-size: 1.55rem; margin-bottom: 10px; }
.door p { color: rgba(255,255,255,0.68); max-width: 420px; margin-bottom: 18px; }
.door-link { color: var(--gold-bright); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.door-badge {
  position: absolute; top: 46px; right: 40px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(111,169,47,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 0.75rem;
}
@media (max-width: 780px) {
  .door-erp { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .door-badge { display: none; }
}

/* ---------- Section headers ---------- */
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head p { color: var(--deepblue); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: flex; flex-wrap: wrap; gap: 28px; }
.grid-3 > * { flex: 1 1 calc(33.333% - 19px); min-width: 260px; }
.grid-2 { display: flex; flex-wrap: wrap; gap: 28px; }
.grid-2 > * { flex: 1 1 calc(50% - 14px); min-width: 280px; }
@media (max-width: 860px) { .grid-3 > *, .grid-2 > * { flex: 1 1 100%; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px;
}
.card-num { font-family: 'IBM Plex Mono', monospace; color: var(--gold); font-size: 0.8rem; margin-bottom: 14px; display: block; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.96rem; }

.feature-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tag-pill {
  display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.06em; padding: 4px 11px; border-radius: 20px; margin-bottom: 16px;
}
.tag-erp { background: rgba(22,48,92,0.08); color: var(--deepblue); }
.tag-re { background: rgba(111,169,47,0.16); color: #4F7A1E; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy-deep);
  font-family: 'IBM Plex Mono', monospace; font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.05em; padding: 14px 30px; border-radius: 30px; margin-bottom: 26px;
}

/* ---------- Stats strip ---------- */
.stats { background: var(--navy); color: var(--white); }
.stats .wrap { display: flex; flex-wrap: wrap; gap: 24px; text-align: center; }
.stats .wrap > div { flex: 1 1 calc(25% - 18px); min-width: 140px; }
.stat-num { font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--gold-bright); font-weight: 600; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 6px; }
@media (max-width: 720px) { .stats .wrap > div { flex: 1 1 calc(50% - 12px); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(111,169,47,0.16), transparent 65%);
}
.cta-band .content { position: relative; }
.cta-band h2 { color: var(--white); max-width: 560px; margin: 0 auto 16px; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 32px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 300px; }
.footer-brand .nav-word { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { margin-right: 64px; }
.footer-col:last-child { margin-right: 0; }
.footer-col h4 { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (non-home) ---------- */
.page-hero { background: var(--navy); padding: 64px 0 56px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 700px 350px at 50% -10%, rgba(111,169,47,0.14), transparent 60%);
}
.page-hero .content { position: relative; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { max-width: 560px; margin: 16px auto 0; color: rgba(255,255,255,0.72); }

/* ---------- Pricing ---------- */
.pricing-toggle {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 48px;
}
.pricing-toggle button {
  font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 10px 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--white);
  color: var(--muted); cursor: pointer; transition: all 0.15s;
}
.pricing-toggle button.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.pricing-group { display: none; }
.pricing-group.active { display: block; }

.plan-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.plan-grid > .plan { flex: 1 1 calc(25% - 15px); min-width: 240px; }
@media (max-width: 860px) { .re-two-col { grid-template-columns: 1fr !important; } }
@media (max-width: 1000px) { .plan-grid > .plan { flex: 1 1 calc(50% - 10px); } }
@media (max-width: 600px) { .plan-grid > .plan { flex: 1 1 100%; } }

.plan {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); position: relative; }
.plan.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy-deep); font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 20px; font-weight: 500;
}
.plan-name { font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.plan-price { font-family: 'Fraunces', serif; font-size: 2.1rem; color: var(--navy); margin: 6px 0 2px; }
.plan-price small { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-features li { font-size: 0.88rem; color: var(--ink); padding: 7px 0; border-top: 1px solid var(--paper); display: flex; gap: 8px; }
.plan-features li:first-child { border-top: none; }
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.re-model { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.re-model-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.re-model-row > * { flex: 1 1 calc(50% - 20px); min-width: 280px; }
.unit-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.unit-price .num { font-family: 'Fraunces', serif; font-size: 3.4rem; color: var(--navy); font-weight: 600; }
.unit-price .per { font-size: 1rem; color: var(--muted); }
.re-cycle-prices { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 6px; }
.re-cycle-prices .unit-price { margin-bottom: 0; }
.unit-price-annual .num { font-size: 2.2rem; }
.unit-price-annual .per::before { content: "or "; }
@media (max-width: 480px) {
  .re-cycle-prices { flex-direction: column; gap: 4px; }
}

.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { padding: 10px 0; border-top: 1px solid var(--paper); font-size: 0.93rem; display: flex; gap: 10px; }
.mini-list li:first-child { border-top: none; }
.mini-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex-shrink: 0; }

.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--navy); }
.faq-item p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-grid > *:first-child { flex: 1.1 1 500px; }
.contact-grid > *:last-child { flex: 0.9 1 300px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.96rem; background: var(--white); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }

.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 36px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.info-row:first-of-type { border-top: none; margin-top: 20px; }
.info-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(111,169,47,0.16); display: flex; align-items: center; justify-content: center; color: var(--gold-bright); flex-shrink: 0; font-size: 0.9rem; }
.info-row div div:first-child { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.info-row div div:last-child { font-size: 0.95rem; color: var(--white); font-weight: 500; }

.audience-note {
  display: flex; gap: 12px; padding: 16px 18px; background: var(--paper-warm);
  border-radius: 10px; border: 1px solid rgba(111,169,47,0.25); margin-bottom: 32px; align-items: flex-start;
}
.audience-note .dot2 { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex-shrink: 0; }
.audience-note p { margin: 0; font-size: 0.92rem; color: var(--deepblue); }
.audience-note a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* ---------- Floating WhatsApp button ---------- */
.davors-whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  text-decoration: none; transition: transform 0.15s;
}
.davors-whatsapp-float:hover { transform: scale(1.06); }
@media (max-width: 600px) {
  .davors-whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}
