/*
Theme Name: KGMHealthco
Theme URI: https://www.kgmhealthco.com/
Author: Team Nlinksolution
Author URI: https://www.nlinksolution.com
Description: A premium, bespoke single-page theme for KGMHealthco / Kimberly Galvan Health Insurance Advisor. Built with full Customizer options for all sections and custom post types for Testimonials.
Version: 1.0.0
Text Domain: kgmhealthco
*/

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

:root {
  --black: #111111;
  --charcoal: #1e1e1e;
  --warm-white: #faf9f7;
  --cream: #f4f0eb;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --gold-dark: #a07840;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
  --border: rgba(201,169,110,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-brand img {
  height: 35px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.nav-brand img:hover {
  transform: scale(1.03);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  text-decoration: none; font-size: .82rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mid); transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--black); color: #fff !important;
  padding: 10px 22px; border-radius: 2px;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: #fff !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); transition: .3s; }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--warm-white); padding: 24px 5%;
  border-bottom: 1px solid var(--border); z-index: 99;
  flex-direction: column; gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none; font-size: .9rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-mid); padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 68px;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 5% 80px 8%;
  background: var(--warm-white);
  animation: fadeUp .9s ease both;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.hero-tag::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.15;
  color: var(--black); margin-bottom: 10px;
}
.hero h1 .script {
  font-style: italic; font-weight: 400; color: var(--gold);
  display: block;
}
.hero-title {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 28px; font-weight: 400;
}
.hero-desc {
  font-size: 1rem; line-height: 1.75; color: var(--text-mid);
  max-width: 440px; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: #fff;
  padding: 15px 30px; border-radius: 2px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: background .25s, transform .2s;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--black); color: var(--black);
  padding: 15px 30px; border-radius: 2px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transition: all .25s;
}
.btn-outline:hover { background: var(--black); color: #fff; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--black); line-height: 1;
}
.stat-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); }
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5% 80px 5%;
  background: var(--warm-white);
  overflow: hidden;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 580px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.hero-img-wrap:hover .hero-img {
  transform: scale(1.03);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,.12) 0%, transparent 60%);
  z-index: 1;
}
.hero-badge {
  position: absolute; bottom: 30px; left: 30px;
  background: rgba(250,249,247,.96);
  padding: 14px 18px; border-radius: 4px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  z-index: 2;
}
.hero-badge p { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero-badge strong { font-size: .95rem; color: var(--black); font-weight: 600; display: block; margin-top: 3px; }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--black);
  padding: 22px 5%;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.7); font-weight: 500;
}
.trust-item i { color: var(--gold); font-size: .9rem; }

/* ─── SERVICES ─── */
.section { padding: 100px 8%; }
.section-label {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300;
  line-height: 1.2; color: var(--black); margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { font-size: .95rem; line-height: 1.75; color: var(--text-mid); max-width: 540px; }

.services { background: var(--cream); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px; margin-top: 60px;
}
.service-card {
  background: var(--warm-white);
  padding: 44px 36px;
  transition: transform .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon i { color: var(--gold); font-size: 1.25rem; }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--black); margin-bottom: 12px;
}
.service-card p { font-size: .88rem; line-height: 1.7; color: var(--text-mid); }

/* ─── WHY CHOOSE ─── */
.why { background: var(--warm-white); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}
.why-img-wrap {
  position: relative;
  padding: 20px 20px 20px 0;
}
.why-img {
  width: 100%; border-radius: 4px; display: block;
  object-fit: cover; object-position: center top; height: 520px;
}
.why-accent {
  position: absolute; top: 0; right: 0;
  width: 160px; height: 160px;
  border: 2px solid var(--gold-light); border-radius: 4px;
  z-index: -1;
}
.why-box {
  position: absolute; bottom: 0; left: -20px;
  background: var(--black); padding: 24px 28px; border-radius: 4px;
}
.why-box p { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 300; color: #fff; line-height: 1.3; }
.why-box span { font-style: italic; color: var(--gold); }
.why-points { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.why-point { display: flex; gap: 18px; align-items: flex-start; }
.why-point-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.why-point-icon i { color: var(--gold); font-size: .95rem; }
.why-point-text h4 { font-size: .9rem; font-weight: 600; color: var(--black); margin-bottom: 5px; }
.why-point-text p { font-size: .85rem; line-height: 1.65; color: var(--text-mid); }

/* ─── HOW IT WORKS ─── */
.how { background: var(--charcoal); }
.how .section-title { color: #fff; }
.how .section-sub { color: rgba(255,255,255,.6); }
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; margin-top: 60px;
  background: rgba(255,255,255,.06);
}
.step {
  background: var(--charcoal);
  padding: 44px 32px;
  position: relative;
  transition: background .3s;
}
.step:hover { background: rgba(201,169,110,.06); }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300;
  color: rgba(201,169,110,.2); line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step p { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.55); }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--cream); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}
.testimonial-card {
  background: var(--warm-white);
  padding: 36px 32px; border-radius: 4px;
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow .3s;
}
.testimonial-card:hover { box-shadow: 0 12px 36px rgba(0,0,0,.07); }
.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; color: var(--gold-light);
  position: absolute; top: 10px; left: 24px; line-height: 1;
}
.stars { color: var(--gold); font-size: .75rem; letter-spacing: 3px; margin-bottom: 16px; }
.testimonial-card p { font-size: .9rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: #fff;
}
.author-info strong { display: block; font-size: .85rem; color: var(--black); font-weight: 600; }
.author-info span { font-size: .75rem; color: var(--text-light); }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--black);
  padding: 80px 8%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-banner-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; color: #fff; margin-bottom: 10px;
}
.cta-banner-text h2 em { font-style: italic; color: var(--gold); }
.cta-banner-text p { font-size: .9rem; color: rgba(255,255,255,.6); max-width: 500px; }
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #fff;
  padding: 16px 34px; border-radius: 2px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background .25s, transform .2s;
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }

/* ─── CONTACT ─── */
#contact { background: var(--warm-white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start; margin-top: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; background: var(--cream); border-radius: 4px;
}
.contact-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--black); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon i { color: var(--gold); font-size: .9rem; }
.contact-card-text strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.contact-card-text a, .contact-card-text p { font-size: .95rem; color: var(--black); text-decoration: none; font-weight: 500; }
.contact-card-text a:hover { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mid); font-weight: 600; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #e0dbd3;
  background: var(--cream); border-radius: 2px;
  padding: 12px 16px; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; color: var(--black);
  outline: none; transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--black); color: #fff;
  border: none; cursor: pointer;
  padding: 16px 32px; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start; transition: background .25s;
}
.form-submit:hover { background: var(--gold); }
.form-note { font-size: .75rem; color: var(--text-light); line-height: 1.6; }

/* Contact Form Messages Feedback */
#form-error {
  display: none;
  padding: 14px 18px;
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  border-radius: 4px;
  font-size: .88rem;
  color: #9b1c1c;
  margin-top: 10px;
}
#form-success {
  display: none;
  padding: 14px 18px;
  background: #f0faf4;
  border: 1px solid #b4e0c4;
  border-radius: 4px;
  font-size: .88rem;
  color: #2a6644;
  margin-top: 10px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--charcoal);
  padding: 60px 8% 30px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 4px;
}
.footer-brand h3 em { font-style: italic; color: var(--gold); }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 12px; line-height: 1.75; max-width: 280px; }
.footer-col h4 { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: var(--gold); text-decoration: none; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .8rem; text-decoration: none;
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { height: auto; padding: 40px 8% 80px; }
  .hero-img-wrap { height: 480px; max-width: 380px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 70px 5%; }
  .hero-left { padding: 60px 5%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { gap: 24px; }
  .trust-bar { gap: 20px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }
}
