/* ==========================================================================
   Borton Law — brand stylesheet
   ========================================================================== */

:root {
  --navy: #182c47;
  --navy-dark: #101d30;
  --navy-light: #23395c;
  --gold: #b08d4f;
  --gold-light: #c9a768;
  --cream: #f6f3ee;
  --body-gray: #5c6572;
  --heading-serif: "Playfair Display", "Georgia", serif;
  --body-sans: "Plus Jakarta Sans", "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--body-sans);
  color: var(--body-gray);
}

h1, h2, h3, h4,
.font-serif {
  font-family: var(--heading-serif);
  color: var(--navy);
}

.text-gold {
  color: var(--gold) !important;
}

.bg-navy {
  background-color: var(--navy) !important;
}

.bg-cream {
  background-color: var(--cream) !important;
}

.eyebrow {
  display: inline-block;
  font-family: var(--body-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-underline {
  display: block;
  width: 56px;
  height: 3px;
  background-color: var(--gold);
  margin-top: 0.75rem;
}

.section-underline.mx-auto {
  margin-top: 0.75rem;
}

.section-title {
  margin-bottom: 0;
}

.section-heading {
  max-width: 640px;
}

.section-py {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 767.98px) {
  .section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.btn-navy {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.75rem;
}

.btn-navy:hover,
.btn-navy:focus {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  color: #fff;
}

.btn-gold {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.75rem;
}

.btn-gold:hover,
.btn-gold:focus {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: #fff;
}

.btn-outline-navy {
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: #fff;
}

/* ---------- Header / Navigation ---------- */

#header {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(16, 29, 48, 0.08);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-brand i {
    color: var(--gold);
    font-size: 38px;
}

#nav-logo {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text .brand-name {
  font-family: var(--heading-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-text .brand-tagline {
  font-family: var(--body-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--navy);
  padding: 0.5rem 0.9rem;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--gold);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(16, 29, 48, 0.88) 0%, rgba(16, 29, 48, 0.55) 55%, rgba(16, 29, 48, 0.25) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 480px;
  color: #dde3ec;
}

.hero-badge {
  margin-top: 2.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 0.5rem;
  padding: 1.1rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 260px;
}

.hero-badge i {
  font-size: 1.6rem;
  color: var(--gold);
}

.hero-badge .hero-badge-num {
  font-family: var(--heading-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-badge .hero-badge-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #cfd7e3;
}

/* ---------- Practice Area Cards ---------- */

.practice-card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(16, 29, 48, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(16, 29, 48, 0.14);
}

.practice-card-img {
  position: relative;
  height: 190px;
}

.practice-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-card-icon {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16, 29, 48, 0.15);
  font-size: 1.4rem;
  color: var(--navy);
}

.practice-card-body {
  padding: 2.75rem 1.75rem 1.75rem;
  text-align: center;
}

.practice-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.link-arrow {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.link-arrow i {
  transition: transform 0.2s ease;
}

.link-arrow:hover {
  color: var(--gold);
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* ---------- About ---------- */

.about-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-height: 560px;
  min-height: 320px;
}

.about-copy p {
  color: #c3cbda;
}

.about-copy .eyebrow {
  color: var(--gold-light);
}

.stats-section {
  background-color: #fff;
  border-bottom: 1px solid #eceae4;
}

.stats-section .row > div {
  border-left: 1px solid #eceae4;
}

@media (max-width: 991.98px) {
  .stats-section .row > div:nth-child(odd) {
    border-left: none;
  }
}

@media (min-width: 992px) {
  .stats-section .row > div:first-child {
    border-left: none;
  }
}

.stat-item i {
  font-size: 1.6rem;
  color: var(--gold);
  margin: 0 auto 0.75rem;
}

.stat-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

.accordion-item {
  border: none;
  border-bottom: 1px solid #e4e1da;
}

.accordion-button {
  font-family: var(--heading-serif);
  font-weight: 700;
  color: var(--navy);
  background-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.accordion-button:not(.collapsed) {
  color: var(--gold);
  background-color: transparent;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding-left: 0;
  padding-right: 2.5rem;
}

/* ---------- Testimonials ---------- */

.testimonial-card {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 6px 24px rgba(16, 29, 48, 0.08);
}

.testimonial-card .stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.testimonial-card p.quote {
  font-style: italic;
  color: var(--body-gray);
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Contact / Consultation Form ---------- */

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

.contact-info-item i {
  color: var(--gold);
  font-size: 1.2rem;
  width: 28px;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-info-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.contact-form-card {
  background-color: var(--navy);
  border-radius: 0.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 32px rgba(16, 29, 48, 0.1);
}

.contact-form-card .form-label {
  color: #fff;
}

.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.form-control,
.form-select {
  border-color: #d9d4c9;
  padding: 0.65rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 0.2rem rgba(24, 44, 71, 0.12);
}

#formStatus.d-none {
  display: none !important;
}

/* ---------- CTA Banner ---------- */

.cta-banner {
  background-color: var(--navy);
}

.cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cta-banner h3 {
  color: #fff;
  margin-bottom: 0.15rem;
  font-size: 1.4rem;
}

.cta-banner p {
  color: #c3cbda;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

footer.site-footer {
  background-color: var(--navy-dark);
  color: #b7bfcc;
}

.site-footer h5 {
  color: #fff;
  font-family: var(--heading-serif);
  margin-bottom: 1.25rem;
}

.site-footer a {
  color: #b7bfcc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.site-footer .footer-links li {
  margin-bottom: 0.6rem;
}

.site-footer p {
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-brand i {
    color: var(--gold);
    font-size: 38px;
}

.footer-brand img {
  height: 42px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.social-links a:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.8rem !important;
}

.footer-disclaimer {
  font-size: 0.76rem;
  color: #7c8497;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .hero {
    min-height: 70vh;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .practice-card {
    margin-bottom: 2rem;
  }

  .about-section img {
    min-height: 260px;
    margin-top: 2.5rem;
    max-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .about-section img {
    max-height: 320px;
  }

  .contact-form-card {
    padding: 1.75rem;
  }

  .cta-banner .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner .cta-button-wrap {
    margin-top: 1.25rem;
  }
}
