/* ==========================================================================
   We Watch Your Website — clean static rebuild.
   DESIGN IS FROZEN: reproduces wwyw.webpath.agency exactly (measured @1440).
   Values from the live site's computed styles. See .reference/original-spec.md.
   ========================================================================== */
@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/Raleway-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("../assets/fonts/Raleway-VariableFont_wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}

:root {
  --lime: #acd648;          /* CTA button */
  --navy: #26303c;          /* floating dark panels (rgb 38,48,60) */
  --navy-deep: #101923;     /* faq sticky card (rgb 16,25,35) */
  --navy-quote: rgba(10,44,82,0.93); /* testimonial body block */
  --on-dark: #f2f2f2;       /* text on navy */
  --teal: #158c9e;          /* browser-window media (rgb 21,140,158) */
  --ink: #000;
  --white: #fff;
  --maxw: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Raleway", system-ui, sans-serif; font-size: 18px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Section H2 = light weight 300, ~42.6px, centered. Bold parts weight 700. */
h1, h2 { font-weight: 300; font-size: clamp(2rem, 3vw, 42.6px); line-height: 1.75; margin: 0; text-align: center; }
h1 .em, h2 strong, h2 .em { font-weight: 700; }
h2 .accent { color: var(--navy); font-weight: 900; }
h3 { font-weight: 700; font-size: 1.5rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* CTA button — bg #acd648, black text, weight 500, radius 15px, padding 13.5/27 */
.btn {
  display: inline-block; background: var(--lime); color: #000;
  font-weight: 500; font-size: 18px; line-height: 1;
  padding: 13.5px 27px; border-radius: 15px; border: 0; cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ===================== Header (centered logo, nav row below; absolute over hero) ===================== */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; background: transparent; }
.nav { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 45px 0 18px; position: relative; }
.brand img { height: 67px; width: auto; }
.nav-links { display: flex; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: 1.05rem; color: #000; }
.nav-links a:hover { color: #000; }
.nav-toggle { display: none; position: absolute; right: 16px; top: 48px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #1a1a1a; margin: 6px 0; }

/* ===================== Section intro ===================== */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { color: var(--ink); }
.section-head p { margin: 1rem 0 0; font-weight: 400; }
.section-head.on-dark h2, .section-head.on-dark p { color: #fff; }

/* ===================== Hero ===================== */
.hero { padding: 200px 0 80px; }
.hero-card {
  position: relative; overflow: hidden;
  background: var(--navy); border-radius: 33.75px;
  padding: 80px clamp(24px, 5vw, 70px);
  text-align: center;
}
.hero-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background: url("../assets/img/green-ripple-mesh.svg") center / 100% 100% no-repeat;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: var(--on-dark); }
.hero h1 .thin { font-weight: 300; display: block; }
.hero h1 .em { font-weight: 700; display: block; }
.hero-lede {
  max-width: 56ch; margin: 1.5rem auto 2rem; color: #fff; font-weight: 200;
  background: rgba(38,48,60,0.76); border-radius: 720px; padding: 0.1rem 1rem;
}

/* ===================== Process (white, 3 centered icon cards) ===================== */
.process { padding: 185px 0 0; }
.process .section-head { margin-bottom: 85px; }
.process-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.process-card { text-align: center; padding: 45px 0 0; min-height: 534px; }
.process-icon { height: 72px; margin: 0 auto 30px; display: flex; align-items: center; justify-content: center; }
.process-icon svg { height: 64px; width: auto; fill: var(--ink); }
.process-card h3 { font-weight: 500; font-size: 24px; color: var(--ink); }
.process-card p { font-weight: 400; font-size: 18px; max-width: 280px; margin-inline: auto; }

/* ===================== Service (full-bleed navy panel, mesh, 4 alternating cards) ===================== */
.service { padding: 98px 0 0; }
/* panel bleeds nearly edge-to-edge (prod: 1440 wide, 30px side padding) */
.service > .container { max-width: none; padding-inline: 30px; }
.service-panel {
  position: relative; overflow: hidden;
  background: var(--navy) url("../assets/img/heatwave-mesh.svg") center / cover no-repeat;
  border-radius: 150px;
  padding: 67.5px 0 120px;
}
/* inner content centered at 1100 */
.service-panel .section-head,
.svc-stack { max-width: 1100px; margin-inline: auto; }
.service-panel .section-head { margin-bottom: 48px; }

.svc-stack {
  list-style: none; padding: 0; counter-reset: feature-counter;
  display: grid; gap: 101px;
}
.svc-card {
  counter-increment: feature-counter;
  display: grid; grid-template-columns: 1fr 1fr; gap: 67.5px;
  align-items: center; min-height: 499px;
}
/* alternate: even cards flip media to the right */
.svc-card:nth-child(even) .svc-media { order: 2; }
.svc-card:nth-child(even) .svc-body  { order: 1; }

.svc-media { display: flex; justify-content: center; }
.window {
  width: 100%; max-width: 513px; height: 463px;
  background: #fff; border-radius: 15px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  display: flex; flex-direction: column;
}
.window-bar { display: flex; gap: 7px; padding: 11px 14px; background: var(--teal); flex: none; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.85); }
.lottie { width: 100%; flex: 1; background: var(--teal); min-height: 0; }

.svc-body { color: var(--on-dark); position: relative; }
.svc-body h3 { color: var(--on-dark); font-size: 32px; font-weight: 700; }
.svc-body h3::before {
  content: counter(feature-counter) ". ";
  display: inline-block; margin-right: 0.4rem;
  font-size: 40px; font-weight: 300; color: #fff; opacity: 0.9;
}
.svc-body p { color: var(--on-dark); font-weight: 400; }
.svc-body u { text-decoration-color: var(--lime); text-underline-offset: 3px; font-weight: 400; }
.svc-body strong { font-weight: 700; }
.svc-body .btn { margin-top: 0.5rem; }

/* ===================== Testimonial (nested in navy panel) ===================== */
.testimonial { margin-top: 101px; text-align: center; }
.testimonial-label { color: var(--on-dark); font-weight: 400; font-size: 18px; margin: 0 0 1.5rem; }
.testimonial-quote { color: var(--on-dark); font-weight: 700; font-size: 42.6px; line-height: 1.4; max-width: 1100px; margin: 0 auto; }
.testimonial-card {
  display: grid; grid-template-columns: 825px 1fr; align-items: center;
  text-align: left; position: relative; margin-top: 97px;
}
.testimonial-media img { width: 825px; max-width: 100%; height: auto; border-radius: 16px; }
.testimonial-body {
  background: var(--navy-quote); border-radius: 16px; padding: 45px;
  margin-left: -275px; /* overlap the photo on the right */
}
.testimonial-body .quote-body { color: var(--on-dark); font-weight: 400; margin: 0 0 1.25rem; }
.testimonial-body cite { font-style: normal; }
.testimonial-body cite strong { display: block; color: var(--on-dark); }
.testimonial-body cite span { color: var(--lime); font-size: 0.95rem; }

/* ===================== Blog (full-width vertical list) ===================== */
.blog { padding: 270px 0 120px; }
.blog .section-head { margin-bottom: 240px; }
.blog .section-head p { font-weight: 300; }
.posts { display: flex; flex-direction: column; gap: 0; }
.post-row {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  border-bottom: 1px solid #e3e6ea; padding: 27px 0;
}
.post-row:first-child { padding-top: 0; }
.post-row:last-child { border-bottom: 0; }
.post-text h3 { font-size: 32px; font-weight: 300; margin: 0 0 0.6rem; color: var(--ink); line-height: 1.3; }
.post-row:hover h3 { color: var(--teal); }
.post-text time { color: #5c5b5b; font-size: 0.8rem; }
.read-more { color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; flex: none; }
.read-more:hover { color: var(--teal); }

/* ===================== Pricing (tabbed) ===================== */
.pricing { padding: 241px 0 0; }
.pricing-head { margin-bottom: 56px; }
.pricing-head h2 { font-weight: 500; }
.pricing-accent {
  display: inline-block; background: #678fc0; color: #e8f9fc; font-weight: 500;
  border-radius: 15px; padding: 9px 22px; margin: 1rem 0 0;
}
.pricing-tabs { display: grid; grid-template-columns: 0.55fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.plan-nav { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.plan-tab {
  background: none; border: 0; cursor: pointer; padding: 0;
  font: italic 700 32px "Raleway", sans-serif; color: #808080;
  transition: color 0.2s;
}
.plan-tab:hover { color: #5a6472; }
.plan-tab.is-active { color: #444444; }
.plan-tab.is-active::before { content: "› "; color: var(--lime); }
.plan-help { margin: 1rem 0 0; font-weight: 400; font-size: 15px; color: rgba(0,0,0,0.6); }

.plan-panels { position: relative; }
.plan-panel {
  background: var(--navy); border-radius: 33.75px 33.75px 4.44px 4.44px;
  padding: 101px 50px; color: var(--on-dark);
  min-height: 764px; display: flex; flex-direction: column; align-items: flex-start;
}
.plan-panel[hidden] { display: none; }
.plan-price {
  display: inline-block; background: var(--navy-deep); color: var(--on-dark);
  font-size: 2.4rem; font-weight: 700; padding: 0.3rem 1.5rem; border-radius: 12px;
  margin: 0 0 2rem;
}
.plan-price span { font-size: 21px; font-weight: 400; opacity: 0.8; color: var(--on-dark); }
.plan-feats {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem;
}
.plan-feats li { padding-left: 1.7rem; position: relative; font-weight: 400; font-size: 15px; color: #fff; }
.plan-feats li strong { font-weight: 700; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }
.pricing-note { text-align: center; margin-top: 1.5rem; font-weight: 400; color: rgba(0,0,0,0.6); }
.pricing-note a { color: var(--ink); }

/* ===================== FAQ ===================== */
.faq { padding: 150px 0 90px; }
.faq .section-head { margin-bottom: 120px; }
.faq-grid {
  display: grid; grid-template-columns: 0.7fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: start; max-width: 792px; margin-inline: auto;
  background: url("../assets/img/heatwave-mesh.svg") center / cover no-repeat;
  border-radius: 22.5px; padding: 45px;
}
.faq-side {
  position: relative; overflow: hidden;
  background: var(--navy-deep); border-radius: 22.5px; padding: 30px;
  position: sticky; top: 20px;
}
.faq-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background: url("../assets/img/green-ripple-mesh.svg") center / 100% 100% no-repeat;
}
.faq-side-inner { position: relative; z-index: 1; }
.faq-side h2 { text-align: left; color: #fff; font-size: 2rem; font-weight: 500; }
.faq-side ul { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.8rem; }
.faq-side li { padding-left: 1.7rem; position: relative; color: #fff; font-weight: 400; }
.faq-side li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 700; }

.faq-list { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.15); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 26px 18px; font: 600 24px "Raleway", sans-serif; color: #fff;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-q .chev { transition: transform 0.3s; color: var(--lime); flex: none; }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.is-open .faq-a { max-height: 1000px; }
.faq-a p { padding: 0 18px 18px; font-weight: 400; margin: 0; color: #fff; }

/* ===================== Footer (slim, centered nav row) ===================== */
.site-footer { padding: 30px 0 0; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap; padding-bottom: 30px;
}
.footer-brand img { height: 67px; width: auto; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: #000; font-weight: 500; }
.footer-nav a:hover { color: #000; }
.footer-bottom {
  background: rgba(41,61,87,0.1); margin: 0 -24px; padding: 30px 24px;
  text-align: center; color: #000; font-size: 0.9rem; font-weight: 500;
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .process-grid, .posts { grid-template-columns: 1fr 1fr; }
  .svc-card { grid-template-columns: 1fr; }
  .svc-card:nth-child(even) .svc-media { order: 0; }
  .svc-card:nth-child(even) .svc-body { order: 0; }
  .testimonial-card { grid-template-columns: 1fr; }
  .testimonial-body { margin-left: 0; margin-top: -40px; }
  .pricing-tabs, .faq-grid { grid-template-columns: 1fr; }
  .plan-feats { grid-template-columns: 1fr; }
  .faq-side { position: static; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 1rem; }
  .nav-toggle { display: block; }
  .process-grid, .posts { grid-template-columns: 1fr; }
  .service-panel { border-radius: 60px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
