/* ─────────────────────────────────────────────────────────────────────────────
   Richard Crow — Personal Profile Website
   HubSpot-inspired colour scheme with custom animations
───────────────────────────────────────────────────────────────────────────── */

/* ── VARIABLES ─────────────────────────────────────────────────────────────── */
:root {
  --orange:     #FF7A59;
  --orange-dk:  #E86744;
  --teal:       #00BDA5;
  --teal-dk:    #00A38D;
  --blue:       #0091AE;
  --navy:       #2D3E50;
  --navy-dk:    #1a2633;
  --dark:       #1F1F1F;
  --slate:      #516F90;
  --fog:        #F5F8FA;
  --border:     #DFE3EB;
  --white:      #FFFFFF;
  --text:       #33475B;
  --text-lt:    #637081;
  --grad:       linear-gradient(135deg, #FF7A59 0%, #0091AE 100%);
  --grad-dark:  linear-gradient(135deg, #2D3E50 0%, #1a2633 100%);
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.15);
  --trans:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Lexend', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--text); }

.gradient-text {
  color: var(--orange);
}

/* ── LAYOUT HELPERS ────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-light  { background: var(--white); }
.section-dark   { background: var(--nav-y, var(--navy-dk)); }
.section-alt    { background: var(--fog); }

section { padding: 100px 0; }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-header p { color: var(--slate); font-size: 1.05rem; margin-top: 16px; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.75); }

.section-pill {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
  background: rgba(255, 122, 89, 0.10);
  border: 1px solid rgba(255, 122, 89, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.section-pill.light {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.section-cta { text-align: center; margin-top: 48px; }

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--trans);
  border: 2px solid var(--orange);
}
.btn-primary:hover { background: var(--orange-dk); border-color: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 122, 89, 0.35); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--trans);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--orange);
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--orange);
  transition: var(--trans);
}
.btn-outline:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--orange);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--white);
  transition: var(--trans);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.6);
  transition: var(--trans);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

/* ── NAVBAR ────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(29, 38, 48, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-circle {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.logo-circle.sm { width: 36px; height: 36px; font-size: 0.8rem; }
.logo-name {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: var(--trans);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-dk); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy-dk);
  z-index: 999;
  padding: 100px 32px 32px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-family: 'Lexend', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--trans);
}
.mobile-menu a:hover { color: var(--orange); padding-left: 8px; }
.mobile-cta { color: var(--orange) !important; font-weight: 700 !important; }

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--grad-dark);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,122,89,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 145, 174, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Lexend', sans-serif;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 14px;
}
.hero-chip i { font-size: 0.7rem; color: var(--teal); }
.hero-chip.orange { border-color: rgba(255,122,89,0.35); background: rgba(255,122,89,0.1); color: var(--orange); }
.hero-chip.orange i { color: var(--orange); }
.hero-chip.teal { border-color: rgba(0,189,165,0.35); background: rgba(0,189,165,0.1); color: var(--teal); }
.hero-chip.teal i { color: var(--teal); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 16px;
}
.hstat { display: flex; flex-direction: column; }
.hstat-n {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}
.hstat-sym {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--orange);
  line-height: 1;
  display: inline;
}
.hstat-n, .hstat-sym { display: inline; }
.hstat-num-wrap { line-height: 1; }
.hstat-l {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 4px;
}
.hstat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  align-self: center;
}

/* Profile image */
.hero-image { display: flex; justify-content: center; }
.hero-img-wrap {
  position: relative;
  width: 360px;
  height: 440px;
  flex-shrink: 0;
}
.hero-img-ring {
  position: absolute;
  inset: -16px;
  border: 2px solid rgba(255, 122, 89, 0.25);
  border-radius: var(--radius-lg);
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255,255,255,0.1);
  filter: grayscale(20%);
}
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  min-width: 190px;
  animation: float 3s ease-in-out infinite;
}
.float-badge i {
  font-size: 1.3rem;
  color: var(--orange);
  flex-shrink: 0;
}
.float-badge strong { font-family: 'Lexend', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--navy); display: block; }
.float-badge span { font-size: 0.75rem; color: var(--slate); }
.fb1 { bottom: -20px; left: -50px; animation-delay: 0s; }
.fb2 { top: 40px; right: -60px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  margin-top: 40px;
  align-self: center;
  transition: var(--trans);
  position: relative;
  z-index: 1;
}
.hero-scroll-btn:hover { color: rgba(255,255,255,0.8); }
.scroll-line {
  width: 2px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.scroll-dot-anim {
  width: 2px;
  height: 12px;
  background: var(--orange);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-12px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* ── CHECK LISTS ───────────────────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-lt);
}
.check-list li::before {
  content: '✓';
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 1px;
}
.check-list.dark li::before { color: var(--teal); }
.check-list.dark li { color: var(--slate); }

/* ── EXPERTISE ─────────────────────────────────────────────────────────────── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.exp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
}
.exp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(255, 122, 89, 0.3); }
.exp-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.04) 0%, rgba(0, 145, 174, 0.04) 100%);
  border-color: rgba(255, 122, 89, 0.2);
}
.exp-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.exp-icon.orange { background: rgba(255, 122, 89, 0.12); color: var(--orange); }
.exp-icon.teal   { background: rgba(0, 189, 165, 0.12); color: var(--teal); }
.exp-icon.blue   { background: rgba(0, 145, 174, 0.12); color: var(--blue); }
.exp-card h3 { margin-bottom: 10px; color: var(--navy); }
.exp-card p { font-size: 0.93rem; color: var(--slate); margin-bottom: 8px; }
.exp-cta-card {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.exp-cta-card h3 { color: var(--white); }
.exp-cta-card p { color: rgba(255,255,255,0.7); }
.exp-cta-icon { font-size: 2rem; color: var(--orange); margin-bottom: 16px; margin-top: 24px; display: block; text-align: left; }

/* ── CASE STUDIES ──────────────────────────────────────────────────────────── */
.case-section { background: var(--navy-dk); }
.case-section .section-header { max-width: 760px; margin: 0 auto 56px; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--trans);
}
.case-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,122,89,0.25); }
.case-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Lexend', sans-serif;
  letter-spacing: 0.05em;
}
.case-card h3 { color: var(--white); font-size: 1.4rem; margin: 0; }
.case-intro { color: rgba(255,255,255,0.65); font-size: 0.93rem; }
.case-block { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 20px; }
.case-block h4 { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.case-block h4 i { color: var(--orange); }
.case-block p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.case-list { display: flex; flex-direction: column; gap: 6px; }
.case-list li { color: rgba(255,255,255,0.65); font-size: 0.88rem; padding-left: 16px; position: relative; }
.case-list li::before { content: '→'; position: absolute; left: 0; color: var(--orange); }
.case-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(255, 122, 89, 0.07);
  border: 1px solid rgba(255, 122, 89, 0.15);
  border-radius: 12px;
  padding: 24px 20px;
}
.cr-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cr-num-wrap { line-height: 1; }
.cr-num {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}
.cr-num.cr-small { font-size: 1.8rem; }
.cr-sym { font-family: 'Lexend', sans-serif; font-weight: 700; color: var(--orange); font-size: 1rem; }
.cr-lbl { font-size: 0.73rem; color: rgba(255,255,255,0.5); margin-top: 6px; line-height: 1.3; }
.case-footnote { color: rgba(255,255,255,0.5); font-size: 0.83rem; display: flex; align-items: flex-start; gap: 8px; }
.case-footnote i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }

/* ── REDESIGN BEFORE/AFTER ─────────────────────────────────────────────────── */
.redesign-ba {
  display: grid;
  grid-template-columns: 1fr 64px 1.45fr;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}
.ba-mockup { display: flex; flex-direction: column; gap: 16px; }
.ba-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Lexend', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 6px;
  width: fit-content;
}
.ba-tag.before { background: rgba(255,122,89,0.1); color: var(--orange); border: 1px solid rgba(255,122,89,0.25); }
.ba-tag.after  { background: rgba(0,189,165,0.1);  color: var(--teal);   border: 1px solid rgba(0,189,165,0.25); }

.ba-browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
  filter: grayscale(30%) brightness(0.9);
  opacity: 0.72;
}
.ba-browser-after {
  filter: none;
  opacity: 1;
  border-color: rgba(0,189,165,0.5);
  box-shadow: 0 0 0 1px rgba(0,189,165,0.15),
              0 20px 70px rgba(0,189,165,0.15),
              0 8px 30px rgba(0,0,0,0.15);
}
.ba-bar {
  background: #e8eaed;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ba-bar.after { background: #1e3040; }
.ba-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
}
.ba-bar.after .ba-dot { background: rgba(255,255,255,0.15); }
.ba-dot.g { background: var(--teal) !important; }
.ba-url-pill {
  background: var(--white);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.7rem;
  color: var(--slate);
  margin-left: 8px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ba-bar.after .ba-url-pill { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55); }
.ba-screen img { width: 100%; display: block; }
.ba-caption { font-size: 0.78rem; color: var(--slate); line-height: 1.5; }

.ba-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ba-arrow-btn {
  width: 42px; height: 42px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(255,122,89,0.4);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .redesign-ba { grid-template-columns: 1fr; gap: 28px; }
  .ba-divider { transform: rotate(90deg); margin: 0 auto; }
}

/* ── REDESIGN CARDS ────────────────────────────────────────────────────────── */
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}
.comp-handle-btn:hover { transform: scale(1.1); }
.comp-caption { text-align: center; font-size: 0.82rem; color: var(--slate); margin-top: 12px; }

.redesign-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.rd-card {
  background: var(--fog);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--trans);
}
.rd-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.rd-card i { font-size: 1.8rem; color: var(--orange); margin-bottom: 14px; }
.rd-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.rd-card p { font-size: 0.86rem; color: var(--slate); }

/* ── TOOLS ─────────────────────────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--trans);
}
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(255,122,89,0.2); }
.tool-card-featured { border-color: rgba(255,122,89,0.3); background: linear-gradient(135deg, rgba(255,122,89,0.03), rgba(0,145,174,0.03)); }
.tool-logo-wrap { display: flex; justify-content: center; margin-bottom: 20px; }
.tool-logo-svg { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; }
.tool-logo-img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; }
.tools-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tool-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 12px; }
.tool-card p { color: var(--slate); font-size: 0.9rem; line-height: 1.6; }
.tool-badge {
  display: inline-block;
  margin-top: 16px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Lexend', sans-serif;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 100px;
}
.tools-context {
  display: flex;
  align-items: center;
  gap: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.tools-context-inner { flex: 1; }
.tools-context-inner h3 { margin-bottom: 12px; color: var(--navy); }
.tools-context-inner p { color: var(--slate); font-size: 0.93rem; margin-bottom: 8px; line-height: 1.7; }

/* ── AI WORKFLOW DIAGRAM ───────────────────────────────────────────────────── */
.ai-workflow-diagram {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}
.workflow-header { text-align: center; margin-bottom: 36px; }
.workflow-header h4 { color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.workflow-header p { color: var(--slate); font-size: 0.88rem; }
.workflow-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wf-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  min-width: 90px;
}
.wf-node.featured .wf-icon { transform: scale(1.15); box-shadow: 0 4px 20px rgba(255,122,89,0.25); }
.wf-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--trans);
}
.wf-icon.orange { background: rgba(255,122,89,0.12); color: var(--orange); border: 1px solid rgba(255,122,89,0.25); }
.wf-icon.teal   { background: rgba(0,189,165,0.12); color: var(--teal); border: 1px solid rgba(0,189,165,0.25); }
.wf-icon.blue   { background: rgba(0,145,174,0.12); color: var(--blue); border: 1px solid rgba(0,145,174,0.25); }
.wf-icon.dark   { background: rgba(29,38,48,0.08); color: var(--navy); border: 1px solid rgba(29,38,48,0.15); }
.wf-node span { font-family: 'Lexend', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.wf-node small { font-size: 0.72rem; color: var(--slate); }
.wf-arrow { color: var(--border); font-size: 1rem; flex-shrink: 0; }
@media (max-width: 768px) {
  .workflow-flow { gap: 8px; }
  .wf-node { min-width: 70px; }
  .wf-icon { width: 50px; height: 50px; font-size: 1.1rem; }
  .wf-arrow { display: none; }
}

/* ── SALES ENABLEMENT ──────────────────────────────────────────────────────── */
.enablement-grid { display: flex; flex-direction: column; gap: 40px; margin-bottom: 48px; }
.en-comparison { background: var(--fog); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.en-ba-labels { display: flex; gap: 12px; margin-bottom: 20px; }
.en-tag {
  font-family: 'Lexend', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 100px;
}
.en-tag.before { background: rgba(255,122,89,0.1); color: var(--orange); border: 1px solid rgba(255,122,89,0.3); }
.en-tag.after  { background: rgba(0,189,165,0.1); color: var(--teal); border: 1px solid rgba(0,189,165,0.3); }
.en-sides { display: flex; gap: 24px; align-items: center; }
.en-side { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.en-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  aspect-ratio: 16/9;
  background: var(--navy-dk);
}
.en-img-wrap.after { border-color: rgba(0,189,165,0.4); }
.en-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.en-side p { font-size: 0.83rem; color: var(--slate); text-align: center; }
.en-arrow { font-size: 1.5rem; color: var(--orange); flex-shrink: 0; }

.result-quote { margin: 0 auto 8px; max-width: 960px; }
.rq-inner {
  background: linear-gradient(135deg, var(--navy-dk), #0d3247);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  display: flex;
  gap: 48px;
  align-items: center;
}
.rq-content { flex: 1; }
.rq-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lexend', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  background: rgba(0,189,165,0.12);
  border: 1px solid rgba(0,189,165,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.rq-content h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 16px; }
.rq-icon { font-size: 2rem; color: var(--orange); opacity: 0.35; margin-bottom: 12px; display: block; }
.rq-content p { color: rgba(255,255,255,0.88); font-size: 1rem; line-height: 1.7; font-style: italic; margin-bottom: 14px; }
.rq-content span { color: rgba(255,255,255,0.45); font-size: 0.83rem; display: block; }
.rq-phone { flex-shrink: 0; }
.phone-mockup-tinted {
  width: 220px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border: 2px solid rgba(0,189,165,0.35);
  filter: saturate(0.75) brightness(0.9);
}
.phone-mockup-tinted img { width: 100%; display: block; }
@media (max-width: 768px) {
  .rq-inner { flex-direction: column; padding: 32px; gap: 28px; }
  .phone-mockup-tinted { width: 100%; max-width: 280px; margin: 0 auto; }
}

/* ── COACHING ──────────────────────────────────────────────────────────────── */
.coaching-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.coach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--trans);
}
.coach-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.coach-featured { border-color: rgba(0,189,165,0.3); background: linear-gradient(135deg, rgba(0,189,165,0.04), rgba(0,145,174,0.04)); }
.coach-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.coach-icon.orange { background: rgba(255,122,89,0.1); color: var(--orange); }
.coach-icon.teal   { background: rgba(0,189,165,0.12); color: var(--teal); }
.coach-icon.blue   { background: rgba(0,145,174,0.12); color: var(--blue); }
.coach-card h3 { color: var(--navy); margin-bottom: 10px; }
.coach-card p  { color: var(--slate); font-size: 0.9rem; margin-bottom: 4px; }

.coaching-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  flex-wrap: wrap;
  gap: 24px;
}
.cs-item { text-align: center; flex: 1; min-width: 140px; }
.cs-num {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--orange);
  line-height: 1;
}
.cs-sym { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--orange); }
.cs-lbl { display: block; font-size: 0.82rem; color: var(--slate); margin-top: 8px; max-width: 120px; margin-left: auto; margin-right: auto; line-height: 1.4; }
.cs-div { width: 1px; height: 60px; background: var(--border); align-self: center; flex-shrink: 0; }

/* ── TESTIMONIALS ──────────────────────────────────────────────────────────── */
.testimonials-section { background: var(--navy-dk); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testi-full { grid-column: span 2; }
.testi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--trans);
}
.testi-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,122,89,0.2); transform: translateY(-3px); }
.testi-stars { color: #FFB400; font-size: 0.85rem; display: flex; gap: 3px; }
.testi-card p { color: rgba(255,255,255,0.78); font-size: 0.93rem; line-height: 1.7; font-style: italic; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}
.testi-author strong { font-size: 0.9rem; color: var(--white); display: block; margin-bottom: 2px; }
.testi-author span  { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ── CTA BANNER ────────────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--grad);
  padding: 80px 0;
}
.cta-inner { text-align: center; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-inner p  { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 36px; }
.cta-buttons  { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ────────────────────────────────────────────────────────────────── */
.footer { background: var(--dark); padding: 60px 0 0; }
.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 200px; }
.footer-brand strong { color: var(--white); font-family: 'Lexend', sans-serif; font-size: 1rem; display: block; margin-bottom: 6px; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.82rem; line-height: 1.6; max-width: 280px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: var(--trans); }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { display: flex; gap: 16px; align-items: center; margin-left: auto; }
.footer-contact a { color: rgba(255,255,255,0.5); font-size: 1.2rem; transition: var(--trans); }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { text-align: center; padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.82rem; }

/* ── TESTIMONIAL RESULT CARD ──────────────────────────────────────────────── */
.testi-result {
  background: linear-gradient(135deg, rgba(255,122,89,0.08) 0%, rgba(0,145,174,0.08) 100%) !important;
  border-color: rgba(255,122,89,0.25) !important;
}
.testi-result-inner {
  display: flex;
  gap: 48px;
  align-items: center;
}
.testi-result-text { flex: 1; }
.testi-result-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,122,89,0.15);
  color: var(--orange);
  font-family: 'Lexend', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.testi-result-text h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.testi-result-text p  { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; margin-bottom: 10px; }
.testi-result-img { flex-shrink: 0; }
.phone-mockup {
  width: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 3px solid rgba(255,255,255,0.12);
}
.phone-mockup img { width: 100%; display: block; }

@media (max-width: 768px) {
  .testi-result-inner { flex-direction: column; gap: 24px; }
  .phone-mockup { width: 100%; max-width: 320px; margin: 0 auto; }
}

/* ── PAGE SHARED (for sub-pages) ──────────────────────────────────────────── */
.page-hero {
  background: var(--grad-dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 145, 174, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--trans);
  margin-bottom: 24px;
}
.page-hero .back-link:hover { color: var(--white); gap: 12px; }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 640px; margin-top: 16px; }

.detail-section { padding: 80px 0; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 48px; }
.detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--trans);
}
.detail-card:hover { box-shadow: var(--shadow-md); }
.detail-card h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.2rem; }
.detail-card p  { color: var(--slate); font-size: 0.93rem; line-height: 1.7; }
.detail-card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.detail-card ul li { color: var(--slate); font-size: 0.9rem; padding-left: 16px; position: relative; }
.detail-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

.stat-band {
  background: var(--navy-dk);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.sb-item { text-align: center; }
.sb-num  {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1;
}
.sb-sym  { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--orange); }
.sb-lbl  { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-image { display: none; }
  .hero-sub { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-featured { grid-column: span 2; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-container { padding: 0 20px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .expertise-grid { grid-template-columns: 1fr; }
  .exp-featured { grid-column: span 1; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-results { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: 1fr; }
  .tools-context { flex-direction: column; gap: 24px; }
  .coaching-grid { grid-template-columns: 1fr; }
  .coaching-stats { flex-direction: column; gap: 24px; }
  .cs-div { width: 80px; height: 1px; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-full { grid-column: span 1; }
  .redesign-cards { grid-template-columns: repeat(2, 1fr); }
  .en-sides { flex-direction: column; }
  .en-arrow { transform: rotate(90deg); }
  .detail-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); padding: 32px 24px; }
  .footer-row { flex-direction: column; gap: 32px; }
  .footer-contact { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 12px; }
  .hstat-div { display: none; }
  .case-results { grid-template-columns: repeat(2, 1fr); }
  .redesign-cards { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
