/*
Theme Name: GrowthPath Custom
Theme URI: https://growthpathventures.com
Author: GrowthPath Ventures
Description: Custom theme built from the GrowthPath Ventures brand reference. Pixel-accurate to the original HTML design.
Version: 1.2.0
Text Domain: growthpath-custom
*/

:root {
  --ink: #17283a;
  --green: #007f6e;
  --green-deep: #004f4b;
  --mint: #c9dedb;
  --aqua: #7bd4c9;
  --paper: #ffffff;
  --wash: #f5f6f5;
  --line: #b9d7d2;
  --muted: #566269;
  --max-width: 1160px;
  --radius: 18px;
  --shadow: 0 14px 38px rgba(8, 55, 51, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 8px; left: 8px; z-index: 99999; width: auto; height: auto; padding: 10px 14px; margin: 0; overflow: visible; clip: auto; color: #fff; background: var(--green-deep); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Avenir Next", Avenir, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--max-width)); margin: 0 auto; }
.section { padding: 92px 0; }
.section--wash { background: var(--wash); }
.section--dark { background: var(--green-deep); color: #fff; }
.eyebrow { margin: 0 0 6px; color: var(--green); font-size: 16px; font-weight: 500; }
.eyebrow--center { text-align: center; }
.eyebrow--light { color: var(--aqua); }
.section-title, .page-title { margin: 0; max-width: 760px; font-family: Manrope, "Avenir Next", sans-serif; font-size: clamp(32px, 4vw, 54px); line-height: 1.03; letter-spacing: -.055em; }
.section-title--center { text-align: center; margin: 0 auto; }
.section-title--light { color: #fff; }
.section-title span, .display span { color: var(--green); }
.lede { max-width: 680px; color: var(--muted); font-size: 18px; }

/* Header */
.site-header { position: relative; z-index: 20; background: var(--mint); }
.site-header__inner { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__mark { display: grid; width: 42px; height: 42px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.brand__mark i { display: block; background: var(--green); }
.brand__mark i:nth-child(1) { border-radius: 4px 0 0 0; }
.brand__mark i:nth-child(2) { border-radius: 0 0 4px 0; }
.brand__mark i:nth-child(3) { border-radius: 0 0 0 4px; }
.brand__mark i:nth-child(4) { background: transparent; }
.brand__name { display: block; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 700; line-height: .9; letter-spacing: -.06em; }
.brand__name em { color: var(--green); font-style: normal; }
.brand__sub { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .06em; }
.primary-menu { display: flex; align-items: center; gap: 46px; list-style: none; padding: 0; margin: 0; }
.primary-menu a { font-size: 16px; transition: color .2s ease; }
.primary-menu .current-menu-item a, .primary-menu a:hover { color: var(--green); font-weight: 700; }
.header-cta { margin-left: auto; }
.menu-toggle { display: none; color: var(--ink); background: transparent; border: 0; font-size: 25px; cursor: pointer; }

/* Buttons */
.button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 23px; border: 1px solid var(--green); border-radius: 999px;
  color: #fff; background: var(--green); font-weight: 700; font-size: 14px; line-height: 1; transition: transform .2s ease, background .2s ease;
}
.button:hover { background: var(--green-deep); color: #fff; transform: translateY(-1px); }
.button--outline { color: var(--green); background: transparent; }
.button--outline:hover { color: #fff; background: var(--green); }

/* Hero */
.hero { overflow: hidden; position: relative; min-height: 590px; background: linear-gradient(105deg, #fff 35%, #e9f5f1 100%); }
.hero__grid { min-height: 590px; display: grid; grid-template-columns: minmax(0, .93fr) minmax(410px, 1.07fr); align-items: center; gap: 60px; }
.hero__content { position: relative; z-index: 2; max-width: 535px; }
.hero__kicker { margin-bottom: 8px; color: var(--green); font-weight: 600; }
.display { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(45px, 5.4vw, 72px); font-weight: 800; line-height: .96; letter-spacing: -.075em; }
.hero__text { margin: 24px 0; max-width: 420px; color: #435258; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; min-height: 480px; }
.hero-art__orbit { position: absolute; top: 24px; right: 22px; width: 420px; height: 420px; border: 2px solid var(--green); border-radius: 50%; opacity: .9; }
.hero-art__orbit::before { content: ""; position: absolute; inset: 30px; border: 1px solid var(--aqua); border-radius: 50%; }
.hero-card { position: absolute; display: grid; place-items: center; width: 195px; height: 128px; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.hero-card--one { top: 91px; right: 12px; background: linear-gradient(135deg, #f6fffd, #d9ebe7); transform: rotate(4deg); }
.hero-card--two { top: 211px; left: 42px; background: linear-gradient(135deg, #e1f3ef, #99d5ca); transform: rotate(-6deg); }
.hero-card--three { right: 160px; bottom: 48px; background: var(--green-deep); transform: rotate(7deg); }
.hero-card::before { content: ""; width: 70px; height: 70px; border: 8px solid currentColor; border-radius: 50%; opacity: .75; }
.hero-card--one { color: var(--green); } .hero-card--two { color: var(--green-deep); } .hero-card--three { color: #fff; }

/* Value / Why */
.value-grid { display: grid; grid-template-columns: 1.26fr .74fr; gap: 64px; align-items: start; }
.issue-list { display: grid; gap: 20px; margin: 30px 0 24px; padding: 0; list-style: none; }
.issue-list li { position: relative; padding-left: 48px; max-width: 665px; }
.issue-list li::before { content: ""; position: absolute; top: 7px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--green); }
.issue-list p { margin: 0; }
.illustration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.illustration { position: relative; min-height: 170px; border-radius: 18px; background: var(--aqua); overflow: hidden; }
.illustration--tall { min-height: 360px; background: var(--green); grid-row: span 2; }
.illustration--shelf { background: #b4eee4; }
.illustration::after { content: ""; position: absolute; inset: 22%; border: 4px solid var(--ink); border-radius: 44% 52% 42% 50%; transform: rotate(-14deg); }
.illustration--tall::before { content: ""; position: absolute; left: 37%; top: 23%; width: 27%; height: 56%; border-radius: 48% 48% 12px 12px; background: #fff; box-shadow: -32px 88px 0 -3px #fff, 32px 88px 0 -3px #fff; }
.illustration--tall::after { inset: auto; left: 30%; top: 12%; width: 42%; height: 25%; border-radius: 50%; background: #fff; border: 0; }
.illustration--shelf::after { border-radius: 4px; transform: none; inset: 30% 15%; box-shadow: 0 28px 0 -1px var(--ink), 0 56px 0 -1px var(--ink); }
.illustration--small::after { border-radius: 50%; inset: 26%; }

/* Testimonial */
.testimonial { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; margin-top: 34px; }
.testimonial__media { min-height: 280px; border-radius: 12px; background: radial-gradient(circle at 20% 30%, #e9c9ad 0 5%, transparent 5.4%), linear-gradient(125deg, #816a5c, #d9b69a 40%, #f6efe7); }
.testimonial__quote { display: flex; flex-direction: column; justify-content: center; padding: 38px; border-radius: 12px; color: #fff; background: var(--green); }
.stars { color: #f9cf48; font-size: 21px; letter-spacing: 4px; }
.testimonial__quote p { margin: 15px 0; }
.testimonial__quote cite { color: var(--aqua); font-style: normal; font-size: 13px; font-weight: 700; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 32px; }
.service-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--green-deep); border-radius: 9px; background: #fff; }
.service-card h3 { margin: 0; font-family: Manrope, sans-serif; font-size: 20px; line-height: 1.05; letter-spacing: -.04em; }
.service-card p { margin: 12px 0 0; font-size: 13px; color: #4e5a5e; }
.text-link { color: var(--green); font-size: 13px; font-weight: 700; background: transparent; border: none; padding: 0; }
.services-cta { text-align: center; margin-top: 32px; }

/* Case study */
.case-study { display: grid; grid-template-columns: 1.15fr .85fr; gap: 75px; align-items: start; }
.case-study__body h4 { margin: 0 0 6px; color: var(--green); font-size: 18px; font-weight: 500; }
.case-study__body p { max-width: 600px; margin: 0 0 22px; }
.case-study__metrics { display: grid; align-content: center; gap: 36px; text-align: center; }
.metric strong { display: block; color: var(--aqua); font-family: Manrope, sans-serif; font-size: clamp(46px, 6vw, 74px); font-weight: 500; letter-spacing: -.07em; line-height: .9; }
.metric span { display: block; max-width: 290px; margin: 10px auto 0; font-size: 16px; line-height: 1.12; }

/* Audience */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.audience-card { position: relative; padding: 22px 24px 22px 54px; border: 1px solid var(--green); border-radius: 9px; background: #fff; }
.audience-card::before { content: "✓"; position: absolute; top: 19px; left: 16px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 14px; font-weight: 700; }
.audience-card h3 { margin: 0 0 6px; color: var(--green-deep); font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.audience-card p { margin: 0; color: #4e5a5e; font-size: 14px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.process__step { min-height: 210px; padding: 28px 22px; border: 1px solid var(--green); border-radius: 9px; background: #fff; }
.process__number { display: grid; width: 36px; height: 36px; place-items: center; margin: -28px 0 28px -22px; color: #fff; background: var(--green); font-weight: 700; }
.process__step h3 { margin: 0 0 9px; font-family: Manrope, sans-serif; font-size: 23px; }
.process__step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Blog posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.post-card { overflow: hidden; border-bottom: 1px solid var(--line); }
.post-card__image { display: block; aspect-ratio: 1.38; border-radius: 9px; background: linear-gradient(135deg, #abd0c9, #edf4ef 48%, #d0a887); }
.post-card:nth-child(2) .post-card__image { background: linear-gradient(135deg, #182d43, #75c9df 45%, #f6f1d7); }
.post-card:nth-child(3) .post-card__image { background: linear-gradient(135deg, #f9f3d7, #d98c44 38%, #467f83); }
.post-card__category { display: block; margin-top: 13px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 { margin: 6px 0 16px; font-family: Manrope, sans-serif; font-size: 18px; line-height: 1.14; }

/* Contact */
.contact-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 86px 0; }
.contact-cta__title { margin: 20px 0 0; max-width: 450px; color: var(--green); font-family: Manrope, sans-serif; font-size: clamp(47px, 5.5vw, 73px); font-weight: 400; line-height: .98; letter-spacing: -.07em; }
.tag { display: inline-flex; padding: 4px 14px; border: 1px solid var(--ink); border-radius: 999px; color: var(--green); }
.contact-card { padding: 44px 68px; border-radius: 18px; background: var(--wash); }
.contact-card h2 { margin: 0 0 25px; color: var(--green); font-size: 23px; font-weight: 500; }
.form-row { margin-bottom: 15px; }
.form-row input, .form-row textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #263233; outline: 0; color: var(--ink); background: transparent; }
.form-row textarea { min-height: 43px; resize: vertical; }
.form-notice { padding: 12px; border-radius: 6px; color: var(--green-deep); background: #dff3ee; font-size: 14px; }

/* Footer */
.site-footer { background: var(--green-deep); color: #fff; padding: 42px 0 30px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark i { background: #fff; }
.site-footer .brand__mark i:nth-child(4) { background: transparent; }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer__copyright { margin: 21px 0 0; font-size: 14px; opacity: .92; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 8px 0 0; padding: 0; }
.footer-menu a:hover { text-decoration: underline; }
.footer__social { margin-top: 25px; text-align: right; }
.footer__social a { text-decoration: underline; font-weight: 700; }

/* Responsive */
/* Inner page hero */
.page-hero { padding: 76px 0 40px; background: linear-gradient(105deg, #fff, #eff8f6); }
.page-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; align-items: center; }
.page-hero__art { min-height: 210px; border-radius: 18px; background: linear-gradient(135deg, var(--aqua), var(--green-deep)); }

/* Service detail */
.service-detail { display: grid; grid-template-columns: 1.15fr .85fr; gap: 66px; padding: 68px 0; border-bottom: 1px solid #d8e4e1; }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail__label { display: inline-flex; padding: 4px 10px; border-radius: 999px; color: var(--green); background: #e3f4ef; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.service-detail h2 { margin: 14px 0; font-family: Manrope, sans-serif; font-size: clamp(30px, 3.1vw, 43px); line-height: 1; letter-spacing: -.055em; }
.service-detail p { max-width: 600px; }
.check-list { padding: 0; margin: 22px 0 0; list-style: none; }
.check-list li { position: relative; padding-left: 24px; margin: 9px 0; color: #48575a; font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.service-detail__aside { display: grid; gap: 18px; align-content: start; }
.note-card { padding: 25px; border: 1px solid var(--line); border-radius: 9px; }
.note-card--dark { color: #fff; background: var(--green-deep); border-color: var(--green-deep); }
.note-card h3 { margin: 0 0 10px; font-size: 16px; }
.note-card p { margin: 0; font-size: 14px; }
.note-card .button { margin-top: 16px; }

/* FAQ */
.faq { padding: 66px 0; background: var(--wash); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.faq-item { padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.faq-item h3 { margin: 0 0 8px; color: var(--green); font-size: 16px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* Work / portfolio */
.work-list { display: grid; gap: 30px; padding: 65px 0; }
.work-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 43px; padding: 36px; border-radius: 18px; background: var(--wash); }
.work-card__visual { min-height: 280px; border-radius: 12px; background: linear-gradient(135deg, #6ecec2, #f4efdf); }
.work-card:nth-child(2) .work-card__visual { background: linear-gradient(135deg, #ffd9b4, #0c826f); }
.work-card:nth-child(3) .work-card__visual { background: linear-gradient(135deg, #233a42, #c8e5dc); }
.work-card h2 { margin: 6px 0 15px; font-family: Manrope, sans-serif; font-size: 38px; line-height: 1.03; letter-spacing: -.055em; }
.work-card p { max-width: 530px; }

/* Blog layout */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 76px; padding: 54px 0 80px; }
.post-list { display: grid; gap: 42px; padding: 28px; border-radius: 18px; background: var(--wash); }
.post-list .post-card { padding-bottom: 32px; }
.sidebar h2 { color: var(--green); font-size: 22px; font-weight: 500; }
.sidebar ul { padding: 0; list-style: none; }
.sidebar li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.sidebar li a:hover { color: var(--green); }

/* Single article */
.single-article { width: min(calc(100% - 48px), 800px); padding: 80px 0; margin: 0 auto; }
.single-article__meta { color: var(--green); font-size: 14px; }
.single-article h1 { margin: 10px 0 30px; font-family: Manrope, sans-serif; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.06em; }
.single-article .wp-post-image { margin: 0 0 35px; border-radius: 16px; }
.single-article p, .single-article li { font-size: 18px; line-height: 1.65; }

/* Generic editor page */
.editor-page { padding: 75px 0; }
.editor-page__content { width: min(100%, 760px); margin: 30px auto 0; }
.editor-page__content > * { margin-block: 0 20px; }
.editor-page__content h2 { font-family: Manrope, sans-serif; }

@media (max-width: 900px) {
  .site-header__inner { min-height: 82px; }
  .primary-menu { gap: 22px; }
  .hero__grid, .value-grid, .case-study, .contact-cta, .page-hero__inner, .service-detail, .work-card, .post-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; } .hero__grid { padding: 72px 0; } .hero-art { min-height: 390px; max-width: 560px; width: 100%; margin: 0 auto; }
  .value-grid, .case-study, .contact-cta, .service-detail { gap: 40px; }
  .case-study__metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--max-width)); }
  .section { padding: 60px 0; }
  .brand__mark { width: 34px; height: 34px; } .brand__name { font-size: 20px; } .brand__sub { font-size: 9px; }
  .menu-toggle { display: block; }
  .site-header__inner { position: relative; }
  .primary-menu { position: absolute; top: 100%; right: -16px; left: -16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; border-top: 1px solid rgba(0, 79, 75, .13); background: var(--mint); box-shadow: var(--shadow); }
  .primary-menu.is-open { display: flex; }
  .primary-menu li a { display: block; padding: 12px 4px; }
  .header-cta { display: none; }
  .hero__grid { padding: 56px 0 30px; } .hero-art { min-height: 300px; transform: scale(.78); transform-origin: top center; margin-bottom: -50px; }
  .hero-art__orbit { width: 350px; height: 350px; right: 5%; } .hero-card--three { bottom: 15px; }
  .illustration-grid { max-width: 410px; margin: 0 auto; }
  .testimonial, .services-grid, .post-grid, .process, .audience-grid { grid-template-columns: 1fr; }
  .testimonial__media { min-height: 190px; }
  .case-study__metrics { gap: 26px; grid-template-columns: 1fr; }
  .contact-card { padding: 30px 25px; }
  .contact-cta__title { font-size: 55px; }
  .footer__top { flex-direction: column; gap: 20px; } .footer__social { text-align: left; }
  .page-hero { padding: 55px 0 30px; } .page-hero__art { min-height: 145px; }
  .service-detail { padding: 48px 0; }
  .post-layout { gap: 35px; } .sidebar { display: none; }
  .work-card { padding: 23px; } .work-card__visual { min-height: 200px; }
  .faq-grid { grid-template-columns: 1fr; }
  .post-list { padding: 17px; }
}

/* === Floating widgets === */
.float-widgets { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-widgets__btn { width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: transform .2s, box-shadow .2s; color: #fff; position: relative; text-decoration: none; }
.float-widgets__btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.float-widgets__btn svg { width: 26px; height: 26px; fill: currentColor; }
.float-widgets__btn--wa { background: #25d366; }
.float-widgets__btn--chat { background: var(--green); }

.chat-popup { position: fixed; bottom: 88px; right: 24px; z-index: 9998; width: 380px; max-width: calc(100vw - 48px); background: var(--paper); border-radius: 14px; box-shadow: 0 8px 40px rgba(0,0,0,.15); overflow: hidden; display: none; flex-direction: column; }
.chat-popup.is-open { display: flex; }
.chat-popup__header { background: var(--green); color: var(--paper); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-popup__header h3 { margin: 0; font-size: 14px; font-weight: 600; }
.chat-popup__close { background: none; border: none; color: var(--paper); cursor: pointer; font-size: 18px; line-height: 1; padding: 0; }
.chat-popup__body { padding: 12px 14px; max-height: 360px; overflow-y: auto; }
.chat-popup__msg { background: var(--wash); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; font-size: 13px; line-height: 1.45; }
.chat-popup__msg--bot { background: var(--mint); }
.chat-popup__footer { padding: 8px 14px 12px; border-top: 1px solid var(--wash); display: flex; gap: 6px; }
.chat-popup__footer input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 13px; outline: none; }
.chat-popup__footer input:focus { border-color: var(--green); }
.chat-popup__footer button { background: var(--green); color: var(--paper); border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: 13px; }

@media (max-width: 500px) {
  .chat-popup { right: 12px; bottom: 80px; width: calc(100vw - 24px); }
  .float-widgets { right: 12px; bottom: 16px; }
  .float-widgets__btn { width: 46px; height: 46px; }
  .float-widgets__btn svg { width: 22px; height: 22px; }
}
