/* BUGHUNT.lol — main stylesheet
   Light hunter-teal theme: porcelain-white body, deep ink text, hunter-teal accents */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #14211F;
  background-color: #F5FAF9;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #1E8A86;
  text-decoration: none;
}

a:hover {
  color: #14211F;
}

h1,
h2,
h3,
h4 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  color: #14211F;
  margin: 0 0 18px;
  line-height: 1.15;
}

h1 {
  font-size: 52px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 18px;
  color: #14211F;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============ TWO-ROW NAVIGATION ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.two-row-nav {
  background-color: #F5FAF9;
  border-bottom: 3px solid #1E8A86;
}

.site-header.scrolled .two-row-nav {
  border-bottom-width: 3px;
  box-shadow: 0 2px 10px #14211F1A;
}

.nav-row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  border-bottom: 1px solid #C9E4DF;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #14211F;
}

.brand:hover {
  color: #1E8A86;
}

.nav-cta {
  display: inline-block;
  background-color: #1E8A86;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 9px 20px;
  text-transform: uppercase;
}

.nav-cta:hover {
  background-color: #14211F;
  color: #FFFFFF;
}

.nav-row-2 {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 28px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 34px;
  color: #51605C;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 0;
}

.nav-link::before {
  content: "";
  width: 7px;
  height: 7px;
  background-color: #1E8A86;
  flex: none;
}

.nav-link:hover {
  color: #1E8A86;
}

.nav-link.active {
  color: #14211F;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  background-color: #1E8A86;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: #1E8A86;
  border: none;
  padding: 9px 10px;
  line-height: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  margin: 4px 0;
}

/* ============ MIRRORED SPLIT HERO ============ */

.mirror-hero {
  background-color: #F5FAF9;
  padding: 78px 28px 92px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-graphic {
  width: 40%;
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic-panel {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: #C9E4DF;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bug-graphic {
  position: relative;
  width: 170px;
  height: 150px;
}

.bug-ant {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #14211F;
  top: 18px;
  z-index: 3;
}

.bug-ant.left {
  left: 58px;
}

.bug-ant.right {
  left: 96px;
}

.bug-shell {
  position: relative;
  left: 35px;
  top: 24px;
  width: 100px;
  height: 72px;
  border-radius: 50%;
  background-color: #1E8A86;
}

.bug-seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #14211F;
  transform: translateX(-50%);
  border-radius: 1px;
}

.bug-leg {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #14211F;
}

.bug-leg.l1 { left: -7px; top: 12px; }
.bug-leg.l2 { left: -7px; top: 32px; }
.bug-leg.l3 { left: -7px; top: 52px; }
.bug-leg.r1 { right: -7px; top: 12px; }
.bug-leg.r2 { right: -7px; top: 32px; }
.bug-leg.r3 { right: -7px; top: 52px; }

.trail-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #1E8A86;
}

.trail-dot.t1 { right: 34px; top: 58px; }
.trail-dot.t2 { right: 12px; top: 96px; }
.trail-dot.t3 { right: 30px; top: 134px; }
.trail-dot.t4 { left: 40px; bottom: 26px; width: 8px; height: 8px; }

.hero-text {
  width: 60%;
  flex: none;
}

.eyebrow {
  display: inline-block;
  background-color: #1E8A86;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 16px;
  margin-bottom: 22px;
}

.hero-text h1 {
  font-size: 54px;
  color: #14211F;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 18px;
  color: #14211F;
  margin-bottom: 34px;
  max-width: 600px;
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 30px;
  margin-right: 14px;
}

.btn-primary {
  background-color: #1E8A86;
  color: #FFFFFF;
  border: 2px solid #1E8A86;
}

.btn-primary:hover {
  background-color: #14211F;
  border-color: #14211F;
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: #14211F;
  border: 2px solid #14211F;
}

.btn-outline:hover {
  background-color: #14211F;
  color: #FFFFFF;
}

/* ============ SECTION SHARED ============ */

.section {
  padding: 88px 28px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1E8A86;
  margin-bottom: 14px;
}

.section-title {
  font-size: 40px;
  color: #14211F;
  margin-bottom: 20px;
}

.section-lede {
  font-size: 18px;
  color: #14211F;
  margin-bottom: 54px;
  max-width: 820px;
}

/* ============ STEP PROGRESSION ============ */

.step-section {
  background-color: #F5FAF9;
}

.step-block {
  padding: 44px 0;
  border-top: 2px solid #C9E4DF;
}

.step-block:first-of-type {
  border-top: none;
}

.step-num {
  font-size: 58px;
  font-weight: 800;
  color: #1E8A86;
  letter-spacing: 2px;
  margin-bottom: 6px;
  line-height: 1;
}

.step-title {
  font-size: 28px;
  color: #14211F;
  margin-bottom: 16px;
}

.step-copy {
  font-size: 17px;
  color: #14211F;
  max-width: 880px;
}

/* ============ METRIC BAND ============ */

.metric-band {
  background-color: #C9E4DF;
  padding: 64px 28px;
}

.metric-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.metric {
  flex: 1;
  text-align: center;
  padding: 10px 24px;
}

.metric + .metric {
  border-left: 2px solid #1E8A86;
}

.metric-num {
  font-size: 52px;
  font-weight: 800;
  color: #1E8A86;
  line-height: 1.1;
}

.metric-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #14211F;
  margin-top: 10px;
}

/* ============ STATEMENT BLOCK ============ */

.statement-section {
  background-color: #F5FAF9;
}

.statement-text {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: #14211F;
  margin-bottom: 28px;
  max-width: 960px;
  letter-spacing: -1px;
}

.statement-copy {
  font-size: 18px;
  color: #14211F;
  max-width: 840px;
}

/* ============ CTA BAND ============ */

.cta-band {
  background-color: #1E8A86;
  padding: 76px 28px;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-band h2 {
  color: #FFFFFF;
  margin-bottom: 20px;
}

.cta-copy {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 30px;
}

.btn-dark {
  background-color: #14211F;
  color: #FFFFFF;
  border: 2px solid #14211F;
}

.btn-dark:hover {
  background-color: #FFFFFF;
  color: #14211F;
}

/* ============ SINGLE-ROW FOOTER ============ */

.single-row-footer {
  background-color: #1E8A86;
  padding: 22px 28px;
  text-align: center;
}

.footer-line {
  color: #FFFFFF;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-line a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-line a:hover {
  color: #C9E4DF;
}

/* ============ SERVICES PAGE ============ */

.services-hero {
  background-color: #F5FAF9;
  padding: 70px 28px 82px;
  border-bottom: 3px solid #C9E4DF;
}

.services-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.services-hero h1 {
  font-size: 50px;
}

.service-block {
  padding: 52px 0;
  border-top: 2px solid #C9E4DF;
}

.service-block:first-of-type {
  border-top: none;
}

.service-index {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1E8A86;
  margin-bottom: 10px;
}

.service-title {
  font-size: 28px;
  color: #14211F;
  margin-bottom: 14px;
}

.service-copy {
  font-size: 17px;
  color: #14211F;
  max-width: 920px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 0;
  border-top: 2px solid #C9E4DF;
}

.process-step:first-of-type {
  border-top: none;
}

.process-num {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #1E8A86;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-title {
  font-size: 20px;
  color: #14211F;
  margin-bottom: 8px;
}

.process-copy {
  color: #14211F;
  max-width: 860px;
}

/* ============ CONTACT PAGE ============ */

.contact-grid {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.contact-form-col {
  flex: 1;
  background-color: #FFFFFF;
  border: 2px solid #C9E4DF;
  padding: 34px;
}

.contact-info-col {
  flex: 1;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #14211F;
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid #C9E4DF;
  background-color: #F5FAF9;
  color: #14211F;
  font-size: 16px;
  font-family: inherit;
  padding: 12px 14px;
  margin-bottom: 20px;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1E8A86;
}

.form-note {
  display: none;
  color: #14211F;
  font-weight: 600;
  margin: 12px 0 0;
}

.form-note.shown {
  display: block;
}

.info-card {
  background-color: #C9E4DF;
  padding: 26px 28px;
  margin-bottom: 26px;
}

.info-card h3 {
  color: #14211F;
  margin-bottom: 10px;
}

.info-card p,
.info-card a {
  color: #14211F;
  font-size: 17px;
}

.faq-item {
  background-color: #F5FAF9;
  border: 2px solid #C9E4DF;
  margin-bottom: 14px;
}

.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #14211F;
  font-size: 17px;
  font-weight: 700;
  padding: 18px 20px;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #1E8A86;
  font-weight: 800;
  font-size: 20px;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: #14211F;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ SCROLL REVEAL ============ */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 960px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }

  .hero-graphic,
  .hero-text {
    width: 100%;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .metric-inner {
    flex-direction: column;
  }

  .metric + .metric {
    border-left: none;
    border-top: 2px solid #1E8A86;
  }

  .metric {
    padding: 24px;
  }

  .contact-grid {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-row-1 {
    padding: 12px 18px;
  }

  .nav-row-2 {
    display: block;
    position: relative;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-row-2.open {
    max-height: 400px;
    padding: 8px 18px 16px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-link {
    display: flex;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #C9E4DF;
    width: 100%;
  }

  .nav-link.active::after {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .section-title {
    font-size: 30px;
  }

  .statement-text {
    font-size: 30px;
  }

  .metric-num {
    font-size: 42px;
  }

  .section {
    padding: 64px 18px;
  }

  .mirror-hero {
    padding: 50px 18px 64px;
  }

  .cta-band {
    padding: 56px 18px;
  }

  .footer-line {
    font-size: 12px;
    line-height: 2;
  }

  .btn {
    display: inline-block;
    margin: 0 0 12px;
    width: 100%;
    text-align: center;
  }
}
