/*
Theme Name: Santana Tax
Theme URI: https://santanaconsultingservices.com/
Author: Santana Consulting Services
Description: Bilingual, accessible, performance-focused theme for Santana Consulting Services.
Version: 1.5.2
Text Domain: santana-tax
*/

:root {
  --ink: #1d1d1a;
  --ink-soft: #f0ece2;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --gold: #b88a2c;
  --gold-dark: #755619;
  --sage: #edf2e9;
  --muted: #625f58;
  --line: #e5e0d4;
  --danger: #9d2b2b;
  --success: #1e6a45;
  --shadow: 0 18px 50px rgba(29, 29, 26, 0.08);
  --radius: 1.25rem;
  --content: 1180px;
}

@property --gold-line-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--gold-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #e1ad3e;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.wrap {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), 780px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 6.4vw, 5.7rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p {
  margin: 0 0 1rem;
}

.lede {
  max-width: 650px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(29, 29, 26, 0.04);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8b560;
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: grid;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-name strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover {
  color: var(--gold-dark);
}

.language-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.78rem;
  color: var(--ink);
  border: 1px solid rgba(29, 29, 26, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.language-link:hover {
  color: var(--ink);
  background: #efca74;
}

.header-cta {
  position: relative;
  white-space: nowrap;
  animation: call-now-pulse 2.8s ease-in-out infinite;
}

.header-cta::after {
  position: absolute;
  inset: -5px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(184, 138, 44, 0.5);
  border-radius: inherit;
  opacity: 0;
  animation: call-now-ring 2.8s ease-out infinite;
}

.header-cta:hover {
  animation-play-state: paused;
}

.header-cta:hover::after {
  animation-play-state: paused;
  opacity: 0;
}

.whatsapp-button {
  position: fixed;
  z-index: 90;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1.05rem;
  color: #fff;
  background: #25d366;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.whatsapp-button:hover {
  color: #fff;
  background: #1eaf55;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.whatsapp-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(29, 29, 26, 0.35);
  border-radius: 50%;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.25rem;
  color: var(--ink);
  background: #e8bb53;
  border: 2px solid #e8bb53;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  color: var(--ink);
  background: #f3cd75;
  border-color: #f3cd75;
  transform: translateY(-2px);
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-outline:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover {
  color: var(--ink);
  background: #e8bb53;
  border-color: #e8bb53;
}

.button-small {
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.92) 0%, rgba(10, 10, 9, 0.82) 38%, rgba(10, 10, 9, 0.48) 68%, rgba(10, 10, 9, 0.24) 100%),
    url("assets/images/hero-tax-consultation-background.webp") 63% center / cover no-repeat,
    #11110f;
}

.hero::after {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  bottom: -330px;
  content: "";
  border: 1px solid rgba(232, 187, 83, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(232, 187, 83, 0.035), 0 0 0 120px rgba(232, 187, 83, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6.5rem);
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.hero-grid > div:first-child > .eyebrow {
  color: #f0cb78;
}

.hero .hero-card .eyebrow {
  color: var(--gold-dark);
}

.hero h1 {
  max-width: 820px;
}

.hero-grid > div:first-child > .lede {
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.hero-grid > div:first-child .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-grid > div:first-child .button-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  color: #4e4b44;
  font-size: 0.91rem;
  list-style: none;
}

.hero-grid > div:first-child .trust-line {
  color: rgba(255, 255, 255, 0.86);
}

.trust-line li::before {
  margin-right: 0.45rem;
  color: var(--gold-dark);
  content: "◆";
  font-size: 0.65rem;
}

.hero-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  min-height: 590px;
  overflow: visible;
  border-radius: var(--radius);
}

.hero-visual::after {
  content: none;
}

.hero-card-overlay {
  position: absolute;
  z-index: 2;
  isolation: isolate;
  width: min(430px, calc(100% - 2rem));
  right: -1rem;
  bottom: 1.5rem;
}

.hero-card-overlay::after {
  position: absolute;
  z-index: 3;
  inset: -3px;
  padding: 3px;
  pointer-events: none;
  content: "";
  background: conic-gradient(
    from var(--gold-line-angle),
    transparent 0deg,
    transparent 258deg,
    #b88a2c 285deg,
    #ffe5a0 315deg,
    #b88a2c 342deg,
    transparent 360deg
  );
  border-radius: calc(var(--radius) + 3px);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: gold-line-travel 3.8s linear infinite;
}

.hero-card::before {
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 1.35rem;
  content: "";
  background: var(--gold);
}

.hero-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--ink);
  font-weight: 760;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-white {
  background: var(--surface);
}

.section-dark {
  color: var(--ink);
  background: #f1eee6;
  border-block: 1px solid var(--line);
}

.section-dark .eyebrow {
  color: var(--gold-dark);
}

.section-head {
  max-width: 780px;
  margin-bottom: 2.3rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.split-top {
  align-items: start;
}

.media-card {
  position: relative;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.seal-card {
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 3rem;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seal-card img {
  width: min(330px, 82%);
  border-radius: 50%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  min-height: 100%;
  padding: clamp(1.35rem, 2.8vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.card:hover {
  border-color: rgba(184, 138, 44, 0.58);
  box-shadow: 0 18px 45px rgba(23, 23, 20, 0.1);
  transform: translateY(-6px);
}

.card-number {
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.card h3 {
  margin-top: 1.1rem;
}

.card p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  margin-top: 0.4rem;
  font-weight: 800;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 0 0 1.7rem;
}

.service-card-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.4rem;
}

.service-card-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 56%, rgba(23, 23, 20, 0.28));
}

.service-card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.055);
}

.service-card > :not(.service-card-image) {
  margin-right: 1.7rem;
  margin-left: 1.7rem;
}

.service-card .card-number {
  display: block;
}

.service-card h2,
.service-card h3 {
  margin-top: 0.85rem;
}

.service-card::after {
  position: absolute;
  width: 100px;
  height: 100px;
  right: -62px;
  bottom: -62px;
  content: "";
  border: 20px solid rgba(184, 138, 44, 0.12);
  border-radius: 50%;
}

.service-aside {
  display: grid;
  gap: 1rem;
}

.service-aside-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-aside-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-aside-visual:hover img {
  transform: scale(1.04);
}

.quote-card {
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--ink);
  background: #f3efe6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote-card blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.35;
}

.quote-card cite {
  display: block;
  margin-top: 1.4rem;
  color: var(--gold-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 750;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: #e8bb53;
  border-radius: var(--radius);
}

.cta-band h2 {
  max-width: 760px;
}

.cta-band > .section-actions {
  margin-top: 0;
}

.local-tax-card {
  position: static;
}

.local-contact-section {
  padding-top: 0;
}

.expert-section {
  color: #fff;
  background: #151512;
}

.expert-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.expert-photo {
  position: relative;
}

.expert-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.38);
}

.expert-badge {
  position: absolute;
  right: -1.25rem;
  bottom: 2rem;
  width: 148px;
  min-height: 148px;
  display: grid;
  place-content: center;
  padding: 1rem;
  color: var(--ink);
  background: #e8bb53;
  border: 6px solid #151512;
  border-radius: 50%;
  text-align: center;
}

.expert-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.55rem;
  line-height: 1;
}

.expert-badge span {
  max-width: 95px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.expert-content .eyebrow,
.expert-role {
  color: #efca74;
}

.expert-role {
  margin-bottom: 1.3rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.expert-content .lede {
  color: rgba(255, 255, 255, 0.84);
}

.expert-content blockquote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  color: #fff;
  border-left: 3px solid #e8bb53;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.4;
}

.expert-content .button-dark {
  color: var(--ink);
  background: #e8bb53;
  border-color: #e8bb53;
}

.expert-content .button-dark:hover {
  background: #f3cd75;
  border-color: #f3cd75;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 187, 83, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  width: 460px;
  height: 460px;
  right: -220px;
  bottom: -300px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(232, 187, 83, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(232, 187, 83, 0.025), 0 0 0 110px rgba(232, 187, 83, 0.018);
  animation: slow-orbit 18s linear infinite;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  color: var(--gold-dark);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 6vw, 5.15rem);
}

.page-hero .lede {
  color: var(--muted);
}

.breadcrumb {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--gold-dark);
}

.prose {
  font-size: 1.06rem;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.prose h3 {
  margin-top: 1.7rem;
}

.prose ul,
.check-list {
  padding-left: 1.25rem;
}

.prose li,
.check-list li {
  margin-block: 0.45rem;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  content: "✓";
  font-weight: 900;
}

.aside-card {
  position: sticky;
  top: 104px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.aside-card h2 {
  font-size: 1.75rem;
}

.notice {
  padding: 1rem 1.2rem;
  background: #fff7df;
  border-left: 4px solid var(--gold);
  border-radius: 0.25rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin: 0.8rem 0 0;
}

.tax-features-section {
  background: #f5f1e8;
  border-block: 1px solid var(--line);
}

.tax-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tax-feature-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tax-feature-card::before {
  width: 42px;
  height: 3px;
  display: block;
  margin-bottom: 1.25rem;
  content: "";
  background: var(--gold);
}

.tax-feature-card p {
  margin: 0;
  color: var(--muted);
}

.tax-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.tax-process li {
  position: relative;
  padding: 0 1.5rem 0 0;
}

.tax-process li:not(:last-child)::after {
  position: absolute;
  top: 23px;
  right: 1rem;
  left: 58px;
  height: 1px;
  content: "";
  background: var(--line);
}

.tax-process-number {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.tax-process h3 {
  font-size: 1.35rem;
}

.tax-process p {
  color: var(--muted);
}

.tax-preparation-section {
  background: var(--paper);
}

.tax-preparation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.tax-document-list {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
}

.tax-tools-card {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tax-tools-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.tax-tool-links {
  display: grid;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.tax-tool-links li {
  border-bottom: 1px solid var(--line);
}

.tax-tool-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.tax-tool-links a:hover {
  color: var(--gold-dark);
}

.tax-tools-card .button {
  width: 100%;
}

.resource-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 16% 12%, rgba(232, 187, 83, 0.2), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f6f2e9 100%);
  border-bottom: 1px solid var(--line);
}

.resource-hero::after {
  position: absolute;
  width: 460px;
  height: 460px;
  right: -270px;
  bottom: -300px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(184, 138, 44, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(184, 138, 44, 0.025);
}

.resource-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.resource-hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 6.8vw, 6rem);
}

.resource-hero-copy .lede {
  color: var(--muted);
}

.resource-hero-phone {
  width: fit-content;
  display: grid;
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.resource-hero-phone span {
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-hero-phone strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.resource-quick-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: 0 28px 70px rgba(29, 29, 26, 0.16);
}

.resource-quick-panel .eyebrow {
  color: #e8bb53;
}

.resource-quick-panel h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.resource-quick-panel > p:not(.eyebrow) {
  color: #d7d3c9;
}

.resource-quick-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.resource-quick-links > a {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.85rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.resource-quick-links > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 187, 83, 0.6);
  transform: translateX(4px);
}

.resource-quick-links > a > span {
  color: #d7d3c9;
  font-size: 0.82rem;
}

.resource-quick-links strong {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.resource-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.resource-section-heading > p {
  max-width: 460px;
  margin: 0 0 0.75rem auto;
  color: var(--muted);
}

.resource-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.resource-tool-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.resource-tool-card:hover {
  border-color: rgba(184, 138, 44, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.resource-number {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 2rem;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.resource-tool-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.resource-tool-card p {
  color: var(--muted);
}

.resource-tool-card .text-link {
  margin-top: auto;
}

.resource-checklist-section {
  background: #f4f0e7;
  border-block: 1px solid var(--line);
}

.resource-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.resource-checklist-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.resource-checklist-card h3 {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.resource-checklist-card .check-list {
  margin-bottom: 0;
}

.resource-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.resource-process li {
  min-height: 260px;
  padding: 1.75rem;
}

.resource-process li + li {
  border-left: 1px solid var(--line);
}

.resource-process span {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.resource-process h3 {
  font-size: 1.4rem;
}

.resource-process p {
  margin: 0;
  color: var(--muted);
}

.resource-security-section {
  background: var(--paper);
}

.resource-security {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: #fff5d9;
  border: 1px solid #e7ce8d;
  border-radius: var(--radius);
}

.resource-security h2 {
  max-width: 780px;
}

.resource-security p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #4e4737;
}

.resource-security-actions {
  min-width: 250px;
  display: grid;
  gap: 0.75rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  object-position: 50% 25%;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-card:hover img {
  transform: scale(1.035);
}

.team-card-body {
  padding: 1.4rem;
}

.team-role {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.8rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #918d83;
  border-radius: 0.45rem;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.field-consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
}

.form-alert {
  grid-column: 1 / -1;
  padding: 0.8rem 1rem;
  border-radius: 0.45rem;
}

.form-alert-success {
  color: var(--success);
  background: #e5f4ec;
}

.form-alert-error {
  color: var(--danger);
  background: #fbe8e8;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.blog-section {
  position: relative;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: 480px;
  overflow: hidden;
  background: #f3efe6;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow);
}

.featured-post-media,
.post-card-media,
.article-hero-media {
  display: block;
  overflow: hidden;
  background: #e8e1d2;
  text-decoration: none;
}

.featured-post-media img,
.post-card-media img,
.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-post:hover .featured-post-media img,
.post-card:hover .post-card-media img {
  transform: scale(1.035);
}

.post-image-placeholder {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--gold-dark);
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 138, 44, 0.18), transparent 28%),
    linear-gradient(135deg, #f7f3ea, #e7e0d2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.featured-post-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.featured-post h2 {
  margin-top: 1.1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.featured-post h2 a,
.post-card h2 a,
.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-post h2 a:hover,
.post-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--gold-dark);
}

.post-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  color: var(--ink);
  font-weight: 850;
  text-decoration-color: var(--gold);
}

.blog-section-heading {
  max-width: 760px;
  margin: clamp(4rem, 8vw, 7rem) 0 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

.post-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.post-card-media {
  height: 230px;
}

.post-card-body {
  padding: 1.5rem;
}

.post-card h2,
.post-card h3 {
  margin-top: 0.9rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.post-card p {
  color: var(--muted);
}

.blog-empty {
  padding: clamp(2rem, 6vw, 5rem);
  background: #f5f1e8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.blog-pagination {
  margin-top: 3rem;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0.5rem 0.85rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.blog-pagination .current,
.blog-pagination a:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.article-hero {
  padding-block: clamp(3rem, 7vw, 6rem);
  background: linear-gradient(135deg, #fff 0%, #f3efe6 100%);
  border-bottom: 1px solid var(--line);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.article-hero h1 {
  max-width: 860px;
  font-size: clamp(2.6rem, 5.7vw, 5rem);
}

.article-meta {
  margin-top: 1.6rem;
}

.article-hero-media {
  min-height: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.article-content {
  max-width: 760px;
}

.article-content > h2:first-child {
  margin-top: 0;
}

.article-content p,
.article-content li {
  color: #3f3d38;
}

.article-content a {
  font-weight: 700;
}

.article-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 4px solid var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.article-content img {
  margin-block: 2rem;
  border-radius: 1rem;
}

.article-sidebar {
  position: sticky;
  top: 105px;
}

.article-contact-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.article-contact-card .button {
  width: 100%;
  margin: 0.6rem 0 1rem;
}

.article-disclaimer {
  margin-top: 3rem;
  padding: 1.35rem 1.5rem;
  color: var(--muted);
  background: #f5f1e8;
  border: 1px solid var(--line);
  border-radius: 1rem;
  font-size: 0.9rem;
}

.article-disclaimer strong {
  display: block;
  color: var(--ink);
}

.article-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.article-post-nav > div:last-child {
  text-align: right;
}

.article-post-nav a {
  color: var(--ink);
  text-decoration: none;
}

.article-post-nav span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-related {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.article-related .blog-section-heading {
  margin-top: 0;
}

.disclaimer {
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.site-footer {
  padding-block: 4rem 2rem;
  color: #e5e1d7;
  background: #11110f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: 3rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer a {
  color: #e5e1d7;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-note {
  margin-top: 3rem;
  padding-top: 1.4rem;
  color: #a9a69e;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.82rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms ease var(--reveal-delay, 0ms),
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
}

.js [data-reveal="left"] {
  transform: translateX(-30px);
}

.js [data-reveal="right"] {
  transform: translateX(30px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-card-overlay {
  animation: hero-card-in 850ms 180ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slow-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes call-now-pulse {
  0%,
  70%,
  100% {
    box-shadow: 0 0 0 rgba(184, 138, 44, 0);
    transform: translateY(0);
  }
  78% {
    box-shadow: 0 8px 24px rgba(184, 138, 44, 0.3);
    transform: translateY(-2px);
  }
  86% {
    box-shadow: 0 4px 14px rgba(184, 138, 44, 0.18);
    transform: translateY(0);
  }
}

@keyframes call-now-ring {
  0%,
  70% {
    opacity: 0;
    transform: scale(0.98);
  }
  78% {
    opacity: 0.65;
  }
  92%,
  100% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .primary-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    max-height: calc(100dvh - 78px);
    overflow: auto;
    padding: 1.5rem 1rem 2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(29, 29, 26, 0.08);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    width: min(100%, var(--content));
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .primary-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding-inline: 0.25rem;
    font-size: 1.05rem;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 650px;
  }

  .hero-visual {
    width: min(100%, 680px);
    min-height: 560px;
  }

  .hero-card-overlay {
    right: 1rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tax-feature-grid,
  .tax-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .tax-process li:not(:last-child)::after {
    content: none;
  }

  .tax-preparation-grid {
    grid-template-columns: 1fr;
  }

  .resource-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-hero-grid {
    grid-template-columns: 1fr;
  }

  .resource-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-process li + li {
    border-left: 0;
  }

  .resource-process li:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .resource-process li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .resource-security {
    grid-template-columns: 1fr;
  }

  .featured-post,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .featured-post-media,
  .article-hero-media {
    min-height: 380px;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .whatsapp-button {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    min-width: 56px;
    padding-inline: 0.9rem;
  }

  .brand-name span {
    display: none;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

  .expert-photo {
    width: min(100% - 1rem, 480px);
  }

  .expert-badge {
    right: -0.75rem;
    bottom: 1rem;
    width: 124px;
    min-height: 124px;
    border-width: 5px;
  }

  .brand-name strong {
    font-size: 0.88rem;
  }

  .split,
  .grid-3,
  .grid-2,
  .team-grid,
  .contact-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

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

  .field-full {
    grid-column: auto;
  }

  .cta-band {
    align-items: start;
  }

  .aside-card {
    position: static;
  }

  .featured-post {
    min-height: 0;
  }

  .featured-post-media,
  .article-hero-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .blog-grid,
  .article-layout,
  .article-post-nav {
    grid-template-columns: 1fr;
  }

  .tax-feature-grid,
  .tax-process {
    grid-template-columns: 1fr;
  }

  .resource-section-heading,
  .resource-tool-grid,
  .resource-checklist-grid,
  .resource-process {
    grid-template-columns: 1fr;
  }

  .resource-quick-panel {
    padding: 1.5rem;
  }

  .resource-section-heading > p {
    margin-left: 0;
  }

  .resource-process li {
    min-height: 0;
  }

  .resource-process li:nth-child(even) {
    border-left: 0;
  }

  .resource-process li + li,
  .resource-process li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .article-sidebar {
    position: static;
  }

  .article-post-nav > div:last-child {
    text-align: left;
  }

  .hero-visual {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-card-overlay {
    position: relative;
    width: calc(100% - 1rem);
    right: auto;
    bottom: auto;
    margin: -2rem auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-card-overlay::after {
    background: #b88a2c;
  }
}

@keyframes gold-line-travel {
  to {
    --gold-line-angle: 360deg;
  }
}
