@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ══════════════════════════════════════
   Ellis Wyatt — Shared Styles
   ══════════════════════════════════════ */

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

:root {
  --ink: #1a1e24;
  --paper: #f5f2ed;
  --warm: #ede4d3;
  --accent: #2968a8;
  --accent-hover: #1d5289;
  --blue: #2968a8;
  --blue-dark: #1a3d5e;
  --copper: #b87a4a;
  --green: #3a7d5c;
  --muted: #5a5e63;
  --light-muted: #8a8e93;
  --white: #ffffff;
  --border: #d4cec4;
  --sand: #ede4d3;
  --shadow-sm: 0 1px 3px rgba(26,30,36,0.06);
  --shadow-md: 0 4px 16px rgba(26,30,36,0.08);
  --shadow-lg: 0 8px 32px rgba(26,30,36,0.12);
  --radius: 4px;
  --radius-lg: 8px;
  --font-display: 'Barlow', -apple-system, sans-serif;
  --font-body: 'Barlow', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILITY BAR ── */
.utility-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.utility-bar a {
  color: var(--paper);
  text-decoration: none;
  transition: opacity 0.2s;
}
.utility-bar a:hover { opacity: 0.8; }
.utility-trust {
  display: flex;
  gap: 20px;
  align-items: center;
}
.utility-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

/* ── NAV ── */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
}
.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 64px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text .logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo-text .logo-tagline {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); font-weight: 600; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.phone-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--ink);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-white:hover { background: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-md); }

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

/* ── SECTION HELPERS ── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}
.section-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  font-weight: 800;
}
.section-header p {
  color: var(--muted);
  font-size: 16px;
}

/* ── WHY US CARDS ── */
.why-us {
  padding: 80px 0;
  background: var(--sand);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.why-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--blue);
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}
.why-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--sand);
}
.cta-box {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 16px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(41,104,168,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.cta-box p {
  font-size: 17px;
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta-box .btn-primary {
  background: var(--accent);
  padding: 16px 36px;
  font-size: 16px;
}
.cta-box .btn-primary:hover {
  background: var(--accent-hover);
}
.cta-phone {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.6;
}
.cta-phone a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  opacity: 1;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  opacity: 0.5;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.4;
}
.footer-col ul {
  list-style: none;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(245,242,237,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.4;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: var(--paper);
  text-decoration: none;
}
.footer-licenses {
  display: flex;
  gap: 16px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 72px;
  text-align: center;
}
.page-hero .section-tag {
  color: var(--paper);
  opacity: 0.5;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero p {
  font-size: 17px;
  opacity: 0.7;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.page-hero .hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-hero .btn-primary {
  padding: 14px 28px;
  font-size: 15px;
}
.page-hero .btn-white {
  padding: 14px 28px;
  font-size: 15px;
}

/* ── SERVICE DETAIL GRID (inner pages) ── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.detail-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.detail-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.detail-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.detail-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FAQ SECTION ── */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list summary {
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-list summary:hover { color: var(--accent); }
.faq-list summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--light-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after {
  content: '−';
  color: var(--accent);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ── SOCIAL LINKS ── */
.footer-social { display: flex; gap: 24px; margin-top: 16px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  font-size: 16px; transition: all 0.2s; text-decoration: none;
}
.footer-social a:hover { background: var(--blue); color: #fff; }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
  min-width: 220px;
  z-index: 200;
  list-style: none;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background: rgba(41,104,168,0.06);
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .utility-trust { display: none; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 24px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    display: block;
    padding: 0 0 0 16px;
    min-width: auto;
  }
  .dropdown-toggle::after { content: none; }
  .nav-dropdown > a { pointer-events: none; }
  .nav-cta .phone-link { display: none; }
  .nav-cta .btn-primary { font-size: 13px; padding: 8px 14px; }
  .mobile-toggle { display: block; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .logo-text { display: none; }
  .logo img { height: 48px; }
  .main-nav .container { position: relative; }
}

@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { padding: 40px 24px; }
  .page-hero { padding: 48px 0 56px; }
}
