/* ==========================================================================
   Operanest — site-v3
   Hand-written CSS, no framework. Composition follows the approved
   GoHighLevel reference template (centered hero + big image below, six
   feature cards, alternating image/text sections, banded highlight,
   pricing cards, testimonials, FAQ, final image block, four-column
   footer) — recolored to Operanest's real brand (no orange, no template
   copy, no template classes).
   ========================================================================== */

:root {
  --op-black: #06070d;
  --op-graphite: #0b0c14;
  --op-navy: #0a1230;
  --op-navy-light: #101b43;
  --op-blue: #155eef;
  --op-blue-light: #3b82f6;
  --op-teal: #00c2a8;
  --op-white: #ffffff;
  --op-off-white: #f5f7fb;
  --op-muted: #9aa3b6;
  --op-dark-muted: #737b8e;
  --op-border: rgba(255, 255, 255, 0.09);
  --op-border-strong: rgba(255, 255, 255, 0.16);
  --op-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --op-container: 1180px;
  --op-header-h: 68px;
  --op-radius: 14px;
  --op-radius-sm: 8px;
  --op-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--op-navy);
  color: var(--op-white);
  font-family: var(--op-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font-family: inherit;
}

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

section {
  scroll-margin-top: calc(var(--op-header-h) + 16px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--op-white);
  color: var(--op-black);
  padding: 10px 16px;
  border-radius: var(--op-radius-sm);
  z-index: 200;
  font-weight: 700;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--op-teal);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--op-blue), var(--op-blue-light));
  color: #fff;
  box-shadow: 0 10px 26px rgba(21, 94, 239, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(21, 94, 239, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: var(--op-border-strong);
  color: var(--op-white);
}

.btn-ghost:hover {
  border-color: var(--op-teal);
  color: var(--op-teal);
}

.btn-dark {
  background: var(--op-black);
  color: var(--op-white);
  border-color: var(--op-border-strong);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--op-header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 18, 48, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--op-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.site-header__logo img {
  height: 26px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header__nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--op-muted);
}

.site-header__nav a:hover {
  color: var(--op-white);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--op-muted);
}

.lang-switch a {
  padding: 3px 6px;
  border-radius: 6px;
}

.lang-switch a[aria-current="page"] {
  color: var(--op-white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--op-border-strong);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--op-white);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 940px) {
  .site-header__nav {
    position: fixed;
    inset: var(--op-header-h) 0 0 0;
    background: var(--op-black);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform 200ms ease;
    overflow-y: auto;
  }

  .site-header__nav.is-open {
    transform: translateX(0);
  }

  .site-header__nav a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--op-border);
    font-size: 16px;
  }

  .site-header__nav .btn {
    margin-top: 14px;
    width: 100%;
  }

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

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- Page hero (centered) ---------- */
.page-hero {
  padding: 72px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(21, 94, 239, 0.28), rgba(0, 194, 168, 0.08) 55%, transparent 75%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--op-teal);
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.page-hero p.lead {
  font-size: 17px;
  color: var(--op-muted);
  max-width: 56ch;
  margin: 0 auto 30px;
}

.page-hero__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Hero image (big, directly below hero) ---------- */
.hero-image-wrap {
  padding: 0 0 24px;
}

.hero-image-wrap .container {
  max-width: 1040px;
}

/* ---------- Image placeholder component ---------- */
.image-placeholder {
  width: 100%;
  aspect-ratio: var(--ph-ratio, 8 / 5);
  background: #14192b;
  border: 1px dashed var(--op-border-strong);
  border-radius: var(--op-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 20px;
  color: var(--op-dark-muted);
  overflow: hidden;
}

.image-placeholder__tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--op-teal);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.image-placeholder__file {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--op-off-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.image-placeholder__meta {
  font-size: 12.5px;
  color: var(--op-dark-muted);
}

.image-placeholder--square {
  --ph-ratio: 1 / 1;
}

.image-placeholder--portrait {
  --ph-ratio: 4 / 5;
}

.image-placeholder--wide {
  --ph-ratio: 16 / 9;
}

.image-placeholder--tall {
  --ph-ratio: 3 / 4;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--black {
  background: var(--op-black);
}

.section--graphite {
  background: var(--op-graphite);
}

.section--off-white {
  background: var(--op-off-white);
  color: var(--op-black);
}

.section__head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--op-teal);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.section--off-white .section__eyebrow {
  color: var(--op-blue);
}

/* ---------- Six feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--op-navy-light);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  padding: 26px 22px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--op-muted);
}

/* ---------- Alternating image/text sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--reverse .split__image {
  order: 2;
}

.split--reverse .split__content {
  order: 1;
}

.split__content h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
}

.split__content p {
  font-size: 15.5px;
  color: var(--op-muted);
  margin-bottom: 20px;
  max-width: 48ch;
}

.section--off-white .split__content p {
  color: #4a5468;
}

.split__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.split__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--op-muted);
}

.section--off-white .split__list li {
  color: #4a5468;
}

.split__list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke: var(--op-teal);
}

/* ---------- Banded highlight ---------- */
.band {
  background: linear-gradient(120deg, var(--op-navy-light), var(--op-black) 70%);
  border-top: 1px solid var(--op-border);
  border-bottom: 1px solid var(--op-border);
}

.band .split__content p {
  color: var(--op-muted);
}

.band__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--op-dark-muted);
  border-top: 1px solid var(--op-border);
  padding-top: 14px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.plan-card {
  background: var(--op-white);
  color: var(--op-black);
  border-radius: var(--op-radius);
  padding: 28px 22px;
  border: 1px solid rgba(10, 18, 48, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-card--featured {
  border: 2px solid var(--op-blue);
  box-shadow: 0 18px 44px rgba(21, 94, 239, 0.22);
  transform: translateY(-6px);
}

.plan-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--op-blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.plan-card__name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.plan-card__price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 2px;
}

.plan-card__period {
  font-size: 13px;
  color: #6b7385;
  margin-bottom: 4px;
}

.plan-card__annual {
  font-size: 12.5px;
  color: #6b7385;
  margin-bottom: 18px;
}

.plan-card__features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #3a4256;
}

.plan-card__features svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  stroke: var(--op-teal);
}

.plan-card__note {
  font-size: 12px;
  color: #8791a3;
  margin-bottom: 14px;
}

.plan-card__ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-card__ctas .btn {
  width: 100%;
}

.pricing-usage-note {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--op-dark-muted);
}

/* Home summary variant: same cards, tighter grid, no annual toggle detail */
.plans-summary .pricing-grid {
  margin-bottom: 28px;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--op-muted);
  margin-bottom: 12px;
}

.service-card a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--op-teal);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--op-navy-light);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  padding: 22px;
  text-align: center;
}

.testimonial-card .image-placeholder {
  width: 72px;
  height: 72px;
  aspect-ratio: 1/1;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 4px;
}

.testimonial-card__status {
  font-size: 13px;
  font-weight: 700;
  color: var(--op-dark-muted);
  font-style: italic;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--op-border);
}

.section--off-white .faq-item {
  border-bottom-color: rgba(10, 18, 48, 0.12);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 220ms ease;
}

.faq-item__answer p {
  padding: 0 4px 20px;
  font-size: 14px;
  color: var(--op-muted);
  max-width: 62ch;
}

.section--off-white .faq-item__answer p {
  color: #4a5468;
}

/* ---------- Final image + text block ---------- */
.final-block {
  padding-bottom: 96px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--op-border);
  padding: 44px 0 24px;
  background: var(--op-black);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.site-footer__brand img {
  height: 24px;
  margin-bottom: 12px;
}

.site-footer__brand p {
  font-size: 13.5px;
  color: var(--op-dark-muted);
  max-width: 32ch;
}

.site-footer__col span.col-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--op-dark-muted);
  margin-bottom: 12px;
}

.site-footer__col a,
.site-footer__col p {
  display: block;
  font-size: 14px;
  color: var(--op-muted);
  margin-bottom: 9px;
}

.site-footer__col a:hover {
  color: var(--op-white);
}

.site-footer__bottom {
  border-top: 1px solid var(--op-border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--op-dark-muted);
}

/* ---------- Simple two-column page layout (Contact / Booking) ---------- */
.simple-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.simple-split h1,
.simple-split h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

.simple-split p {
  font-size: 15.5px;
  color: var(--op-muted);
  max-width: 46ch;
}

.ghl-form-shell {
  background: var(--op-black);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
  padding: 12px;
  min-height: 620px;
}

.ghl-form-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 596px;
  border: none;
  border-radius: 8px;
  display: block;
}

@media (max-width: 720px) {
  .ghl-form-shell,
  .ghl-form-shell iframe {
    min-height: 760px;
  }
}

.calendar-embed-placeholder {
  background: var(--op-black);
  border: 1px dashed var(--op-border-strong);
  border-radius: var(--op-radius);
  padding: 40px 20px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--op-dark-muted);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 16px 0 8px;
}

.blog-card p {
  font-size: 14px;
  color: var(--op-muted);
  margin-bottom: 12px;
}

/* ---------- Lead magnet ---------- */
.lead-magnet-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.lead-magnet-split h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 16px;
}

.lead-magnet-split p.lead {
  font-size: 15.5px;
  color: var(--op-muted);
  margin-bottom: 20px;
  max-width: 46ch;
}

/* ---------- Thank you ---------- */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.thank-you__inner {
  max-width: 560px;
  margin: 0 auto;
}

.thank-you h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.thank-you p {
  font-size: 16px;
  color: var(--op-muted);
  margin-bottom: 28px;
}

.thank-you__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Link in bio ---------- */
.bio-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.bio-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.bio-card .site-header__logo {
  display: inline-flex;
  margin-bottom: 20px;
}

.bio-card__avatar {
  width: 96px;
  margin: 0 auto 20px;
}

.bio-card h1 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.bio-card p.tagline {
  font-size: 14px;
  color: var(--op-muted);
  margin-bottom: 26px;
}

.bio-card__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.bio-card__links .btn {
  width: 100%;
}

.bio-card__social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.bio-card__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--op-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .split,
  .simple-split,
  .lead-magnet-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split--reverse .split__image,
  .split--reverse .split__content {
    order: 0;
  }
  .plan-card--featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }
  .feature-grid,
  .pricing-grid,
  .services-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-hero__ctas .btn,
  .thank-you__ctas .btn {
    width: 100%;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Positioning revision additions (minimal, no layout changes) ---------- */
.section__desc {
  margin-top: 14px;
  font-size: 15.5px;
  color: #6b7385;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.section:not(.section--off-white) .section__desc {
  color: var(--op-muted);
}

.agent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.agent-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--op-border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--op-muted);
  white-space: nowrap;
}

.plan-card__concept {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--op-blue);
  margin: -4px 0 10px;
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}
