/* SmartCPA Tax LLC — shared styles for index.html and about.html */
:root{
  --navy:#07153a;
  --navy-2:#0b2160;
  --navy-deep:#030d2b;
  --gold:#E6C172;
  --gold-dark:#C5A059;
  --gold-text:#8a6516;      /* gold that stays readable on white */
  --gold-soft:#fbf4e4;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --bg:#ffffff;
  --bg-alt:#f6f8fb;
  --max:1160px;
  --headerH:76px;
  --radius:14px;
  --shadow:0 6px 22px rgba(7,21,58,.06);
  --shadow-hover:0 14px 34px rgba(7,21,58,.12);
  --font-ui:"Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head:"EB Garamond", Georgia, "Times New Roman", serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:calc(var(--headerH) + 12px); -webkit-text-size-adjust:100%}
body{
  margin:0;
  padding-top:var(--headerH);
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-ui);
  font-size:16px;
  line-height:1.65;
  overflow-x:hidden;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit}
[hidden]{display:none !important}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}

/* Keyboard focus that is visible on light and dark backgrounds */
:focus-visible{outline:3px solid #2563eb; outline-offset:3px; border-radius:6px}
.skip-link{
  position:absolute; left:12px; top:-60px; z-index:2000;
  background:#fff; color:var(--navy); padding:10px 16px; border-radius:8px;
  font-weight:700; text-decoration:none; transition:top .15s;
}
.skip-link:focus{top:12px}

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:0 24px;
  border-radius:10px; border:2px solid transparent;
  font-family:var(--font-ui); font-size:15px; font-weight:700; line-height:1.2;
  text-decoration:none; text-align:center; cursor:pointer;
  transition:background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary{background:var(--gold); color:var(--navy)}
.btn-primary:hover{background:var(--gold-dark)}
.btn-secondary{background:transparent; color:var(--navy); border-color:var(--navy)}
.btn-secondary:hover{background:var(--navy); color:#fff}
.btn-light{background:transparent; color:#fff; border-color:rgba(255,255,255,.55)}
.btn-light:hover{border-color:var(--gold); color:var(--gold)}
.btn-sm{min-height:40px; padding:0 16px; font-size:14px}
.btn-block{width:100%}
.btn[disabled]{opacity:.6; cursor:wait}
.text-link{
  display:inline-flex; align-items:center; gap:6px;
  color:var(--gold-text); font-weight:700; font-size:15px; text-decoration:none;
}
.text-link:hover{text-decoration:underline}

/* ===== Header ===== */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:1000;
  height:var(--headerH);
  background:var(--navy);
  border-bottom:3px solid var(--gold);
  box-shadow:0 6px 20px rgba(0,0,0,.14);
}
.header-inner{
  max-width:1320px; height:100%; margin:0 auto; padding:0 20px;
  display:flex; align-items:center; gap:20px;
}
.brand{display:flex; align-items:center; flex:none}
.brand img{height:50px; width:auto}
.main-nav{flex:1; display:flex; justify-content:center}
.main-nav ul{list-style:none; margin:0; padding:0; display:flex; gap:4px}
.main-nav a{
  display:block; padding:10px 10px; border-radius:8px;
  color:#fff; font-size:14px; font-weight:600; text-decoration:none; white-space:nowrap;
}
.main-nav a:hover{color:var(--gold)}
.main-nav .nav-cta{display:none}
.header-actions{display:flex; align-items:center; gap:10px; flex:none; margin-left:auto}
.lang-btn{
  min-height:40px; padding:0 12px; border-radius:8px;
  background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.4);
  font-family:var(--font-ui); font-size:13px; font-weight:700; cursor:pointer;
}
.lang-btn:hover{border-color:var(--gold); color:var(--gold)}
.menu-btn{
  display:none; width:44px; height:44px; padding:10px;
  background:none; border:0; cursor:pointer; border-radius:8px;
}
.menu-btn span{display:block; height:2px; background:var(--gold); border-radius:2px; margin:5px 0; transition:.2s}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:1260px){
  .menu-btn{display:block}
  .main-nav{
    position:fixed; top:var(--headerH); left:0; right:0;
    max-height:calc(100vh - var(--headerH)); overflow-y:auto;
    background:var(--navy); border-bottom:3px solid var(--gold);
    padding:8px 20px 20px;
    display:none;
  }
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column; gap:0}
  .main-nav a{padding:14px 4px; font-size:16px; border-bottom:1px solid rgba(255,255,255,.08); border-radius:0}
  .main-nav .nav-cta{display:block; margin-top:16px}
  .main-nav .nav-cta a{border:0; text-align:center; border-radius:10px; padding:0}
}
@media (max-width:600px){
  :root{--headerH:66px}
  .brand img{height:40px}
  .header-actions .btn-primary{display:none}
  .header-inner{gap:10px; padding:0 14px}
}

/* ===== Sections ===== */
.section{padding:88px 0}
.section.alt{background:var(--bg-alt)}
.section.dark{background:linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color:#fff}
.section-head{max-width:760px; margin:0 auto 44px; text-align:center}
.eyebrow{
  display:inline-block; margin:0 0 10px;
  color:var(--gold-text); font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
}
.dark .eyebrow{color:var(--gold)}
h1,h2,h3{font-family:var(--font-head); line-height:1.15; margin:0; color:var(--navy)}
.dark h1,.dark h2,.dark h3{color:#fff}
h2.section-title{font-size:44px; margin-bottom:14px}
.lead{font-size:18px; color:var(--muted); margin:0}
.dark .lead{color:#dbe4f3}
.accent{color:var(--gold)}

/* ===== Hero ===== */
.hero{
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(230,193,114,.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff; padding:96px 0 104px;
}
.hero-grid{display:grid; grid-template-columns:1.25fr 1fr; gap:56px; align-items:center}
.hero h1{font-size:58px; color:#fff; margin-bottom:20px}
.hero .lead{color:#dbe4f3; font-size:20px; max-width:620px}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px; margin-top:34px}
.trust-row{list-style:none; padding:0; margin:34px 0 0; display:flex; flex-wrap:wrap; gap:10px 22px; color:#dbe4f3; font-size:14px; font-weight:600}
.trust-row i{color:var(--gold); margin-right:8px}
.hero-panel{
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14);
  border-radius:18px; padding:26px;
}
.hero-panel h2{font-size:26px; margin-bottom:6px; color:#fff}
.hero-panel p{margin:0 0 18px; color:#c9d4e8; font-size:15px}
.hero-links{list-style:none; margin:0; padding:0; display:grid; gap:10px}
.hero-links a{
  display:flex; align-items:center; gap:14px; padding:14px 16px;
  border-radius:12px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  color:#fff; text-decoration:none; font-weight:600; transition:.2s;
}
.hero-links a:hover{border-color:var(--gold); background:rgba(255,255,255,.1)}
.hero-links i.lead-icon{
  width:40px; height:40px; flex:none; border-radius:10px; display:grid; place-items:center;
  background:rgba(230,193,114,.15); color:var(--gold); font-size:17px;
}
.hero-links small{display:block; color:#b8c4dc; font-weight:500; font-size:13px}
.hero-links .fa-arrow-right{margin-left:auto; color:var(--gold)}

/* ===== Cards (shared by services, who-we-help, why-us, testimonials) ===== */
.card-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px}
.card-grid.four{grid-template-columns:repeat(4, 1fr)}
.card-flow{display:flex; flex-wrap:wrap; justify-content:center; gap:24px}
.card-flow > .card{flex:1 1 300px; max-width:368px}
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:28px;
  display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover:hover){
  .card.hover:hover{transform:translateY(-3px); box-shadow:var(--shadow-hover); border-color:#e8d3a3}
}
.card-icon{
  width:52px; height:52px; border-radius:14px; flex:none;
  display:grid; place-items:center; margin-bottom:18px;
  background:var(--gold-soft); color:var(--gold-text); font-size:22px;
}
.card h3, .card h4{font-family:var(--font-head); font-size:25px; line-height:1.2; margin:0 0 10px; color:var(--navy)}
.card p{margin:0 0 16px; color:var(--muted); font-size:15.5px}
.card .card-foot{margin-top:auto; padding-top:8px}
.price{
  margin:0 0 16px; font-size:15px; color:var(--text); font-weight:600;
  padding-top:14px; border-top:1px solid var(--line);
}
.price strong{color:var(--navy); font-size:18px}
.card .btn{align-self:flex-start}

/* Service groups */
.service-group + .service-group{margin-top:72px}
.group-head{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:26px; padding-bottom:14px; border-bottom:2px solid var(--gold)}
.group-head h3{font-size:34px}
.group-head p{margin:4px 0 0; color:var(--muted)}

/* Pricing */
.price-table{list-style:none; margin:0; padding:0}
.price-table li{display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid var(--line); font-size:15.5px}
.price-table li:last-child{border-bottom:0}
.price-table span:last-child{font-weight:700; color:var(--navy); white-space:nowrap; text-align:right}
.note{
  margin:26px auto 0; max-width:820px; text-align:center;
  background:var(--gold-soft); border:1px solid #efdcae; border-radius:12px; padding:16px 20px; font-size:15px;
}

/* How it works */
.steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(5, 1fr); gap:20px; counter-reset:step; position:relative}
.steps li{position:relative; text-align:center; padding:0 6px}
.steps li::before{
  counter-increment:step; content:counter(step);
  display:grid; place-items:center; width:56px; height:56px; margin:0 auto 18px;
  border-radius:50%; background:var(--navy); color:var(--gold); border:3px solid var(--gold);
  font-family:var(--font-head); font-size:26px; font-weight:700; position:relative; z-index:1;
}
.steps li:not(:last-child)::after{
  content:""; position:absolute; top:28px; left:calc(50% + 34px); right:calc(-50% + 34px);
  border-top:2px dashed #d8c08a;
}
.steps h3{font-size:22px; margin-bottom:8px}
.steps p{margin:0; color:var(--muted); font-size:15px}

/* Founder */
.founder{display:grid; grid-template-columns:minmax(240px, 380px) 1fr; gap:56px; align-items:center}
.founder-photo{
  aspect-ratio:4/5; border-radius:18px; overflow:hidden;
  background:linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  border:1px solid var(--line); box-shadow:var(--shadow);
  display:grid; place-items:center; position:relative;
}
.founder-photo img{width:100%; height:100%; object-fit:cover}
.founder-photo .monogram{font-family:var(--font-head); font-size:96px; color:var(--gold); letter-spacing:.04em}
.founder h2{font-size:44px; margin-bottom:6px}
.founder .name{font-family:var(--font-head); font-size:28px; color:var(--navy); margin:0}
.founder .role{margin:2px 0 22px; color:var(--gold-text); font-weight:700; font-size:14px; letter-spacing:.1em; text-transform:uppercase}
.founder p{color:var(--muted); margin:0 0 16px; font-size:16.5px}

/* Testimonials */
.quote-card blockquote{margin:0 0 18px; font-family:var(--font-head); font-size:21px; line-height:1.45; color:var(--text)}
.quote-card .who{margin-top:auto; font-weight:700; color:var(--navy); font-size:15px}
.quote-card .stars{color:var(--gold-dark); margin-bottom:12px; letter-spacing:2px}
.empty-card{max-width:640px; margin:0 auto; text-align:center; align-items:center}
.review-actions{display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:28px}

/* FAQ */
.faq-list{max-width:860px; margin:0 auto}
.faq-list details{background:#fff; border:1px solid var(--line); border-radius:12px; margin-bottom:12px; box-shadow:var(--shadow)}
.faq-list summary{
  list-style:none; cursor:pointer; padding:18px 54px 18px 22px; position:relative;
  font-weight:700; color:var(--navy); font-size:16.5px;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{
  content:"+"; position:absolute; right:20px; top:50%; transform:translateY(-50%);
  width:28px; height:28px; border-radius:50%; display:grid; place-items:center;
  background:var(--gold-soft); color:var(--gold-text); font-size:20px; font-weight:700;
}
.faq-list details[open] summary::after{content:"−"}
.faq-list .answer{padding:0 22px 18px; color:var(--muted)}
.faq-list .answer p{margin:0 0 10px}
.faq-list .answer ul{margin:0; padding-left:20px}

/* CTA band */
.cta-band{text-align:center}
.cta-band h2{font-size:44px; margin-bottom:12px}
.cta-band .lead{max-width:640px; margin:0 auto 30px}

/* ===== Quote form ===== */
.form-card{
  max-width:880px; margin:0 auto; background:#fff;
  border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow);
  padding:36px;
}
.form-step{border:0; margin:0 0 30px; padding:0; min-width:0}
.form-step > legend, .step-title{
  display:flex; align-items:center; gap:12px; padding:0; margin:0 0 18px;
  font-family:var(--font-head); font-size:26px; font-weight:700; color:var(--navy);
}
.step-num{
  width:34px; height:34px; border-radius:50%; flex:none; display:grid; place-items:center;
  background:var(--navy); color:var(--gold); font-family:var(--font-ui); font-size:15px;
}
.field-row{display:grid; grid-template-columns:1fr 1fr; gap:0 18px}
.field{margin-bottom:18px; min-width:0}
.field > label, .group > legend{
  display:block; margin:0 0 7px; padding:0;
  font-size:14px; font-weight:700; color:var(--text);
}
.req{color:#b42318}
.hint{margin:-3px 0 9px; font-size:13.5px; color:var(--muted)}
.group{border:0; padding:0; margin:0 0 18px; min-width:0}
input[type=text],input[type=tel],input[type=email],input[type=date],select,textarea{
  width:100%; min-height:50px; padding:12px 14px;
  border:1.5px solid #cbd5e1; border-radius:10px; background:#fff;
  font-family:var(--font-ui); font-size:16px; color:var(--text);
}
textarea{min-height:110px; resize:vertical}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--gold-dark); box-shadow:0 0 0 3px rgba(230,193,114,.35)}
select.big{font-weight:600; border-color:var(--navy)}
.choice-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap:10px}
.choice-grid.tight{grid-template-columns:repeat(auto-fill, minmax(min(150px, 100%), 1fr))}
.choice{
  display:flex; align-items:center; gap:10px; min-height:48px; margin:0;
  padding:10px 14px; border:1.5px solid #cbd5e1; border-radius:10px; background:#fff;
  font-size:15px; font-weight:500; cursor:pointer; line-height:1.3;
}
.choice:hover{border-color:var(--gold-dark)}
.choice:has(input:checked){border-color:var(--gold-dark); background:var(--gold-soft)}
.choice:has(input:focus-visible){outline:3px solid #2563eb; outline-offset:2px}
.choice input{width:19px; height:19px; margin:0; flex:none; accent-color:var(--navy)}
.star-txt{color:var(--gold-dark); letter-spacing:1px}
.block{border-top:1px solid var(--line); padding-top:24px; margin-top:6px}
.dep-row{display:grid; grid-template-columns:2fr 1.5fr 1fr auto; gap:10px; align-items:end; margin-bottom:10px}
.dep-row label{font-size:13px; font-weight:600; margin-bottom:4px; display:block}
.dep-remove{
  min-height:50px; min-width:50px; border-radius:10px; border:1.5px solid #fca5a5;
  background:#fff5f5; color:#991b1b; cursor:pointer; font-size:16px;
}
.privacy-hint{display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--muted); background:var(--bg-alt); border-radius:10px; padding:12px 14px; margin:0 0 22px}
.privacy-hint i{color:var(--gold-text); margin-top:3px}
.form-error{color:#b42318; font-weight:600; margin:14px 0 0; text-align:center}
.form-submit{text-align:center; margin-top:8px}
.form-submit .btn{min-width:min(100%, 340px); min-height:54px; font-size:16px}
.honeypot{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

.success-card{
  max-width:720px; margin:0 auto; text-align:center;
  background:#fff; border:1px solid #cfe9d6; border-top:6px solid #1f8a4c;
  border-radius:18px; box-shadow:var(--shadow-hover); padding:48px 36px;
}
.success-card:focus{outline:none}
.success-icon{
  width:76px; height:76px; margin:0 auto 20px; border-radius:50%;
  display:grid; place-items:center; background:#e7f6ec; color:#1f8a4c; font-size:36px;
}
.success-card h2{font-size:38px; margin-bottom:14px}
.success-card p{color:var(--muted); font-size:17px; margin:0 0 12px}

/* ===== Footer ===== */
.site-footer{background:linear-gradient(180deg, #081744 0%, var(--navy-deep) 100%); color:#e5e9f2; border-top:4px solid var(--gold); padding:64px 0 28px; font-size:15px}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px}
.footer-brand img{height:52px; width:auto; margin-bottom:16px}
.footer-brand p{color:#c3cde0; margin:0 0 18px; max-width:340px}
.site-footer h2{font-family:var(--font-ui); font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--gold); margin:0 0 16px}
.site-footer ul{list-style:none; margin:0; padding:0}
.site-footer li{margin:0 0 10px}
.site-footer a{color:#e5e9f2; text-decoration:none}
.site-footer a:hover{color:var(--gold); text-decoration:underline}
.site-footer li i{width:20px; color:var(--gold); margin-right:6px}
.social{display:flex; gap:10px}
.social a{
  width:42px; height:42px; border-radius:50%; display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.25); font-size:17px;
}
.social a:hover{border-color:var(--gold); text-decoration:none}
.footer-legal{border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding-top:22px; color:#aab6cc; font-size:13.5px}
.footer-legal p{margin:0 0 10px}

/* Floating WhatsApp */
.wa-float{
  position:fixed; right:18px; bottom:calc(18px + env(safe-area-inset-bottom, 0px)); z-index:900;
  width:58px; height:58px; border-radius:50%; display:grid; place-items:center;
  background:#1f9d55; color:#fff; font-size:30px; text-decoration:none;
  box-shadow:0 8px 22px rgba(0,0,0,.25);
}
.wa-float:hover{background:#178246}

/* ===== About page ===== */
.page-hero{background:linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color:#fff; padding:80px 0 72px; text-align:center}
.page-hero h1{font-size:52px; color:#fff; margin-bottom:14px}
.page-hero .lead{color:#dbe4f3; max-width:720px; margin:0 auto}
.prose{max-width:820px; margin:0 auto}
.prose h2{font-size:34px; margin:0 0 12px}
.prose p, .prose li{color:var(--muted); font-size:17px}
.prose ul{padding-left:22px}
.prose section + section{margin-top:44px}

/* ===== Responsive ===== */
@media (max-width:1024px){
  .hero-grid{grid-template-columns:1fr; gap:40px}
  .card-grid, .card-grid.four{grid-template-columns:repeat(2, 1fr)}
  .steps{grid-template-columns:1fr; gap:26px; max-width:560px; margin:0 auto}
  .steps li{display:grid; grid-template-columns:56px 1fr; gap:0 18px; text-align:left; padding:0}
  .steps li::before{grid-row:1 / span 2; margin:0}
  .steps li:not(:last-child)::after{top:62px; bottom:-22px; left:27px; right:auto; border-top:0; border-left:2px dashed #d8c08a}
  .founder{grid-template-columns:1fr; gap:32px}
  .founder-photo{max-width:340px; width:100%; margin:0 auto}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  body{font-size:16px}
  .section{padding:60px 0}
  .hero{padding:56px 0 64px}
  .hero h1{font-size:38px}
  .hero .lead{font-size:17.5px}
  .hero-actions .btn{flex:1 1 100%}
  h2.section-title, .founder h2, .cta-band h2{font-size:33px}
  .page-hero h1{font-size:38px}
  .section-head{margin-bottom:32px}
  .card-grid, .card-grid.four{grid-template-columns:1fr}
  .card{padding:22px}
  .card .btn{align-self:stretch}
  .group-head h3{font-size:28px}
  .form-card{padding:22px 16px; border-radius:14px}
  .field-row{grid-template-columns:1fr}
  .dep-row{grid-template-columns:1fr 1fr; padding:12px; border:1px solid var(--line); border-radius:10px}
  .dep-row .dep-name{grid-column:1 / -1}
  .success-card{padding:36px 20px}
  .success-card h2{font-size:30px}
  .footer-grid{grid-template-columns:1fr; gap:30px}
  .wrap{padding:0 16px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none !important}
}
