/* ========================================================
   SIMPLITECHPRO — DIRECTION C v3.4 — SHARED COMPONENTS
   Loaded after style.css on all pages. Overrides old navbar,
   footer, and body with the Direction C dark-agency design.
   ======================================================== */

/* ── DESIGN TOKENS ── */
:root {
  --dc-navy:        #0d1520;
  --dc-navy-mid:    #1f2d40;
  --dc-navy-card:   #152030;
  --dc-navy-deep:   #0a1420;
  --dc-orange:      #E8641A;
  --dc-orange-h:    #cf5715;
  --dc-orange-glow: rgba(232,100,26,0.15);
  --dc-orange-bd:   rgba(232,100,26,0.28);
  --dc-white:       #ffffff;
  --dc-light-bg:    #f8fafc;
  --dc-light-bd:    #e2e8f0;
  --dc-text-dark:   #1a2332;
  --dc-text-body:   #475569;
  --dc-d60: rgba(255,255,255,0.60);
  --dc-d50: rgba(255,255,255,0.50);
  --dc-d30: rgba(255,255,255,0.30);
  --dc-d12: rgba(255,255,255,0.12);
  --dc-d07: rgba(255,255,255,0.07);
  --dc-d05: rgba(255,255,255,0.05);
  /* One shared "brand ease" so every hover/transition moves with the same
     personality (fast start, soft landing). Use with .3s durations. */
  --dc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── CRAFT DETAILS (site-wide) ── */
/* Brand text-selection — works on dark (white text) and light (dark text) sections. */
::selection { background: rgba(232,100,26,0.40); }

/* Slim dark scrollbar to match the dark-first design. */
html { scrollbar-color: #2a3950 var(--dc-navy-deep); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--dc-navy-deep); }
::-webkit-scrollbar-thumb {
  background: #2a3950; border-radius: 8px;
  border: 3px solid var(--dc-navy-deep);   /* inset "pill" look */
}
::-webkit-scrollbar-thumb:hover { background: #3a4c66; }

/* Keyboard focus ring — orange, offset, only for keyboard navigation
   (:where keeps specificity at 0 so nothing else is overridden). */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--dc-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── BODY OVERRIDE ── */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dc-navy-deep);
  color: var(--dc-white);
  -webkit-font-smoothing: antialiased;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ========================================================
   NAVBAR
   ======================================================== */
.navbar {
  background: rgba(13,21,32,0.70);
  border-bottom: 1px solid var(--dc-d07);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark { flex-shrink: 0; }

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--dc-white);
  line-height: 1;
}

.logo-text em { font-style: normal; color: var(--dc-orange); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dc-d50);
  transition: color 0.15s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active { color: var(--dc-white); }

/* Nav CTA button */
.btn-nav {
  background: var(--dc-orange);
  color: white;
  padding: 11px 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);   /* hairline top highlight — "lit" button */
  transition: background 0.3s var(--dc-ease), transform 0.3s var(--dc-ease), box-shadow 0.3s var(--dc-ease);
}

.btn-nav:hover {
  background: var(--dc-orange-h);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 6px 20px rgba(232,100,26,0.30);
}

/* Hamburger — hidden by default, shown at mobile */
.hamburger { display: none; }

/* ========================================================
   SECTION HELPERS
   ======================================================== */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dc-orange);
  margin-bottom: 14px;
}

.section-header { margin-bottom: 64px; }

.section-header h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  color: var(--dc-d50);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;          /* centre the subline under the heading (was pinned left) */
  line-height: 1.7;
  text-wrap: balance;          /* balance the lines so the last word never orphans */
}

.section-header.light h2 { color: var(--dc-text-dark); }
.section-header.light p  { color: var(--dc-text-body); }
.section-header.light .section-tag { color: var(--dc-orange); }

/* ========================================================
   PAGE HERO — inner pages (about, contact, business-services)
   ======================================================== */
.page-hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  background: url('images/bg-results-dark.webp') center / cover no-repeat;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 25, 0.82);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dc-orange-glow);
  border: 1px solid var(--dc-orange-bd);
  color: var(--dc-orange);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--dc-white);
}

.page-hero h1 em {
  font-style: italic;
  color: var(--dc-orange);
}

.page-hero p {
  font-size: 18px;
  color: var(--dc-d50);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================================
   BUTTONS (standalone — not within .btn from style.css)
   ======================================================== */
.btn-primary {
  background: var(--dc-orange);
  color: white;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 4px 24px rgba(232,100,26,0.35);
  transition: background 0.3s var(--dc-ease), transform 0.3s var(--dc-ease), box-shadow 0.3s var(--dc-ease);
}

.btn-primary:hover {
  background: var(--dc-orange-h);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 8px 36px rgba(232,100,26,0.45);
}

/* ========================================================
   FOOTER
   ======================================================== */
.footer {
  background: var(--dc-navy-deep);
  padding: 72px 0 36px;
  color: var(--dc-white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--dc-d07);
  margin-bottom: 36px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { font-size: 18px; }

.footer-brand p {
  font-size: 13px;
  color: var(--dc-d30);
  line-height: 1.65;
  max-width: 230px;
  margin-bottom: 20px;
}

.footer-phone {
  font-size: 14px;
  color: var(--dc-d50);
  font-weight: 500;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dc-d30);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
  font-size: 14px;
  color: var(--dc-d50);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--dc-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--dc-d30);
}

/* ========================================================
   WHATSAPP FLOAT BUTTON
   ======================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

.whatsapp-tooltip {
  position: fixed;
  bottom: 138px;
  right: 24px;
  background: #1a2332;
  color: white;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 999;
}

/* ========================================================
   MOBILE QUOTE BAR
   ======================================================== */
.mobile-quote-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,20,32,0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--dc-d07);
  padding: 8px 20px 14px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 998;
}

.mobile-bar-label {
  font-size: 12px;
  color: var(--dc-d50);
}

.mobile-quote-bar a {
  font-size: 13px;
  font-weight: 600;
  color: var(--dc-white);
  text-decoration: none;
}

.mobile-quote-bar-phone { color: var(--dc-d50) !important; }

/* ========================================================
   PACKAGES GRID — shared layout for plan card grids
   ======================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .package-card.featured { margin-top: 0; }
}
@media (max-width: 560px) {
  .packages-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   PACKAGE CARD — unified dark design (homepage + business-services)
   All rules scoped under .package-card to avoid conflicts.
   ======================================================== */
.package-card {
  background: var(--dc-navy-card);
  border: 1px solid var(--dc-d07);
  border-radius: 16px;
  padding: 40px 34px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--dc-ease), transform .3s var(--dc-ease), box-shadow .3s var(--dc-ease);
}
/* "Lit from above" — a soft hairline along the card's top edge (premium dark-UI detail). */
.package-card::before {
  content: '';
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16) 30%, rgba(255,255,255,0.16) 70%, transparent);
  pointer-events: none;
}
.package-card:hover {
  border-color: rgba(232,100,26,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.package-card.featured {
  border-color: rgba(232,100,26,0.5);
  margin-top: -12px;
  background: linear-gradient(160deg, rgba(232,100,26,0.08) 0%, var(--dc-navy-card) 55%);
}
.package-card.featured:hover { box-shadow: 0 16px 48px rgba(232,100,26,0.18); }

.featured-pill {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--dc-orange); color: white; font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 20px; border-radius: 100px;
}

.package-card .pkg-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--dc-d07); border: 1px solid var(--dc-d07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 22px; color: var(--dc-orange);
}
.package-card:hover .pkg-icon { background: rgba(232,100,26,0.1); }

.package-card .pkg-tier {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--dc-orange); margin-bottom: 8px;
}
.package-card .pkg-name {
  font-size: 24px !important; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 14px; color: var(--dc-white);
}
.package-card .pkg-price {
  font-size: 42px !important; font-weight: 900; letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 6px; color: var(--dc-white);
}
.package-card .pkg-price sub {
  font-size: 14px; font-weight: 400; color: var(--dc-d30); vertical-align: baseline;
}
.package-card .pkg-deposit {
  font-size: 13px; color: var(--dc-d50); margin-bottom: 4px; line-height: 1.5;
}
.package-card .pkg-desc {
  font-size: 14px; color: var(--dc-d50); line-height: 1.65;
  margin: 18px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--dc-d07);
}
.package-card .pkg-features {
  display: block !important; margin-bottom: 28px; list-style: none; padding: 0;
}
.package-card .pkg-features li {
  font-size: 14px; color: rgba(255,255,255,0.65); padding: 9px 0;
  border-bottom: 1px solid var(--dc-d05);
  display: flex; align-items: flex-start; gap: 10px;
}
.package-card .pkg-features li:last-child { border-bottom: none; }
.package-card .pkg-features li i { color: var(--dc-orange); font-size: 15px; margin-top: 2px; flex-shrink: 0; }

.pkg-promo-row { margin-bottom: 12px; }
.pkg-promo-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; color: #fff;
}

.package-card .pkg-cta {
  display: block; width: 100%; text-align: center; padding: 14px 20px;
  border-radius: 9px; font-size: 14px; font-weight: 700;
  transition: all 0.2s; text-decoration: none;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  box-sizing: border-box; margin-top: auto;
}
.package-card .pkg-cta.primary {
  background: var(--dc-orange); color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 4px 20px rgba(232,100,26,0.25);
}
.package-card .pkg-cta.primary:hover {
  background: var(--dc-orange-h); box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 6px 28px rgba(232,100,26,0.4);
}
.package-card .pkg-cta.outline {
  border: 1px solid var(--dc-d12); color: var(--dc-d50); background: none;
}
.package-card .pkg-cta.outline:hover { border-color: var(--dc-d30); color: white; }

/* Maintenance add-on pills inside dark cards — hidden until drawer is open */
.package-card .maintenance-addon {
  display: none;
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--dc-d07); margin-bottom: 20px;
}
.package-card .pkg-drawer.open ~ .maintenance-addon {
  display: block;
}
.package-card .maintenance-addon-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--dc-orange); display: flex; align-items: center; gap: 6px; margin-bottom: 12px;
}
.package-card .maint-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.package-card .maint-pill {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.7);
  background: var(--dc-d07); border: 1px solid var(--dc-d12);
  padding: 6px 14px; border-radius: 100px; cursor: pointer; transition: all 0.2s;
}
.package-card .maint-pill:hover,
.package-card .maint-pill.active {
  border-color: var(--dc-orange); color: #fff; background: rgba(232,100,26,0.12);
}
.package-card .maint-desc { font-size: 12px; color: var(--dc-d50); line-height: 1.6; margin-top: 10px; }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 768px) {
  /* Mobile dropdown menu — matches the dark / orange "Bold Dark Agency" style
     (overrides the older style.css panel). */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0 16px;
    background: rgba(13,21,32,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--dc-d07);
    box-shadow: 0 26px 50px rgba(0,0,0,0.45);
    list-style: none;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 15px 28px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dc-d50);
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
  }
  .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.03); }
  .nav-links a.active {
    color: var(--dc-orange);
    border-left-color: var(--dc-orange);
    background: rgba(232,100,26,0.06);
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dc-white);
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .btn-nav { display: none; }
  .mobile-quote-bar { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero { padding: 72px 0 56px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
