/* ==========================================================================
   Custom Styles — HOA Accounting Austin
   Concept: "Clean Modern Split" — Split-screen hero, bold teal, warm amber accents
   Palette: Deep Austin Spruce Teal (#0F3A40) & Warm Amber (#E07A5F / #F2CC8F)
   ========================================================================== */

:root {
  --austin-primary:        #0F3A40;
  --austin-primary-dark:   #092428;
  --austin-primary-mid:    #1A525A;
  --austin-accent:         #E07A5F;
  --austin-accent-light:   #F2CC8F;
  --austin-bg-light:       #F4F8F8;
  --austin-bg-surface:     #FFFFFF;
  --austin-text-dark:      #0F172A;
  --austin-text-body:      #334155;
  --austin-text-muted:     #64748B;
  --austin-border:         #E2E8F0;
  --austin-border-light:   #F1F5F9;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--austin-text-body);
  background: #FFFFFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--austin-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { text-decoration: none; }

/* ── Header ───────────────────────────────────────────────── */
.top-menu-main-block {
  background: #FFFFFF;
  box-shadow: 0 2px 20px rgba(15, 58, 64, 0.08);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.logo-text-brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--austin-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-text-brand span { color: var(--austin-accent); }

.nav-link {
  color: var(--austin-primary) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
  transition: color 0.25s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px; right: 16px;
  height: 2px;
  background: var(--austin-accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-link:hover, .nav-link.active { color: var(--austin-accent) !important; }

/* ── CTA Buttons ──────────────────────────────────────────── */
.btn-cta-phone {
  background: var(--austin-primary);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15, 58, 64, 0.22);
  transition: all 0.3s ease;
}

.btn-cta-phone:hover {
  background: var(--austin-accent);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.35);
  transform: translateY(-2px);
}

.btn-primary-custom {
  background: var(--austin-accent);
  color: #FFFFFF;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 8px;
  border: 2px solid var(--austin-accent);
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: var(--austin-primary);
  border-color: var(--austin-primary);
  color: #FFFFFF;
}

.btn-outline-custom {
  background: transparent;
  color: var(--austin-primary);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid var(--austin-primary);
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--austin-primary);
  color: #FFFFFF;
}

/* ── HERO — Split Screen ─────────────────────────────────── */
.hero-split {
  min-height: 90vh;
  display: flex;
  align-items: stretch;
}

.hero-split-image {
  width: 50%;
  background: url('../images/bg/hero-austin.png') center/cover no-repeat;
  position: relative;
  flex-shrink: 0;
}

.hero-split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 58, 64, 0.45) 0%, rgba(9, 36, 40, 0.25) 100%);
}

.hero-split-content {
  width: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  padding: 80px 60px;
  position: relative;
}

.hero-split-content::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--austin-accent) 0%, var(--austin-accent-light) 100%);
  left: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 122, 95, 0.1);
  border: 1px solid rgba(224, 122, 95, 0.35);
  color: var(--austin-accent);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 22px;
}

.hero-split-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--austin-primary);
  margin-bottom: 20px;
}

.hero-split-content h1 em {
  font-style: normal;
  color: var(--austin-accent);
}

.hero-split-content p {
  font-size: 17px;
  color: var(--austin-text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 500px;
}

.hero-mini-stats {
  display: flex;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--austin-border);
  margin-top: 28px;
}

.hero-mini-stats .stat-box strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--austin-primary);
}

.hero-mini-stats .stat-box span {
  font-size: 12px;
  color: var(--austin-text-muted);
  font-weight: 500;
}

/* ── Certifications Bar ───────────────────────────────────── */
.cert-bar {
  background: var(--austin-primary);
  padding: 22px 0;
}

.cert-bar-label {
  color: var(--austin-accent-light);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cert-bar img {
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.cert-bar img:hover { opacity: 1; }

/* ── Quick Numbers (horizontal cards) ────────────────────── */
.quick-numbers {
  background: var(--austin-bg-light);
  padding: 60px 0;
}

.qnum-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 30px 24px;
  border-left: 4px solid var(--austin-accent);
  box-shadow: 0 6px 24px rgba(15, 58, 64, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.qnum-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 58, 64, 0.1);
}

.qnum-card .qnum-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(15, 58, 64, 0.07);
  color: var(--austin-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.qnum-card strong {
  font-size: 36px;
  font-weight: 800;
  color: var(--austin-accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.qnum-card p {
  font-size: 14px;
  color: var(--austin-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ── About Split Section ─────────────────────────────────── */
.about-split {
  padding: 100px 0;
}

.about-img-frame {
  position: relative;
}

.about-img-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.about-img-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  background: rgba(224, 122, 95, 0.12);
  border-radius: 12px;
  z-index: -1;
}

.about-img-frame::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 50%;
  height: 40%;
  border: 3px solid rgba(15, 58, 64, 0.12);
  border-radius: 12px;
  z-index: -1;
}

.section-eyebrow {
  display: inline-block;
  color: var(--austin-accent);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--austin-border-light);
  font-size: 15px;
  color: var(--austin-text-body);
}

.checklist li:last-child { border-bottom: none; }

.checklist li i {
  color: var(--austin-accent);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── Services — Dark Grid ────────────────────────────────── */
.services-dark {
  background: var(--austin-primary-dark);
  padding: 100px 0;
}

.services-dark h2 { color: #FFFFFF; }
.services-dark .section-eyebrow { color: var(--austin-accent-light); }

.svc-card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.3s ease;
}

.svc-card-dark:hover {
  background: rgba(224, 122, 95, 0.12);
  border-color: rgba(224, 122, 95, 0.4);
  transform: translateY(-4px);
}

.svc-card-dark .svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(242, 204, 143, 0.15);
  color: var(--austin-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.svc-card-dark h4 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 10px;
}

.svc-card-dark p {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ── Texas Compliance Highlight ──────────────────────────── */
.tx-compliance {
  background: var(--austin-bg-light);
  padding: 80px 0;
}

.tx-compliance-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  border-top: 4px solid var(--austin-accent);
  box-shadow: 0 8px 32px rgba(15, 58, 64, 0.06);
}

.tx-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 58, 64, 0.07);
  color: var(--austin-primary);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* ── Community Cards ─────────────────────────────────────── */
.communities-section {
  padding: 100px 0;
}

.community-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 340px;
  cursor: pointer;
}

.community-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.community-card:hover img { transform: scale(1.06); }

.community-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(9, 36, 40, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  transition: background 0.3s ease;
}

.community-card:hover .community-card-overlay {
  background: linear-gradient(180deg, rgba(9, 36, 40, 0.3) 0%, rgba(9, 36, 40, 0.88) 100%);
}

.community-card-overlay h4 {
  color: #FFFFFF;
  font-size: 20px;
  margin: 0 0 4px;
}

.community-card-overlay p {
  color: var(--austin-accent-light);
  font-size: 13px;
  margin: 0;
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section {
  background: var(--austin-primary);
  padding: 100px 0;
}

.testimonials-section h2 { color: #FFFFFF; }
.testimonials-section .section-eyebrow { color: var(--austin-accent-light); }

.testi-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px;
  height: 100%;
  transition: background 0.3s ease;
}

.testi-card:hover { background: rgba(255, 255, 255, 0.1); }

.testi-stars { color: var(--austin-accent-light); margin-bottom: 18px; }

.testi-card blockquote {
  color: #CBD5E1;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(242, 204, 143, 0.2);
  color: var(--austin-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-author strong {
  color: #FFFFFF;
  display: block;
  font-size: 15px;
}

.testi-author span {
  color: #64748B;
  font-size: 13px;
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(15, 58, 64, 0.48) 0%, rgba(9, 36, 40, 0.38) 100%), url('../images/bg/about-visual.png') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
}

.cta-banner h2 { color: #FFFFFF; font-size: 42px; margin-bottom: 16px; }
.cta-banner p { color: #CBD5E1; font-size: 17px; max-width: 600px; margin: 0 auto 36px; }

/* ── Page Banners (inner pages) ───────────────────────────── */
.page-banner {
  padding: 85px 0 75px;
  color: #FFFFFF;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-banner-about {
  background: linear-gradient(135deg, rgba(15, 58, 64, 0.48) 0%, rgba(9, 36, 40, 0.38) 100%), url('../images/bg/banner-about.png') center/cover no-repeat;
}

.page-banner-services {
  background: linear-gradient(135deg, rgba(15, 58, 64, 0.48) 0%, rgba(9, 36, 40, 0.38) 100%), url('../images/bg/banner-services.png') center/cover no-repeat;
}

.page-banner-team {
  background: linear-gradient(135deg, rgba(15, 58, 64, 0.48) 0%, rgba(9, 36, 40, 0.38) 100%), url('../images/bg/banner-team.png') center/cover no-repeat;
}

.page-banner-contact {
  background: linear-gradient(135deg, rgba(15, 58, 64, 0.48) 0%, rgba(9, 36, 40, 0.38) 100%), url('../images/bg/banner-contact.png') center/cover no-repeat;
}

.page-banner h1 { color: #FFFFFF; font-size: 42px; font-weight: 800; }
.page-banner p { color: #CBD5E1; font-size: 16px; max-width: 600px; margin: 10px auto 0; }
.page-banner .breadcrumb { justify-content: center; margin-top: 14px; }
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a { color: var(--austin-accent-light); font-weight: 500; }
.page-banner .breadcrumb-item.active { color: #E2E8F0; }

/* ── Team Card ───────────────────────────────────────────── */
.team-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 58, 64, 0.07);
  border: 1px solid var(--austin-border);
  transition: all 0.3s ease;
  height: 100%;
  padding: 32px 24px 28px;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 58, 64, 0.12);
  border-color: rgba(224, 122, 95, 0.4);
}

.team-avatar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--austin-primary) 0%, var(--austin-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin: 0 auto 18px;
  box-shadow: 0 6px 18px rgba(15, 58, 64, 0.25);
  transition: transform 0.3s ease;
}

.team-card:hover .team-avatar-icon {
  transform: scale(1.06);
}

.team-content { padding: 0; text-align: center; }
.team-content h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--austin-text); }
.team-content span,
.team-role {
  display: inline-block;
  background: rgba(224, 122, 95, 0.14);
  color: #D05D41;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.team-content p { color: var(--austin-text-muted); font-size: 13.5px; line-height: 1.55; margin: 0; }

.header-logo-img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ── Contact / Form ──────────────────────────────────────── */
.form-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(15, 58, 64, 0.08);
  border: 1px solid var(--austin-border);
}

.form-box label {
  font-weight: 600;
  color: var(--austin-primary);
  font-size: 14px;
  margin-bottom: 7px;
  display: block;
}

.form-box .form-control,
.form-box .form-select {
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--austin-text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-box .form-control:focus,
.form-box .form-select:focus {
  border-color: var(--austin-accent);
  box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
  outline: none;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer-austin {
  background: var(--austin-primary-dark);
  color: #94A3B8;
  padding: 80px 0 30px;
}

.footer-austin h4 {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 10px;
  position: relative;
}

.footer-austin h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--austin-accent);
}

.footer-austin p { color: #94A3B8; font-size: 14px; line-height: 1.65; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links li a {
  color: #94A3B8;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: var(--austin-accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
  margin-top: 50px;
  font-size: 13px;
  color: #475569;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-split { flex-direction: column; min-height: auto; }
  .hero-split-image { width: 100%; height: 360px; }
  .hero-split-content { width: 100%; padding: 60px 30px; }
  .hero-split-content::before { display: none; }
  .hero-split-content h1 { font-size: 36px; }
}

@media (max-width: 767px) {
  .hero-split-content h1 { font-size: 28px; }
  .hero-split-content { padding: 40px 20px; }
  .form-box { padding: 24px 18px; }
  .about-img-frame img { height: 280px; }
  .community-card { height: 250px; }
}
