/* ==========================================================================
   Attorneys House — site redesign
   Compact, modern layout. Replaces the old template's oversized section
   padding and the legacy slider/carousel look.
   ========================================================================== */

:root{
  --navy:        #0f2540;
  --navy-dark:   #0a1a2e;
  --navy-soft:   #16335a;
  --gold:        #b3892f;
  --gold-light:  #d9b45c;
  --ink:         #1c2530;
  --muted:       #667085;
  --bg:          #f7f6f3;
  --white:       #ffffff;
  --border:      #e7e4dd;
  --radius:      10px;
  --shadow:      0 10px 30px -14px rgba(15,37,64,.25);
  --shadow-lg:   0 24px 60px -20px rgba(15,37,64,.35);
  --header-h:    76px;
  --section-y:   72px;
}

@media (max-width: 767.98px){
  :root{ --header-h: 64px; --section-y: 44px; }
}

*{ box-sizing: border-box; }

/* Bootstrap caps .container at 1140px, which leaves large dead gutters on
   any normal monitor. Widen it so sections actually fill the viewport. */
.container{
  width: 100%;
  max-width: 1680px;
  padding-left: 28px;
  padding-right: 28px;
}
@media (max-width: 575.98px){
  .container{ padding-left: 18px; padding-right: 18px; }
}

html{ scroll-behavior: smooth; margin: 0; padding: 0; }

body{
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Sticky footer: #main grows to fill the viewport on short pages (like the
   auth forms) so #site-footer always sits at the bottom, never floating. */
#main{ flex: 1 0 auto; display: flex; flex-direction: column; }
#site-footer{ flex-shrink: 0; }

h1, h2, h3, h4, h5, .font-serif{
  font-family: 'Merriweather', Georgia, serif;
  color: var(--navy);
  font-weight: 700;
}

a{ color: var(--navy); }
a:hover{ color: var(--gold); text-decoration: none; }

img{ max-width: 100%; }

/* ---------- Utility ---------- */
.section{ padding: var(--section-y) 0; scroll-margin-top: var(--header-h); }
.section-tight{ padding: calc(var(--section-y) * 0.55) 0; scroll-margin-top: var(--header-h); }
.bg-alt{ background: var(--bg); }
.bg-navy{ background: var(--navy); color: rgba(255,255,255,.92); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4{ color: #fff; }

.eyebrow{
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}

.section-head{ max-width: 640px; margin-bottom: 2.25rem; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: 1.9rem; margin-bottom: .6rem; }
.section-head p{ color: var(--muted); margin-bottom: 0; }

.btn-gold{
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: 6px;
  transition: .2s ease;
}
.btn-gold:hover{ background: var(--gold-light); border-color: var(--gold-light); color: #fff; }

.btn-outline-light-custom{
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: 6px;
  transition: .2s ease;
}
.btn-outline-light-custom:hover{ background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn-navy{
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  font-weight: 600;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  transition: .2s ease;
}
.btn-navy:hover{ background: var(--navy-soft); color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
#site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow .2s ease;
}
#site-header.is-scrolled{ box-shadow: 0 6px 24px rgba(0,0,0,.25); }

#site-header .navbar{ height: var(--header-h); padding: 0; }
#site-header .navbar-brand img{ max-height: 40px; }
#site-header .navbar-brand small{
  display: block;
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--gold-light);
  text-transform: uppercase;
}

#site-header .nav-link{
  color: rgba(255,255,255,.85) !important;
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem 1rem !important;
}
#site-header .nav-link:hover,
#site-header .nav-link.active{ color: #fff !important; }
#site-header .nav-link.cta{
  color: #fff !important;
  background: var(--gold);
  border-radius: 6px;
  padding: .5rem 1.1rem !important;
  margin-left: .25rem;
}
#site-header .nav-link.cta:hover{ background: var(--gold-light); }

#site-header .navbar-toggler{
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}
#site-header .navbar-toggler .fa{ color: #fff; }

@media (max-width: 991.98px){
  #site-header .navbar-collapse{
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: 0 12px 24px rgba(0,0,0,.25);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  #site-header .nav-link.cta{ margin-left: 0; display: inline-block; margin-top: .5rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 82% 18%, rgba(179,137,47,.28), transparent 45%);
  pointer-events: none;
  z-index: 1;
}
.hero-slides{
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero-slide.is-active{ opacity: 1; }
.hero-overlay{
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(155deg, rgba(15,37,64,.88) 0%, rgba(15,37,64,.75) 55%, rgba(22,51,90,.65) 100%);
}
.hero .container{ position: relative; z-index: 2; }
.hero-eyebrow{
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .8rem;
}
.hero h1{
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  margin: .75rem 0 1rem;
}
.hero h1 em{ color: var(--gold-light); font-style: normal; }
.hero p.lead{
  color: rgba(255,255,255,.82);
  max-width: 560px;
  font-size: 1.08rem;
  margin-bottom: 1.9rem;
}
.hero .btn-gold, .hero .btn-outline-light-custom{ margin-right: .75rem; margin-bottom: .5rem; }

@media (max-width: 767.98px){
  .hero{ min-height: 62vh; padding: 2.5rem 0; }
}

/* Quick facts strip under hero */
.facts-strip{
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.fact-item{
  display: flex;
  align-items: center;
  gap: .9rem;
}
.fact-item i{
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.15rem;
}
.fact-item h6{ margin: 0; color: var(--navy); font-family: 'Merriweather', serif; font-size: .95rem; }
.fact-item p{ margin: 0; color: var(--muted); font-size: .82rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-figure{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2.5rem;
}
.about-figure img{ max-width: 220px; }
.about-copy p{ color: var(--muted); line-height: 1.75; }
.about-copy p:first-of-type{ color: var(--ink); font-size: 1.05rem; }

/* ==========================================================================
   Practice areas / services
   ========================================================================== */
.practice-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.practice-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.practice-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.practice-media{
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
}
.practice-media img{ width: 100%; height: 100%; object-fit: cover; }
.practice-media i{
  color: var(--gold-light);
  font-size: 1.9rem;
}
.practice-body{ padding: 1.3rem 1.4rem 1.5rem; }
.practice-card h5{ font-size: 1rem; margin-bottom: .4rem; }
.practice-card p{ color: var(--muted); font-size: .88rem; margin: 0; }

.pillars-row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.pillar{
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--bg);
}
.pillar i{ color: var(--gold); font-size: 1.6rem; margin-bottom: .6rem; display: block; }
.pillar h6{ color: var(--navy); font-family: 'Merriweather', serif; margin-bottom: .35rem; }
.pillar p{ color: var(--muted); font-size: .85rem; margin: 0; }

/* ==========================================================================
   Team teaser (home) + Team grid (team page)
   ========================================================================== */
.team-teaser-row{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  max-width: 780px;
}
.team-teaser-row .avatar{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}
.team-teaser-row figcaption{ text-align: center; margin-top: .6rem; font-size: .85rem; color: var(--muted); }

.page-banner{
  background: linear-gradient(155deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 3rem 0 2.5rem;
  scroll-margin-top: var(--header-h);
}
.page-banner .eyebrow{ color: var(--gold-light); }
.page-banner h1{ color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .4rem; }
.page-banner p{ color: rgba(255,255,255,.75); margin: 0; max-width: 620px; }

.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.team-card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.team-card .photo{
  height: 230px;
  overflow: hidden;
  background: var(--bg);
}
.team-card .photo img{ width: 100%; height: 100%; object-fit: cover; }
.team-card .photo-fallback{
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
}
.team-card .photo-fallback i{ color: rgba(255,255,255,.85); font-size: 2.6rem; }
.team-card .body{ padding: 1.1rem 1rem 1.4rem; }
.team-card h6{ margin-bottom: .2rem; font-size: .98rem; }
.team-card .role{ color: var(--gold); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .8rem; display: block; }

/* Team member profile page */
.profile-photo{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.profile-photo img{ width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.profile-photo .photo-fallback{
  width: 100%; aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
}
.profile-photo .photo-fallback i{ color: rgba(255,255,255,.85); font-size: 3.4rem; }

.profile-contact{
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.profile-contact .line{ display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .92rem; }
.profile-contact .line:last-child{ margin-bottom: 0; }
.profile-contact .line i{ color: var(--gold); width: 16px; margin-top: .2rem; }
.profile-contact .line a{ color: var(--ink); }
.profile-contact .line a:hover{ color: var(--gold); }

.profile-back{ font-weight: 600; font-size: .88rem; }
.profile-back i{ margin-right: .4rem; }

.profile-bio h6{ font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.1rem; }
.profile-bio ul{ padding-left: 1.15rem; margin: 0; }
.profile-bio li{ margin-bottom: 1rem; line-height: 1.75; color: var(--ink); }
.profile-bio li:last-child{ margin-bottom: 0; }
.profile-bio p{ line-height: 1.8; color: var(--ink); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-card{
  background: var(--navy);
  color: rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.contact-card h5{ color: #fff; }
.contact-line{ display: flex; gap: .85rem; margin-bottom: 1.1rem; align-items: flex-start; }
.contact-line i{ color: var(--gold-light); margin-top: .2rem; width: 18px; }
.contact-line span{ color: rgba(255,255,255,.85); font-size: .92rem; line-height: 1.5; }
.contact-card .map-embed{ border-radius: 8px; overflow: hidden; margin-top: 1.4rem; border: 1px solid rgba(255,255,255,.15); }
.contact-card .map-embed iframe{ width: 100%; height: 180px; display: block; border: 0; }

.contact-form-wrap{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-form-wrap .form-control{
  border-radius: 6px;
  border-color: var(--border);
  padding: .65rem .85rem;
}
.contact-form-wrap .form-control:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179,137,47,.15);
}
.contact-form-wrap label{ font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }

/* ==========================================================================
   Articles — list
   ========================================================================== */
.articles-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.article-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.article-banner{
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.article-banner img{ width: 100%; height: 100%; object-fit: cover; }
.article-banner i{ color: rgba(255,255,255,.85); font-size: 2.6rem; }
.article-card .card-body{ padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.article-card .meta{ font-size: .78rem; color: var(--muted); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .03em; }
.article-card h5{ font-size: 1.08rem; margin-bottom: .6rem; line-height: 1.35; }
.article-card p.excerpt{ color: var(--muted); font-size: .9rem; flex: 1; margin-bottom: 1rem; }
.article-card .read-more{ font-weight: 700; font-size: .85rem; color: var(--navy); }
.article-card .read-more i{ margin-left: .3rem; transition: transform .15s ease; }
.article-card:hover .read-more i{ transform: translateX(3px); }

.empty-state{
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}
.empty-state i{ font-size: 2.4rem; color: var(--border); margin-bottom: 1rem; display: block; }

/* Premium badge */
.premium-badge{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--gold);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(179,137,47,.35);
}
.premium-badge-lg{ margin-top: .75rem; font-size: .78rem; background: var(--gold); color: #fff; box-shadow: none; }
.reaction-mini{ font-size: .82rem; color: var(--muted); }

/* Article hero banner (single article view) */
.article-hero{
  height: 220px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.article-hero img{ width: 100%; height: 100%; object-fit: cover; }
.article-hero i{ color: rgba(255,255,255,.85); font-size: 3.4rem; }

/* Like / dislike reaction buttons */
.reaction-bar{ display: flex; gap: .5rem; }
.reaction-btn{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  transition: .15s ease;
}
.reaction-btn:hover{ border-color: var(--gold); color: var(--navy); }
.reaction-btn.active{ background: var(--navy); color: #fff; border-color: var(--navy); }
.reaction-btn i{ margin-right: .35rem; }

/* Locked / premium article panel */
.article-locked{
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
}
.article-locked i{ font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.article-locked h4{ margin-bottom: .6rem; }
.article-locked p{ color: var(--muted); max-width: 480px; margin: 0 auto .5rem; }
.unlock-form{
  display: flex;
  gap: .6rem;
  max-width: 420px;
  margin: 1.5rem auto 0;
}
.unlock-form .form-control{ border-radius: 6px; }
@media (max-width: 480px){
  .unlock-form{ flex-direction: column; }
}

/* ==========================================================================
   Articles — single view
   ========================================================================== */
.article-sidebar{
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
}
@media (min-width: 768px){
  .article-sidebar{ position: sticky; top: calc(var(--header-h) + 24px); }
}
.article-sidebar h6{ font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: .75rem; }
.article-sidebar h6:not(:first-child){ margin-top: 1.5rem; }
.article-sidebar .nav-link{ padding: .3rem 0; font-size: .88rem; color: var(--muted); }
.article-sidebar .nav-link:hover{ color: var(--navy); }

.article-wrapper .article-title{ font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.article-wrapper .article-meta{ color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.article-wrapper .article-tools{ font-size: .88rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.article-wrapper .article-tools a{ color: var(--navy); font-weight: 600; margin-right: 1rem; }
.article-wrapper .article-content{ font-size: 1rem; line-height: 1.8; color: var(--ink); }
.article-wrapper .article-content img{ border-radius: 8px; margin: 1rem 0; }
.article-wrapper .share-buttons{ margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .88rem; }
.article-wrapper .share-buttons a{ margin-right: 1rem; font-weight: 600; }

@media print{
  #site-header, .article-sidebar, .share-buttons, #site-footer, .back-to-top{ display: none !important; }
  body{ padding-top: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
#site-footer{
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 2.75rem 0 1.25rem;
}
#site-footer h6{ color: #fff; font-family: 'Merriweather', serif; font-size: .95rem; margin-bottom: .9rem; }
#site-footer p{ font-size: .87rem; margin-bottom: .4rem; color: rgba(255,255,255,.65); }
#site-footer a{ color: rgba(255,255,255,.75); }
#site-footer a:hover{ color: var(--gold-light); }
#site-footer .social-link{
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  margin-right: .5rem;
}
#site-footer .social-link:hover{ background: var(--gold); }
#site-footer hr{ border-color: rgba(255,255,255,.12); margin: 1.75rem 0 1.1rem; }
#site-footer .fine-print{ font-size: .78rem; color: rgba(255,255,255,.5); }
#site-footer .fine-print a{ color: rgba(255,255,255,.65); }

/* Back to top */
.back-to-top{
  position: fixed;
  right: 22px; bottom: 22px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: .25s ease;
  z-index: 1020;
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover{ background: var(--gold-light); color: #fff; }

/* Generic auth/dashboard card pages that still extend this layout */
main .card{ border-radius: var(--radius); border-color: var(--border); }

/* ==========================================================================
   Auth pages (login, register, password reset, email verification)
   ========================================================================== */
.auth-section{
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
  background: var(--bg);
}
.auth-shell{
  display: flex;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.auth-brand{
  flex: 1 1 42%;
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.75rem;
  position: relative;
  overflow: hidden;
}
.auth-brand::before{
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(179,137,47,.3), transparent 45%);
  pointer-events: none;
}
.auth-brand-logo{ max-width: 190px; margin-bottom: 2rem; position: relative; z-index: 1; }
.auth-brand h2{ color: #fff; font-size: 1.5rem; margin-bottom: .75rem; position: relative; z-index: 1; }
.auth-brand p{ color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.6; position: relative; z-index: 1; margin: 0; }

.auth-card{
  flex: 1 1 58%;
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-card h1{ font-size: 1.5rem; margin-bottom: .4rem; }
.auth-card .auth-subtitle{ color: var(--muted); font-size: .88rem; margin-bottom: 1.5rem; }
.auth-card label{ font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.auth-card .form-control{ border-radius: 6px; border-color: var(--border); padding: .6rem .85rem; }
.auth-card .form-control:focus{ border-color: var(--gold); box-shadow: 0 0 0 3px rgba(179,137,47,.15); }
.auth-card .btn-gold{ width: 100%; }
.auth-card .auth-links{ margin-top: 1.25rem; font-size: .88rem; }
.auth-card .auth-links a{ color: var(--navy); font-weight: 600; }
.auth-card .auth-links a:hover{ color: var(--gold); }
.auth-card .form-check-label{ font-size: .88rem; color: var(--muted); }

@media (max-width: 767.98px){
  .auth-section{ padding: 0; background: var(--white); }
  .auth-shell{ flex-direction: column; box-shadow: none; border-radius: 0; max-width: none; }
  .auth-brand{ padding: 2.5rem 1.75rem; text-align: center; align-items: center; }
  .auth-brand-logo{ margin: 0 auto 1.5rem; }
  .auth-card{ padding: 2.5rem 1.75rem; }
}
