/* Gilbert Handymen Services — marketing site */
:root {
  /* Professional local-service palette (2024–2026) */
  --navy: #0f172a;
  --navy-dark: #020617;
  --orange: #ea580c;
  --orange-hover: #c2410c;
  --accent: #ea580c;
  --accent-hover: #c2410c;
  --clay: #ea580c;        /* alias kept for sticky bar / bee accents */
  --clay-hover: #c2410c;
  --cream: #f8fafc;
  --sand: #f1f5f9;        /* light slate wash, not rustic sand */
  --gray: #475569;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --text: #0f172a;
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 4vw, 2.65rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--gray); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Top bar */
.topbar {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--orange); text-decoration: none; }

/* Header / nav */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.2;
}
.logo img {
  height: 56px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo .logo-text { display: flex; flex-direction: column; }
.logo span { display: block; font-size: 0.7rem; font-weight: 500; color: var(--gray); }
.logo:hover { text-decoration: none; color: var(--orange); }

.nav-toggle {
  display: none;
  background: var(--navy);
  color: white;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}
.main-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.active { color: var(--orange); }
.main-nav .btn { color: white; }

.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  border: 1px solid var(--gray-light);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--cream); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: white !important;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 1rem;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.btn:hover { background: var(--orange-hover); }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: white !important; }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1.05rem; }
.btn-call { white-space: nowrap; }

/* Hero */
.hero {
  /* base hero; photo hero overrides below */
  color: white;
  padding: 3.5rem 0 3rem;
}
.hero h1 { color: white; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero .btn-outline {
  border-color: white;
  color: white !important;
}
.hero .btn-outline:hover { background: white; color: var(--navy) !important; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.hero-meta strong { color: white; display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Sections */
.section { padding: 3.75rem 0; }
.section-alt { background: var(--cream); }
.section-narrow { max-width: 720px; }
.lead { font-size: 1.1rem; }

/* Cards / grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card a.card-link {
  font-weight: 600;
  color: var(--orange);
  display: inline-block;
  margin-top: 0.75rem;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  counter-reset: step;
}
.step {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--gray-light);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--orange);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* Lists */
.check-list { margin: 1rem 0 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.x-list li::before { content: "×"; color: #c53030; }

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.areas-list li {
  background: white;
  border: 1px solid var(--gray-light);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--navy);
}

/* FAQ */
.faq details {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: white;
  padding: 0.85rem 1rem;
}
.faq summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq details[open] summary { margin-bottom: 0.5rem; }
.faq details p { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: white;
  padding: 2.5rem 0;
  text-align: center;
}
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 32rem; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* Forms */
.form-card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font: inherit;
  color: var(--text);
  background: white;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--orange);
  border-color: transparent;
}
.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 0.75rem; }
.form-success {
  display: none;
  background: #c6f6d5;
  color: #22543d;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.form-success.show { display: block; }

/* Page hero (inner) */
.page-hero {
  background: var(--cream);
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid var(--gray-light);
}
.page-hero p { margin-bottom: 0; max-width: 40rem; }
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--gray);
}
.breadcrumb a { color: var(--gray); }

/* Contact info block */
.contact-block {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-block dt { font-weight: 600; color: var(--navy); margin-top: 0.75rem; }
.contact-block dt:first-child { margin-top: 0; }
.contact-block dd { color: var(--gray); margin: 0; }
.contact-block a { font-weight: 600; }

/* Disclosure callout */
.disclosure {
  background: #fff7ed;
  border-left: 4px solid var(--orange);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.disclosure strong { color: var(--navy); }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: var(--orange); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.site-footer h3 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.site-footer ul li { margin-bottom: 0.4rem; }
.footer-disclosure {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.footer-disclosure strong { color: white; }
.footer-bottom {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

/* Mobile */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    padding-bottom: 1rem;
  }
  .main-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
  }
  .hero { padding: 2.5rem 0 2rem; }
}


/* Logo + media */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.72) 55%, rgba(15, 23, 42, 0.42) 100%),
    url("../images/hero.webp") center/cover no-repeat;
  color: white;
  padding: 4rem 0 3.5rem;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero .container { position: relative; z-index: 1; max-width: 640px; }
.hero h1, .hero p, .hero .hero-meta { color: white; }
.hero p { color: rgba(255,255,255,0.92); }
.hero .btn-outline {
  border-color: white;
  color: white !important;
}
.hero .btn-outline:hover {
  background: white;
  color: var(--navy) !important;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.photo-strip figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-light);
}
.photo-strip img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.photo-strip figcaption {
  font-size: 0.8rem;
  color: var(--gray);
  padding: 0.5rem 0.65rem;
  background: white;
}

.card.card-media {
  padding: 0;
  overflow: hidden;
}
.card.card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card.card-media .card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.card.card-media h3 { margin-top: 0; }

.page-hero.with-photo {
  background:
    linear-gradient(105deg, rgba(2, 6, 23, 0.86), rgba(15, 23, 42, 0.68)),
    url("../images/service-home.webp") center/cover no-repeat;
  color: white;
  padding: 2.75rem 0;
}
.page-hero.with-photo h1,
.page-hero.with-photo p,
.page-hero.with-photo a { color: white; }
.page-hero.with-photo .breadcrumb a { color: rgba(255,255,255,0.85); }

.split-media {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.split-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 360px;
}

@media (max-width: 768px) {
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { height: 180px; }
  .split-media { grid-template-columns: 1fr; }
  .logo img { height: 48px; }
  .hero { min-height: 360px; padding: 3rem 0; }
}


/* Sticky mobile Call Now bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--accent);
  color: white !important;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1rem;
  text-decoration: none !important;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.18);
  letter-spacing: 0.01em;
}
.mobile-call-bar:hover {
  background: var(--accent-hover);
  color: white !important;
  text-decoration: none !important;
}
.mobile-call-bar span {
  font-weight: 500;
  opacity: 0.95;
  margin-left: 0.35rem;
}

@media (max-width: 800px) {
  .mobile-call-bar { display: block; }
  body { padding-bottom: 3.75rem; }
}

/* Bee removal story callout */
.bee-callout {
  background: var(--cream);
}
.bee-story {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow-sm);
}
.bee-story h2 { margin-bottom: 0.35rem; }
.bee-story > div p { margin-bottom: 0.75rem; }
.bee-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 1rem;
  list-style: none;
}
.bee-steps li {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--gray);
  font-size: 0.95rem;
}
.bee-steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}
.bee-story .bee-cta { white-space: nowrap; align-self: center; }

@media (max-width: 700px) {
  .bee-story {
    grid-template-columns: 1fr;
  }
  .bee-steps { grid-template-columns: 1fr; }
  .bee-story .bee-cta { width: 100%; text-align: center; }
}

/* How-it-works strip emphasis */
.how-it-works .steps { margin-top: 1.25rem; }
.how-it-works .step h3 { color: var(--navy); }
