/* MAC Taxation — single page site */
:root {
  --navy: #0c1b34;
  --navy-2: #122a4d;
  --gold: #d4a72c;
  --gold-2: #e3b341;
  --gold-dark: #b8860b;
  --ink: #1a2438;
  --body: #3d4961;
  --muted: #5a657c;
  --faint: #8a92a6;
  --paper: #fbfaf7;
  --cream: #f1ede3;
  --line: #e6e1d4;
  --green: #2ea44f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Public Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}
a { color: var(--gold-dark); text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
a:hover { color: var(--gold); }
::selection { background: var(--gold); color: var(--navy); }
h1, h2, h3 { font-family: 'Archivo', sans-serif; }
.gold { color: var(--gold); }
.kicker { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 4px; color: var(--gold-dark); margin-bottom: 10px; }

/* Buttons */
.btn { display: inline-block; padding: 15px 30px; border-radius: 4px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .5px; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-wa { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid var(--green); color: #7fd99a; padding: 15px 26px; font-weight: 700; }
.btn-wa:hover { background: rgba(46,164,79,.15); color: #9fe8b4; }
.wa-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(212,167,44,.35); display: flex; align-items: center; gap: 24px; padding: 14px 6vw; }
.nav-logo { display: flex; align-items: baseline; gap: 10px; }
.logo-mac { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 24px; letter-spacing: 1px; color: #fff; }
.logo-tax { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 4px; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; margin-left: auto; }
.nav-links a { color: #e8e4da; }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--navy) !important; padding: 10px 18px; border-radius: 4px; font-family: 'Archivo', sans-serif; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-2); }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; background: none; border: 1.5px solid rgba(212,167,44,.5); border-radius: 4px; cursor: pointer; padding: 0 9px; }
.burger span { display: block; height: 2px; background: var(--gold); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  /* To self-host the banner: save a photo as assets/hero-banner.jpg and swap the URL below to url('../assets/hero-banner.jpg') */
  background-image: linear-gradient(rgba(9,20,40,.88), rgba(12,27,52,.92)), url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1920&q=70');
  background-size: cover; background-position: center;
  color: #fff; position: relative;
}
.hero-inner { max-width: 900px; margin: 0 auto; padding: 100px 6vw 96px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(212,167,44,.5); border-radius: 999px; padding: 7px 16px; font-size: 12.5px; letter-spacing: 2.5px; font-weight: 600; color: var(--gold); margin-bottom: 26px; }
.hero h1 { font-weight: 900; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; margin: 0 0 18px; text-wrap: pretty; }
.hero-sub { font-size: 18px; line-height: 1.6; color: #c9d2e2; margin: 0 0 14px; max-width: 560px; text-wrap: pretty; }
.hero-name { margin: 0 0 34px; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .5px; color: #e8e4da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust-bar { background: var(--gold); color: var(--navy); }
.trust-inner { max-width: 1180px; margin: 0 auto; padding: 14px 6vw; display: flex; flex-wrap: wrap; gap: 8px 36px; justify-content: center; text-align: center; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .4px; }

/* Services */
.services { max-width: 1180px; margin: 0 auto; padding: 84px 6vw 72px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2, .about h2, .contact h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); margin: 0; }
.section-head p { color: var(--muted); font-size: 16px; margin: 12px auto 0; max-width: 560px; text-wrap: pretty; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.svc-card:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(12,27,52,.08); }
.svc-badge { width: 44px; height: 44px; border-radius: 6px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .5px; }
.svc-card h3 { font-weight: 800; font-size: 17px; color: var(--navy); margin: 0; }
.svc-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Notices */
.notices { background: var(--navy); color: #fff; }
.notices-inner { max-width: 1180px; margin: 0 auto; padding: 76px 6vw; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; align-items: center; }
.notice-tag { display: inline-block; background: var(--gold); color: var(--navy); font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 2px; padding: 7px 14px; border-radius: 3px; margin-bottom: 20px; }
.notices h2 { font-weight: 900; font-size: clamp(30px, 3.6vw, 44px); margin: 0 0 16px; line-height: 1.08; }
.notices-copy p { color: #c9d2e2; font-size: 16.5px; line-height: 1.65; margin: 0 0 30px; max-width: 460px; text-wrap: pretty; }
.notices-list { display: flex; flex-direction: column; gap: 16px; }
.notice-item { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(212,167,44,.3); border-radius: 6px; padding: 20px 22px; }
.notice-num { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 15px; }
.notice-item h3 { font-weight: 800; font-size: 17px; margin: 0 0 5px; color: #fff; }
.notice-item p { margin: 0; font-size: 14px; color: #c9d2e2; line-height: 1.5; }

/* About */
.about { max-width: 1180px; margin: 0 auto; padding: 84px 6vw; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 48px; align-items: center; }
.about-photo { display: flex; justify-content: center; }
.about-photo img { display: block; width: min(320px, 100%); border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(12,27,52,.14); }
.about h2 { margin-bottom: 18px; }
.about-role { font-family: 'Archivo', sans-serif; font-weight: 700; color: var(--gold-dark); font-size: 16px; letter-spacing: 1px; margin: 0 0 18px; }
.about-copy > p { color: var(--body); font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; text-wrap: pretty; }
.about-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 12px; }
.stat-value { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 30px; color: var(--navy); }
.stat-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--faint); text-transform: uppercase; }

/* Contact */
.contact { background: var(--cream); border-top: 1px solid var(--line); }
.contact-inner { max-width: 1180px; margin: 0 auto; padding: 84px 6vw; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: start; }
.contact h2 { margin-bottom: 26px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contact-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; color: var(--navy); transition: border-color .15s; }
.contact-card:hover { border-color: var(--gold); color: var(--navy); }
.contact-card-wa:hover { border-color: var(--green); }
.cc-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.cc-icon-wa { background: var(--green); color: #fff; }
.cc-label { display: block; font-size: 12px; letter-spacing: 1.5px; color: var(--faint); font-weight: 600; }
.cc-value { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; }
.socials { display: flex; gap: 12px; align-items: center; }
.socials-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--faint); }
.social-btn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.social-btn:hover { background: var(--navy); color: var(--gold); }

/* Form */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 34px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.contact-form h3 { font-weight: 800; font-size: 20px; color: var(--navy); margin: 0 0 4px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--body); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid #d8d2c2; border-radius: 4px; padding: 12px 14px;
  font-size: 15px; font-family: 'Public Sans', sans-serif; background: var(--paper);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn-submit { background: var(--navy); color: var(--gold); border: none; padding: 15px; font-size: 15px; }
.btn-submit:hover { background: var(--navy-2); }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 0; text-align: center; font-size: 14px; font-weight: 600; min-height: 1em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c0392b; }

/* Footer */
.footer { background: var(--navy); color: #8a95ab; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 34px 6vw; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; font-size: 13.5px; }
.footer .logo-mac { font-size: 18px; }
.footer .logo-tax { font-size: 11px; letter-spacing: 3px; }

/* Responsive */
@media (max-width: 900px) {
  .about-photo { order: -1; }
}
@media (max-width: 860px) {
  .nav { justify-content: space-between; }
  .burger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(212,167,44,.35);
    box-shadow: 0 16px 32px rgba(0,0,0,.35);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 16px 6vw; border-top: 1px solid rgba(255,255,255,.08); font-size: 15px; }
}
@media (max-width: 720px) {
  .trust-inner { justify-content: center; }
}
@media (max-width: 480px) {
  .logo-tax { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
}
