/* =========================================================
   BK Accounting and Tax LLC
   Professional Navy + Gold Website
   ========================================================= */

:root {
  --navy: #0b2d52;
  --navy-dark: #071f3b;
  --navy-light: #164b7a;
  --gold: #c99a24;
  --gold-light: #e3bd5a;
  --cream: #f8f5ee;
  --light: #f4f7fa;
  --white: #ffffff;
  --text: #172033;
  --muted: #5f6875;
  --border: #dce3ea;
  --shadow: 0 12px 32px rgba(11, 45, 82, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ================= HEADER ================= */

.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.1px;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.main-nav > a:not(.button) {
  color: var(--white);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.main-nav > a:not(.button):hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
}

/* ================= BUTTONS ================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 25px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 750;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 45, 82, 0.15);
}

.button-small {
  min-height: 42px;
  padding: 9px 20px;
}

.button-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.button-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ================= HERO ================= */

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,1) 0%,
      rgba(248,250,252,1) 56%,
      rgba(238,243,248,1) 100%
    );
  padding: 92px 0 105px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -250px;
  top: -240px;
  border: 70px solid rgba(201, 154, 36, 0.10);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 80px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

/* ================= HERO BENEFITS ================= */

.hero-points {
  background: var(--white);
  padding: 35px;
  border-radius: 16px;
  border-top: 5px solid var(--gold);
  box-shadow: var(--shadow);
}

.hero-points p {
  position: relative;
  margin: 0;
  padding: 17px 0 17px 36px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.hero-points p:last-child {
  border-bottom: 0;
}

.hero-points p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 900;
}

/* ================= GENERAL SECTIONS ================= */

section {
  scroll-margin-top: 90px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--light);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading h2,
.section h2 {
  margin: 0 0 17px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.15;
}

.section-dark h2 {
  color: var(--white);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

/* ================= ABOUT ================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.85;
  text-align: justify;
}

.about-card {
  padding: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  border-bottom: 5px solid var(--gold);
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
}

.about-card p {
  color: rgba(255,255,255,0.82);
}

/* ================= SERVICES ================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 31px 28px;
  border: 1px solid var(--border);
  border-radius: 13px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 8px 25px rgba(11,45,82,0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* ================= TRUST / FEATURES ================= */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.trust-item {
  text-align: center;
  padding: 28px 20px;
}

.trust-item strong {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.trust-item p {
  margin: 0;
  color: rgba(255,255,255,0.80);
}

/* ================= CONTACT ================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-details p {
  margin: 8px 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  font-weight: 750;
  color: var(--navy);
}

/* ================= FOOTER ================= */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.78);
  padding: 40px 0;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.site-footer p {
  margin: 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .hero {
    padding: 70px 0 80px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(2.5rem, 8vw, 4rem);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav-wrap {
    min-height: 72px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-logo {
  width: 42px;
  height: 42px;
}

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 24px;
    background: var(--navy);
    border-bottom: 3px solid var(--gold);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    text-align: center;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 1.08;
  }

  .hero-copy {
    font-size: 1.03rem;
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    padding: 24px;
  }

  .section {
    padding: 65px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== Header final alignment corrections ===== */

.site-header .container {
  width: min(1280px, calc(100% - 48px));
}

.nav-wrap {
  min-height: 76px;
  gap: 24px;
}

.brand {
  flex: 0 1 auto;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-logo {
  flex: 0 0 48px;
}

.main-nav {
  flex: 1;
  justify-content: flex-end;
  gap: 28px;
  white-space: nowrap;
}

.main-nav > a:not(.button) {
  white-space: nowrap;
  font-size: 0.95rem;
}

.main-nav .button {
  min-height: 44px;
  padding: 10px 20px;
  white-space: nowrap;
  font-size: 0.94rem;
  border-radius: 8px;
}

/* Prevent header elements from becoming oversized */
@media (min-width: 901px) {
  .brand {
    max-width: 430px;
  }

  .main-nav {
    flex-wrap: nowrap;
  }
}
/* HERO TEXT VISIBILITY FIX */
.hero-grid > div:first-child {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 5 !important;
}

.hero .eyebrow,
.hero h1,
.hero .hero-copy,
.hero .hero-actions {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero .hero-actions {
  display: flex !important;
}
/* ===== Match new hero HTML structure ===== */

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 1rem;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.gold-accent {
  width: 72px;
  height: 4px;
  margin: 0 0 24px;
  background: var(--gold);
  border-radius: 999px;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.benefit {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(201,154,36,0.55);
}

.benefit:last-child {
  border-bottom: 0;
}

.benefit-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff8e8;
  border: 1px solid rgba(201,154,36,0.35);
}

.benefit-icon svg {
  width: 30px !important;
  height: 30px !important;
  display: block;
  fill: var(--navy-dark);
}

.benefit h3 {
  margin: 0 0 7px;
  color: var(--navy-dark);
  font-size: 1.15rem;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.button-icon {
  margin-right: 8px;
  font-size: 0.9em;
}

@media (max-width: 900px) {
  .hero-benefits {
    max-width: 650px;
  }
}

@media (max-width: 720px) {
  .benefit {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }

  .benefit-icon {
    width: 54px;
    height: 54px;
  }

  .benefit-icon svg {
    width: 25px !important;
    height: 25px !important;
  }
}
/* ===== BK About Section Text Fix ===== */

.about-copy,
.about-copy p,
.about-text,
.about-text p {
  text-align: left !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}
/* ===== Trust Section Final Layout Fix ===== */

.trust-section {
  padding: 70px 0;
  background: #f8fafc;
}

.trust-section .section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.trust-section .section-heading h2 {
  margin: 0 0 14px;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.trust-item {
  padding: 28px 22px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 45, 82, 0.06);
}

.trust-item h3 {
  margin: 12px 0 8px;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.trust-item p {
  margin: 0;
  color: var(--muted) !important;
  font-size: 0.95rem;
  line-height: 1.65;
}

.trust-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff8e8;
  border: 1px solid rgba(201, 154, 36, 0.45);
  color: var(--gold);
  font-size: 0;
}

.trust-icon::before {
  content: "✓";
  font-size: 1.3rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .trust-section {
    padding: 55px 0;
  }
}
/* ===== Sticky Header Section Offset Fix ===== */

section[id] {
  scroll-margin-top: 110px;
}
/* ===== Footer Links Fix ===== */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  display: block;
  text-decoration: none;
}
/* ===== Hero Typography Proportion Fix ===== */

.hero h1 {
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 820px;
  text-wrap: balance;
}

.hero-copy p,
.hero-text p,
.hero-description {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}

/* Tablet */
@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(2.7rem, 7vw, 4.2rem);
  }
}

/* Mobile */
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: -0.025em;
  }

  .hero-copy p,
  .hero-text p,
  .hero-description {
    text-align: left;
  }
}
/* ===== Final Hero Headline Proportion ===== */

@media (min-width: 901px) {
  .hero h1 {
    font-size: clamp(2.5rem, 2.8vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    max-width: 700px;
  }
}
/* ===== Hero Vertical Spacing Fix ===== */

@media (min-width: 901px) {
  .hero {
    padding-top: 75px;
padding-bottom: 55px;
  }
}
/* ===== Hero Top Alignment Fix ===== */

@media (min-width: 901px) {
  .hero-grid {
    align-items: start;
  }
}
/* ===== Hero Action Buttons - Final Polish ===== */

@media (min-width: 901px) {
  .hero-actions .button {
    width: auto;
    min-width: 190px;
    min-height: 48px;
    padding: 11px 24px;
    font-size: 0.96rem;
    font-weight: 700;
  }

  .hero-actions .button + .button {
    background: transparent;
    color: var(--navy-dark);
    border: 2px solid var(--gold);
  }

  .hero-actions .button + .button:hover {
    background: var(--gold-light);
    color: var(--navy-dark);
  }
}
/* ===== Footer Final Layout ===== */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 22px;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.footer-brand,
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand strong,
.footer-links strong,
.footer-contact strong {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  line-height: 1.6;
}

.footer-links {
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-contact {
  gap: 10px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

/* Footer Tablet / Mobile */
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    margin-top: 28px;
  }
}
/* ===== Contact Action Alignment Fix ===== */

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-actions .button,
.contact-actions .phone-link,
.contact-actions .email-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  line-height: 1.2;
}

.contact-actions .phone-link,
.contact-actions .email-link {
  text-decoration: none;
  color: var(--navy-dark);
}

.contact-actions .phone-link {
  font-weight: 700;
}

@media (max-width: 700px) {
  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-actions .button,
  .contact-actions .phone-link,
  .contact-actions .email-link {
    min-height: auto;
  }
/* ===== Contact Section Final Position Fix ===== */

#contact {
  scroll-margin-top: 120px;
}

#contact.section {
  padding-top: 48px;
  padding-bottom: 10px;
   margin-bottom: 0px
}
