/* ============================================================
   Bluegrass Bedding — Racing Edition Stylesheet
   Premium dark theme targeting racetracks & thoroughbred barns
   ============================================================ */

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

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px !important; scroll-behavior: smooth; }
body { background-color: #f5f0e8; font-family: 'Roboto', sans-serif; margin: 0; }
body, ul, li, p, a, label, input, div { font-family: 'Roboto', sans-serif; font-size: 16px !important; font-weight: 300 !important; color: #1a1a1a; }
b, strong { font-weight: 600 !important; }
a { text-decoration: none; }

/* --- Brand Colors --- */
:root {
  --navy: #0a1628;
  --green: #0C7479;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f5f0e8;
  --dark: #111820;
  --mid: #1e2d3d;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: 'Assistant', sans-serif; }
.display-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  letter-spacing: -1px;
}
section h2 { font-family: 'Assistant', sans-serif; font-size: 46px; font-weight: 800; margin-bottom: 16px; }
.gold-text { color: var(--gold) !important; }
.green-text { color: var(--green) !important; }
.cream-text { color: var(--cream) !important; }

/* --- Top Bar --- */
.top-bar { background: var(--dark); padding: 12px 0; border-bottom: 1px solid rgba(201,168,76,0.3); }
.top-bar-contact a { color: var(--gold); font-size: 14px !important; font-weight: 400 !important; text-decoration: none; transition: opacity 0.3s; }
.top-bar-contact a:hover { opacity: 0.7; }
.top-bar-contact span { color: rgba(255,255,255,0.4); margin: 0 12px; }

/* --- Navbar --- */
.main-nav { background: var(--navy); padding: 0; border-bottom: 2px solid var(--gold); }
.main-nav .navbar-brand img { width: 130px; background: #fff; padding: 6px 10px; border-radius: 4px; }
.main-nav .nav-link { color: rgba(255,255,255,0.85) !important; font-size: 14px !important; font-weight: 400 !important; letter-spacing: 0.08em; text-transform: uppercase; padding: 20px 16px !important; transition: color 0.3s; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--gold) !important; border-bottom-color: var(--gold); }
.btn-nav-cta { background: var(--gold); color: var(--navy) !important; padding: 10px 24px !important; border-radius: 3px; font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.3s; border-bottom: none !important; }
.btn-nav-cta:hover { background: var(--gold-light); color: var(--navy) !important; }

/* --- Hero --- */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.75) 50%, rgba(10,22,40,0.3) 100%); }
.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.4); color: var(--gold); font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 16px; border-radius: 2px; margin-bottom: 24px; }
.hero-eyebrow i { font-size: 10px !important; }
.hero-h1 { font-family: 'Playfair Display', serif; font-size: 72px; font-weight: 900; color: #fff; line-height: 1.05; margin-bottom: 24px; }
.hero-h1 span { color: var(--gold); }
.hero-sub { color: rgba(255,255,255,0.75); font-size: 18px !important; font-weight: 300 !important; line-height: 1.7; max-width: 560px; margin-bottom: 40px; }
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary-gold { background: var(--gold); color: var(--navy) !important; padding: 16px 36px; border-radius: 3px; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s; display: inline-block; border: 2px solid var(--gold); }
.btn-primary-gold:hover { background: transparent; color: var(--gold) !important; }
.btn-outline-white { background: transparent; color: #fff !important; padding: 16px 36px; border-radius: 3px; font-size: 15px !important; font-weight: 400 !important; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s; display: inline-block; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: #fff; color: #fff !important; background: rgba(255,255,255,0.1); }

/* Hero stat bar */
.hero-stats { position: relative; z-index: 2; background: rgba(201,168,76,0.12); border-top: 1px solid rgba(201,168,76,0.3); border-bottom: 1px solid rgba(201,168,76,0.1); }
.hero-stat { text-align: center; padding: 24px 20px; border-right: 1px solid rgba(201,168,76,0.2); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 12px !important; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; font-weight: 400 !important; }

/* --- Compliance Strip --- */
.compliance-strip { background: var(--navy); padding: 20px 0; }
.compliance-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.7); font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0.05em; }
.compliance-item i { color: var(--gold); font-size: 16px !important; }
.compliance-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.15); }

/* --- Section Styles --- */
.section-dark { background: var(--navy); padding: 100px 0; }
.section-mid { background: var(--mid); padding: 100px 0; }
.section-cream { background: var(--cream); padding: 100px 0; }
.section-white { background: #fff; padding: 100px 0; }
.section-green { background: var(--green); padding: 80px 0; }

.section-label { font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.section-label-light { color: rgba(255,255,255,0.5); }

/* --- Chain of Custody --- */
.custody-step { position: relative; }
.custody-step-num { width: 56px; height: 56px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--gold); margin: 0 auto 20px; }
.custody-connector { position: absolute; top: 28px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 2px; background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.2)); }
.custody-step:last-child .custody-connector { display: none; }
.custody-step h5 { font-family: 'Assistant', sans-serif; font-weight: 700; font-size: 16px !important; color: #fff; margin-bottom: 8px; }
.custody-step p { font-size: 13px !important; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* --- Triple Screen Science --- */
.screen-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.2); border-radius: 4px; padding: 36px 28px; transition: all 0.3s; }
.screen-card:hover { background: rgba(201,168,76,0.08); border-color: var(--gold); transform: translateY(-4px); }
.screen-num { font-family: 'Playfair Display', serif; font-size: 64px; font-weight: 900; color: rgba(201,168,76,0.15); line-height: 1; margin-bottom: -10px; }
.screen-title { font-family: 'Assistant', sans-serif; font-weight: 700; font-size: 20px !important; color: #fff; margin-bottom: 12px; }
.screen-icon { width: 48px; height: 48px; background: rgba(201,168,76,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.screen-icon i { color: var(--gold); font-size: 20px !important; }

/* --- HISA Section --- */
.hisa-badge { background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.3); border-radius: 4px; padding: 24px; display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; transition: all 0.3s; }
.hisa-badge:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }
.hisa-badge-icon { color: var(--gold); font-size: 24px !important; flex-shrink: 0; margin-top: 2px; }
.hisa-badge h5 { font-family: 'Assistant', sans-serif; font-weight: 700; font-size: 16px !important; color: #fff; margin-bottom: 4px; }
.hisa-badge p { font-size: 13px !important; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.6; }

/* --- Testimonials --- */
.testimonial-card { background: #fff; border-radius: 4px; padding: 36px; position: relative; border-top: 3px solid var(--gold); box-shadow: 0 8px 40px rgba(0,0,0,0.08); height: 100%; }
.testimonial-quote { font-size: 48px !important; font-family: 'Playfair Display', serif; color: var(--gold); line-height: 0.5; margin-bottom: 16px; display: block; }
.testimonial-text { font-size: 16px !important; font-weight: 300 !important; line-height: 1.75; color: #333; font-style: italic; margin-bottom: 24px; }
.testimonial-stars { color: var(--gold); font-size: 14px !important; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-name { font-family: 'Assistant', sans-serif; font-weight: 700; font-size: 16px !important; color: var(--navy); margin-bottom: 2px; }
.testimonial-title { font-size: 13px !important; color: var(--green); font-weight: 400 !important; }
.testimonial-track { font-size: 12px !important; color: #999; font-weight: 300 !important; }

/* --- Products --- */
.product-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.08); transition: all 0.3s; border-bottom: 3px solid transparent; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); border-bottom-color: var(--gold); }
.product-card-img { position: relative; height: 240px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-badge { position: absolute; top: 16px; right: 16px; background: var(--gold); color: var(--navy); font-size: 11px !important; font-weight: 700 !important; padding: 4px 10px; border-radius: 2px; letter-spacing: 0.1em; text-transform: uppercase; }
.product-body { padding: 28px; }
.product-name { font-family: 'Assistant', sans-serif; font-weight: 800; font-size: 22px !important; color: var(--navy); margin-bottom: 4px; }
.product-sub { font-size: 13px !important; color: #999; margin-bottom: 16px; }
.pricing-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.pricing-table th { background: var(--navy); color: rgba(255,255,255,0.8); padding: 10px 12px; text-align: left; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.08em; text-transform: uppercase; }
.pricing-table td { padding: 10px 12px; border-bottom: 1px solid #f0ece4; font-size: 14px !important; }
.pricing-table tr.best-value td { background: rgba(201,168,76,0.08); font-weight: 600 !important; color: var(--navy); }
.pricing-table tr.best-value td:first-child::before { content: "★ "; color: var(--gold); }
.btn-order { background: var(--navy); color: #fff !important; padding: 12px 24px; border-radius: 3px; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s; display: inline-block; border: 2px solid var(--navy); cursor: pointer; }
.btn-order:hover { background: transparent; color: var(--navy) !important; }
.btn-quote-sm { background: transparent; color: var(--green) !important; padding: 12px 24px; border-radius: 3px; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.3s; display: inline-block; border: 2px solid var(--green); }
.btn-quote-sm:hover { background: var(--green); color: #fff !important; }

/* --- CTA Banner --- */
.cta-banner { background: linear-gradient(135deg, var(--navy) 0%, var(--mid) 100%); border-top: 1px solid rgba(201,168,76,0.3); border-bottom: 1px solid rgba(201,168,76,0.3); padding: 80px 0; }
.cta-banner h2 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 18px !important; max-width: 560px; }

/* --- Inner Hero --- */
.inner-hero { position: relative; padding: 100px 0 70px; background-size: cover; background-position: center; }
.inner-hero::before { position: absolute; inset: 0; content: ''; background: linear-gradient(105deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.7) 100%); }
.inner-hero h1 { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 900; color: #fff; position: relative; z-index: 1; }
.inner-hero p { color: rgba(255,255,255,0.7); font-size: 18px !important; position: relative; z-index: 1; margin-top: 12px; }

/* --- Order Form / Modal --- */
.modal-header { background: var(--navy); border-bottom: 2px solid var(--gold); }
.modal-title { color: #fff !important; font-family: 'Assistant', sans-serif; font-weight: 700 !important; }
.modal-header .btn-close { filter: invert(1); }
.form-label { font-weight: 500 !important; color: #333; font-size: 13px !important; letter-spacing: 0.03em; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 0.2rem rgba(201,168,76,0.2); }
.btn-submit { background: var(--gold); color: var(--navy) !important; border: none; padding: 16px 40px; border-radius: 3px; font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0.08em; text-transform: uppercase; width: 100%; cursor: pointer; transition: all 0.3s; }
.btn-submit:hover { background: var(--gold-light); }

/* --- Footer --- */
.footer { background: var(--dark); border-top: 1px solid rgba(201,168,76,0.2); padding: 80px 0 0; }
.footer-logo img { width: 100px; }
.footer h4 { font-family: 'Assistant', sans-serif; font-weight: 700; font-size: 14px !important; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(201,168,76,0.2); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px !important; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { color: rgba(255,255,255,0.5); font-size: 14px !important; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { background: #080f19; padding: 20px 0; margin-top: 60px; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px !important; margin: 0; }

/* --- FAQ --- */
.faq-item { border-bottom: 1px solid rgba(201,168,76,0.2); }
.faq-question { width: 100%; background: none; border: none; padding: 22px 0; font-size: 17px !important; font-weight: 500 !important; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #fff; transition: color 0.3s; }
.faq-question:hover { color: var(--gold); }
.faq-question .faq-icon { color: var(--gold); font-size: 20px !important; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active .faq-question { color: var(--gold); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-answer-inner { padding: 0 0 24px 0; color: rgba(255,255,255,0.6); line-height: 1.8; }
.faq-answer-inner p,
.faq-answer-inner li,
.faq-answer-inner ol,
.faq-answer-inner ul { color: rgba(255,255,255,0.6) !important; }
.faq-answer-inner a { color: var(--gold) !important; }
.faq-item.active .faq-answer { max-height: 400px; }

/* --- Contact Page Dark Inputs --- */
.contact-input { background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.12) !important; color: #fff !important; border-radius: 3px; }
.contact-input::placeholder { color: rgba(255,255,255,0.3) !important; }
.contact-input:focus { background: rgba(255,255,255,0.09) !important; border-color: var(--gold) !important; box-shadow: 0 0 0 0.2rem rgba(201,168,76,0.2) !important; color: #fff !important; }
.contact-input option { background: var(--navy); color: #fff; }

/* --- Audience Switcher Banner (all pages) --- */
.aud-banner { background: #060d18; border-bottom: 1px solid rgba(201,168,76,0.25); padding: 9px 0; }
.aud-banner .container { display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; }
.aud-link { color: rgba(255,255,255,0.4); font-size: 11px !important; font-weight: 500 !important; letter-spacing: 0.13em; text-transform: uppercase; text-decoration: none !important; padding: 4px 20px; transition: color 0.25s; white-space: nowrap; }
.aud-link:hover { color: rgba(255,255,255,0.75); }
.aud-link.active { color: var(--gold); }
.aud-link i { font-size: 10px !important; margin-right: 6px; }
.aud-sep { color: rgba(255,255,255,0.15); font-size: 14px !important; user-select: none; }

/* --- FAQ answer max-height for long answers --- */
.faq-item.active .faq-answer { max-height: 800px; }

/* --- Pricing Notes --- */
.pricing-notes { background: var(--navy); padding: 40px 0; border-top: 1px solid rgba(201,168,76,0.2); }
.pricing-notes li { color: rgba(255,255,255,0.6); margin-bottom: 8px; font-size: 14px !important; }
.pricing-notes a { color: var(--gold); }

/* --- Segment Gate / Audience Chooser --- */
.segment-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  background: rgba(5, 10, 18, 0.98);
  padding: 32px 20px;
  overflow-y: auto;
}
.segment-gate.active { display: flex; }
@keyframes gateFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.segment-gate-inner {
  max-width: 1080px;
  width: 100%;
  text-align: center;
  padding: 24px 0 40px;
  animation: gateFadeIn 0.45s ease;
}
.segment-gate-logo img { width: 130px; margin-bottom: 36px; }
.segment-gate h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.15;
}
.segment-gate-sub {
  color: rgba(255,255,255,0.45);
  font-size: 16px !important;
  margin-bottom: 44px;
  font-weight: 300 !important;
}
.segment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.segment-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  height: 380px;
  display: flex;
  align-items: flex-end;
  text-decoration: none !important;
  border: 2px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
  cursor: pointer;
}
.segment-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.segment-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}
.segment-card:hover .segment-card-bg { transform: scale(1.05); }
.segment-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,18,0.05) 0%, rgba(5,10,18,0.65) 45%, rgba(5,10,18,0.96) 100%);
}
.segment-card-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  width: 100%;
  text-align: left;
}
.segment-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.segment-card-icon i { color: var(--gold); font-size: 18px !important; }
.segment-card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}
.segment-card-desc {
  font-size: 13px !important;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 300 !important;
}
.segment-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 2px;
  transition: background 0.2s;
}
.segment-card:hover .segment-card-cta { background: var(--gold-light); }
.segment-skip {
  color: rgba(255,255,255,0.25);
  font-size: 13px !important;
  text-decoration: none !important;
  transition: color 0.3s;
  display: inline-block;
  margin-top: 4px;
  font-weight: 300 !important;
}
.segment-skip:hover { color: rgba(255,255,255,0.55); }

/* Switch audience bar (shown on show.html / boarding.html) */
.audience-bar {
  background: rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 8px 0;
  text-align: center;
}
.audience-bar a {
  color: rgba(255,255,255,0.45);
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s;
}
.audience-bar a:hover { color: var(--gold); }
.audience-bar i { font-size: 11px !important; margin-right: 6px; }

/* Show page discipline pills */
.discipline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s;
}
.discipline-pill:hover { background: rgba(201,168,76,0.2); border-color: var(--gold); }

/* Benefit card (show + boarding pages) */
.benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px;
  padding: 36px 28px;
  transition: all 0.3s;
  height: 100%;
}
.benefit-card:hover { background: rgba(201,168,76,0.07); border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.benefit-icon { width: 52px; height: 52px; background: rgba(201,168,76,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.benefit-icon i { color: var(--gold); font-size: 22px !important; }
.benefit-card h4 { font-family: 'Assistant', sans-serif; font-weight: 700; font-size: 18px !important; color: #fff; margin-bottom: 10px; }
.benefit-card p { font-size: 14px !important; color: rgba(255,255,255,0.55); line-height: 1.75; margin: 0; }

/* Responsive segment gate */
@media (max-width: 991px) {
  .segment-cards { grid-template-columns: 1fr; gap: 14px; }
  .segment-card { height: 240px; }
  .segment-gate h2 { font-size: 28px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .segment-cards { grid-template-columns: repeat(3, 1fr); }
  .segment-card { height: 300px; }
}

/* --- Photo feature (full-width photo with text overlay) --- */
.photo-feature { position: relative; overflow: hidden; display: flex; align-items: center; }
.photo-feature > img { width: 100%; height: 520px; object-fit: cover; object-position: center 65%; display: block; }
.photo-feature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.55) 50%, rgba(10,22,40,0.15) 100%);
  display: flex; align-items: center;
}
.photo-feature-pill {
  background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.4); color: var(--gold);
  font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 20px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .hero-h1 { font-size: 48px; }
  .hero-stat-num { font-size: 32px; }
  section h2 { font-size: 34px; }
  .cta-banner h2 { font-size: 36px; }
  .custody-connector { display: none; }
  .compliance-divider { display: none; }
  /* Stack photo feature: image on top, content below on solid navy */
  .photo-feature { display: block; max-height: none !important; }
  .photo-feature > img { height: 300px !important; object-position: center 70% !important; }
  .photo-feature-overlay {
    position: static; inset: auto;
    background: var(--navy);
    padding: 44px 0 52px;
    display: block;
  }
  .photo-feature-overlay h2 { max-width: none !important; }
}
@media (max-width: 767px) {
  .hero-h1 { font-size: 36px; }
  .hero-section { min-height: 0; padding-bottom: 0; }
  .hero-content { padding: 80px 0 48px; }
  /* Stat bar flows below hero content instead of overlapping it */
  .hero-stats { position: static !important; }
  .section-dark, .section-cream, .section-white, .section-mid { padding: 60px 0; }
  .inner-hero h1 { font-size: 36px; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.2); padding: 16px 12px; }
  .hero-stat:last-child { border-bottom: none; }
  .main-nav .nav-link { padding: 12px 16px !important; border-bottom: none; }
  .btn-primary-gold, .btn-outline-white { padding: 14px 24px; font-size: 14px !important; width: 100%; text-align: center; }
  .hero-cta-group { flex-direction: column; }
  .cta-banner .text-lg-end a { display: block; margin: 0 0 12px 0 !important; }
  section h2 { font-size: 28px; }
  .segment-gate h2 { font-size: 24px; }
  .segment-card { height: 200px; }
  .segment-gate-logo img { width: 100px; margin-bottom: 24px; }
  .segment-gate-sub { margin-bottom: 24px; }
}
