/* ============================================================
   LARRYMCCOY CO. — GLOBAL STYLESHEET
   Font Stack: Playfair Display (headings) + Plus Jakarta Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── RESET & ROOT ────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:       #0B1F3A;
  --navy-mid:   #122848;
  --blue:       #1A56DB;
  --blue-light: #3B82F6;
  --cyan:       #0EA5E9;
  --gold:       #D97706;
  --gold-lt:    #F59E0B;
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --gray-50:    #F1F5F9;
  --gray-100:   #E2E8F0;
  --gray-400:   #94A3B8;
  --gray-600:   #475569;
  --gray-800:   #1E293B;
  --text:       #1E293B;
  --text-muted: #64748B;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(11,31,58,0.10);
  --shadow-lg:  0 10px 40px rgba(11,31,58,0.14);
  --shadow-xl:  0 20px 60px rgba(11,31,58,0.18);

  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TOP BAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.55rem 0;
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar a { color: rgba(255,255,255,0.75); text-decoration: none; }
.topbar a:hover { color: var(--gold-lt); }
.topbar-left, .topbar-right { display: flex; gap: 1.8rem; align-items: center; }
.topbar-item { display: flex; align-items: center; gap: 0.45rem; }
.topbar-icon { font-size: 0.9rem; }

/* ── NAVBAR ──────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo span { color: var(--blue); }
.logo sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  vertical-align: baseline;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue);
  background: rgba(26,86,219,0.06);
}
.nav-links .btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 0.5rem;
}
.nav-links .btn-nav:hover {
  background: var(--navy) !important;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 210px;
  padding: 0.5rem;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.86rem;
  color: var(--gray-600);
  border-radius: 5px;
}
.dropdown-menu a:hover { background: var(--gray-50); color: var(--blue); }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--navy); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a6b 100%);
  color: var(--white);
  padding: 7rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(14,165,233,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26,86,219,0.15) 0%, transparent 60%);
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(217,119,6,0.18);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--gold-lt);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--cyan); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,86,219,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-stat {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,0.11); transform: translateY(-3px); }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero-stat-num span { color: var(--gold-lt); }
.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SECTION SCAFFOLDING ─────────────────────────────────── */
.section { padding: 5.5rem 2rem; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--navy); color: var(--white); }
.container { max-width: 1240px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section-dark .section-eyebrow { color: var(--cyan); }
.section-dark .section-eyebrow::before { background: var(--cyan); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-dark .section-title { color: var(--white); }
.section-title em { font-style: italic; color: var(--blue); }
.section-dark .section-title em { color: var(--cyan); }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 3rem;
}
.section-dark .section-sub { color: rgba(255,255,255,0.65); }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,86,219,0.15);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(26,86,219,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.card-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  margin-top: 1.2rem;
  transition: var(--transition);
}
.card-link:hover { gap: 0.7rem; }

/* ── GRID UTILITIES ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── CSAT WIDGET (Sticky bottom-right) ───────────────────── */
#csat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 340px;
}
.csat-toggle {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1.3rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 24px rgba(26,86,219,0.35);
  transition: var(--transition);
  white-space: nowrap;
}
.csat-toggle:hover { background: var(--navy); transform: translateY(-2px); }
.csat-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.csat-panel {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  margin-bottom: 0.5rem;
  animation: slideUp 0.3s ease;
}
.csat-panel.open { display: block; }
@keyframes slideUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

.csat-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.csat-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.csat-header p { font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-top: 0.15rem; }
.csat-close {
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.csat-close:hover { background: rgba(255,255,255,0.22); }

.csat-scores {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--gray-100);
}
.csat-score-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}
.csat-score-row:last-child { margin-bottom: 0; }
.csat-score-label { font-size: 0.78rem; font-weight: 600; color: var(--gray-600); width: 100px; flex-shrink: 0; }
.csat-bar-wrap { flex: 1; background: var(--gray-100); border-radius: 100px; height: 8px; overflow: hidden; }
.csat-bar { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 1s ease; }
.csat-score-pct { font-size: 0.8rem; font-weight: 700; color: var(--navy); width: 36px; text-align: right; }

.csat-reviews { max-height: 260px; overflow-y: auto; padding: 1rem 1.4rem; }
.csat-reviews::-webkit-scrollbar { width: 4px; }
.csat-reviews::-webkit-scrollbar-thumb { background: var(--gray-100); border-radius: 4px; }

.review-card {
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--blue);
}
.review-card:last-child { margin-bottom: 0; }
.review-stars { color: #F59E0B; font-size: 0.8rem; margin-bottom: 0.35rem; }
.review-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.5rem; font-style: italic; }
.review-author { font-size: 0.75rem; font-weight: 700; color: var(--navy); }
.review-role { font-size: 0.7rem; color: var(--text-muted); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}
.footer-top {
  padding: 4rem 2rem;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.footer-logo span { color: var(--cyan); }
.footer-desc { font-size: 0.85rem; line-height: 1.75; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; margin-bottom: 0.6rem; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
}
.footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-flags { display: flex; gap: 1rem; }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 70% 50%, rgba(14,165,233,0.1) 0%, transparent 60%);
}
.page-hero-inner { max-width: 700px; margin: 0 auto; position: relative; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75; }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-center .section-eyebrow { justify-content: center; }
.text-center .section-eyebrow::before { display: none; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

.tag {
  display: inline-block;
  background: rgba(26,86,219,0.08);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
}

/* ── FADE-IN ANIMATION ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-right { display: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 1rem 2rem; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  #csat-widget { width: 300px; right: 1rem; bottom: 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 3.5rem 1.5rem; }
}
