/* ============================================================
   STERLING & CROSS CPA — STYLESHEET
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }

/* SCROLL PROGRESS */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--primary); z-index: 9999; transition: width .1s linear; }

/* ALERT BAR */
.alert-bar { background: var(--primary); color: #0a0c10; text-align: center; padding: 10px 20px; font-size: .8rem; font-weight: 700; letter-spacing: .3px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 1000; background: rgba(10,12,16,0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: background .3s; }
.navbar.scrolled { background: rgba(10,12,16,0.98); }
.navbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 32px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-main { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 3px; color: var(--text); }
.logo-sub { display: block; font-size: .52rem; font-weight: 700; letter-spacing: 2.5px; color: var(--text-muted); margin-top: -2px; text-transform: uppercase; }
.navbar-links { display: flex; list-style: none; gap: 4px; flex: 1; justify-content: center; }
.navbar-links a { color: var(--text-muted); text-decoration: none; font-size: .84rem; font-weight: 500; padding: 6px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.navbar-links a:hover { color: var(--text); background: var(--surface); }
.btn-nav-cta { background: var(--primary); color: #0a0c10; border: none; padding: 9px 22px; border-radius: 10px; font-size: .84rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .2s, transform .15s; white-space: nowrap; flex-shrink: 0; }
.btn-nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; flex-shrink: 0; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
@media (max-width: 900px) {
  .navbar-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 24px; gap: 4px; }
  .navbar-links.open { display: flex; }
  .navbar-links li a { display: block; padding: 10px 14px; border-radius: 8px; }
  .hamburger { display: flex; }
  .btn-nav-cta { display: none; }
}

/* HERO */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10,12,16,.96) 48%, rgba(10,12,16,.5) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 130px 24px 90px; }
.hero-text-col { max-width: 680px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); background: var(--primary-glow); border: 1px solid var(--border); padding: 6px 16px; border-radius: 100px; margin-bottom: 28px; }
.hero-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 600; line-height: 1.06; letter-spacing: -1px; color: var(--text); margin-bottom: 24px; }
.headline-serif { font-style: italic; color: var(--primary); }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.85; max-width: 560px; margin-bottom: 44px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary { background: var(--primary); color: #0a0c10; padding: 14px 32px; border-radius: 12px; font-size: .92rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .15s, box-shadow .2s; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(184,151,106,.35); }
.btn-secondary { background: rgba(255,255,255,.06); color: var(--text); padding: 14px 30px; border-radius: 12px; font-size: .92rem; font-weight: 600; text-decoration: none; border: 1px solid var(--border-subtle); transition: background .2s, border-color .2s; }
.btn-secondary:hover { background: rgba(255,255,255,.11); border-color: var(--border); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 16px; background: rgba(17,20,25,.75); backdrop-filter: blur(12px); overflow: hidden; }
.hero-stat { padding: 24px 20px; text-align: center; border-right: 1px solid var(--border); }
.hero-stat:last-child { border-right: none; }
.hero-stat .val { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--primary); display: block; }
.hero-stat .lbl { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
@media (max-width: 600px) { .hero-stats { grid-template-columns: 1fr 1fr; } .hero-stat { border-right: none; border-bottom: 1px solid var(--border); } }

/* TRUST BAR */
.trust-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-inner { max-width: 1280px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* SECTION COMMONS */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-card); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 600; letter-spacing: -.5px; color: var(--text); margin-bottom: 16px; line-height: 1.15; }
.section-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.8; max-width: 620px; margin: 0 auto; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.service-icon { width: 52px; height: 52px; background: var(--primary-glow); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 20px; }
.service-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.service-card p { font-size: .87rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stag { font-size: .7rem; font-weight: 600; color: var(--primary); background: var(--primary-glow); border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; letter-spacing: .3px; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* PROCESS */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 1px; background: var(--border); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 20px; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; line-height: 1; }
.process-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.process-step p { font-size: .84rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .process-grid::before { display: none; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.team-img { height: 280px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-body { padding: 24px 22px; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.team-title { font-size: .78rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.team-bio { font-size: .82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.team-credentials { display: flex; flex-wrap: wrap; gap: 5px; }
.cred-chip { font-size: .67rem; font-weight: 700; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 3px 9px; border-radius: 100px; letter-spacing: .4px; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* RESULTS */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border-radius: 20px; overflow: hidden; }
.result-stat { background: var(--bg-card); padding: 40px 28px; text-align: center; }
.result-val { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--primary); margin-bottom: 8px; line-height: 1; }
.result-label { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.result-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 900px) { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .results-grid { grid-template-columns: 1fr; } }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.stars { display: flex; gap: 3px; margin-bottom: 20px; }
.stars svg { color: var(--primary); }
.testimonial-card blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 400; color: var(--text-muted); line-height: 1.8; font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.testimonial-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: .75rem; color: var(--text-muted); }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.plan-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px; padding: 36px 32px; position: relative; transition: transform .3s, box-shadow .3s; }
.plan-card.popular { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 20px 56px rgba(0,0,0,.4); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #0a0c10; font-size: .7rem; font-weight: 800; padding: 5px 18px; border-radius: 100px; white-space: nowrap; letter-spacing: .5px; }
.enterprise-badge { background: var(--accent); color: #fff; }
.plan-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.plan-price { font-size: 2.4rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 4px; }
.plan-period { font-size: .8rem; color: var(--text-muted); margin-bottom: 16px; }
.plan-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--text-muted); line-height: 1.5; }
.feat-check { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.btn-plan { display: block; text-align: center; padding: 13px; border-radius: 12px; font-size: .9rem; font-weight: 700; text-decoration: none; transition: all .2s; cursor: pointer; border: none; width: 100%; font-family: inherit; }
.btn-plan-primary { background: var(--primary); color: #0a0c10; }
.btn-plan-primary:hover { background: var(--primary-dark); }
.btn-plan-outline { background: transparent; color: var(--text); border: 1px solid var(--border-subtle); }
.btn-plan-outline:hover { background: var(--surface); border-color: var(--primary); color: var(--primary); }
.pricing-note { text-align: center; font-size: .84rem; color: var(--text-muted); line-height: 1.7; max-width: 640px; margin: 0 auto; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; } }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; color: var(--text); font-size: .95rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit; transition: color .2s; }
.faq-q:hover { color: var(--primary); }
.faq-chevron { flex-shrink: 0; transition: transform .3s; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 20px; font-size: .88rem; color: var(--text-muted); line-height: 1.85; }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; }
.contact-icon { width: 48px; height: 48px; background: var(--primary-glow); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 4px; }
.contact-val { font-size: .9rem; color: var(--text); line-height: 1.6; }
.contact-guarantee { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; font-size: .84rem; color: var(--text-muted); line-height: 1.6; margin-top: 8px; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 40px; }
.form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--text); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; color: var(--text); font-size: .9rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-select option { background: var(--bg-card); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-form { width: 100%; background: var(--primary); color: #0a0c10; border: none; padding: 14px; border-radius: 12px; font-size: .95rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .2s, transform .15s; margin-top: 6px; }
.btn-form:hover { background: var(--primary-dark); transform: translateY(-1px); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }

/* FOOTER */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .84rem; color: var(--text-muted); line-height: 1.75; margin: 16px 0 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: color .2s, border-color .2s; }
.social-btn:hover { color: var(--primary); border-color: var(--primary); }
.footer-col h5 { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: .84rem; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .75rem; color: var(--text-dim); line-height: 1.6; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--primary); color: #0a0c10; border: none; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 900; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* REVEAL */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal], .btn-primary, .btn-secondary, .service-card, .plan-card, .team-card { transition: none; } }
