/* ============================================================
   HOA Accounting — The Village, OK
   Theme: Oklahoma Terracotta & Prairie Gold
   Fonts: Playfair Display (headings) + Source Sans 3 (body)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap");

/* -- CSS Variables ------------------------------------------- */
:root {
  --tv-primary: #7B3F1E;
  --tv-dark: #2D1A0D;
  --tv-gold: #C98D3B;
  --tv-accent: #E0601A;
  --tv-cream: #FAF5EF;
  --tv-bg-alt: #F3EDE5;
  --tv-text: #1E1208;
  --tv-muted: #7A6252;
  --tv-border: rgba(123, 63, 30, 0.15);
  --tv-white: #FFFFFF;
  --tv-shadow: 0 6px 22px rgba(45, 26, 13, 0.12);
  --tv-shadow-lg: 0 14px 36px rgba(45, 26, 13, 0.18);
}

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

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--tv-text);
  background: var(--tv-white);
  line-height: 1.7;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: var(--tv-dark);
  line-height: 1.25;
}

a {
  color: var(--tv-accent);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--tv-primary);
}

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

/* -- Top Bar -------------------------------------------------- */
.tv-topbar {
  background: var(--tv-dark);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--tv-gold);
}

.tv-topbar a {
  color: var(--tv-gold);
  font-weight: 600;
}

.tv-topbar a:hover {
  color: var(--tv-white);
}

.tv-topbar-dot {
  color: var(--tv-gold);
  margin: 0 10px;
}

/* -- Navigation ----------------------------------------------- */
.tv-header {
  background: var(--tv-white);
  border-bottom: 1px solid var(--tv-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(45, 26, 13, .08);
}

.tv-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.tv-logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.tv-logo-text {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--tv-dark);
  line-height: 1.2;
}

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

.tv-logo-sub {
  font-family: "Source Sans 3", sans-serif;
  font-size: 11px;
  color: var(--tv-muted);
  letter-spacing: .8px;
  text-transform: uppercase;
}

.tv-nav-link {
  color: var(--tv-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tv-nav-link:hover,
.tv-nav-link.active {
  background: var(--tv-cream);
  color: var(--tv-accent);
}

/* -- Buttons -------------------------------------------------- */
.tv-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--tv-accent), var(--tv-primary));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(224, 96, 26, .35);
}

.tv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 96, 26, .45);
  color: #fff;
}

.tv-btn-gold,
.tv-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tv-gold);
  color: var(--tv-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid var(--tv-gold);
  transition: all .25s;
  box-shadow: 0 4px 14px rgba(201, 141, 59, .35);
}

.tv-btn-gold:hover,
.tv-btn-outline:hover {
  background: #B37B2E;
  border-color: #B37B2E;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 141, 59, .45);
}

/* -- HERO split screen --------------------------------------- */
.tv-hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 55% 45%;
  position: relative;
  overflow: hidden;
}

.tv-hero-image {
  position: relative;
  overflow: hidden;
}

.tv-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 26, 13, .42) 0%, rgba(123, 63, 30, .32) 60%, rgba(45, 26, 13, .38) 100%);
}

.tv-hero-image-content {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 2;
  max-width: 440px;
}

.tv-hero-image-content h1 {
  color: var(--tv-white);
  font-size: clamp(28px, 4vw, 50px);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.tv-hero-image-content p {
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.tv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--tv-gold);
  color: var(--tv-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 18px;
}

.tv-hero-panel {
  background: var(--tv-cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  border-left: 4px solid var(--tv-gold);
  position: relative;
}

.tv-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.tv-stat-card {
  background: var(--tv-white);
  border: 1px solid var(--tv-border);
  border-left: 4px solid var(--tv-accent);
  border-radius: 12px;
  padding: 20px 18px;
  transition: box-shadow .2s, transform .2s;
}

.tv-stat-card:hover {
  box-shadow: var(--tv-shadow);
  transform: translateY(-3px);
}

.tv-stat-number {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--tv-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.tv-stat-label {
  font-size: 12px;
  color: var(--tv-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tv-stat-desc {
  font-size: 13px;
  color: var(--tv-text);
  margin-top: 4px;
  line-height: 1.4;
}

.tv-hero-panel-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--tv-dark);
  margin-bottom: 6px;
}

.tv-hero-panel-sub {
  font-size: 14px;
  color: var(--tv-muted);
  margin-bottom: 24px;
}

@media (max-width: 991px) {
  .tv-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tv-hero-image {
    min-height: 400px;
  }

  .tv-hero-image-content {
    left: 24px;
    bottom: 24px;
    max-width: 90%;
  }

  .tv-hero-panel {
    padding: 40px 24px;
    border-left: none;
    border-top: 4px solid var(--tv-gold);
  }
}

@media (max-width: 575px) {
  .tv-stat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* -- Section Tag --------------------------------------------- */
.tv-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(224, 96, 26, .10);
  color: var(--tv-accent);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 14px;
}

/* -- Horizontal Service Cards --------------------------------- */
.tv-service-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--tv-white);
  border: 1px solid var(--tv-border);
  border-left: 5px solid var(--tv-accent);
  border-radius: 14px;
  padding: 24px 28px;
  transition: all .25s;
  box-shadow: 0 2px 8px rgba(45, 26, 13, .06);
}

.tv-service-card:hover {
  box-shadow: var(--tv-shadow);
  transform: translateX(4px);
  border-left-color: var(--tv-gold);
}

.tv-service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-accent));
  color: var(--tv-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tv-service-body h4 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  color: var(--tv-dark);
  margin-bottom: 6px;
}

.tv-service-body p {
  color: var(--tv-muted);
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.55;
}

.tv-service-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.tv-service-checklist li {
  font-size: 13px;
  color: var(--tv-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tv-service-checklist li i {
  color: var(--tv-gold);
  font-size: 11px;
}

/* -- Cert Strip ---------------------------------------------- */
.tv-cert-strip {
  background: var(--tv-dark);
  padding: 28px 0;
  border-top: 3px solid var(--tv-gold);
  border-bottom: 3px solid var(--tv-gold);
}

.tv-cert-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.tv-cert-label {
  color: var(--tv-gold);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.tv-cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 500;
}

.tv-cert-item img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1) opacity(.85);
}

/* -- Oklahoma Legal Cards ------------------------------------ */
.tv-legal-card {
  background: var(--tv-white);
  border: 1px solid var(--tv-border);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.tv-legal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-gold));
}

.tv-legal-card:hover {
  box-shadow: var(--tv-shadow);
  transform: translateY(-4px);
}

.tv-legal-statute {
  display: inline-block;
  background: rgba(123, 63, 30, .10);
  color: var(--tv-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.tv-legal-card h5 {
  font-size: 17px;
  color: var(--tv-dark);
  margin-bottom: 8px;
}

.tv-legal-card p {
  color: var(--tv-muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* -- Why Grid ------------------------------------------------ */
.tv-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.tv-why-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--tv-white);
  border-radius: 16px;
  border: 1px solid var(--tv-border);
  transition: all .25s;
}

.tv-why-item:hover {
  box-shadow: var(--tv-shadow);
  transform: translateY(-4px);
  border-color: var(--tv-gold);
}

.tv-why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--tv-cream), var(--tv-bg-alt));
  border: 2px solid var(--tv-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--tv-accent);
}

.tv-why-item h5 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--tv-dark);
}

.tv-why-item p {
  font-size: 13px;
  color: var(--tv-muted);
  margin: 0;
  line-height: 1.5;
}

/* -- Testimonials -------------------------------------------- */
.tv-testi-card {
  background: var(--tv-white);
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: box-shadow .25s;
}

.tv-testi-card:hover {
  box-shadow: var(--tv-shadow);
}

.tv-testi-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 72px;
  color: var(--tv-gold);
  opacity: .25;
  font-family: serif;
  line-height: 1;
}

.tv-testi-stars {
  color: var(--tv-gold);
  font-size: 14px;
  margin-bottom: 12px;
}

.tv-testi-text {
  font-size: 14px;
  color: var(--tv-text);
  line-height: 1.65;
  margin-bottom: 18px;
  font-style: italic;
}

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

.tv-testi-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.tv-testi-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--tv-dark);
}

.tv-testi-role {
  font-size: 12px;
  color: var(--tv-muted);
}

/* -- CTA Banner ---------------------------------------------- */
.tv-cta {
  background: linear-gradient(135deg, rgba(45, 26, 13, .48) 0%, rgba(123, 63, 30, .38) 60%, rgba(45, 26, 13, .46) 100%), url("../images/bg/cta-bg.jpg") center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: var(--tv-white);
}

.tv-cta h2 {
  font-family: "Playfair Display", serif;
  color: var(--tv-white);
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.tv-cta p {
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* -- Page Banners -------------------------------------------- */
.tv-page-banner {
  padding: 88px 0 72px;
  text-align: center;
  color: var(--tv-white);
  background-size: cover;
  background-position: center;
}

.tv-page-banner-about {
  background: linear-gradient(135deg, rgba(45, 26, 13, .44) 0%, rgba(123, 63, 30, .36) 100%), url("../images/bg/banner-about.jpg") center/cover no-repeat;
}

.tv-page-banner-services {
  background: linear-gradient(135deg, rgba(45, 26, 13, .44) 0%, rgba(123, 63, 30, .36) 100%), url("../images/bg/banner-services.jpg") center/cover no-repeat;
}

.tv-page-banner-team {
  background: linear-gradient(135deg, rgba(45, 26, 13, .44) 0%, rgba(123, 63, 30, .36) 100%), url("../images/bg/banner-team.jpg") center/cover no-repeat;
}

.tv-page-banner-contact {
  background: linear-gradient(135deg, rgba(45, 26, 13, .44) 0%, rgba(123, 63, 30, .36) 100%), url("../images/bg/banner-contact.png") center/cover no-repeat;
}

.tv-page-banner h1 {
  font-family: "Playfair Display", serif;
  color: var(--tv-white);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.tv-page-banner p {
  color: rgba(255, 255, 255, .90);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* -- Team Cards ---------------------------------------------- */
.tv-team-card {
  background: var(--tv-white);
  border: 1px solid var(--tv-border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all .25s;
}

.tv-team-card:hover {
  box-shadow: var(--tv-shadow);
  transform: translateY(-4px);
}

.tv-team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--tv-primary), var(--tv-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(224, 96, 26, .3);
}

.tv-team-card h5 {
  font-size: 17px;
  color: var(--tv-dark);
  margin-bottom: 4px;
}

.tv-team-role {
  display: inline-block;
  background: rgba(201, 141, 59, .12);
  color: var(--tv-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tv-team-card p {
  font-size: 13px;
  color: var(--tv-muted);
  line-height: 1.55;
}

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

.tv-form-group label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--tv-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tv-form-group input,
.tv-form-group select,
.tv-form-group textarea {
  width: 100%;
  border: 1.5px solid var(--tv-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  color: var(--tv-text);
  background: var(--tv-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.tv-form-group input:focus,
.tv-form-group select:focus,
.tv-form-group textarea:focus {
  border-color: var(--tv-accent);
  box-shadow: 0 0 0 3px rgba(224, 96, 26, .12);
}

/* -- Footer -------------------------------------------------- */
.tv-footer {
  background: var(--tv-dark);
  color: rgba(255, 255, 255, .72);
  padding: 64px 0 0;
  border-top: 4px solid var(--tv-gold);
}

.tv-footer h4 {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: var(--tv-gold);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 141, 59, .25);
}

.tv-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tv-footer-links li {
  margin-bottom: 8px;
}

.tv-footer-links a {
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.tv-footer-links a:hover {
  color: var(--tv-gold);
}

.tv-footer-links i {
  color: var(--tv-gold);
  font-size: 11px;
}

.tv-footer-bottom {
  background: rgba(0, 0, 0, .25);
  margin-top: 40px;
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.tv-footer-bottom a {
  color: rgba(255, 255, 255, .55);
}

.tv-footer-bottom a:hover {
  color: var(--tv-gold);
}

/* -- Utilities ----------------------------------------------- */
.tv-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--tv-primary), var(--tv-gold), transparent);
  border: none;
  margin: 0;
}

.max-w-700 {
  max-width: 700px;
}

.tv-about-img {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--tv-shadow-lg);
}

.tv-about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.tv-about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--tv-gold);
  color: var(--tv-dark);
  font-weight: 800;
  font-family: "Playfair Display", serif;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tv-animate {
  animation: fadeInUp .6s ease both;
}

.tv-animate-delay-1 {
  animation-delay: .15s;
}

.tv-animate-delay-2 {
  animation-delay: .30s;
}

.tv-animate-delay-3 {
  animation-delay: .45s;
}