/* ============================================================
   Claude E. Bharath & Company — main.css
   Faithfully converted from the approved Tailwind/React design.
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --navy:        #1B3A6B;
  --navy-dark:   #142d54;
  --navy-footer: #12284d;
  --accent:      #C8A96E;
  --text:        #1E293B;
  --muted:       #4A5568;
  --bg-light:    #F7F9FC;
  --border:      #E2E8F0;
  --grey-blue:   #94A3B8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --container-max: 1200px;
  --header-h:    72px;
}

/* ── Base / Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul { list-style: none; }

address { font-style: normal; }

/* ── Utility ────────────────────────────────────────────────── */
.site-container {
  max-width: var(--container-max);
  margin-left:  auto;
  margin-right: auto;
  padding-left:  20px;
  padding-right: 20px;
}

.section {
  padding-top:    64px;
  padding-bottom: 64px;
}

.section--white { background: #fff; }
.section--light { background: var(--bg-light); }

.text-center { text-align: center; }

/* Accent decorative line */
.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
}

.accent-line--center {
  margin-left:  auto;
  margin-right: auto;
}

/* Section header block (centered intro) */
.section-header {
  max-width: 600px;
  margin-left:  auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow--white-dim {
  color: rgba(255,255,255,0.70);
}

.section-heading {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 24px;
}

.section-subtext {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.section-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Fade-up animation (triggered by IntersectionObserver) */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 32px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}

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

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.10); }

.btn--white {
  background: #fff;
  color: var(--navy);
}
.btn--white:hover { background: rgba(255,255,255,0.90); }

.badge--navy {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
}

/* Services checklist */
.services-list { display: flex; flex-direction: column; gap: 14px; }

.services-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.services-list__item svg { flex-shrink: 0; margin-top: 3px; }

.services-list__item span {
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
}

.services-list--white .services-list__item span { color: rgba(255,255,255,0.90); }

/* Image frame */
.img-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.img-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
.bounce-slow { animation: bounce-slow 2s ease-in-out infinite; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  border-color: transparent;
}

.site-header__inner {
  max-width: var(--container-max);
  margin: auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-header__logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.site-header__name--short { display: none; }
.site-header__name--full  { display: block; }

/* Desktop nav */
.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: 28px; list-style: none; }
.site-nav__list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}
.site-nav__list a:hover { color: var(--accent); }
.site-nav__list li.current-menu-item > a { color: var(--accent); }

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-nav-cta:hover { background: var(--navy-dark); color: #fff; }

/* Mobile toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 0;
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 8px 24px;
  z-index: 99;
}

.mobile-drawer.is-open { display: flex; flex-direction: column; }

.mobile-drawer__list { list-style: none; }
.mobile-drawer__list li a {
  display: flex;
  align-items: center;
  height: 48px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--bg-light);
}
.mobile-drawer__list li:last-child a { border-bottom: none; }

.mobile-drawer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 16px 0;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  min-height: clamp(560px, 80vh, 720px);
  padding-top: var(--header-h);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(27,58,107,0.78) 0%, rgba(27,58,107,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  margin: auto;
  padding: 64px 20px;
  text-align: center;
  color: #fff;
}

.hero__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.85);
}

.hero__heading {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  font-size: clamp(36px, 5.5vw, 54px);
}

.hero__text {
  margin-top: 24px;
  font-size: 17px;
  color: rgba(255,255,255,0.90);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero__chevron {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #fff;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-grid__content,
.about-grid__image { width: 100%; }

/* ── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.services-panel {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--border);
}

.services-panel__title {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
}

.services-panel__rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 32px;
}

/* Mini sub-section inside the Accounting Services card — set apart from the
   list above it with a top divider and generous spacing, so it reads as its
   own distinct block rather than a continuation of the final bullet. */
.services-panel__note {
  margin-top: 30px; /* breathing room above the divider; widened on desktop, see responsive.css */
  padding-top: 18px; /* space between the divider and the CROS heading */
  border-top: 1px solid var(--border);
}

.services-panel__note-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

.services-panel__note-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ── IMAGE STATEMENT SECTION ──────────────────────────────────
   Replaces the retired Property Tax section. The image itself
   carries the message text, so the crop is chosen to always keep
   the subjects and that embedded text visible: bottom-anchored on
   desktop (crops any excess from the top), and a shorter, distinct
   crop for mobile via a separate <img>. No overlay is placed over
   the image so the embedded text is never obscured.               */

.image-statement {
  line-height: 0; /* removes the stray whitespace gap under inline <img> elements */
}

.image-statement__img {
  display: block;
  width: 100%;
  height: auto; /* natural aspect ratio preserved — never cropped to a fixed box */
}

.image-statement__img--desktop { display: none; } /* shown from tablet breakpoint up; see responsive.css */

/* ── WHY CHOOSE US ──────────────────────────────────────────── */
.wycu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.wycu-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wycu-card:hover {
  border-color: rgba(27,58,107,0.25);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.wycu-card__icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #fff;
}

.wycu-card__title {
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 12px;
}

.wycu-card__body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA ────────────────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 80px 20px;
  text-align: center;
}

.cta-section__inner {
  max-width: 640px;
  margin: auto;
}

.cta-section__heading {
  font-size: clamp(26px, 4vw, 38px);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.25;
}

.cta-section__text {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  line-height: 1.65;
  margin-bottom: 40px;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-col-heading {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-col-heading--info {
  font-size: 26px;
  margin-bottom: 28px;
}

.contact-col-subtext {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

/* Form elements */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-required { color: #e53e3e; margin-left: 2px; }
.form-optional { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--navy); }
.form-input.has-error { border-color: #e53e3e; }
.form-input[aria-invalid="true"] { border-color: #e53e3e; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.form-error {
  display: block;
  font-size: 13px;
  color: #e53e3e;
  margin-top: 6px;
  min-height: 18px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
  text-align: center;
}

/* Contact form submit button */
.btn-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.btn-form-submit:hover { background: var(--navy-dark); }
.btn-form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Honeypot field — hidden from sighted/mouse users, left in the tab flow
   only far off-screen so screen readers relying on hidden containers
   don't announce it as a real field. Bots that fill every input trip it. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submission status banners */
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.form-status--success {
  background: rgba(34,139,87,0.1);
  color: #1b6b43;
  border: 1px solid rgba(34,139,87,0.25);
}
.form-status--error {
  background: rgba(197,48,48,0.08);
  color: #9b2226;
  border: 1px solid rgba(197,48,48,0.25);
}

/* Contact info items */
.contact-info-list { display: flex; flex-direction: column; gap: 28px; margin-bottom: 32px; }

.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  color: var(--navy);
}

.contact-info-item__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.contact-info-item__value {
  display: block;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.55;
  text-decoration: none;
}
.contact-info-item__value:hover { text-decoration: underline; }
.contact-info-item__value--text { color: var(--text); }
.contact-info-item__value--text:hover { text-decoration: none; cursor: default; }

.contact-info-item__address { margin: 0; }

/* Google Map */
.contact-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}
.contact-map iframe { display: block; width: 100%; height: 350px; border: 0; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-footer);
  position: relative;
}

.site-footer__accent-line {
  height: 2px;
  background: var(--accent);
}

.site-footer .site-container {
  padding-top: 72px;
  padding-bottom: 56px;
}

.site-footer__main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Brand column */
.site-footer__brand { max-width: 360px; }

.site-footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.site-footer__desc {
  font-size: 15px;
  color: var(--grey-blue);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Links columns */
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.site-footer__col-heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 20px;
}

.site-footer__nav-list { display: flex; flex-direction: column; gap: 14px; }
.site-footer__nav-list a {
  font-size: 15px;
  color: var(--grey-blue);
  transition: color 0.2s;
}
.site-footer__nav-list a:hover { color: #fff; }

.site-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__contact-list a {
  font-size: 15px;
  color: var(--grey-blue);
  transition: color 0.2s;
  word-break: break-all;
}
.site-footer__contact-list a:hover { color: #fff; }

.site-footer__hours {
  font-size: 15px;
  color: var(--grey-blue);
}

.site-footer__view-location {
  font-size: 15px;
  color: var(--accent) !important;
}
.site-footer__view-location:hover { color: #fff !important; }

/* Bottom bar */
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__bottom .site-container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.site-footer__copyright {
  font-size: 13px;
  color: #64748B;
}

/* Tritech credit — hardcoded, static, non-clickable, non-animated */
.site-footer__credit {
  font-size: 13px;
  color: #475569;
  cursor: default;
  user-select: none;
}

/* ── SATISFIED CLIENTS ─────────────────────────────────────────
   New section: "Join the List of Satisfied Clients". A card grid
   in the same restrained, professional visual language as the
   Why Choose Us section.                                         */
.satisfied-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 56px;
}

.satisfied-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px;
}

.satisfied-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.satisfied-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}

.satisfied-card__body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
.satisfied-card__body + .satisfied-card__body { margin-top: 12px; }

/* ── WP nav menu output cleanup ─────────────────────────────── */
.site-nav__list li { display: inline-flex; }
.site-nav__list .sub-menu { display: none; } /* hide submenus */
.mobile-drawer__list .sub-menu { display: none; }
