/* ═══════════════════════════════════════════════════════════
   INNOVO SPA — SHARED DESIGN SYSTEM
   Palette: deep navy water, warm gold brass, porcelain,
   plus the three membership "materials": platinum / diamond / pearl
   Type: Cormorant Garamond (display) + Inter (body/UI)
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071426;
  --navy-mid: #12315A;
  --water: #2E6B9E;
  --gold: #B8965A;
  --gold-light: #D4BC8B;
  --porcelain: #F7F5F1;
  --white: #FFFFFF;
  --ink: #16202E;
  --mid-gray: #5C6B7C;
  --hairline: rgba(11, 31, 58, 0.12);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-card: 0 2px 6px rgba(11,31,58,0.05), 0 18px 44px rgba(11,31,58,0.09);
  --shadow-lift: 0 4px 10px rgba(11,31,58,0.08), 0 28px 64px rgba(11,31,58,0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.display { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.005em; }
.display em { font-style: italic; font-weight: 500; color: var(--gold); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
section { padding: 110px 0; }

/* ── Section scaffolding ── */
.section-header { max-width: 640px; margin-bottom: 64px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .gold-line { margin-left: auto; margin-right: auto; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.gold-line { width: 48px; height: 2px; background: var(--gold); margin: 16px 0 28px; }
.section-title { font-size: clamp(34px, 4.4vw, 52px); color: var(--navy); margin-bottom: 20px; }
.section-body { font-size: 17px; color: var(--mid-gray); max-width: 560px; }

/* ── Buttons ── */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 16px 32px; border-radius: var(--radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 26px rgba(184,150,90,0.35); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 14px 32px rgba(184,150,90,0.45); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-outline-gold { background: transparent; color: var(--navy); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-deep); }

/* ── Navigation ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184,150,90,0.18);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo-mark {
  border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(184,150,90,0.55);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.superpro-seal { margin-top: 22px; display: block; }
.nav-logo .logo-word {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--white); letter-spacing: 0.04em;
}
.nav-logo .logo-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-light);
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 11px 22px; font-size: 12px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; gap: 0;
    padding: 12px 0 24px; transform: translateY(-130%); transition: transform 0.4s var(--ease);
    border-bottom: 1px solid rgba(184,150,90,0.25);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { margin: 12px auto 0; }
}

/* ── Footer ── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding: 72px 0 36px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px;
}
.footer-brand .logo-word { font-family: var(--font-display); font-size: 28px; color: var(--white); }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; text-decoration: none; color: rgba(255,255,255,0.65); transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Membership cards (shared: home + membership page) ──
   Signature element: card headers mirror the printed flyer's
   materials — brushed platinum, diamond blue, pearl ivory. */
.membership-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch;
}
.membership-card {
  position: relative; background: var(--white); border: 1px solid var(--hairline);
  border-radius: 10px; overflow: hidden; padding: 0 0 36px;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.membership-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.membership-card.featured { transform: scale(1.03); border-color: rgba(184,150,90,0.4); }
.membership-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.tier-material {
  padding: 34px 32px 26px; text-align: center; position: relative;
}
.tier-material.platinum {
  background: linear-gradient(135deg, #E8E9EB 0%, #C6C9CE 30%, #F2F3F4 52%, #B9BDC4 75%, #DFE1E4 100%);
}
.tier-material.diamond {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(120,180,255,0.35), transparent 55%),
    linear-gradient(135deg, #123A6B 0%, #0B1F3A 55%, #1B4E8C 100%);
}
.tier-material.pearl {
  background:
    radial-gradient(ellipse at 65% 25%, rgba(255,240,220,0.9), transparent 60%),
    linear-gradient(135deg, #F4EFE7 0%, #E4DCCE 45%, #F8F4EC 100%);
}
.tier-material .tier-name { font-size: 34px; letter-spacing: 0.06em; }
.tier-material.platinum .tier-name { color: #3C434D; }
.tier-material.diamond .tier-name { color: var(--white); }
.tier-material.pearl .tier-name { color: #6B5F4A; }
.tier-material .tier-label {
  display: block; margin-top: 6px; font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.tier-material.platinum .tier-label { color: #5C6470; }
.tier-material.diamond .tier-label { color: rgba(255,255,255,0.75); }
.tier-material.pearl .tier-label { color: #8A7C61; }

.tier-body { padding: 30px 32px 0; display: flex; flex-direction: column; flex: 1; }
.popular-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--gold); color: var(--navy-deep);
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.tier-price { font-size: 46px; color: var(--navy); line-height: 1; }
.tier-period { font-size: 13px; color: var(--mid-gray); margin-top: 6px; letter-spacing: 0.04em; }
.tier-pervisit { font-size: 13px; color: var(--water); font-weight: 600; margin-top: 10px; }
.tier-annual { font-size: 12.5px; color: var(--gold); font-weight: 600; margin-top: 4px; }
.tier-divider { height: 1px; background: var(--hairline); margin: 24px 0; }
.tier-features { list-style: none; flex: 1; margin-bottom: 28px; }
.tier-features li {
  display: flex; gap: 10px; font-size: 14.5px; color: var(--ink);
  padding: 7px 0;
}
@media (max-width: 920px) {
  .membership-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .membership-card.featured { transform: none; }
  .membership-card.featured:hover { transform: translateY(-6px); }
}

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid-gray); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; font-family: var(--font-body); font-size: 15px;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--white); color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,90,0.15);
}
.form-success {
  background: rgba(46,107,158,0.08); border: 1px solid rgba(46,107,158,0.3);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.form-success strong { color: var(--navy); display: block; font-size: 17px; margin-bottom: 6px; }
.form-success span { font-size: 14px; color: var(--mid-gray); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   LUNA CHAT WIDGET
   ═══════════════════════════════════════════════════════════ */
.luna-launcher {
  position: fixed; bottom: 26px; right: 26px; z-index: 950;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--navy); border: 1.5px solid var(--gold);
  box-shadow: 0 8px 30px rgba(11,31,58,0.4);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.luna-launcher:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 38px rgba(11,31,58,0.5); }
.luna-launcher svg { color: var(--gold-light); }
.luna-launcher .luna-dot {
  position: absolute; top: 3px; right: 3px; width: 12px; height: 12px;
  background: #4CAF7D; border: 2px solid var(--navy); border-radius: 50%;
}

.luna-panel {
  position: fixed; bottom: 102px; right: 26px; z-index: 951;
  width: 380px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 140px);
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(11,31,58,0.35);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.luna-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.luna-header {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid rgba(184,150,90,0.35);
}
.luna-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 70%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy-deep);
}
.luna-header-info strong { color: var(--white); font-size: 15px; display: block; }
.luna-header-info span { color: rgba(255,255,255,0.6); font-size: 12px; }
.luna-close {
  margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.6);
  font-size: 22px; cursor: pointer; line-height: 1; padding: 4px;
}
.luna-close:hover { color: var(--white); }

.luna-messages {
  flex: 1; overflow-y: auto; padding: 20px; background: var(--porcelain);
  display: flex; flex-direction: column; gap: 12px;
}
.luna-msg {
  max-width: 85%; padding: 12px 16px; border-radius: 14px;
  font-size: 14px; line-height: 1.55; white-space: pre-wrap;
}
.luna-msg.bot { background: var(--white); color: var(--ink); border: 1px solid var(--hairline); border-bottom-left-radius: 4px; align-self: flex-start; }
.luna-msg.user { background: var(--navy); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.luna-msg.typing span {
  display: inline-block; width: 6px; height: 6px; margin: 0 2px;
  background: var(--mid-gray); border-radius: 50%; animation: lunaBlink 1.2s infinite;
}
.luna-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.luna-msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes lunaBlink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

.luna-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 10px; background: var(--porcelain); }
.luna-chip {
  font-size: 12.5px; font-weight: 500; color: var(--navy);
  background: var(--white); border: 1px solid var(--hairline); border-radius: 100px;
  padding: 7px 14px; cursor: pointer; transition: border-color 0.3s, color 0.3s;
}
.luna-chip:hover { border-color: var(--gold); color: var(--gold); }

.luna-input-row {
  display: flex; gap: 10px; padding: 14px 16px; background: var(--white);
  border-top: 1px solid var(--hairline);
}
.luna-input-row input {
  flex: 1; border: 1px solid var(--hairline); border-radius: 100px;
  padding: 11px 18px; font-family: var(--font-body); font-size: 14px;
}
.luna-input-row input:focus { outline: none; border-color: var(--gold); }
.luna-send {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gold); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.luna-send:hover { background: var(--gold-light); }

@media (max-width: 480px) {
  .luna-panel { right: 16px; bottom: 160px; }
  .luna-launcher { right: 16px; bottom: 86px; }
}

/* ── Sticky mobile booking bar ── */
.book-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 940;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 20, 38, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(184,150,90,0.35);
}
.book-bar-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px 8px; border-radius: 8px; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(255,255,255,0.28);
}
.book-bar-btn.gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); flex: 1.4; }
@media (max-width: 760px) {
  .book-bar { display: flex; }
  body { padding-bottom: 74px; }
  .luna-launcher { bottom: 92px; }
  .luna-panel { bottom: 166px; }
}

/* ── Interior page hero (subpages) ── */
.page-hero {
  background:
    radial-gradient(ellipse at 75% 10%, rgba(46,107,158,0.35), transparent 55%),
    linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 70%);
  padding: 170px 0 90px; color: var(--white);
}
.page-hero .section-label { color: var(--gold-light); }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); color: var(--white); margin: 18px 0 16px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 620px; }


/* ── Ambient bubbles (hero sections) ── */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.bubbles span {
  position: absolute; bottom: -40px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.55), rgba(180,215,255,0.12) 55%, transparent 75%);
  border: 1px solid rgba(255,255,255,0.18);
  animation-name: bubbleRise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes bubbleRise {
  0%   { transform: translateY(0) translateX(0) scale(0.85); }
  25%  { transform: translateY(-28vh) translateX(10px) scale(0.95); }
  50%  { transform: translateY(-55vh) translateX(-8px) scale(1); }
  75%  { transform: translateY(-80vh) translateX(8px) scale(1.05); }
  100% { transform: translateY(-108vh) translateX(-4px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) { .bubbles { display: none; } }

/* ── Housecall Pro Superpro badge ── */
.superpro-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 10px 16px; border: 1px solid rgba(184,150,90,0.5); border-radius: 8px;
  color: var(--gold-light); background: rgba(184,150,90,0.08);
}
.superpro-badge svg { flex-shrink: 0; }
.superpro-badge span { font-size: 11px; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.superpro-badge span strong { display: block; font-size: 13px; letter-spacing: 0.14em; color: var(--gold-light); }
.superpro-badge.light { border-color: var(--gold); background: rgba(184,150,90,0.07); }
.superpro-badge.light span { color: var(--mid-gray); }
.superpro-badge.light span strong { color: var(--gold); }
