/* ============================================================
   BridgeStar Strategic — Shared Stylesheet
   Colors: #123B5D | #E9EDF1 | #FAF9F6 | #2596be | #00a9ff | #aeb0b0
   ============================================================ */

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

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #FAF9F6;
  color: #123B5D;
  line-height: 1.7;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #123B5D;
}

/* ── Noise Texture Overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #123B5D;
  box-shadow: 0 2px 16px rgba(18, 59, 93, 0.3), 0 1px 4px rgba(0,0,0,0.2);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FAF9F6;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #00a9ff;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E9EDF1;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  display: block;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background-color: #00a9ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover { color: #00a9ff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:focus-visible { outline: 2px solid #00a9ff; outline-offset: 2px; }
.nav-links a.active { color: #00a9ff; }
.nav-links a.active::after { transform: scaleX(1); }

/* ── Sell Your Agency CTA highlight ── */
.nav-links a.nav-sell-cta {
  background: #16a34a !important;
  background-color: #16a34a !important;
  color: #FAF9F6 !important;
  padding: 0.4rem 0.85rem;
}
.nav-links a.nav-sell-cta:hover {
  background: #22c55e !important;
  background-color: #22c55e !important;
  color: #FAF9F6 !important;
}
.nav-links a.nav-sell-cta::after { display: none; }
.nav-links a.nav-sell-cta.active { background: #22c55e !important; background-color: #22c55e !important; color: #FAF9F6 !important; }
.nav-links a.nav-sell-cta.active::after { display: none; }

/* ── Green CTA Button ── */
.btn-green {
  background: #16a34a !important;
  background-color: #16a34a !important;
  color: #FAF9F6 !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 1.1rem 3rem;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 24px rgba(22,163,74,0.4), 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.btn-green:hover {
  background: #22c55e !important;
  background-color: #22c55e !important;
  color: #FAF9F6 !important;
  box-shadow: 0 4px 28px rgba(34,197,94,0.5), 0 2px 8px rgba(0,0,0,0.2);
}
.btn-green:active { background: #15803d !important; background-color: #15803d !important; }
.btn-green:focus-visible { outline: 2px solid #22c55e; outline-offset: 2px; }

/* ── Mobile Nav Toggle ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FAF9F6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #123B5D;
    padding: 1rem 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(18,59,93,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.85rem 2rem; }
  .nav-links a::after { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #123B5D;
  padding: 7rem 2rem 6rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(37,150,190,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(0,169,255,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(18,59,93,0.9) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00a9ff;
  margin-bottom: 1.25rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #FAF9F6;
  margin: 0 0 1.5rem;
  letter-spacing: -0.04em;
}

.hero h1 em {
  font-style: normal;
  color: #00a9ff;
}

.hero p {
  font-size: 1.1rem;
  color: #E9EDF1;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2596be, #00a9ff);
  margin: 0 auto 2.5rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.25rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:focus-visible { outline: 2px solid #00a9ff; outline-offset: 3px; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background-color: #00a9ff;
  color: #FAF9F6;
  box-shadow: 0 4px 16px rgba(0,169,255,0.3), 0 1px 4px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background-color: #2596be;
  box-shadow: 0 6px 24px rgba(0,169,255,0.4), 0 2px 8px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #FAF9F6;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: #00a9ff;
  color: #00a9ff;
  transform: translateY(-2px);
}

.btn-navy {
  background-color: #123B5D;
  color: #FAF9F6;
  box-shadow: 0 4px 16px rgba(18,59,93,0.25), 0 1px 4px rgba(0,0,0,0.1);
}

.btn-navy:hover {
  background-color: #0e2e47;
  box-shadow: 0 6px 24px rgba(18,59,93,0.35);
  transform: translateY(-2px);
}

/* ── Section Wrappers ── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-alt {
  background-color: #E9EDF1;
}

.section-dark {
  background-color: #123B5D;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2596be;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #2596be, #00a9ff);
  margin: 0 0 2rem;
}

.section-divider.centered {
  margin: 0 auto 2rem;
}

/* ── Cards ── */
.card {
  background-color: #FAF9F6;
  box-shadow: 0 2px 8px rgba(18,59,93,0.07), 0 8px 32px rgba(18,59,93,0.1);
  padding: 2.25rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(18,59,93,0.12), 0 16px 48px rgba(18,59,93,0.15);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #123B5D 0%, #2596be 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #FAF9F6;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* ── 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; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Stat Bar ── */
.stat-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background-color: #123B5D;
  border-top: 3px solid #00a9ff;
}

.stat-item {
  padding: 2.5rem 3rem;
  text-align: center;
  flex: 1;
  min-width: 180px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #00a9ff;
  line-height: 1;
  display: block;
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E9EDF1;
  opacity: 0.75;
  display: block;
  margin-top: 0.5rem;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background-color: #123B5D;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 50%, rgba(37,150,190,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 30%, rgba(0,169,255,0.08) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #FAF9F6;
  margin: 0 0 1rem;
}

.page-hero p {
  font-size: 1rem;
  color: #E9EDF1;
  opacity: 0.85;
  max-width: 560px;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #aeb0b0;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: #aeb0b0;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover { color: #00a9ff; }
.breadcrumb span { margin: 0 0.5rem; }

/* ── Testimonial Cards ── */
.testimonial-card {
  background-color: #FAF9F6;
  box-shadow: 0 2px 8px rgba(18,59,93,0.07), 0 8px 32px rgba(18,59,93,0.1);
  padding: 2.5rem 3rem;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 1;
  color: #00a9ff;
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  left: 2rem;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(18,59,93,0.12), 0 16px 48px rgba(18,59,93,0.15);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.8;
  color: #123B5D;
  margin: 1.5rem 0 2rem;
  font-style: italic;
  padding-left: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-info strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #123B5D;
}

.testimonial-author-info span {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #aeb0b0;
  letter-spacing: 0.06em;
}

.testimonial-accent {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #2596be, #00a9ff);
  margin-bottom: 0.75rem;
}

/* ── Team Cards ── */
.team-card {
  background-color: #FAF9F6;
  box-shadow: 0 2px 8px rgba(18,59,93,0.07), 0 8px 32px rgba(18,59,93,0.1);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(18,59,93,0.12), 0 16px 48px rgba(18,59,93,0.15);
}

.team-card-img {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-card-img img {
  transform: scale(1.04);
}

.team-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,59,93,0.65) 0%, transparent 50%);
  mix-blend-mode: multiply;
}

.team-card-body {
  padding: 1.75rem;
  border-top: 3px solid #00a9ff;
}

.team-card-body h3 {
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}

.team-card-body .title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2596be;
  margin-bottom: 0.75rem;
  display: block;
}

.team-card-body p {
  font-size: 0.875rem;
  color: #aeb0b0;
  line-height: 1.6;
  margin: 0;
}

/* ── Insurance Coverage Grid ── */
.insurance-item {
  background-color: #FAF9F6;
  box-shadow: 0 2px 8px rgba(18,59,93,0.07), 0 8px 32px rgba(18,59,93,0.1);
  padding: 2rem;
  border-top: 3px solid transparent;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}

.insurance-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(18,59,93,0.12), 0 16px 48px rgba(18,59,93,0.15);
  border-top-color: #00a9ff;
}

/* ── Contact ── */
.contact-block {
  background-color: #FAF9F6;
  box-shadow: 0 2px 8px rgba(18,59,93,0.07), 0 8px 32px rgba(18,59,93,0.1);
  padding: 2.5rem;
  border-left: 4px solid #00a9ff;
}

.contact-block h3 {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background-color: #E9EDF1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: #123B5D;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: square;
}

.contact-detail-text {
  font-size: 0.9rem;
  color: #123B5D;
  line-height: 1.6;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aeb0b0;
  margin-bottom: 0.25rem;
}

/* ── Contact Form ── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #123B5D;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #123B5D;
  background-color: #FAF9F6;
  border: 1.5px solid #E9EDF1;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: #2596be;
  box-shadow: 0 0 0 3px rgba(37,150,190,0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── Footer ── */
.site-footer {
  background-color: #0e2e47;
  padding: 4rem 2rem 2rem;
  color: #E9EDF1;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #aeb0b0;
  max-width: 280px;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00a9ff;
  margin: 0 0 1.25rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: #aeb0b0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover { color: #FAF9F6; }
.footer-col ul li a:focus-visible { outline: 2px solid #00a9ff; outline-offset: 2px; }

.footer-info {
  font-size: 0.875rem;
  color: #aeb0b0;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #aeb0b0;
  margin: 0;
  opacity: 0.65;
}

/* ── Horizontal Rule ── */
.hr-accent {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, #2596be 0%, rgba(0,169,255,0.2) 100%);
  margin: 2rem 0;
}

/* ── Utility ── */
.text-accent { color: #00a9ff; }
.text-steel { color: #2596be; }
.text-muted { color: #aeb0b0; }
.text-navy { color: #123B5D; }
.text-light { color: #FAF9F6; }

.bg-navy { background-color: #123B5D; }
.bg-off-white { background-color: #FAF9F6; }
.bg-light-gray { background-color: #E9EDF1; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
