/* ════════════════════════════════════════════════════════════════
   base.css  —  Shared styles: reset, variables, navbar, footer,
                buttons, forms, flash messages
   ════════════════════════════════════════════════════════════════ */

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

:root {
  --accent:      #6180EC;
  --accent-dark: #2e3194;
  --gold-1:      #EA9D43;
  --gold-2:      #E7D074;
  --gold-grad:   linear-gradient(90deg, #EA9D43 0%, #E7D074 100%);
  --bg:          #1A1A1A;
  --white:       #FFFFFF;
  --muted:       rgba(255,255,255,0.81);
  --divider:     #999999;
  --font:        'Poppins', sans-serif;
  --max-w:       1200px;
  --r-card:      24px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── CONTAINER ──────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 18px; }

/* ── TYPOGRAPHY HELPERS ─────────────────────────────────────────── */
.eyebrow-sm {
  font-size: .8rem; font-weight: 300; color: var(--accent);
  display: block; margin-bottom: .5rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.section-h2 {
  font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1.2;
}
.section-title-2-5 {
  font-size: 2.5rem; font-weight: 600; color: var(--white);
}
.section-title-center { text-align: center; }
.body-sm {
  font-size: .85rem; font-weight: 300; line-height: 1.5rem; color: var(--white);
}
.divider-line {
  border: none; border-top: 1.3px solid #999999; margin: 5px 0; width: 100%;
}

/* ── BUTTONS ────────────────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--gold-grad);
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity .2s, transform .2s;
}
.btn-gold:hover   { opacity: .9; transform: translateY(-2px); }
.btn-gold-full    { width: 100%; text-align: center; }

/* ── FLASH MESSAGES ─────────────────────────────────────────────── */
.flash-wrap {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 9999; width: min(90%, 520px);
}
.flash {
  padding: 1rem 1.5rem; border-radius: 8px; font-weight: 600;
  margin-bottom: .5rem; animation: fadeIn .3s ease;
}
.flash-success { background: #064e3b; color: #6ee7b7; border-left: 4px solid #10b981; }
.flash-error   { background: #450a0a; color: #fca5a5; border-left: 4px solid #ef4444; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; } }

/* ── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.navbar.scrolled {
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 18px;
  display: flex; align-items: center; height: 90px;
}
.nav-logo-wrap  { flex: 0 0 auto; }
.nav-links-wrap { flex: 1 1 auto; display: flex; justify-content: center; }
.nav-badge-wrap { flex: 0 0 auto; display: flex; justify-content: flex-end; }

.nav-logo-wrap img { height: 70px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; }
.nav-links a {
  font-family: var(--font); font-size: .9rem; font-weight: 400; color: var(--white);
  padding: 15px 7px; margin: 0 10px; transition: color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.verizon-badge { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.verizon-badge .v-verizon { color: #CD040B; font-weight: 900; font-size: 1rem; letter-spacing: -.01em; }
.verizon-badge .v-partner  { color: var(--white); font-size: .55rem; font-weight: 300;
                              letter-spacing: .08em; text-transform: uppercase; }
.verizon-logo { height: 38px; width: auto; object-fit: contain; transform: translateY(-6px); }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .25rem;
}
.hamburger span {
  display: block; width: 24px; height: 3px; background: var(--white);
  border-radius: 2px; transition: .25s; margin-bottom: 5px;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── PAGE HERO (inner pages) ────────────────────────────────────── */
.page-hero {
  background: var(--bg);
  padding: 140px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero h1 {
  font-size: 2.5rem; font-weight: 700; color: var(--white); margin-bottom: .75rem;
}
.page-hero-eyebrow {
  font-size: .8rem; font-weight: 300; color: var(--accent);
  letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: .75rem;
}

/* ── FORMS (shared across contact & reviews) ────────────────────── */
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .8rem; font-weight: 400; color: var(--muted); }
.req { color: var(--gold-1); }
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
  padding: 0 15px; height: 45px; line-height: 45px;
  color: var(--white); font-family: var(--font); font-size: .9rem; width: 100%;
  transition: border-color .15s;
}
.form-group textarea { height: auto; line-height: 1.6; padding: 12px 15px; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
input::placeholder, textarea::placeholder { color: #ADADAD; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer { background: var(--bg); padding-top: 80px; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 18px;
  display: flex; gap: 80px; align-items: flex-start;
}
.footer-brand   { flex: 1 1 0; }
.footer-logo    { height: 48px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-brand p { font-size: 1.2rem; font-weight: 400; line-height: 1.7rem; color: var(--white); }

.footer-newsletter { flex: 1 1 0; }
.footer-col-title  {
  font-size: 1rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: 1rem;
}
.newsletter-sub  { font-size: .9rem; font-weight: 400; color: var(--white); margin-bottom: 1rem; }
.newsletter-form { display: flex; }
.newsletter-input {
  flex: 1; background: var(--white); border: 1px solid #e8e8e8;
  border-right: none; border-radius: 2px 0 0 2px;
  padding: 0 15px; height: 45px; color: #474747;
  font-family: var(--font); font-size: .9rem;
}
.newsletter-input::placeholder { color: #ADADAD; }
.newsletter-btn {
  background: var(--accent); color: var(--white); border: none;
  border-radius: 0 2px 2px 0; padding: 0 20px; height: 45px; width: 130px;
  font-family: var(--font); font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.newsletter-btn:hover { background: var(--accent-dark); }

.footer-contacts     { flex: 1 1 0; text-align: right; }
.footer-contacts ul  { display: flex; flex-direction: column; gap: 7px; margin-top: .5rem; align-items: flex-end; }
.footer-contacts a   {
  font-size: .9rem; font-weight: 400; color: var(--white); padding: 7px 0; transition: color .2s;
}
.footer-contacts a:hover { color: var(--accent-dark); }

.footer-divider    { border: none; border-top: 1px solid var(--divider);
                     max-width: var(--max-w); margin: 15px auto 0; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 15px 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.footer-copyright { text-align: left; font-size: .7rem; font-weight: 300; color: var(--divider); }
.footer-legal-links { display: flex; align-items: center; gap: 18px; }
.footer-privacy   { font-size: .7rem; font-weight: 300; color: var(--divider); transition: color .2s; }
.footer-privacy:hover { color: var(--accent); }

/* ── LEGAL / PRIVACY PAGE ───────────────────────────────────────── */
.legal    { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.2rem; font-weight: 600; color: var(--white); margin: 2rem 0 .6rem; }
.legal h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin: 1.2rem 0 .3rem; }
.legal p  { font-size: .9rem; font-weight: 300; line-height: 1.7; color: var(--muted); margin-bottom: .8rem; }
.legal ul { list-style: disc; margin: .4rem 0 1rem 1.3rem; }
.legal li { font-size: .9rem; font-weight: 300; line-height: 1.7; color: var(--muted); }
.legal a  { color: var(--accent); }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hamburger       { display: flex; }
  .nav-links-wrap  {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); flex-direction: column;
    border-bottom: 1px solid rgba(255,255,255,.08); padding: .5rem 0;
  }
  .nav-links-wrap.open { display: flex; }
  .nav-links  { flex-direction: column; width: 100%; }
  .nav-links a {
    display: block; padding: 10px 18px; margin: 0; width: 100%;
  }
  .nav-links a:hover,
  .nav-links a.active { background: var(--accent); color: var(--white); }
  .nav-inner       { height: 72px; }
  .nav-logo-wrap   { flex: 1; }
  .nav-logo-wrap img { height: 52px; }
  .nav-badge-wrap  { flex: 0 0 auto; }
  .verizon-logo    { height: 26px; }
  .footer-grid    { flex-direction: column; gap: 40px; }
  .footer-contacts { text-align: left; }
  .footer-contacts ul { align-items: flex-start; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-legal-links { gap: 16px; }
  .form-row       { grid-template-columns: 1fr; }
}
