:root {
  --color-navy-deep: #0d2436;
  --color-navy-mid: #14384f;
  --color-navy-soft: #1c4b66;
  --color-teal-deep: #0f6659;
  --color-teal-light: #16897a;
  --color-amber: #f4a531;
  --color-amber-dark: #d3891c;
  --color-bg: #f8f6f1;
  --color-surface: #fffdf9;
  --color-text: #1a2230;
  --color-text-muted: #55606d;
  --color-border: #e5ddce;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13,36,54,.07), 0 1px 1px rgba(13,36,54,.05);
  --shadow-md: 0 8px 20px rgba(13,36,54,.09), 0 2px 6px rgba(13,36,54,.06);
  --shadow-lg: 0 24px 48px rgba(13,36,54,.14), 0 8px 16px rgba(13,36,54,.08);
  --shadow-amber-glow: 0 10px 26px rgba(244,165,49,.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-sm); color: var(--color-text-muted); }

.site-page-wrapper {
  position: relative;
  background: var(--color-bg);
  transition: transform .5s cubic-bezier(.4,0,.2,1), filter .5s ease;
  transform-origin: left center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.mobile-menu-open .site-page-wrapper {
  transform: translateX(-18%) scale(0.95);
  filter: brightness(.92);
}
main { flex: 1; }


.main-navigation-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,252,250,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.main-navigation-container::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal-deep), var(--color-amber));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.main-navigation-container.is-scrolled::after { transform: scaleX(1); }
.main-navigation-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand-logo-link { display: flex; align-items: center; gap: var(--space-2xs); }
.brand-logo-text { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.primary-navigation-links { display: none; gap: var(--space-lg); align-items: center; }
.nav-link-item {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2xs) 0;
  transition: color .3s ease;
}
.nav-link-item:hover, .nav-link-item.is-active-link { color: var(--color-navy-deep); }
.nav-link-item.is-active-link::after {
  content: ""; position:absolute; left:0; bottom:-4px; width:100%; height:2px;
  background: var(--color-amber); border-radius: var(--radius-pill);
}
.mobile-menu-toggle-button {
  display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; z-index: 60;
}
.hamburger-icon-line { width: 22px; height: 2px; background: var(--color-navy-deep); border-radius: var(--radius-pill); transition: all .3s ease; }

@media (min-width: 900px) {
  .primary-navigation-links { display: flex; }
  .mobile-menu-toggle-button { display: none; }
}


.mobile-navigation-drawer {
  position: fixed; top: 0; right: 0; height: 100vh;
  width: min(320px, 82vw);
  background: var(--color-navy-deep);
  color: #fdfcf9;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  z-index: 200;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  padding: var(--space-md);
}
body.mobile-menu-open .mobile-navigation-drawer { transform: translateX(0); }
.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); }
.mobile-drawer-close-button { width: 44px; height: 44px; color: #fdfcf9; font-size: 1.1rem; }
.mobile-drawer-links { display: flex; flex-direction: column; gap: var(--space-md); }
.mobile-drawer-link-item { font-size: 1.15rem; font-weight: 600; color: #f2ede2; padding: var(--space-2xs) 0; border-bottom: 1px solid rgba(255,255,255,.1); transition: color .3s ease; }
.mobile-drawer-link-item:hover { color: var(--color-amber); }
.mobile-menu-close-overlay {
  display: none;
}
body.mobile-menu-open .mobile-menu-close-overlay {
  display: block; position: fixed; inset: 0; z-index: 150; cursor: pointer; background: transparent;
}


.primary-cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  padding: 0.9rem 1.7rem; background: var(--color-navy-deep); color: #fdfcf9;
  border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-md); transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  min-height: 44px;
}
.primary-cta-button:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--color-navy-mid); }
.secondary-cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  padding: 0.9rem 1.7rem; background: transparent; color: var(--color-navy-deep);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem;
  transition: all .3s ease; min-height: 44px;
}
.secondary-cta-button:hover { border-color: var(--color-navy-deep); background: rgba(13,36,54,.04); }


.isometric-decorative-cluster { position: absolute; pointer-events: none; z-index: 0; }
.isometric-cluster-hero-one { top: 8%; right: 4%; opacity: .9; }
.isometric-cluster-hero-two { bottom: 6%; left: 2%; opacity: .55; }
.isometric-cluster-page-header { top: 12%; right: 6%; opacity: .6; }
.isometric-cube-shape { position: relative; width: 90px; height: 104px; animation: isoFloat 6s ease-in-out infinite; }
.isometric-cube-shape-small { width: 60px; height: 70px; }
.isometric-cube-top-face, .isometric-cube-left-face, .isometric-cube-right-face { position: absolute; }
.isometric-cube-top-face {
  width: 90px; height: 52px; top: 0; left: 0;
  background: var(--color-amber);
  clip-path: polygon(50% 0%, 100% 25%, 50% 50%, 0% 25%);
}
.isometric-cube-left-face {
  width: 45px; height: 78px; top: 26px; left: 0;
  background: var(--color-navy-mid);
  clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 75%);
}
.isometric-cube-right-face {
  width: 45px; height: 78px; top: 26px; left: 45px;
  background: var(--color-teal-deep);
  clip-path: polygon(0 25%, 100% 0, 100% 75%, 0 100%);
}
.isometric-cube-shape-small .isometric-cube-top-face { width: 60px; height: 34px; }
.isometric-cube-shape-small .isometric-cube-left-face { width: 30px; height: 52px; top: 17px; }
.isometric-cube-shape-small .isometric-cube-right-face { width: 30px; height: 52px; top: 17px; left: 30px; }
@keyframes isoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }


.homepage-hero-section {
  position: relative; overflow: hidden;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  background: radial-gradient(circle at 85% 10%, rgba(244,165,49,.12), transparent 55%), var(--color-bg);
}
.homepage-hero-inner {
  max-width: 1240px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: center;
}
@media (min-width: 1000px) { .homepage-hero-inner { grid-template-columns: 1.15fr 0.85fr; } }
.homepage-hero-eyebrow-label {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  font-size: 0.85rem; font-weight: 600; color: var(--color-teal-deep);
  background: rgba(15,102,89,.08); padding: 0.4rem 0.9rem; border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}
.homepage-hero-heading {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin: 0 0 var(--space-md);
  color: var(--color-navy-deep);
}
.homepage-hero-subheading {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 640px; margin-bottom: var(--space-lg);
}
.homepage-hero-cta-group { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-md); }
.homepage-hero-disclaimer-badge {
  font-size: 0.85rem; color: var(--color-text-muted); display: flex; align-items: center; gap: var(--space-2xs); margin: 0;
}
.homepage-hero-visual-wrapper {
  position: relative; background: var(--color-surface); border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-md); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-md);
  border: 1px solid var(--color-border);
}
.hero-sun-icon-accent {
  position: absolute; top: 22px; right: 26px; font-size: 1.6rem; color: var(--color-amber);
  animation: slowSpin 16s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }
.isometric-panel-array {
  display: grid; grid-template-columns: repeat(4, 46px); grid-template-rows: repeat(3, 46px); gap: 6px;
  transform: rotateX(52deg) rotateZ(45deg);
  transform-style: preserve-3d;
}
.isometric-panel-cell {
  background: linear-gradient(145deg, var(--color-navy-mid), var(--color-navy-deep));
  border: 1px solid rgba(244,165,49,.35);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
  animation: cellGlow 4s ease-in-out infinite;
}
.isometric-panel-cell:nth-child(2n) { animation-delay: .5s; }
.isometric-panel-cell:nth-child(3n) { animation-delay: 1s; }
.isometric-panel-cell:nth-child(4n) { animation-delay: 1.5s; }
@keyframes cellGlow { 0%,100% { opacity: .55; box-shadow: var(--shadow-sm); } 50% { opacity: 1; box-shadow: 0 0 14px rgba(244,165,49,.5); } }
.homepage-hero-visual-caption { font-size: 0.78rem; text-align: center; color: var(--color-text-muted); margin: var(--space-md) 0 0; }


.section-heading-block { max-width: 720px; margin: 0 auto var(--space-xl); text-align: center; }
.section-heading-eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--color-teal-deep); margin-bottom: var(--space-2xs);
}
.section-heading-title { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--color-navy-deep); margin-bottom: var(--space-sm); }
.section-heading-description { font-size: 1.02rem; }


.homepage-dashboard-section, .region-production-section, .law-explainer-section,
.invoice-reading-section, .amortization-section, .homepage-gallery-section,
.faq-accordion-section, .about-story-section, .about-credentials-section,
.about-workspace-section, .video-library-section, .articles-ranked-section,
.contact-form-section, .contact-mini-gallery-section {
  max-width: 1240px; margin: 0 auto; padding: var(--space-2xl) var(--space-md);
}
.homepage-cta-banner { padding: var(--space-2xl) var(--space-md); }
.dashboard-card-wrapper {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-lg);
  box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease;
}
.dashboard-card-wrapper:hover { box-shadow: var(--shadow-md); }
.dashboard-card-icon-badge {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: var(--radius-md); background: rgba(20,56,79,.08); color: var(--color-navy-mid);
  font-size: 1.15rem; margin-bottom: var(--space-md);
}
.dashboard-card-icon-badge-teal { background: rgba(15,102,89,.1); color: var(--color-teal-deep); }
.dashboard-card-icon-badge-amber { background: rgba(244,165,49,.15); color: var(--color-amber-dark); }
.dashboard-card-heading { font-size: 1.2rem; color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.dashboard-card-text { font-size: 0.96rem; margin-bottom: var(--space-sm); }


.region-card-wrapper {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-md); box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease;
}
.region-card-wrapper:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.region-card-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: var(--radius-md); background: rgba(244,165,49,.14); color: var(--color-amber-dark);
  font-size: 1.05rem; margin-bottom: var(--space-sm);
}
.region-card-name { font-size: 1.05rem; color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.region-card-detail { font-size: 0.9rem; }


.law-summary-panel {
  background: rgba(15,102,89,.06); border-left: 3px solid var(--color-teal-deep);
  border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-md); margin-top: var(--space-md);
}
.law-summary-panel p { margin: 0 0 var(--space-2xs); font-size: 0.92rem; color: var(--color-text); }
.law-step-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-md); }
.law-step-item { display: flex; gap: var(--space-md); align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md); box-shadow: var(--shadow-sm); }
.law-step-number { font-size: 1.3rem; font-weight: 700; color: var(--color-amber-dark); min-width: 42px; }
.law-step-title { font-size: 1.05rem; color: var(--color-navy-deep); margin-bottom: var(--space-3xs); }
.law-step-text { font-size: 0.92rem; margin: 0; }


.invoice-example-wrapper { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.invoice-example-table { width: 100%; border-collapse: collapse; background: var(--color-surface); min-width: 560px; }
.invoice-example-table th, .invoice-example-table td { padding: var(--space-sm) var(--space-md); text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
.invoice-example-table th { background: var(--color-navy-deep); color: #fdfcf9; font-weight: 600; }
.invoice-example-table td:first-child { font-weight: 600; color: var(--color-navy-deep); white-space: nowrap; }


.amortization-factor-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md); box-shadow: var(--shadow-sm); transition: box-shadow .3s ease; }
.amortization-factor-card:hover { box-shadow: var(--shadow-md); }
.amortization-factor-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-md); background: rgba(13,36,54,.08); color: var(--color-navy-mid); font-size: 1.05rem; margin-bottom: var(--space-sm); }
.amortization-factor-title { font-size: 1rem; color: var(--color-navy-deep); margin-bottom: var(--space-3xs); }
.amortization-factor-text { font-size: 0.9rem; margin: 0; }


.gallery-image-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-image-frame img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s ease; }
.gallery-image-frame:hover img { transform: scale(1.06); }
.gallery-image-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-sm);
  background: linear-gradient(to top, rgba(13,36,54,.85), transparent);
  color: #fdfcf9; font-size: 0.82rem; opacity: 0; transition: opacity .35s ease;
}
.gallery-image-frame:hover .gallery-image-caption { opacity: 1; }


.faq-accordion-list { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 820px; margin: 0 auto; }
.faq-item-wrapper { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-question-button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--space-md); font-weight: 600; font-size: 0.98rem; color: var(--color-navy-deep); min-height: 44px; }
.faq-question-button i { transition: transform .35s ease; color: var(--color-teal-deep); }
.faq-item-wrapper.is-open .faq-question-button i { transform: rotate(180deg); }
.faq-answer-panel { max-height: 0; overflow: hidden; transition: max-height .4s ease; padding: 0 var(--space-md); }
.faq-item-wrapper.is-open .faq-answer-panel { max-height: 260px; padding-bottom: var(--space-md); }
.faq-answer-panel p { margin: 0; font-size: 0.92rem; }


.homepage-cta-banner-inner {
  max-width: 900px; margin: 0 auto; text-align: center; background: var(--color-navy-deep);
  color: #fdfcf9; padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.homepage-cta-banner-heading { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: var(--space-sm); }
.homepage-cta-banner-text { color: rgba(253,252,250,.78); margin-bottom: var(--space-md); }
.homepage-cta-banner .primary-cta-button { background: var(--color-amber); color: var(--color-navy-deep); }
.homepage-cta-banner .primary-cta-button:hover { background: var(--color-amber-dark); color: #fdfcf9; }


.page-header-banner {
  position: relative; overflow: hidden; padding: var(--space-2xl) var(--space-md) var(--space-xl);
  max-width: 1240px; margin: 0 auto; text-align: center;
}
.page-header-eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--color-teal-deep); margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .04em; }
.page-header-heading { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--color-navy-deep); margin-bottom: var(--space-sm); }
.page-header-subheading { max-width: 680px; margin: 0 auto; font-size: 1.02rem; }


.about-portrait-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); }
.about-portrait-frame img { width: 100%; height: 420px; object-fit: cover; }
.about-story-paragraph { font-size: 1rem; margin-bottom: var(--space-md); }
.about-credential-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md); box-shadow: var(--shadow-sm); }


.video-card-wrapper { display: block; background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); transition: transform .35s ease, box-shadow .35s ease; }
.video-card-wrapper:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.video-thumbnail-frame { position: relative; overflow: hidden; }
.video-thumbnail-frame img { width: 100%; height: 190px; object-fit: cover; transition: transform .5s ease; }
.video-card-wrapper:hover .video-thumbnail-frame img { transform: scale(1.06); }
.video-play-icon-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(13,36,54,.28); color: #fdfcf9; font-size: 1.6rem; opacity: 0; transition: opacity .35s ease;
}
.video-card-wrapper:hover .video-play-icon-overlay { opacity: 1; }
.video-duration-tag { position: absolute; bottom: 10px; right: 10px; background: rgba(13,36,54,.75); color: #fdfcf9; font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); }
.video-card-meta { padding: var(--space-md); }
.video-card-title { font-size: 1.02rem; color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.video-card-text { font-size: 0.9rem; margin: 0; }
.video-library-disclaimer { text-align: center; margin-top: var(--space-lg); font-size: 0.85rem; color: var(--color-text-muted); }


.articles-ranked-list { display: flex; flex-direction: column; gap: var(--space-md); max-width: 900px; margin: 0 auto; }
.ranked-article-card { display: flex; gap: var(--space-md); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md) var(--space-lg); box-shadow: var(--shadow-sm); transition: box-shadow .3s ease; }
.ranked-article-card:hover { box-shadow: var(--shadow-md); }
.ranked-article-number { font-size: 1.6rem; font-weight: 700; color: var(--color-border); min-width: 52px; }
.ranked-article-title { font-size: 1.08rem; color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.ranked-article-text { font-size: 0.94rem; margin-bottom: var(--space-2xs); }
.ranked-article-meta { font-size: 0.8rem; color: var(--color-teal-deep); font-weight: 600; display: inline-flex; align-items: center; gap: var(--space-3xs); }


.contact-form-wrapper { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-lg); box-shadow: var(--shadow-md); }
.contact-form-field-group { margin-bottom: var(--space-md); }
.contact-form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.contact-form-input, .contact-form-textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  font-family: inherit; font-size: 0.95rem; background: var(--color-bg); transition: border-color .3s ease, box-shadow .3s ease;
  min-height: 44px;
}
.contact-form-textarea { min-height: 120px; resize: vertical; }
.contact-form-input:focus, .contact-form-textarea:focus { outline: none; border-color: var(--color-teal-deep); box-shadow: 0 0 0 3px rgba(15,102,89,.12); }
.contact-privacy-checkbox-group { display: flex; align-items: flex-start; gap: var(--space-2xs); margin-bottom: var(--space-md); font-size: 0.85rem; color: var(--color-text-muted); }
.contact-privacy-checkbox-group input { margin-top: 4px; width: 20px; height: 20px; flex-shrink: 0; }
.contact-privacy-checkbox-group a { color: var(--color-teal-deep); font-weight: 600; }
.contact-form-submit-button { width: 100%; }
.contact-info-panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md); box-shadow: var(--shadow-sm); margin-bottom: var(--space-md); }
.contact-info-heading { font-size: 1.1rem; color: var(--color-navy-deep); margin-bottom: var(--space-sm); }
.contact-info-row { display: flex; align-items: center; gap: var(--space-2xs); font-size: 0.92rem; margin-bottom: var(--space-2xs); }
.contact-map-frame-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }


.thanks-page-section { max-width: 640px; margin: 0 auto; padding: var(--space-2xl) var(--space-md); text-align: center; }
.thanks-page-heading { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--color-navy-deep); margin-bottom: var(--space-sm); }
.thanks-page-text { margin-bottom: var(--space-lg); }
.thanks-timeline-wrapper { margin-top: var(--space-2xl); display: flex; flex-direction: column; gap: var(--space-lg); text-align: left; }
.timeline-step-item { display: flex; gap: var(--space-md); align-items: flex-start; padding: var(--space-md); border-radius: var(--radius-lg); }
.timeline-step-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--color-border); color: #fff; }
.timeline-step-item.is-complete .timeline-step-icon { background: var(--color-teal-deep); }
.timeline-step-item.is-highlighted { background: rgba(244,165,49,.1); box-shadow: var(--shadow-sm); }
.timeline-step-item.is-highlighted .timeline-step-icon { background: var(--color-amber); }
.timeline-step-item.is-pending .timeline-step-icon { background: #d8d2c4; color: #8b8471; }
.timeline-step-item.is-pending .timeline-step-label, .timeline-step-item.is-pending .timeline-step-text { color: #948d7c; }
.timeline-step-label { font-size: 1.02rem; margin-bottom: var(--space-3xs); color: var(--color-navy-deep); }
.timeline-step-text { font-size: 0.9rem; margin: 0; }


.legal-page-container { max-width: 820px; margin: 0 auto; padding: var(--space-2xl) var(--space-md); }
.legal-page-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.legal-updated-date { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: var(--space-xl); }
.legal-section-block { margin-bottom: var(--space-lg); }
.legal-summary-box { background: rgba(244,165,49,.12); border-left: 3px solid var(--color-amber-dark); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; color: var(--color-navy-deep); margin-bottom: var(--space-sm); }
.legal-section-heading { font-size: 1.15rem; color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.legal-section-text { font-size: 0.95rem; }
.legal-cookie-table { width: 100%; border-collapse: collapse; margin-top: var(--space-sm); }
.legal-cookie-table th, .legal-cookie-table td { padding: var(--space-xs) var(--space-sm); border-bottom: 1px solid var(--color-border); font-size: 0.88rem; text-align: left; }
.legal-cookie-table th { background: rgba(13,36,54,.06); color: var(--color-navy-deep); }


.site-footer-container {
  background: var(--color-navy-deep); color: rgba(253,252,250,.86);
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-lg);
}
.footer-brand-block { display: flex; flex-direction: column; align-items: center; gap: var(--space-2xs); max-width: 480px; }
.footer-logo-image { margin-bottom: var(--space-2xs); }
.footer-brand-name { font-size: 1.15rem; font-weight: 700; color: #fdfcf9; }
.footer-brand-tagline { font-size: 0.88rem; color: rgba(253,252,250,.65); }
.footer-links-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); font-size: 0.9rem; }
.footer-links-row a { transition: color .3s ease; }
.footer-links-row a:hover { color: var(--color-amber); }
.footer-contact-details { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); font-size: 0.86rem; color: rgba(253,252,250,.75); }
.footer-contact-details span { display: inline-flex; align-items: center; gap: var(--space-3xs); }
.footer-legal-links { display: flex; gap: var(--space-md); font-size: 0.82rem; }
.footer-legal-links a { color: rgba(253,252,250,.6); transition: color .3s ease; }
.footer-legal-links a:hover { color: #fdfcf9; }
.footer-copyright-text { font-size: 0.78rem; color: rgba(253,252,250,.45); max-width: 600px; }


.cookie-preferences-link {
  position: fixed; left: var(--space-sm); bottom: var(--space-sm); z-index: 90;
  display: inline-flex; align-items: center; gap: var(--space-3xs); font-size: 0.8rem;
  color: var(--color-navy-deep); background: var(--color-surface); border: 1px solid var(--color-border);
  padding: 0.55rem 0.9rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
}
.cookie-preferences-link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.cookie-preferences-link.is-pulsing-attention { animation: cookiePulse 1.8s ease-in-out 3; }
@keyframes cookiePulse { 0%,100% { box-shadow: var(--shadow-sm); } 50% { box-shadow: 0 0 0 8px rgba(244,165,49,.22); } }
.cookie-preferences-modal-overlay {
  position: fixed; inset: 0; background: rgba(13,36,54,.55); z-index: 300;
  display: none; align-items: center; justify-content: center; padding: var(--space-md);
}
.cookie-preferences-modal-overlay.is-modal-visible { display: flex; }
.cookie-preferences-modal-panel {
  background: var(--color-surface); border-radius: var(--radius-xl); padding: var(--space-lg);
  max-width: 520px; width: 100%; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.cookie-modal-heading { font-size: 1.3rem; color: var(--color-navy-deep); margin-bottom: var(--space-2xs); }
.cookie-modal-description { font-size: 0.9rem; margin-bottom: var(--space-md); }
.cookie-category-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-border); }
.cookie-category-row h3 { font-size: 0.95rem; color: var(--color-navy-deep); margin: 0 0 var(--space-3xs); }
.cookie-category-row p { font-size: 0.82rem; margin: 0; }
.cookie-category-row input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.cookie-modal-actions button { flex: 1; min-width: 160px; }


.scroll-reveal-element { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.scroll-reveal-element.is-visible { opacity: 1; transform: translateY(0); }


@media (max-width: 640px) {
  .homepage-hero-visual-wrapper { padding: var(--space-lg) var(--space-sm); }
  .isometric-panel-array { grid-template-columns: repeat(4, 36px); grid-template-rows: repeat(3, 36px); }
  .site-footer-container { padding: var(--space-xl) var(--space-sm) var(--space-lg); }
}