@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

:root {
  --bg: #ffffff;
  --fg: #2d3748;
  --primary: #c8922a;
  --primary-light: #d4a83e;
  --primary-fg: #ffffff;
  --muted: #f1f3f5;
  --muted-fg: #6b7a8d;
  --border: #e2e8f0;
  --card: #ffffff;
  --card-fg: #2d3748;
  --navy: #1e2a3a;
  --navy-light: #2a3a4e;
  --hero-fg: #ffffff;
  --hero-muted: #a0aec0;
  --gold: #c8922a;
  --gold-light: #d4a83e;
  --stat-bg: #283548;
  --destructive: #e53e3e;
  --radius: 0.75rem;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; font-family: var(--font-body); cursor: pointer; border: none; transition: background 0.2s, transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--hero-fg); border: 1px solid var(--hero-muted); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-outline-dark:hover { background: var(--muted); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }

.badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 500; padding: 0.35rem 1rem; border-radius: 9999px; }
.badge-gold { background: rgba(200,146,42,0.18); color: var(--gold-light); }
.badge-primary { background: rgba(200,146,42,0.1); color: var(--primary); }

.section-label { text-align: center; margin-bottom: 0.75rem; }
.section-title { text-align: center; font-size: 2rem; font-weight: 700; color: var(--fg); }
.section-sub { text-align: center; color: var(--muted-fg); margin-top: 0.75rem; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 0.95rem; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.navbar-brand { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; }
.navbar-brand small { display: block; font-family: var(--font-body); font-size: 0.7rem; color: var(--muted-fg); font-weight: 400; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--muted-fg); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--muted-fg); }
.nav-phone:hover { color: var(--fg); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger svg { width: 24px; height: 24px; stroke: var(--fg); }
.mobile-menu { display: none; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.5rem 0; font-size: 0.9rem; color: var(--muted-fg); }
.mobile-menu a.active { color: var(--primary); }

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: block; }
}

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 64px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(30,42,58,0.87); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 5rem 0; }
.hero-text h1 { font-size: 3rem; font-weight: 700; color: var(--hero-fg); line-height: 1.15; margin-bottom: 1.5rem; }
.hero-text h1 .gold { color: var(--gold); }
.hero-text p { color: var(--hero-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; max-width: 540px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-profile-panel {
  width: min(440px, 100%);
  margin-left: auto;
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}
.hero-photo-panel {
  position: relative;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  background: #dfe6ee;
}
.hero-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0));
  pointer-events: none;
}
.hero-photo-panel img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(100vh, 800px);
  object-fit: contain;
  object-position: center center;
  filter: contrast(1.08) saturate(1.06) brightness(1.04);
}
.hero-details-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 1.2rem 1.3rem 1.25rem;
  text-align: center;
  margin-top: 0;
}
.hero-details-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--card-fg); }
.hero-details-card .subtitle { font-size: 0.82rem; color: var(--muted-fg); margin-top: 0.25rem; }
.hero-details-card .subtitle-company { font-size: 0.75rem; }
.hero-details-card .nmls { font-size: 0.75rem; color: var(--muted-fg); font-weight: 500; margin-top: 0.75rem; }
.profile-links { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.profile-links a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.85rem; color: var(--card-fg); transition: color 0.2s; }
.profile-links a:hover { color: var(--primary); }
.profile-links svg { width: 16px; height: 16px; color: var(--primary); }
.profile-footer { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.profile-footer .label { font-size: 0.72rem; color: var(--muted-fg); }
.profile-footer .heroes-badge { font-size: 0.85rem; font-weight: 600; color: var(--destructive); margin-top: 0.25rem; }

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-profile-panel { margin: 0 auto; width: min(560px, 100%); }
  .hero-photo-panel img { object-position: center center; }
}

@media (max-width: 600px) {
  .hero-photo-panel img { object-position: center center; }
  .hero-details-card { padding: 1rem 0.9rem 1.1rem; }
  .hero-details-card h3 { font-size: 1.1rem; }
}

/* STATS */
.stats { position: relative; z-index: 3; margin-top: -0.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { background: var(--stat-bg); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.stat-card .value { font-size: 1.75rem; font-weight: 700; color: var(--gold); font-family: var(--font-heading); }
.stat-card .label { font-size: 0.82rem; color: var(--hero-muted); margin-top: 0.25rem; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* SERVICES */
.services { padding: 5rem 0; background: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow 0.2s; }
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.service-icon { width: 48px; height: 48px; border-radius: 0.5rem; background: rgba(200,146,42,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.service-icon svg { width: 24px; height: 24px; color: var(--primary); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--card-fg); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.85rem; color: var(--muted-fg); margin-bottom: 1rem; line-height: 1.6; }
.service-card li { font-size: 0.82rem; color: var(--muted-fg); padding: 0.3rem 0; display: flex; align-items: center; gap: 0.5rem; }
.service-card li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* WHY CHOOSE ME */
.why { padding: 5rem 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
.why-card { text-align: center; padding: 1.5rem; }
.why-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(200,146,42,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.why-icon svg { width: 28px; height: 28px; color: var(--primary); }
.why-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.85rem; color: var(--muted-fg); line-height: 1.6; }
@media (max-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

.badge-why { background: #fef3c7; color: #b45309; font-weight: 600; }

/* WHY CHOOSE ME — homepage (screenshot style) */
.why--home { padding: 5rem 0; background: #ffffff; }
.why--home .section-title { color: #001a33; }
.why--home .why-card {
  background: #f8fafc;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  padding: 1.75rem 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.why--home .why-card h3 { color: #001a33; }
.why--home .why-icon {
  background: #ed8936;
  box-shadow: 0 2px 8px rgba(237, 137, 54, 0.35);
}
.why--home .why-icon svg { color: #ffffff; stroke: #ffffff; }
.why--home .why-cta { text-align: center; margin-top: 2.5rem; }

/* HEROES */
.heroes { padding: 5rem 0; background: var(--navy); color: var(--hero-fg); }
.heroes .section-title { color: var(--hero-fg); }
.heroes .section-sub { color: var(--hero-muted); }
.heroes-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.heroes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.hero-type-card { background: var(--navy-light); border-radius: var(--radius); padding: 1rem; text-align: center; }
.hero-type-card svg { width: 24px; height: 24px; color: var(--gold); margin: 0 auto 0.5rem; display: block; }
.hero-type-card p { font-size: 0.75rem; font-weight: 500; color: var(--hero-muted); }
.save-box { background: rgba(200,146,42,0.15); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.save-box .amount { font-size: 2rem; font-weight: 700; color: var(--gold); font-family: var(--font-heading); }
.save-box p { font-size: 0.85rem; color: var(--hero-muted); margin-top: 0.25rem; }
.heroes-image img { border-radius: 1rem; width: 100%; object-fit: cover; }
.hero-benefits { background: var(--navy-light); border-radius: var(--radius); padding: 1rem; text-align: center; margin-top: 1rem; }
.hero-benefits .title { font-size: 0.85rem; font-weight: 600; }
.hero-benefits .sub { font-size: 0.75rem; color: var(--hero-muted); margin-top: 0.25rem; }
@media (max-width: 768px) {
  .heroes-layout { grid-template-columns: 1fr; }
  .heroes-grid { grid-template-columns: repeat(2, 1fr); }
}

/* TESTIMONIALS CAROUSEL */
.testimonials { padding: 5rem 0; }
.carousel-wrapper { position: relative; margin-top: 3rem; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-slide { min-width: 100%; padding: 0 1rem; }
.carousel-slide-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.testimonial-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.testimonial-card .type-badge { display: inline-block; font-size: 0.72rem; font-weight: 500; background: rgba(200,146,42,0.1); color: var(--primary); padding: 0.25rem 0.75rem; border-radius: 9999px; margin-bottom: 1rem; }
.stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.stars svg { width: 16px; height: 16px; fill: var(--gold); color: var(--gold); }
.testimonial-card blockquote { font-size: 0.85rem; color: var(--muted-fg); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-footer { border-top: 1px solid var(--border); padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.testimonial-footer .name { font-size: 0.85rem; font-weight: 600; color: var(--card-fg); }
.testimonial-footer .loc { font-size: 0.72rem; color: var(--muted-fg); }
.testimonial-footer .time { font-size: 0.72rem; color: var(--muted-fg); }

.carousel-controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; align-items: center; }
.carousel-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; }
.carousel-btn:hover { background: var(--muted); border-color: var(--primary); }
.carousel-btn svg { width: 18px; height: 18px; color: var(--fg); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; transition: background 0.2s; }
.carousel-dot.active { background: var(--primary); }

@media (max-width: 900px) {
  .carousel-slide-inner { grid-template-columns: 1fr; max-width: 500px; }
  .testimonials:not(.testimonials-home) .carousel-slide-inner .testimonial-card:nth-child(n+2) { display: none; }
}

/* HOMEPAGE TESTIMONIALS */
.testimonials-home { padding: 5rem 0; background: var(--bg); }
.testimonials-home .section-title { color: var(--fg); }
.carousel-wrapper--home { margin-top: 2.5rem; }
.carousel-wrapper--home .carousel-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}
.carousel-wrapper--home .carousel-clip {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.carousel-wrapper--home .carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-wrapper--home .carousel-slide { min-width: 100%; padding: 0 0.25rem; box-sizing: border-box; }
.carousel-wrapper--home .carousel-slide-inner--home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.carousel-wrapper--home .carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.testimonial-card--home {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-card--home .tc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.testimonial-card--home .name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--card-fg);
  margin-bottom: 0.2rem;
}
.testimonial-card--home .loc { font-size: 0.8rem; color: var(--muted-fg); margin-bottom: 0.75rem; }
.testimonial-card--home blockquote {
  flex: 1;
  font-size: 0.85rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-card--home blockquote.tc-muted { color: var(--muted-fg); opacity: 0.85; }
.testimonial-card--home .testimonial-footer--home {
  display: block;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
}
.testimonial-footer--home .time { font-size: 0.72rem; color: var(--muted-fg); }
.type-badge--outline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--card-fg);
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.stars--partial { display: inline-flex; gap: 2px; align-items: center; flex-shrink: 0; }
.star-cell { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.star-cell .star-base { color: rgba(45, 55, 72, 0.2); display: block; line-height: 0; }
.star-cell .star-base svg { display: block; }
.star-cell .star-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  height: 100%;
  color: var(--gold);
  line-height: 0;
}
.star-cell .star-fill svg { display: block; }
@media (max-width: 900px) {
  .carousel-wrapper--home .carousel-slide-inner--home { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .carousel-wrapper--home .carousel-row { align-items: center; }
}

/* Full testimonials page grid */
.testimonials-page-list { padding: 3rem 0 5rem; background: var(--bg); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
  align-items: stretch;
}
@media (min-width: 601px) and (max-width: 1000px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* CTA */
.cta { padding: 5rem 0; background: var(--navy); color: var(--hero-fg); text-align: center; }
.cta h2 { color: var(--hero-fg); font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta p { color: var(--hero-muted); max-width: 540px; margin: 0 auto 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* FOOTER */
.footer { padding: 3rem 0 1.5rem; background: #141e2b; color: var(--hero-muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer h4 { color: var(--hero-fg); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer p, .footer a { font-size: 0.82rem; line-height: 1.8; }
.footer a { color: var(--hero-muted); transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.footer-bottom p { margin-bottom: 0.35rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* PAGE HEADER (for inner pages) */
.page-header { padding: 8rem 0 4rem; background: var(--navy); text-align: center; }
.page-header h1 { font-size: 2.5rem; font-weight: 700; color: var(--hero-fg); margin-bottom: 0.75rem; }
.page-header p { color: var(--hero-muted); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s, transform 0.6s; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* GAVIN LENDING PROFILE CARD */
.gavin-card {
  padding: 4rem 0;
  background: #000510;
}

.gavin-card-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2.75rem;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid #1e3a8a;
  background: radial-gradient(circle at top, #020617 0, #000510 45%, #020617 100%);
  color: #e5e7eb;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.7);
}

.gavin-avatar-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 1.5rem;
}

.gavin-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #3b82f6;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.6);
}

.gavin-badge {
  position: absolute;
  top: 8px;
  right: -12px;
  width: 80px;
  text-align: center;
}

.gavin-badge-icon {
  width: 100%;
}

.gavin-badge-label {
  margin-top: -0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #3b82f6;
}

.gavin-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gavin-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #cbd5e1;
}

.gavin-divider {
  height: 1px;
  margin: 1.75rem 0;
  background: linear-gradient(to right, transparent, #3b82f6, transparent);
}

.gavin-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.gavin-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gavin-phone a {
  color: #f9fafb;
  font-weight: 600;
}

.gavin-nmls-pill {
  background: #1e3a8a;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e5e7eb;
}

.gavin-location {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.85;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.gavin-location-icon {
  width: 26px;
}

@media (max-width: 600px) {
  .gavin-card-inner {
    padding: 2.2rem 1.5rem 2.4rem;
  }

  .gavin-avatar-wrap {
    width: 220px;
    height: 220px;
  }

  .gavin-title {
    font-size: 2rem;
  }
}
