/* =====================================================
   Trident Tax & Accounting — Editorial Theme
   Logo navy + terracotta orange on warm paper
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #16263f;
  --navy-light: #1f3354;
  --teal: #3e5a80;
  --teal-light: #edf0f4;
  --gold: #e0552a;
  --gold-dark: #c4441d;
  --ink: #232323;
  --gray: #6b6f76;
  --gray-light: #e8e6df;
  --cream: #f7f5ef;
  --paper: #fdfcf9;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 12px 32px rgba(20, 36, 30, 0.10);
  --shadow-sm: 0 4px 14px rgba(20, 36, 30, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600; line-height: 1.15; color: var(--navy); letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { color: var(--gray); }
em { font-style: italic; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-label {
  display: inline-block; font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1rem; font-weight: 500; color: var(--gold); margin-bottom: 10px;
}
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.1rem; }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 4px;
  font-weight: 600; font-size: 0.98rem; transition: all 0.2s ease; cursor: pointer;
  border: none; letter-spacing: 0.01em;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--cream); }
.btn-light { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-light:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }

header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-light);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo {
  display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif;
  font-size: 1.35rem; font-weight: 600; color: var(--navy);
}
.logo svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: 0.96rem;
  border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

.hero { background: var(--white); color: var(--ink); padding: 104px 0; position: relative; border-bottom: 1px solid var(--gray-light); }
.hero h1 { color: var(--navy); max-width: 760px; }
.hero h1 .accent { color: var(--gold); font-style: italic; font-weight: 500; }
.hero p.lede { color: var(--gray); font-size: 1.2rem; max-width: 620px; margin: 24px 0 38px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 52px;
  padding-top: 28px; border-top: 1px solid var(--gray-light);
}
.hero-badges span { color: var(--gray); font-size: 0.92rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.hero-badges span::before { content: '\2713'; color: var(--gold); font-weight: 700; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 36px 30px; transition: all 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }
.card .learn-more {
  display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.93rem;
  color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 1px;
}

.bg-cream { background: var(--cream); }
.bg-light { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3 { color: var(--cream); }
.bg-navy p { color: #a8b6cc; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 600; color: var(--gold); }
.stat .label { color: #a8b6cc; font-weight: 500; font-size: 0.95rem; }

.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--gray-light); }
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: transparent;
  border: 1.5px solid var(--gold); color: var(--gold); font-family: 'Fraunces', serif;
  font-weight: 600; font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 40px 32px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.price-card .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--white); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 16px; border-radius: 4px; white-space: nowrap;
}
.price-card h3 { font-size: 1.45rem; }
.price-card .for { font-size: 0.92rem; margin: 8px 0 22px; min-height: 44px; }
.price { font-family: 'Fraunces', serif; font-size: 2.9rem; font-weight: 600; color: var(--navy); }
.price span { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; color: var(--gray); }
.price-note { font-size: 0.85rem; color: var(--gray); margin-bottom: 22px; }
.price-card ul { list-style: none; margin: 22px 0 32px; flex-grow: 1; }
.price-card li { padding: 8px 0 8px 30px; position: relative; font-size: 0.95rem; color: var(--ink); }
.price-card li::before { content: '\2713'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.price-card .btn { width: 100%; text-align: center; }

.testimonial {
  background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 34px 30px;
}
.testimonial .quote { font-family: 'Fraunces', serif; font-size: 1.08rem; color: var(--ink); font-style: italic; line-height: 1.5; }
.testimonial .who { margin-top: 20px; font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.testimonial .who span { display: block; font-weight: 400; color: var(--gray); font-size: 0.85rem; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.9rem; }

.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-item summary {
  cursor: pointer; padding: 24px 0; font-family: 'Fraunces', serif; font-weight: 500;
  color: var(--navy); font-size: 1.15rem; 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: '+'; font-size: 1.6rem; color: var(--gold); font-weight: 300; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .answer { padding: 0 0 24px; }

.cta-band {
  background: var(--navy); border-radius: 12px; padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(246,241,231,0.18);
  border-radius: 8px; pointer-events: none;
}
.cta-band h2 { color: var(--cream); margin-bottom: 14px; }
.cta-band p { color: #a8b6cc; max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }

.form-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 44px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border: 1.5px solid var(--gray-light); border-radius: 6px; font-size: 1rem;
  font-family: inherit; color: var(--ink); background: var(--paper);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white);
}

footer { background: var(--navy); color: #a8b6cc; padding: 68px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
footer h4 {
  color: var(--cream); font-family: 'Inter', sans-serif; font-size: 0.85rem; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #a8b6cc; font-size: 0.95rem; }
footer a:hover { color: var(--gold); }
.footer-logo {
  font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600; color: var(--cream);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-bottom { border-top: 1px solid rgba(246,241,231,0.15); padding-top: 28px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.page-hero { background: var(--white); color: var(--ink); padding: 80px 0; border-bottom: 1px solid var(--gray-light); }
.page-hero h1 { color: var(--navy); }
.page-hero p { color: var(--gray); font-size: 1.15rem; max-width: 660px; margin-top: 18px; }
.page-hero .section-label { color: var(--gold) !important; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { overflow-x: hidden; }
  section { padding: 52px 0; }
  .container { padding: 0 18px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
  .grid-2, .grid-3, .grid-4, .pricing-grid, .form-grid { grid-template-columns: 1fr; }
  .grid-2 { gap: 36px !important; }
  .nav { height: 64px; }
  .logo img { height: 38px !important; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--gray-light); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { gap: 10px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 0.85rem; }
  .hero { padding: 56px 0; }
  .hero p.lede { font-size: 1.05rem; margin: 18px 0 28px; }
  .hero .btn-lg, .cta-band .btn-lg {
    display: block; width: 100%; text-align: center; margin: 0 0 12px 0 !important;
  }
  .hero-badges { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; padding-top: 22px; }
  .page-hero { padding: 48px 0; }
  .page-hero p { font-size: 1.02rem; }
  .stats { gap: 18px; row-gap: 28px; }
  .stat .num { font-size: 2.1rem; }
  .step { gap: 16px; padding: 20px 0; }
  .step-num { width: 40px; height: 40px; font-size: 1.05rem; }
  .price { font-size: 2.4rem; }
  .price-card { padding: 30px 22px; }
  .price-card .for { min-height: 0; }
  .card { padding: 26px 22px; }
  .section-head { margin-bottom: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .cta-band { padding: 44px 22px; }
  .cta-band::before { inset: 8px; }
  .form-card { padding: 26px 18px; }
  .faq-item summary { font-size: 1.02rem; padding: 18px 0; }
}
