/* DFW State Taxes - styles
   Palette: deep navy (#0a2342) + gold (#c9a227), clean and trustworthy.
*/

:root {
  --navy: #0a2342;
  --navy-deep: #071a33;
  --navy-light: #14355e;
  --gold: #c9a227;
  --gold-light: #e0bc45;
  --gold-pale: #faf5e6;
  --ink: #1f2d3d;
  --muted: #5b6b7f;
  --bg: #ffffff;
  --bg-light: #f4f6f9;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 35, 66, 0.10);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h2.light, .section-dark h2 { color: #fff; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1em; }

a { color: var(--navy-light); }

img { max-width: 100%; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.8em;
}

.kicker-light { color: var(--gold-light); }

.section { padding: 88px 0; }
.section-light { background: var(--bg-light); }
.section-dark {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, var(--navy-light));
  color: #e8eef6;
}
.section-dark p { color: #d6e0ec; }

.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 2.2em;
}

#pricing .section-sub {
  margin-bottom: 0.6em;
}

.pricing-disclaimer {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  max-width: 640px;
  margin-bottom: 2.2em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  width: 100%;
}
.btn-navy:hover { background: var(--navy-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(10, 35, 66, 0.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand-sub {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
}
.lang-btn.active { background: var(--navy); color: #fff; }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-call:hover { background: var(--gold-light); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  padding: 110px 0 90px;
  text-align: center;
}

.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero-sub {
  font-size: 1.15rem;
  color: #d6e0ec;
  max-width: 680px;
  margin: 0 auto 2em;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2em; }

.hero-alt { font-size: 0.95rem; color: #b9c7d8; }
.hero-alt a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.hero-alt a:hover { text-decoration: underline; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-light);
}
.stat-label { font-size: 0.85rem; color: #b9c7d8; letter-spacing: 0.04em; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(10, 35, 66, 0.14); }
.card h3 { margin: 0.7em 0 0.5em; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 0; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Pricing cards ---------- */
.price-card { text-align: center; display: flex; flex-direction: column; }
.price-card h3 { margin-top: 0; font-size: 1.15rem; }
.price-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-light);
  background: var(--gold-pale);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.price {
  font-family: var(--font-head);
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.price-per { color: var(--muted); font-size: 0.9rem; margin: 2px 0 16px; }
.price-features {
  list-style: none;
  text-align: left;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.94rem;
  color: var(--ink);
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Consultation strip ---------- */
.consult-strip {
  margin-top: 28px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}
.consult-strip h3 { color: #fff; margin: 0 0 10px; font-size: 1.35rem; }
.consult-strip p { color: #c6d2e0; margin: 0; font-size: 0.98rem; }
.consult-strip .btn { flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { margin-top: 30px; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 24px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding: 0 0 22px; margin: 0; }

/* ---------- Why section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.checklist { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.checklist li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 18px 20px 18px 58px;
  position: relative;
  font-weight: 500;
  color: #fff;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.fact-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 12px 32px;
  box-shadow: var(--shadow);
}
.fact { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.fact:last-child { border-bottom: 0; }
.fact-value {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold-light);
}
.fact-label { font-size: 0.88rem; color: #b9c7d8; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.info-block { margin-bottom: 28px; }
.info-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4em;
}
.info-value { font-size: 1.1rem; font-weight: 500; margin-bottom: 0; }
.contact-phone {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.contact-phone:hover { color: var(--navy-light); text-decoration: underline; }
.contact-info .btn { margin-top: 8px; }

.contact-form-wrap {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form-wrap h3 { margin-bottom: 1.2em; }

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.form-row textarea { resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #b9c7d8;
  padding: 48px 0 32px;
  text-align: center;
}
.footer-brand { margin-bottom: 12px; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; display: block; }
.footer-brand .brand-sub { color: var(--gold-light); font-size: 0.9rem; }
.footer-contact { margin-bottom: 14px; font-size: 0.95rem; }
.footer-contact a { color: var(--gold-light); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-sep { margin: 0 10px; color: rgba(255, 255, 255, 0.25); }
.footer-rights { font-size: 0.85rem; margin-bottom: 0; color: #8fa0b5; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 64px 0; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(10, 35, 66, 0.10);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 14px 24px; border-top: 1px solid var(--border); }
  .main-nav a::after { display: none; }
  .consult-strip { flex-direction: column; align-items: flex-start; padding: 28px 24px; }

  .call-number { display: none; }
  .btn-call { padding: 10px 12px; }

  .cards { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 64px; }
  .hero-stats { gap: 28px; }
  .contact-form-wrap { padding: 26px 22px; }
}
