/*
Theme Name: GoHigherLevel
Description: Lightweight custom theme for GoHigherLevel.AI — AI solutions for aesthetic clinics. Fast, semantic, AEO-optimized.
Version: 1.0.0
Author: Romea.AI
Text Domain: gohigherlevel
*/

/* ═══════════════ DESIGN TOKENS ═══════════════ */
:root {
  --ink: #0f1a18;
  --ink-soft: #3d4a47;
  --ink-mute: #6b7774;
  --paper: #faf9f6;
  --paper-warm: #f4f3ee;
  --white: #ffffff;
  --green: #1f514c;
  --green-deep: #163d39;
  --green-ink: #0d2624;
  --mint: #e3f2ec;
  --mint-bright: #c9e8dc;
  --accent: #2e8b7a;
  --gold: #c9a96a;
  --line: #e3e1da;
  --line-soft: #edebe5;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15,26,24,.05);
  --shadow-md: 0 4px 16px rgba(15,26,24,.07);
  --shadow-lg: 0 12px 40px rgba(15,26,24,.10);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Hedvig Letters Serif', Georgia, serif;
  --maxw: 1140px;
}

/* ═══════════════ RESET & BASE ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.18; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-family: var(--font-body); font-weight: 650; }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 650; }
p { margin-bottom: 1.1em; }
ul, ol { margin: 0 0 1.2em 1.3em; }
li { margin-bottom: .45em; }
strong { font-weight: 650; }
::selection { background: var(--mint-bright); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════ HEADER ═══════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,246,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.wordmark {
  font-family: var(--font-body); font-weight: 700; font-size: 21px;
  letter-spacing: -0.02em; color: var(--green-deep); line-height: 1;
}
.wordmark span { color: var(--accent); font-weight: 650; }
.wordmark:hover { text-decoration: none; color: var(--green); }
.wordmark-light { color: var(--white); }
.wordmark-light span { color: var(--mint-bright); }
.wordmark-light:hover { color: var(--mint); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink-soft); font-size: 14.5px; font-weight: 550;
  padding: 8px 13px; border-radius: 8px;
}
.main-nav a:hover { color: var(--green); background: var(--mint); text-decoration: none; }
.nav-cta {
  background: var(--green) !important; color: var(--white) !important;
  padding: 9px 18px !important; border-radius: 9px !important; font-weight: 600 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--green-deep) !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  background: linear-gradient(160deg, var(--green-ink) 0%, var(--green-deep) 55%, var(--green) 100%);
  color: var(--white); padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 85% 15%, rgba(201,232,220,.14), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mint-bright); border: 1px solid rgba(201,232,220,.35);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 22px; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.82);
  max-width: 56ch; margin-bottom: 36px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15.5px; padding: 14px 26px;
  border-radius: 11px; transition: all .18s ease; cursor: pointer; border: 0;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--white); color: var(--green-deep); box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.btn-primary:hover { background: var(--mint); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-deep); }
.hero-points { display: flex; gap: 28px; margin-top: 52px; flex-wrap: wrap; }
.hero-point { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.75); }
.hero-point svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ═══════════════ SECTIONS ═══════════════ */
.section { padding: 84px 0; }
.section-tint { background: var(--paper-warm); }
.section-mint { background: var(--mint); }
.section-dark { background: var(--green-ink); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--mint-bright); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section-dark .section-head p { color: rgba(255,255,255,.78); }

/* ═══════════════ CARDS & GRIDS ═══════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--mint); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 23px; height: 23px; stroke: var(--green); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 14px; }
.card-link { font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 15px; height: 15px; transition: transform .15s; }
.card-link:hover svg { transform: translateX(3px); }
.card-link:hover { text-decoration: none; color: var(--green-deep); }

/* ═══════════════ STATS ═══════════════ */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 800px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 26px 16px; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--green); line-height: 1; margin-bottom: 8px;
}
.section-dark .stat-num { color: var(--mint-bright); }
.stat-label { font-size: 14px; color: var(--ink-mute); }
.section-dark .stat-label { color: rgba(255,255,255,.65); }

/* ═══════════════ PROCESS STEPS ═══════════════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 34px 28px 30px;
}
.step-num {
  font-family: var(--font-display); font-size: 3rem; color: var(--mint-bright);
  line-height: 1; margin-bottom: 16px; font-weight: 500;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ═══════════════ DEMO / VIDEO ═══════════════ */
.demo-band { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .demo-band { grid-template-columns: 1fr; } }
.video-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); background: #000;
}
.video-frame video { width: 100%; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.phone-chip {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 14px 16px;
}
.phone-chip .pc-country { font-size: 12.5px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.phone-chip .pc-number { font-size: 16.5px; font-weight: 650; color: var(--white); margin-top: 3px; }
.phone-chip a { color: var(--white); }
.phone-chip a:hover { color: var(--mint-bright); text-decoration: none; }

/* ═══════════════ FAQ ═══════════════ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-weight: 620; font-size: 16.5px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; font-weight: 400; color: var(--green);
  flex-shrink: 0; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--green); }
.faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }
.faq-body p:last-child { margin-bottom: 0; }

/* ═══════════════ CTA BAND ═══════════════ */
.cta-band {
  background: linear-gradient(140deg, var(--green-deep), var(--green));
  border-radius: var(--radius-lg); padding: 56px 48px;
  text-align: center; color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 52ch; margin: 0 auto 30px; }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }

/* ═══════════════ CONTENT PAGES ═══════════════ */
.page-hero { background: var(--paper-warm); padding: 64px 0 52px; border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { max-width: 20ch; margin-bottom: 14px; }
.page-hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.page-hero-dark { background: linear-gradient(150deg, var(--green-ink), var(--green-deep)); color: var(--white); border: 0; }
.page-hero-dark h1 { color: var(--white); }
.page-hero-dark .lede { color: rgba(255,255,255,.8); }

.prose { max-width: 780px; }
.prose h2 { margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.5em 0 .4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul li::marker { color: var(--green); }

.answer-first {
  background: var(--mint); border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 22px 0 26px; font-size: 1.06rem; color: var(--green-ink);
}
.answer-first p { margin: 0; color: var(--green-ink); }

.check-list { list-style: none; margin-left: 0; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 5px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--mint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231f514c" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center/10px no-repeat;
}

/* ═══════════════ FOOTER ═══════════════ */
.site-footer { background: var(--green-ink); color: rgba(255,255,255,.72); padding: 64px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { margin-bottom: 16px; }
.footer-logo .wordmark { font-size: 20px; }
.footer-about { font-size: 14.5px; line-height: 1.7; max-width: 34ch; }
.footer-col h4 { color: var(--white); font-size: 13.5px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.72); font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ═══════════════ FORMS ═══════════════ */
.ghl-form { display: flex; flex-direction: column; gap: 16px; }
.ghl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .ghl-row { grid-template-columns: 1fr; } }
.ghl-field { display: flex; flex-direction: column; gap: 6px; }
.ghl-field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.ghl-field input, .ghl-field textarea, .ghl-field select {
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 11px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.ghl-field input:focus, .ghl-field textarea:focus, .ghl-field select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,81,76,.12);
}
.ghl-hp { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }
.form-notice { border-radius: 10px; padding: 14px 18px; font-size: 15px; margin-bottom: 18px; }
.form-success { background: var(--mint); color: var(--green-ink); border: 1px solid var(--mint-bright); }
.form-error { background: #fdecea; color: #8c2b21; border: 1px solid #f5c6c0; }

/* ═══════════════ MISC ═══════════════ */
.notice-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-shell { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.tag { display: inline-block; font-size: 12.5px; font-weight: 600; background: var(--mint); color: var(--green); padding: 4px 12px; border-radius: 100px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
@media print { .site-header, .site-footer, .hero-actions, .cta-band { display: none; } }
