@keyframes ticker-scroll {
  from;
}

to {
  transform: rotate(360deg);
}

@keyframes badge-rotate {
  from;
}

:root {
  --navy:       #0B1628;
  --navy2:      #111F36;
  --navy3:      #192B47;
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --off-white:  #F4F1EC;
  --muted:      #8A9AB0;
  --line:       rgba(201,168,76,0.15);
}

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

body {
  background: var(--navy);
  color: var(--off-white);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

#mainNav {
  background: transparent;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s;
  transition-property: background, box-shadow;
  transition-duration: 0.4s;
}

#mainNav.scrolled {
  background: rgba(11,22,40,0.97);
  box-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

#mainNav .tax-brand {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

#mainNav .tax-brand span {
  color: var(--gold);
}

#mainNav .tax-brand-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 2px;
  line-height: 1;
}

#mainNav .tax-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.7);
  padding: 0.4rem 1rem;
  text-decoration: none;
  transition: color 0.2s;
}

#mainNav .tax-nav-link:hover {
  color: var(--gold);
}

#mainNav .tax-btn-nav {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s;
}

#mainNav .tax-btn-nav:hover {
  background: var(--gold-light);
  color: var(--navy);
}

/* HERO */
    #home {
  min-height: 100vh;
  background-image:
        linear-gradient(to bottom, rgba(11,22,40,0.6) 0%, rgba(11,22,40,0.88) 100%),
        url('https://images.unsplash.com/photo-29299292b3ff858f?w=1800&q=85');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

#home .tax-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--navy), transparent);
  pointer-events: none;
}

#home .tax-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

#home .tax-eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

#home h1 {
  font-size: 3rem;
}

#home h1 em {
  font-style: italic;
  color: var(--gold);
}

#home .tax-hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(244,241,236,0.68);
  max-width: 430px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

#home .tax-hero-badge {
  position: absolute;
  right: 6%;
  bottom: 14%;
  width: 115px;
  height: 115px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: badge-rotate 22s linear infinite;
}

#home .tax-badge-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

#home .tax-badge-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
  display: block;
  margin-top: 3px;
}

/* BUTTONS */
    .tax-btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: 0;
  border: none;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s;
}

.tax-btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.tax-btn-outline {
  background: transparent;
  color: var(--off-white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border-radius: 0;
  border: 1px solid rgba(244,241,236,0.35);
  display: inline-block;
  text-decoration: none;
  transition: border-color 0.2s;
  transition-property: border-color, color;
  transition-duration: 0.2s;
}

.tax-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* TICKER */
    #tax-ticker {
  background: var(--gold);
  padding: 0.65rem 0;
  overflow: hidden;
  white-space: nowrap;
}

#tax-ticker .tax-track {
  display: inline-flex;
  gap: 3rem;
  animation: ticker-scroll 26s linear infinite;
}

#tax-ticker .tax-tick-item {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}

#tax-ticker .tax-tick-dot {
  color: rgba(11,22,40,0.45);
  margin: 0 0.5rem;
}

/* SHARED LABELS */
    .tax-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.9rem;
}

.tax-label-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.tax-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

.tax-title em {
  font-style: italic;
  color: var(--gold);
}

.tax-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-top: 1.4rem;
  margin-bottom: 2rem;
}

/* ABOUT */
    #about {
  background: var(--navy2);
  padding: 8rem 0;
}

#about .tax-img-wrap {
  position: relative;
}

#about .tax-img-wrap img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
}

#about .tax-img-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--gold);
  color: var(--navy);
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#about .tax-img-badge .badge-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  display: block;
}

#about .tax-img-badge .badge-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  display: block;
}

#about .tax-body p {
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(244,241,236,0.65);
  line-height: 1.9;
  margin-bottom: 1.1rem;
}

#about .tax-stats {
  gap: 1.5rem;
}

#about .tax-stat-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

#about .tax-stat-lbl {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  display: block;
}

/* SERVICES */
    #services {
  background: var(--navy);
  padding: 8rem 0;
}

#services .tax-svc-card {
  background: var(--navy2);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 2.4rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
  transition-property: border-color, transform;
  transition-duration: 0.3s;
}

#services .tax-svc-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}

#services .tax-svc-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.35s;
}

#services .tax-svc-card:hover .tax-svc-accent {
  height: 100%;
}

#services .tax-svc-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  margin-bottom: 1rem;
}

#services .tax-svc-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 0.7rem;
}

#services .tax-svc-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

#services .tax-svc-tag {
  display: inline-block;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
}

#services .tax-intro {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(244,241,236,0.55);
  line-height: 1.8;
}

/* TEAM */
    #team {
  background: var(--navy2);
  padding: 8rem 0;
}

#team .tax-team-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

#team .tax-team-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: grayscale(25%);
  transition: filter 0.4s;
  transition-property: filter, transform;
  transition-duration: 0.4s;
}

#team .tax-team-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

#team .tax-team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11,22,40,0.95) 30%, transparent);
  padding: 2rem 1.5rem 1.5rem;
}

#team .tax-team-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 0.2rem;
}

#team .tax-team-role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

#team .tax-team-creds {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(244,241,236,0.5);
  margin-top: 4px;
}

/* PROCESS (gallery equivalent) */
    #process {
  background: var(--navy);
  padding-top: 8rem;
  padding-bottom: 0;
}

#process .tax-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 220px 220px 220px 220px 220px;
}

#process .tax-process-item {
  overflow: hidden;
  position: relative;
}

#process .tax-process-tall {
  grid-row: span 1;
}

#process .tax-process-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%) brightness(0.82);
  transition: transform 0.5s;
  transition-property: transform, filter;
  transition-duration: 0.5s;
}

#process .tax-process-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

#process .tax-process-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(11,22,40,0.88) 0%, transparent 100%);
  padding: 1.4rem 1.2rem 1rem;
}

#process .tax-process-step {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 3px;
}

#process .tax-process-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--off-white);
}

/* TESTIMONIALS */
    #testimonials {
  background: var(--navy3);
  padding: 8rem 0;
}

#testimonials .tax-testi-card {
  background: var(--navy2);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 2.4rem;
  height: 100%;
  position: relative;
}

#testimonials .tax-quote-mark {
  font-family: 'Libre Baskerville', serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.1);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

#testimonials .tax-testi-stars {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 4px;
  margin-bottom: 1.1rem;
}

#testimonials .tax-testi-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(244,241,236,0.85);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

#testimonials .tax-testi-author {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

#testimonials .tax-testi-company {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted);
}

/* BOOKING */
    #booking {
  padding: 8rem 0;
  background-image:
        linear-gradient(rgba(11,22,40,0.92), rgba(11,22,40,0.92)),
        url('https://images.unsplash.com/photo-29299292c3d57bc86b40?w=1400&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#booking .tax-booking-intro {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

#booking .tax-f-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: block;
}

#booking .tax-f-field {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 0;
  color: var(--off-white);
  font-family: 'Outfit', sans-serif;
  padding: 0.88rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 300;
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

#booking .tax-f-field::placeholder {
  color: rgba(138,154,176,0.5);
}

#booking .tax-f-field:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.03);
  color: var(--off-white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.06);
}

#booking .tax-f-field option {
  background: var(--navy2);
  color: var(--off-white);
}

/* FOOTER */
    #tax-footer {
  background: #060D18;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
}

#tax-footer .tax-footer-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#tax-footer .tax-footer-logo span {
  color: var(--gold);
}

#tax-footer .tax-footer-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244,241,236,0.28);
  margin-top: 0.5rem;
}

#tax-footer .tax-footer-address {
  color: rgba(244,241,236,0.38);
  font-size: 0.84rem;
  font-weight: 300;
  margin-top: 1.2rem;
  line-height: 1.85;
}

#tax-footer .tax-footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

#tax-footer .tax-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#tax-footer .tax-footer-list li {
  margin-bottom: 0.55rem;
}

#tax-footer .tax-footer-list a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(244,241,236,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

#tax-footer .tax-footer-list a:hover {
  color: var(--gold);
}

#tax-footer .tax-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(244,241,236,0.38);
  margin-bottom: 0.45rem;
}

#tax-footer .tax-hours-day {
  color: rgba(244,241,236,0.7);
}

#tax-footer .tax-footer-divider {
  border-color: rgba(244,241,236,0.06);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

#tax-footer .tax-footer-copy {
  font-size: 0.75rem;
  color: rgba(244,241,236,0.25);
  font-weight: 300;
}

#tax-footer .tax-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.25);
  color: rgba(244,241,236,0.38);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  transition: border-color 0.2s;
  transition-property: border-color, color;
  transition-duration: 0.2s;
  margin-right: 0.5rem;
}

#tax-footer .tax-footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

#tax-footer .tax-newsletter-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-right: none;
  border-radius: 0;
  color: var(--off-white);
  font-size: 0.82rem;
  font-weight: 300;
  padding: 0.68rem 1rem;
  flex: 1;
  outline: none;
}

#tax-footer .tax-newsletter-input::placeholder {
  color: rgba(138,154,176,0.4);
}

#tax-footer .tax-newsletter-btn {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.68rem 1.2rem;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#tax-footer .tax-newsletter-btn:hover {
  background: var(--gold-light);
}

/* SCROLL REVEAL */
    .tax-fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s;
  transition-property: opacity, transform;
  transition-duration: 0.65s;
}

.tax-fade.tax-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RULE 6: CALENDAR SCOPING */
    .calendar-appointment {
  margin-top: 1.5rem;
}

.calendar-appointment .card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(201,168,76,0.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.calendar-appointment .card-body {
  padding: 2rem !important;
}

.calendar-appointment .card-title {
  font-family: 'Libre Baskerville', serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: var(--off-white) !important;
}

.calendar-appointment .form-control {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
  border-radius: 0 !important;
  color: var(--off-white) !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 300 !important;
}

.calendar-appointment .form-control:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.06) !important;
  color: var(--off-white) !important;
  background: rgba(201,168,76,0.03) !important;
}

.calendar-appointment .btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.calendar-appointment .btn:hover {
  background: var(--gold-light) !important;
  color: var(--navy) !important;
}

.calendar-appointment #slotsResult {
  color: rgba(244,241,236,0.7) !important;
  font-size: 0.88rem !important;
  font-weight: 300 !important;
}

@media (max-width: 992px) {
  #home .tax-hero-badge;
}

@media (max-width: 768px) {
  #about .tax-img-badge;
}

@media (max-width: 576px) {
  #about .tax-stats;
}

[data-ep-id="ep_div_4"] {
  position: relative !important;
  z-index: 2 !important;
}

[data-ep-id="ep_div_147"] {
  justify-content: center !important;
}

[data-ep-id="ep_p_8"] {
  color: rgba(244,241,236,0.38) !important;
  font-size: 0.82rem !important;
  font-weight: 300 !important;
  line-height: 1.75 !important;
  margin-bottom: 1rem !important;
}

[data-ep-id="ep_button_6"] {
  float: right !important;
}

[data-ep-id="ep_button_7"] {
  float: right !important;
}