/* ER Capital Partners — Main Stylesheet
   @imports Google Fonts, defines all CSS variables and component styles
   Keywords: hard money lender, private real estate lender, bridge loans,
   fix and flip loans, investment property financing, commercial real estate loans,
   rental property loans, private lending, alternative lending, asset-based lending,
   fast loan approval, direct lender, flexible financing, short-term loans
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Outfit', sans-serif; color: #0A1B35; background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garant', serif; line-height: 1.15; }
p { line-height: 1.75; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: 'Outfit', sans-serif; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: 'Outfit', sans-serif; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
  --navy:       #04101F;
  --navy-mid:   #0A1B35;
  --navy-light: #102648;
  --gold:       #C8962E;
  --gold-light: #E2B84A;
  --gold-pale:  #FDF6EC;
  --off-white:  #F5F6FA;
  --white:      #FFFFFF;
  --text-mid:   #6B7A8D;
  --text-dark:  #4A5568;
  --border:     #DCE4EF;
  --shadow-sm:  0 2px 16px rgba(4,16,31,0.07);
  --shadow-md:  0 4px 30px rgba(4,16,31,0.10);
  --shadow-lg:  0 12px 48px rgba(4,16,31,0.14);
  --radius:     6px;
  --radius-lg:  12px;
  --transition: all 0.25s ease;
}

/* ── LAYOUT UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.compact { padding: 56px 0; }
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }
.align-center { align-items: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--navy); margin-bottom: .5rem; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--gold); display: block; margin-bottom: .5rem;
}
.section-label-light { color: var(--gold-light) !important; }

.gold-line {
  width: 52px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1rem 0 1.5rem;
}
.gold-line.center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: .88rem; font-family: 'Outfit', sans-serif;
  letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
  border: none; transition: var(--transition); line-height: 1;
}
.btn-lg { padding: 16px 36px; font-size: .95rem; }
.btn-sm { padding: 10px 20px; font-size: .78rem; }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,150,46,.35); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-outline-gold { background: transparent; color: #fff; border: 2px solid var(--gold); }
.btn-outline-gold:hover { background: rgba(200,150,46,.12); transform: translateY(-1px); }

.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ── NAVIGATION ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; display: flex; align-items: center;
  padding: 0 32px; transition: background .3s, box-shadow .3s;
}
#site-header.scrolled {
  background: rgba(4,16,31,.97); backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.site-logo {
  font-family: 'Cormorant Garant', serif; font-size: 1.45rem; font-weight: 700;
  color: #fff; letter-spacing: .02em; text-decoration: none; flex-shrink: 0;
}
.site-logo span { color: var(--gold); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav > li > a {
  color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 500;
  padding: 8px 14px; border-radius: 4px; display: block;
  transition: color .2s; text-decoration: none; white-space: nowrap;
}
.main-nav a:hover, .main-nav > li > a:hover,
.main-nav .current-menu-item > a { color: var(--gold); }

/* Dropdown */
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: rgba(4,16,31,.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(200,150,46,.2); border-radius: 8px;
  padding: 8px; min-width: 230px; display: none;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.main-nav .menu-item-has-children:hover .sub-menu { display: block; }
.main-nav .sub-menu a {
  color: rgba(255,255,255,.8); font-size: .85rem; border-radius: 5px;
  padding: 10px 14px;
}
.main-nav .sub-menu a:hover { background: rgba(200,150,46,.15); color: var(--gold); }

.nav-cta { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; border-radius: 5px !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* Mobile toggle */
.mobile-toggle {
  display: none; margin-left: auto; padding: 8px;
  color: #fff; background: none; border: none; cursor: pointer;
}
.mobile-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* Mobile nav */
.mobile-nav-panel {
  display: none; position: fixed; inset: 0;
  background: var(--navy); z-index: 999;
  padding: 80px 28px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s;
}
.mobile-nav-panel.open { transform: none; }
.mobile-nav-panel .site-logo { margin-bottom: 2rem; }
.mobile-nav-panel a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; }
.mobile-nav-panel a:hover { color: var(--gold); }
.mobile-nav-panel .sub-menu { padding-left: 16px; display: block; position: static; background: none; border: none; box-shadow: none; }
.mobile-nav-panel .sub-menu a { font-size: .85rem; color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.04); }
.mobile-close { position: absolute; top: 18px; right: 20px; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }

/* ── PAGE HERO ── */
.page-hero {
  position: relative; padding: 130px 0 80px;
  background: var(--navy); overflow: hidden;
  min-height: 420px; display: flex; align-items: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: .15;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(4,16,31,1) 40%, rgba(10,27,53,.88) 100%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(200,150,46,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,150,46,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero-glow {
  position: absolute; top: -20%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,150,46,.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 680px; }
.page-hero-content h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); color: #fff; margin-bottom: .5rem; }
.page-hero-content h1 span { color: var(--gold); }
.page-hero-desc { color: rgba(255,255,255,.72); font-size: clamp(.9rem,1.5vw,1.08rem); max-width: 580px; margin-bottom: 2rem; }
.page-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 1.25rem; }
.breadcrumb a { color: rgba(255,255,255,.45); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

/* ── METRIC CARDS ── */
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.metric-card {
  background: #fff; border-radius: 10px; padding: 1.75rem;
  text-align: center; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: transform .25s, box-shadow .25s;
}
.metric-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.metric-icon { font-size: 1.6rem; margin-bottom: .5rem; }
.metric-val { font-family: 'Cormorant Garant', serif; font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1; }
.metric-label { font-size: .75rem; color: var(--text-mid); text-transform: uppercase; letter-spacing: .08em; margin-top: .35rem; }

/* ── PROGRAM CARDS ── */
.program-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.program-card-img { height: 200px; position: relative; overflow: hidden; }
.program-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.program-card:hover .program-card-img img { transform: scale(1.06); }
.program-card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--navy);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .7rem; border-radius: 4px;
}
.program-card-body { padding: 1.5rem; }
.program-card-icon { font-size: 2rem; margin-bottom: .75rem; }
.program-card-rate { font-family: 'Cormorant Garant', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: .2rem; }
.program-card-meta { font-size: .78rem; color: var(--text-mid); margin-bottom: .75rem; }
.program-card-desc { font-size: .87rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 1rem; }
.program-card-link { color: var(--gold); font-weight: 700; font-size: .83rem; display: flex; align-items: center; gap: 4px; }

/* ── PARAMS TABLE ── */
.params-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.params-table th { background: var(--navy); color: #fff; padding: .85rem 1.1rem; text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.params-table td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--border); font-size: .88rem; }
.params-table tr:nth-child(even) td { background: var(--off-white); }
.params-table td:first-child { font-weight: 600; color: var(--navy); }

/* ── CHECK LIST ── */
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: .9rem; color: var(--text-dark); border-bottom: 1px solid #f0f4f8; }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── TESTIMONIAL CARDS ── */
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border-left: 4px solid var(--gold); }
.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: .92rem; color: var(--text-dark); line-height: 1.8; font-style: italic; margin: .75rem 0 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar { width: 44px; height: 44px; background: var(--navy); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--navy); font-size: .88rem; margin-bottom: .1rem; }
.testimonial-role { font-size: .78rem; color: var(--text-mid); }
.testimonial-tag { display: inline-block; background: var(--off-white); border: 1px solid var(--border); color: var(--text-mid); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 10px; margin-top: .35rem; }

/* ── RATE CARDS ── */
.rate-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold); transition: transform .25s, box-shadow .25s; }
.rate-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rate-card-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: .4rem; }
.rate-card-rate { font-family: 'Cormorant Garant', serif; font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .35rem; }
.rate-card-detail { font-size: .82rem; color: var(--text-mid); line-height: 1.55; }

/* ── STEP CARDS ── */
.step-card { background: var(--off-white); border-radius: var(--radius-lg); padding: 2rem; border-top: 3px solid var(--gold); }
.step-num { font-family: 'Cormorant Garant', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: .65rem; }
.step-card h4 { color: var(--navy); margin-bottom: .5rem; font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 700; }
.step-card p { font-size: .87rem; color: var(--text-dark); line-height: 1.7; }

/* ── TEAM CARDS ── */
.team-card { background: rgba(255,255,255,.06); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid rgba(200,150,46,.15); }
.team-avatar { width: 64px; height: 64px; background: rgba(200,150,46,.15); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; font-family: 'Cormorant Garant', serif; margin-bottom: 1rem; border: 1px solid rgba(200,150,46,.3); }
.team-name { font-family: 'Cormorant Garant', serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.team-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; margin-bottom: .75rem; }
.team-bio { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.7; }

/* ── DEAL TOMBSTONES ── */
.deal-tombstone { background: var(--off-white); border-radius: var(--radius-lg); padding: 1.5rem; border-top: 3px solid var(--gold); }
.deal-tombstone-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-bottom: .5rem; display: block; }
.deal-tombstone-title { font-family: 'Cormorant Garant', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: .2rem; }
.deal-tombstone-loc { font-size: .78rem; color: var(--text-mid); margin-bottom: 1rem; }
.deal-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.deal-metric-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mid); margin-bottom: .15rem; }
.deal-metric-val { font-family: 'Cormorant Garant', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.deal-metric-val.gold { color: var(--gold); }

/* ── HIGHLIGHT BOX ── */
.highlight-box { background: var(--gold-pale); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.highlight-box p { font-size: .9rem; color: var(--navy); margin: 0; line-height: 1.75; }

/* ── CTA SECTIONS ── */
.cta-section { background: var(--navy); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(200,150,46,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(200,150,46,.03) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
.cta-section > .container { position: relative; z-index: 2; }
.cta-band { background: var(--gold); padding: 28px 0; }
.cta-band-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band-content h3 { font-family: 'Cormorant Garant', serif; color: var(--navy); margin-bottom: .3rem; font-size: 1.4rem; }
.cta-band-content p { font-size: .85rem; color: rgba(4,16,31,.7); margin: 0; }

/* ── RELATED PROGRAMS ── */
.related-program-card { background: rgba(255,255,255,.05); border-radius: 10px; padding: 1.5rem; border: 1px solid rgba(200,150,46,.15); cursor: pointer; transition: all .2s; display: flex; flex-direction: column; }
.related-program-card:hover { background: rgba(200,150,46,.08); border-color: var(--gold); transform: translateY(-3px); }
.related-program-card h4 { color: #fff; margin-bottom: .4rem; font-family: 'Outfit', sans-serif; font-size: .92rem; font-weight: 700; }
.related-program-card .rate { font-family: 'Cormorant Garant', serif; font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.related-program-card .meta { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: .25rem; }

/* ── FAQ ACCORDION ── */
.faq-list { }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; padding: 1.1rem 0; font-size: .95rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; }
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--gold); font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-question::after { content: '−'; transform: rotate(0deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; font-size: .9rem; color: var(--text-dark); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.1rem; }

/* ── FORMS ── */
.form-section-label { font-size: .75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; border-bottom: 1px solid var(--border); padding-bottom: .5rem; margin: 1.5rem 0 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); margin-bottom: .35rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'Outfit', sans-serif; font-size: .92rem; color: var(--navy); background: #fafbfd; transition: border-color .2s; box-sizing: border-box; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit-btn { width: 100%; padding: 1rem; background: var(--gold); color: var(--navy); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .95rem; border: none; border-radius: var(--radius); cursor: pointer; transition: all .2s; text-transform: uppercase; letter-spacing: .08em; }
.form-submit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* WPForms Overrides */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field select,
.wpforms-container .wpforms-field textarea { border: 1.5px solid var(--border) !important; border-radius: var(--radius) !important; font-family: 'Outfit', sans-serif !important; font-size: .92rem !important; color: var(--navy) !important; padding: .75rem 1rem !important; background: #fafbfd !important; }
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field select:focus,
.wpforms-container .wpforms-field textarea:focus { border-color: var(--gold) !important; outline: none !important; background: #fff !important; }
.wpforms-container .wpforms-submit { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; font-family: 'Outfit', sans-serif !important; text-transform: uppercase !important; letter-spacing: .08em !important; padding: 1rem 2rem !important; border-radius: var(--radius) !important; border: none !important; cursor: pointer !important; transition: all .2s !important; }
.wpforms-container .wpforms-submit:hover { background: var(--gold-light) !important; }
.wpforms-container .wpforms-field-label { font-size: .78rem !important; font-weight: 700 !important; text-transform: uppercase !important; letter-spacing: .06em !important; color: var(--navy) !important; }

/* ── LEGAL LAYOUT ── */
.legal-content-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.legal-sidebar { position: sticky; top: 100px; }
.legal-sidebar-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-mid); display: block; margin-bottom: 1rem; }
.legal-toc { }
.legal-toc li a { display: block; font-size: .83rem; color: var(--text-mid); padding: .5rem 0 .5rem .85rem; border-left: 2px solid var(--border); text-decoration: none; transition: all .2s; margin-bottom: 2px; }
.legal-toc li a:hover { color: var(--navy); border-left-color: var(--gold); }
.legal-body h3 { color: var(--navy); font-size: 1.08rem; margin: 1.75rem 0 .6rem; font-family: 'Outfit', sans-serif; font-weight: 700; }
.legal-body p, .legal-body ul { font-size: .9rem; color: var(--text-dark); line-height: 1.82; margin-bottom: 1.1rem; }
.legal-body ul { padding-left: 1.25rem; list-style: disc; }
.legal-body ul li { margin-bottom: .4rem; }

/* ── STATS STRIP ── */
.stats-strip { background: var(--navy); padding: 56px 0; }
.stat-item .val { font-family: 'Cormorant Garant', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-item .lab { font-size: .75rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }

/* ── FOOTER ── */
#site-footer { background: var(--navy); padding: 64px 0 32px; color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-family: 'Cormorant Garant', serif; font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: .75rem; display: block; }
.footer-brand span { color: var(--gold); }
.footer-brand-desc { font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 280px; margin-bottom: 1.25rem; }
.footer-contact-item { display: flex; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: .5rem; }
.footer-col-title { font-family: 'Outfit', sans-serif; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 1rem; display: block; }
.footer-nav ul { }
.footer-nav a { display: block; color: rgba(255,255,255,.5); font-size: .83rem; padding: .35rem 0; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ── BACK TO TOP ── */
#back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--gold); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(200,150,46,.4); transition: all .2s; z-index: 999; opacity: 0; transform: translateY(10px); border: none; font-size: 1rem; }
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .05s } .d2 { transition-delay: .12s } .d3 { transition-delay: .19s }
.d4 { transition-delay: .26s } .d5 { transition-delay: .33s } .d6 { transition-delay: .4s }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .legal-content-layout { grid-template-columns: 1fr; }
  .legal-sidebar { display: none; }
  .section { padding: 56px 0; }
  .page-hero { padding: 100px 0 60px; }
  .cta-band-content { flex-direction: column; text-align: center; }
  .params-table { font-size: .78rem; }
  #site-header { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr; }
  .page-hero-content h1 { font-size: 2rem; }
  .btn-lg { padding: 14px 24px; font-size: .85rem; }
  .container { padding: 0 16px; }
}
