/* Shared layout / Apple‑inspired white + gold theme */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: #f5f5f7;
  color: #111;
}

/* Top navigation */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 4rem;
  background: #050505;
  border-bottom: 1px solid rgba(255, 215, 0, 0.35);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  animation: logoGlow 4s ease-in-out infinite alternate;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #f9f9fb;
}

.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.75);
}

.main-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.85rem;
}

.main-nav a {
  text-decoration: none;
  color: #f5f5f7;
  opacity: 0.75;
  position: relative;
  padding-bottom: 0.25rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #f8e08c, #f5c544);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.main-nav a.active {
  opacity: 1;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  width: 100%;
}

/* Hero (home) */

.page {
  padding: 4rem 4rem 5rem;
}

.page-home .hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 64px);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 3vw, 3rem);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  color: #121212;
}

.hero-content p {
  max-width: 520px;
  color: #515154;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f3d47a, #f1bd3c);
  color: #111;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.18);
}

.btn-ghost {
  background: transparent;
  color: #111;
  border: 1px solid rgba(0,0,0,0.12);
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.04);
}

.btn-full {
  width: 100%;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-tags span {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Hero logo orbit */

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-logo-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-orbit img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
  background: radial-gradient(circle at 30% 10%, #fff7cf 0, #f4c845 40%, #b47a12 100%);
}

.hero-logo-ring {
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.4);
  animation: floatRing 8s ease-in-out infinite;
}

/* Grid section */

.grid-section {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.grid-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 16px 35px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.03);
}

.grid-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.grid-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #515154;
}

/* Generic content card layout */

.content-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.5rem 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}

.content-card--reverse {
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 3fr);
}

.content-card--stack {
  display: block;
}

.content-card h1 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.content-card p {
  color: #515154;
  font-size: 0.95rem;
}

.content-text {
  align-self: center;
}

.content-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rounded-shadow {
  border-radius: 24px;
  max-width: 100%;
  box-shadow: 0 22px 50px rgba(0,0,0,0.25);
}

/* Lists */

.bullet-list {
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  color: #515154;
  font-size: 0.95rem;
}

.bullet-list li + li {
  margin-top: 0.4rem;
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.service-pill {
  padding: 1.1rem 1.2rem;
  border-radius: 20px;
  background: #f7f7fa;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-pill h2 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.service-pill p {
  margin: 0;
  font-size: 0.85rem;
  color: #5b5b60;
}

/* Team */

.team-section {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.5rem 2.75rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
}

.team-intro {
  color: #515154;
  max-width: 520px;
}

.team-grid {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.team-card {
  position: relative;
  max-width: 640px;
}

.team-img-wrap img {
  width: 100%;
  border-radius: 24px;
}

.team-overlay {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: rgba(0,0,0,0.75);
  color: #f5f5f7;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.team-overlay span {
  font-size: 0.7rem;
  opacity: 0.9;
}

/* Deadlines */

.deadline-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.5rem;
}

.deadline-column h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.deadline-column ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.deadline-column li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.9rem;
  color: #515154;
}

.deadline-column li:last-child {
  border-bottom: none;
}

.deadline-note {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: #6e6e73;
}

/* Contact / scheduling */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
}

.contact-card {
  padding: 2.25rem 2.5rem;
}

.contact-info {
  padding: 2rem 2.25rem;
}

.contact-info a {
  color: #c3921d;
  text-decoration: none;
}

.schedule-form {
  margin-top: 1.4rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 0.85rem;
  font-family: inherit;
  background: #fdfdfd;
}

.form-row textarea {
  resize: vertical;
}

.schedule-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

/* Footer */

.site-footer {
  padding: 1.5rem 1rem 2.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6e6e73;
}

/* Page loader */

.page-loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #fdf7da, #f5f5f7 55%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-loader--hide {
  opacity: 0;
  transform: translateY(-40px);
  pointer-events: none;
}

.loader-circle {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 15%, #fffbe9, #f2c952 45%, #a86c0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 22px 45px rgba(0,0,0,0.35);
  animation: loaderPulse 2.2s ease-in-out infinite;
}

.loader-circle img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
}

/* Animations */

@keyframes loaderPulse {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 0 rgba(255,215,0,0.0)); }
  100% { filter: drop-shadow(0 0 14px rgba(255,215,0,0.75)); }
}

@keyframes floatRing {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* Responsive tweaks */

@media (max-width: 960px) {
  .top-bar {
    padding-inline: 1.5rem;
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }

  .page {
    padding: 3rem 1.5rem 4rem;
  }

  .page-home .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .content-card,
  .team-section {
    padding: 1.8rem 1.8rem 2.1rem;
    grid-template-columns: 1fr;
  }

  .content-card--reverse {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top-bar {
    padding-inline: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .page {
    padding-inline: 1rem;
  }
}
/* =========================================================
   ABOUT PAGE – EXPANDABLE TABS (ADD BELOW ALL EXISTING CSS)
   ========================================================= */

   .about-tabs details {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.2rem 1.4rem;
    margin-top: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition:
      box-shadow 0.35s ease,
      transform 0.35s ease,
      border-color 0.35s ease;
  }
  
  .about-tabs details:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
  }
  
  .about-tabs details[open] {
    border-color: rgba(243, 196, 60, 0.55);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  }
  
  .about-tabs summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    color: #111;
  }
  
  .about-tabs summary::-webkit-details-marker {
    display: none;
  }
  
  .about-tabs summary::after {
    content: "＋";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.15rem;
    line-height: 1;
    color: #f1bd3c;
    transition: transform 0.35s ease;
  }
  
  .about-tabs details[open] summary::after {
    content: "−";
    transform: rotate(180deg);
  }
  
  .about-tabs details p,
  .about-tabs details ul {
    margin-top: 0.9rem;
    animation: aboutFadeSlide 0.35s ease both;
  }
  
  .about-tabs ul {
    padding-left: 1.1rem;
  }
  
  .about-tabs li {
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    color: #515154;
  }
  
  @keyframes aboutFadeSlide {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 600px) {
    .about-tabs details {
      padding: 1.05rem 1.15rem;
    }
  }
/* =========================================================
   ABOUT PAGE – HIGH-END TECH / AMEX STYLE LOGO
   ========================================================= */

   .about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 900px;
  }
  
  .about-logo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
      circle at 30% 20%,
      #fff8d8 0%,
      #f2c94c 42%,
      #b47a12 100%
    );
    box-shadow:
      0 28px 55px rgba(0,0,0,0.28),
      inset 0 0 0 rgba(255,215,0,0);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: techFloat 9s ease-in-out infinite;
  }
  
  /* Light sweep overlay */
  .about-logo::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(
      120deg,
      transparent 40%,
      rgba(255,215,130,0.25) 50%,
      transparent 60%
    );
    transform: translateX(-60%) rotate(8deg);
    animation: lightSweep 6.5s ease-in-out infinite;
  }
  
  /* Precision micro-tilt (Amex feel) */
  @keyframes techFloat {
    0% {
      transform: rotateX(0deg) rotateY(0deg);
      box-shadow:
        0 28px 55px rgba(0,0,0,0.28);
    }
    50% {
      transform: rotateX(2deg) rotateY(-2deg);
      box-shadow:
        0 34px 70px rgba(0,0,0,0.32);
    }
    100% {
      transform: rotateX(0deg) rotateY(0deg);
      box-shadow:
        0 28px 55px rgba(0,0,0,0.28);
    }
  }
  
  /* Soft gold sweep */
  @keyframes lightSweep {
    0% {
      transform: translateX(-70%) rotate(8deg);
      opacity: 0;
    }
    35% {
      opacity: 0.35;
    }
    60% {
      opacity: 0.25;
    }
    100% {
      transform: translateX(70%) rotate(8deg);
      opacity: 0;
    }
  }
  
  /* Mobile scale-down */
  @media (max-width: 960px) {
    .about-logo {
      width: 180px;
      height: 180px;
    }
  }
/* BLOG SECTION — PREMIUM / AMEX VIBE */

.blog-section {
  margin-top: 4rem;
}

.blog-header {
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.blog-header p {
  color: #515154;
  font-size: 0.95rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(0,0,0,0.1);
}

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6a12;
  margin-bottom: 0.6rem;
}

.blog-card h2 {
  font-size: 1rem;
  margin: 0 0 0.6rem;
}

.blog-card p {
  font-size: 0.88rem;
  color: #515154;
}

.blog-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #c3921d;
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
}

/* SUBSCRIBE */

.blog-subscribe {
  margin-top: 3rem;
  padding: 2.25rem;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff7dc, #f5f5f7);
  border: 1px solid rgba(255, 215, 0, 0.35);
}

.blog-subscribe h2 {
  margin-top: 0;
}

.subscribe-form {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 0.85rem;
}

.subscribe-form button {
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f3d47a, #f1bd3c);
  font-weight: 600;
  cursor: pointer;
}
/* ===============================
   BLOG PAGE SPACING REFINEMENT
   =============================== */

/* Overall card padding */
.blog-section {
  padding: 64px 64px 72px;
}

/* Stay Ahead of the Curve box */
.blog-subscribe {
  padding: 44px 56px;
  margin-bottom: 64px;
}

/* Subscribe title + text spacing */
.blog-subscribe h2 {
  margin-bottom: 12px;
}

.blog-subscribe p {
  margin-bottom: 28px;
  max-width: 720px;
}

/* Email form spacing */
.subscribe-form {
  gap: 16px;
}

/* Insights header spacing */
.blog-header {
  margin-bottom: 40px;
}

.blog-header h1 {
  margin-bottom: 12px;
}

/* Blog grid spacing */
.blog-grid {
  margin-top: 28px;
  margin-bottom: 56px;
}

/* Individual blog cards */
.blog-card {
  padding: 32px;
}

/* View More Articles button */
.blog-view-more {
  margin-top: 8px;
}

/* Mobile polish */
@media (max-width: 768px) {
  .blog-section {
    padding: 36px 24px 44px;
  }

  .blog-subscribe {
    padding: 32px 24px;
    margin-bottom: 48px;
  }
}
/* About page – logo + consultation CTA */

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.about-logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  box-shadow: 0 22px 50px rgba(0,0,0,0.25);
}

/* Premium CTA button under logo */
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #111;
  background: linear-gradient(135deg, #f3d47a, #f1bd3c);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}
/* Services CTA */

.services-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  background: linear-gradient(135deg, #f3d47a, #f1bd3c);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.25);
}
.services-cta {
  margin-top: 48px;
  text-align: center;
}
.services-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #f1d27a);
  color: #111;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
  transition: all 0.25s ease;
}
.services-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.35);
  filter: brightness(1.05);
}

.services-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.25);
}
/* ===============================
   SERVICES PAGE — FINAL LAYOUT FIX
   =============================== */

/* Center the entire services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  justify-content: center;
  max-width: 760px;
  margin: 32px auto 0;
}

/* Force "General Advisory" to sit under Bookkeeping – Business */
.service-grid > .service-pill:last-child {
  grid-column: 2;
}

/* Upgrade service cards slightly */
.service-pill {
  background: #f8f8fb;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.1);
}

/* ===============================
   SERVICES CTA — CENTER + PREMIUM
   =============================== */

.services-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 44px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  background: linear-gradient(135deg, #f3d47a, #f1bd3c);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(212, 175, 55, 0.45);
}

.services-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(212, 175, 55, 0.3);
}

/* Mobile safety */
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .service-grid > .service-pill:last-child {
    grid-column: auto;
  }
}
/* =========================================
   SERVICES CTA — PERFECT CENTER ALIGNMENT
   ========================================= */

   .services-cta {
    margin-top: 72px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .services-cta-btn {
    padding: 16px 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f3d47a, #f1bd3c);
    color: #111;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    letter-spacing: 0.3px;
  
    /* visual centering polish */
    transform: translateX(0);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.38);
  
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      filter 0.25s ease;
  }
  
  .services-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 60px rgba(212, 175, 55, 0.5);
    filter: brightness(1.06);
  }
  
  .services-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.35);
  }
  /* =========================================
   SERVICES PAGE — TRUE CENTER ALIGNMENT
   ========================================= */

/* Center all text content */
.content-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Limit text width so it still looks premium */
.content-text h1,
.content-text > p {
  max-width: 640px;
}

/* Center the service grid */
.service-grid {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

/* Ensure service cards align evenly */
.service-pill {
  width: 100%;
  max-width: 260px;
}

/* Center CTA perfectly */
.services-cta {
  margin-top: 72px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* =========================================
   SERVICES PAGE — TRUE CARD CENTER FIX
   ========================================= */

/* Force single-column layout for services */
.services-page .content-card {
  grid-template-columns: 1fr;
}

/* Center the content inside */
.services-page .content-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Keep text readable */
.services-page .content-text h1,
.services-page .content-text > p {
  max-width: 680px;
}

/* Center service grid as a block */
.services-page .service-grid {
  width: 100%;
  max-width: 860px;
  margin: 2rem auto 0;
  justify-items: center;
}

/* Uniform service card width */
.services-page .service-pill {
  max-width: 260px;
  width: 100%;
}

/* Perfectly centered CTA */
.services-page .services-cta {
  margin-top: 72px;
  display: flex;
  justify-content: center;
}
.articles-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.articles-list li {
  margin-bottom: 14px;
}

.articles-list a {
  display: block;
  padding: 14px 18px;
  background: #f7f7f7;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  color: #111;
  transition: all 0.2s ease;
}

.articles-list a:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}
/* ---------- ARTICLE LAYOUT ---------- */

.article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}

.article-hero {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 36px;
}

.article-title {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.article-meta {
  opacity: 0.7;
  margin-bottom: 28px;
}

.article-body p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.article-body h2 {
  margin-top: 40px;
  margin-bottom: 14px;
}

/* ---------- BACK BUTTON ---------- */

.back-link {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  text-decoration: none;
  font-size: 0.9rem;
}

/* ---------- ALL ARTICLES GRID ---------- */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.article-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-card-body {
  padding: 20px;
}

.article-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.article-card-body a {
  text-decoration: none;
  font-weight: 500;
}
/* Blog Article Layout */
.blog-article {
  max-width: 900px;
  margin: 60px auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.blog-hero {
  width: 100%;
  margin-bottom: 36px;
}

.blog-hero img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.blog-article h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.blog-meta {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 28px;
}

.blog-article p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.blog-article h2 {
  margin-top: 36px;
  margin-bottom: 12px;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  text-decoration: none;
  color: #111;
}
.article-card {
  max-width: 900px;
  margin: 0 auto;
}

.article-image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin-bottom: 2rem;
}

.article-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.article-meta {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article-content p {
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
/* =========================
   DEADLINES PAGE POLISH
   ========================= */

/* Main card refinement */
.content-card--stack {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 3.5rem 3rem;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 100%
  );
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Decorative gold wave */
.content-card--stack::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -60px;
  width: 420px;
  height: 220px;
  background: radial-gradient(
    ellipse at center,
    rgba(218, 176, 91, 0.18),
    rgba(218, 176, 91, 0.05),
    transparent 70%
  );
  transform: rotate(-6deg);
}

/* Headings */
.content-card--stack h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.content-card--stack > p {
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

/* Deadline grid */
.deadline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

/* Year columns */
.deadline-column {
  background: #ffffff;
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.06);
  position: relative;
}

.deadline-column h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(218, 176, 91, 0.35);
}

/* Deadline list */
.deadline-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deadline-column li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  line-height: 1.5;
}

.deadline-column li:last-child {
  border-bottom: none;
}

.deadline-column strong {
  font-weight: 600;
  color: #000;
}

/* Reminder note */
.deadline-note {
  margin-top: 3rem;
  padding: 1.4rem 1.6rem;
  background: rgba(218, 176, 91, 0.08);
  border-radius: 14px;
  font-size: 0.95rem;
}

.deadline-note a {
  color: #b18a32;
  font-weight: 500;
  text-decoration: none;
}

.deadline-note a:hover {
  text-decoration: underline;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .content-card--stack {
    padding: 2.5rem 2rem;
  }

  .deadline-column {
    padding: 2rem 1.6rem;
  }
}
/* ===============================
   CONTACT / SCHEDULING UI POLISH
================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Main cards */
.contact-card,
.contact-info-card {
  position: relative;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fbfbfb 100%
  );
  border-radius: 28px;
  padding: 3rem;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Soft gold wave accent */
.contact-card::before,
.contact-info-card::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12),
    transparent 70%
  );
  z-index: 0;
}

.contact-card *,
.contact-info-card * {
  position: relative;
  z-index: 1;
}

/* Headings */
.contact-card h1,
.contact-info-card h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-card p {
  max-width: 520px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2.2rem;
}

/* Form spacing */
.contact-card label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Group spacing */
.contact-card .form-group {
  margin-bottom: 1.4rem;
}

/* Button upgrade (same functionality) */
.contact-card button,
.contact-card .btn-primary {
  margin-top: 1.6rem;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #f0d27a,
    #d4af37
  );
  color: #111;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.45);
}

/* RIGHT CARD: Contact info */
.contact-info-card h2 {
  margin-bottom: 1.2rem;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.contact-info-card a {
  color: #d4af37;
  font-weight: 600;
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* Phone / Email layout */
.contact-info-card .contact-item {
  margin-bottom: 1.6rem;
}

.contact-info-card .contact-item span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 0.2rem;
}
/* ============================
   ALL ARTICLES – VISUAL POLISH
   ============================ */

   .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
  }
  
  .article-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  .article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(0,0,0,0.08);
  }
  
  .article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .article-card-content {
    padding: 20px 22px 24px;
  }
  
  .article-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }
  
  .article-card a {
    font-weight: 600;
    color: #6f42c1;
    text-decoration: none;
  }
  
  .article-card a:hover {
    text-decoration: underline;
  }
  /* ============================
   BLOG POST PAGE POLISH
   ============================ */

.blog-article {
  max-width: 860px;
  margin: 0 auto;
}

.blog-article img {
  border-radius: 16px;
  margin-bottom: 28px;
}

.blog-article h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.blog-article p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 18px;
  color: #333;
}

.blog-article .author {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 26px;
}
/* ===== Contact / Scheduling Page Cleanup ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Left form card spacing */
.contact-form h1 {
  margin-bottom: 8px;
}

.contact-form p {
  margin-bottom: 32px;
  color: #555;
  max-width: 600px;
}

/* Form rows */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Inputs */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

/* Submit button spacing */
.contact-form button {
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
}

/* ===== Right Contact Info Card ===== */

.contact-info {
  background: #fafafa;
  border-radius: 18px;
  padding: 28px;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 15px;
}

.contact-info a {
  color: #c89b3c;
  font-weight: 500;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}
/* ============================
   CONTACT & SCHEDULING PAGE
   VISUAL POLISH ONLY
   ============================ */

   .content-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 3.5rem;
  }
  
  /* Left: Form Section */
  .content-card h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
  }
  
  .content-card p {
    max-width: 560px;
    color: #555;
    margin-bottom: 2rem;
  }
  
  /* Form spacing */
  .content-card label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
  }
  
  .content-card input,
  .content-card select,
  .content-card textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }
  
  .content-card textarea {
    min-height: 110px;
    resize: vertical;
  }
  
  /* Date + Time row */
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
  
  /* Submit button */
  .content-card button,
  .content-card .btn-primary {
    margin-top: 1.2rem;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
  }
  
  /* ============================
     RIGHT CONTACT CARD
     ============================ */
  
  .contact-card {
    background: #fafafa;
    border-radius: 18px;
    padding: 2.5rem;
    height: fit-content;
  }
  
  .contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #444;
  }
  
  /* Stack email + phone cleanly */
  .contact-card .contact-item {
    margin-bottom: 1.2rem;
  }
  
  .contact-card .contact-label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
  }
  
  .contact-card a {
    color: #d4a12b;
    text-decoration: none;
    font-weight: 500;
  }
  
  /* ============================
     RESPONSIVE
     ============================ */
  
  @media (max-width: 900px) {
    .content-card {
      grid-template-columns: 1fr;
    }
  
    .contact-card {
      margin-top: 2rem;
    }
  
    .form-row {
      grid-template-columns: 1fr;
    }
  }
  /* =========================
   CONTACT INFO (RIGHT CARD)
========================= */

.contact-info {
  background: #fafafa;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  height: fit-content;
}

.contact-info h2 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: #111;
}

/* Individual contact rows */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
  padding-left: 36px;
  position: relative;
}

/* Labels (Email / Phone) */
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

/* Email + Phone links */
.contact-block a {
  font-size: 1rem;
  font-weight: 500;
  color: #c79a2b;
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Icons (pure CSS, no images) */
.contact-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(199, 154, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-block:first-of-type::before {
  content: "✉";
  font-size: 12px;
  color: #c79a2b;
}

.contact-block:last-of-type::before {
  content: "☎";
  font-size: 12px;
  color: #c79a2b;
}
.blog-view-more {
  position: absolute;
  right: 170px;          /* moves it left/right */
  top: 58%;              /* vertical alignment */
  transform: translateY(-50%);
}
.blog-article img {
  max-width: 600px;     /* controls how wide it can be */
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;    /* centers it */
  border-radius: 16px; /* optional, looks clean */
}
/* Blog hero image sizing */
.blog-hero {
  display: block;
  max-width: 600px;   /* controls size */
  width: 100%;
  margin: 24px auto; /* centers + spacing */
  border-radius: 14px;
}
/* Blog article hero image */
.blog-hero {
  display: block;
  max-width: 520px;   /* matches your Year-End Tax article */
  width: 100%;
  height: auto;
  margin: 24px auto;  /* centers it + spacing */
  border-radius: 14px;
}
