/* =========================================================
   Virtual Loyalty — slate & gold, with motion
   bg: #243237 · gold: #C4B881 · off-white: #F2F0E9
   ========================================================= */

:root {
  --bg: #243237;
  --bg-deep: #1B262B;
  --bg-soft: #2A3A40;
  --gold: #C4B881;
  --gold-light: #E4D8AB;
  --gold-deep: #8F7B45;
  --ivory: #F2F0E9;
  --muted: #C9CFCE;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --gold-gradient: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-light) 100%);
  --glow-gold: 0 8px 40px rgba(196, 184, 129, 0.35);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--gold); }

a { color: var(--gold); }

section { padding: 5rem 6vw; }

::selection { background: var(--gold); color: var(--bg-deep); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-gradient); border-radius: 4px; }

/* ---------- Shared flourishes ---------- */

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.section-title { font-size: clamp(2.4rem, 4.5vw, 3.4rem); position: relative; }

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold-gradient);
  margin-top: 1rem;
}

.section-title.centered::after { margin-left: auto; margin-right: auto; }

.section-subtitle { margin-top: 1.2rem; color: var(--muted); font-size: 1.25rem; font-style: italic; }

/* Gold offset frame around feature images */
.framed-image { position: relative; }

.framed-image img { position: relative; z-index: 1; border-radius: 6px; }

.framed-image::before {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1.5px solid rgba(196, 184, 129, 0.45);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.framed-offset::before { inset: -14px -14px 14px 14px; }

.framed-image:hover::before { transform: translate(4px, 4px); border-color: var(--gold); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .hero-badge, .hero h1, .tagline, .hero-cta-group { animation: none !important; opacity: 1 !important; }
  .hero-orb, .scroll-indicator { animation: none !important; }
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 6vw;
  background: transparent;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(27, 38, 43, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.navbar-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
}

.navbar-brand span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition-smooth);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--gold-gradient);
  color: var(--bg-deep) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--glow-gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ivory);
  transition: var(--transition-smooth);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
  min-height: 660px;
  max-height: 820px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 30% 100%, rgba(196, 184, 129, 0.08) 0%, transparent 55%), var(--bg);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}

.hero-orb-1 {
  width: 480px; height: 480px;
  background: rgba(143, 123, 69, 0.35);
  bottom: -180px; left: -120px;
}

.hero-orb-2 {
  width: 320px; height: 320px;
  background: rgba(196, 184, 129, 0.22);
  top: 10%; left: 42%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 6vw 4rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  border: 1px solid rgba(196, 184, 129, 0.55);
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.2rem;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  animation: fadeInUp 0.8s ease 0.15s forwards;
  opacity: 0;
}

.hero h1 .line-1 { color: var(--ivory); }

.tagline {
  margin-top: 1.2rem;
  font-size: 1.5rem;
  color: var(--muted);
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.45s forwards;
  opacity: 0;
}

.hero-image { position: relative; z-index: 1; }

.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.scroll-indicator {
  position: absolute;
  bottom: 1.6rem;
  left: 33%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-9px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-deep);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary span { position: relative; z-index: 1; }

.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--glow-gold); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(242, 240, 233, 0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem 5rem;
  align-items: start;
  padding-top: 7rem;
}

.about-left .section-title { margin-bottom: 3rem; }

.about-right { max-width: 26rem; justify-self: end; }

.about-right p { margin-top: 2rem; font-size: 1.15rem; color: var(--muted); }

.about-right strong { color: var(--ivory); }

/* ---------- Mission ---------- */

.mission {
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(196, 184, 129, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.mission blockquote {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.45;
  color: var(--ivory);
  position: relative;
}

/* ---------- Banner ---------- */

.banner img { width: 100%; height: clamp(220px, 34vw, 400px); object-fit: cover; }

/* ---------- Services ---------- */

.services {
  text-align: center;
  padding-top: 7rem;
  background: var(--bg-deep);
}

.services-header { max-width: 44rem; margin: 0 auto 4rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-soft);
  border: 1px solid rgba(196, 184, 129, 0.12);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 2;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(196, 184, 129, 0.12);
  border-color: rgba(196, 184, 129, 0.35);
}

.service-image { overflow: hidden; aspect-ratio: 16 / 9; }

.service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img { transform: scale(1.08); }

.service-body { padding: 1.8rem 1.6rem 2rem; }

.service-body h3 { font-size: 1.6rem; color: var(--ivory); font-weight: 500; }

.service-body p { margin-top: 0.6rem; font-size: 1.05rem; color: var(--muted); }

/* ---------- Testimonials ---------- */

.testimonials {
  max-width: 60rem;
  margin: 0 auto;
  padding-top: 7rem;
  text-align: center;
}

.testimonials .section-title { margin-bottom: 3.5rem; }

.testimonials-slider { position: relative; }

.testimonial-card {
  background: var(--bg-soft);
  border: 1px solid rgba(196, 184, 129, 0.15);
  border-radius: 12px;
  padding: 3rem 3rem 2.6rem;
  transition: opacity 0.3s ease;
}

.testimonial-avatar {
  width: 92px; height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 1.6rem;
  border: 2px solid var(--gold);
  padding: 3px;
}

.testimonial-quote {
  font-size: 1.35rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--ivory);
  max-width: 38rem;
  margin: 0 auto 1.6rem;
}

.testimonial-name {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.testimonial-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid rgba(196, 184, 129, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: var(--gold);
  transform: scale(1.2);
}

/* ---------- Day's Bio ---------- */

.bio {
  background: var(--bg-deep);
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
}

.bio::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.6;
}

.bio-title {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ivory);
  font-size: clamp(2.6rem, 5vw, 4rem);
  margin-bottom: 3.5rem;
}

.bio-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold-gradient);
  margin-top: 1rem;
}

.bio-body { max-width: 62rem; margin: 0 auto; text-align: center; }

.bio-body p { margin-bottom: 1.8rem; font-size: 1.3rem; }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
  padding-top: 7rem;
  padding-bottom: 6rem;
  max-width: 78rem;
  margin: 0 auto;
}

.contact-details .section-title { margin-bottom: 2.5rem; }

.contact-list { list-style: none; margin-bottom: 3rem; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.contact-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid rgba(196, 184, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.contact-list li:hover .contact-icon {
  background: var(--gold);
  border-color: var(--gold);
}

.contact-list li:hover .contact-icon svg { stroke: var(--bg-deep); }

.contact-icon svg { width: 20px; height: 20px; stroke: var(--gold); transition: var(--transition-smooth); }

.contact-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-size: 1.25rem;
  color: var(--ivory);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a.contact-value:hover { color: var(--gold); }

/* GHL embed wrapper — the pasted iframe fills this box */
.ghl-form {
  background: var(--bg-soft);
  border: 1px solid rgba(196, 184, 129, 0.35);
  border-radius: 10px;
  padding: 1rem;
  min-height: 30rem;
  position: relative;
  overflow: hidden;
}

.ghl-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

.ghl-form iframe { width: 100%; min-height: 743px; border: none; }

.ghl-form-placeholder {
  height: 28rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border: 1px dashed rgba(196, 184, 129, 0.5);
  border-radius: 6px;
  padding: 2rem;
}

.ghl-form-placeholder p { font-size: 1.4rem; color: var(--gold); }

.ghl-form-placeholder span { font-size: 1rem; color: var(--muted); }

/* ---------- Legal pages (privacy / terms) ---------- */

.navbar.solid {
  background: rgba(27, 38, 43, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.legal {
  max-width: 50rem;
  margin: 0 auto;
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.legal-updated {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.6rem 0 3rem;
}

.legal h2 {
  font-size: 2rem;
  color: var(--gold);
  margin: 3rem 0 1.2rem;
}

.legal h3 {
  font-size: 1.55rem;
  color: var(--ivory);
  font-weight: 500;
  margin: 2.2rem 0 1rem;
}

.legal h4 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.8rem 0 0.8rem;
}

.legal p { margin-bottom: 1.2rem; font-size: 1.2rem; color: var(--muted); }

.legal strong { color: var(--ivory); }

.legal ul { margin: 0 0 1.2rem 1.4rem; }

.legal li { margin-bottom: 0.6rem; font-size: 1.2rem; color: var(--muted); }

.legal a { color: var(--gold); }

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-deep);
  padding: 4rem 6vw 2rem;
  border-top: 1px solid rgba(196, 184, 129, 0.15);
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
}

.footer-logo span { color: var(--gold); }

.footer-tagline {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 20rem;
  font-style: italic;
}

.footer-title {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.7rem; }

.footer-links a,
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1.05rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--gold); }

.footer-contact p { margin-bottom: 0.7rem; }

.footer-bottom {
  max-width: 72rem;
  margin: 3rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(196, 184, 129, 0.12);
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(27, 38, 43, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.active { transform: translateY(0); }
  .nav-links a { font-size: 1rem; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: unset; max-height: none; }
  .hero-image { order: -1; max-height: 420px; overflow: hidden; }
  .hero-text { padding: 3.5rem 6vw 5rem; }
  .scroll-indicator { display: none; }

  .about { grid-template-columns: 1fr; }
  .about-right { justify-self: start; }
  .services-grid { grid-template-columns: 1fr; max-width: 28rem; }
  .contact { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 6vw; }
  .framed-image::before { inset: -10px 10px 10px -10px; }
  .framed-offset::before { inset: -10px -10px 10px 10px; }
  .testimonial-card { padding: 2.2rem 1.6rem 2rem; }
}
