/* Classic Prestige: global visual layer for the static GKIT site. */
:root {
  --prestige-sand: #faf9f6;
  --prestige-sand-muted: #f2efe7;
  --prestige-navy: #1a365d;
  --prestige-forest: #1e3f20;
  --prestige-green: #2f6b38;
  --prestige-gold: #b79a57;
  --prestige-gold-light: #d8c89f;
  --prestige-text: #1f2937;
  --prestige-muted: #53606f;
  --prestige-border: #ded8ca;
  --prestige-card: #fffefa;
}

body[data-theme="classic-prestige"] {
  --gkit-blue: var(--prestige-navy);
  --gkit-green: var(--prestige-gold);
  --gkit-green-dark: var(--prestige-forest);
  --gkit-text: var(--prestige-text);
  --gkit-muted: var(--prestige-muted);
  --gkit-border: var(--prestige-border);
  --gkit-surface: var(--prestige-card);
  --gkit-surface-soft: var(--prestige-sand-muted);
  --gkit-radius: 10px;
  --gkit-shadow: 0 12px 30px rgba(26, 54, 93, 0.08);
  color: var(--prestige-text);
  background: var(--prestige-sand);
}

body[data-theme="classic-prestige"] h1,
body[data-theme="classic-prestige"] h2,
body[data-theme="classic-prestige"] h3,
body[data-theme="classic-prestige"] .gkit-title-serif {
  color: var(--prestige-navy);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  letter-spacing: -0.025em;
}

body[data-theme="classic-prestige"] .site-header {
  border-bottom-color: var(--prestige-gold-light);
  background: rgba(250, 249, 246, 0.97);
  box-shadow: 0 2px 12px rgba(26, 54, 93, 0.04);
}

body[data-theme="classic-prestige"] .site-nav a {
  color: var(--prestige-forest);
}

body[data-theme="classic-prestige"] .site-nav a:hover,
body[data-theme="classic-prestige"] .site-nav a[aria-current="page"] {
  color: var(--prestige-navy);
  text-decoration-color: var(--prestige-gold);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

body[data-theme="classic-prestige"] .gkit-kicker,
body[data-theme="classic-prestige"] .section-kicker,
body[data-theme="classic-prestige"] .eyebrow {
  color: var(--prestige-forest);
}

body[data-theme="classic-prestige"] .gkit-home-section,
body[data-theme="classic-prestige"] .page-section,
body[data-theme="classic-prestige"] .site-main > .section {
  background-color: var(--prestige-sand);
}

body[data-theme="classic-prestige"] .gkit-home-muted,
body[data-theme="classic-prestige"] .site-cta-band {
  background-color: var(--prestige-sand-muted);
}

body[data-theme="classic-prestige"] .gkit-home-card,
body[data-theme="classic-prestige"] .gkit-portfolio-card,
body[data-theme="classic-prestige"] .gkit-partner-card,
body[data-theme="classic-prestige"] .info-card,
body[data-theme="classic-prestige"] .portfolio-card,
body[data-theme="classic-prestige"] .gkit-product-preview {
  border-color: var(--prestige-border);
  border-radius: 10px;
  background: var(--prestige-card);
  box-shadow: var(--gkit-shadow);
}

body[data-theme="classic-prestige"] .gkit-home-card:hover,
body[data-theme="classic-prestige"] .gkit-portfolio-card:hover {
  border-color: var(--prestige-gold);
}

body[data-theme="classic-prestige"] .gkit-solution-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

body[data-theme="classic-prestige"] .gkit-solution-group {
  margin: 0;
}

body[data-theme="classic-prestige"] .gkit-solution-group__heading {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid color-mix(in srgb, var(--prestige-gold) 55%, transparent);
}

body[data-theme="classic-prestige"] .gkit-solution-group__heading .gkit-kicker { margin-bottom: 0.2rem; }
body[data-theme="classic-prestige"] .gkit-solution-group__heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

body[data-theme="classic-prestige"] .gkit-solution-group .gkit-portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1rem 1.1rem;
}

body[data-theme="classic-prestige"] .gkit-solution-group .gkit-portfolio-grid {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

body[data-theme="classic-prestige"] .gkit-solution-group .gkit-portfolio-card > p:last-child { margin-top: auto; }

body[data-theme="classic-prestige"] .gkit-solution-group .gkit-portfolio-card .gkit-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--prestige-forest) !important;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 760px) {
  body[data-theme="classic-prestige"] .gkit-solution-groups { grid-template-columns: 1fr; }
  body[data-theme="classic-prestige"] .gkit-services-v2 .gkit-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  body[data-theme="classic-prestige"] .gkit-services-v2 .gkit-benefit-grid .gkit-home-card {
    padding: 0.9rem;
  }
}

body[data-theme="classic-prestige"] .gkit-text-link {
  color: var(--prestige-forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body[data-theme="classic-prestige"] .gkit-services-v2 .gkit-portfolio-card,
body[data-theme="classic-prestige"] .gkit-services-v2 .gkit-home-card {
  min-height: 0;
}

body[data-theme="classic-prestige"] .gkit-price-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

body[data-theme="classic-prestige"] .gkit-price-summary--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-theme="classic-prestige"] .gkit-price-summary .gkit-home-card {
  min-height: 0;
}

body[data-theme="classic-prestige"] .gkit-price-summary strong {
  color: var(--prestige-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

body[data-theme="classic-prestige"] .gkit-price-note {
  padding-left: 0.9rem;
  border-left: 3px solid var(--prestige-gold);
}

body[data-theme="classic-prestige"] .gkit-offer-callout {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--prestige-gold);
  border-radius: 0.75rem;
  background: var(--prestige-cream);
}

@media (max-width: 760px) {
  body[data-theme="classic-prestige"] .gkit-price-summary,
  body[data-theme="classic-prestige"] .gkit-price-summary--two {
    grid-template-columns: 1fr;
  }
}

body[data-theme="classic-prestige"] .gkit-btn,
body[data-theme="classic-prestige"] .button {
  border-radius: 5px;
}

body[data-theme="classic-prestige"] .gkit-btn-primary,
body[data-theme="classic-prestige"] .button-primary {
  border: 1px solid var(--prestige-gold);
  color: #fff;
  background: var(--prestige-forest);
  box-shadow: 0 8px 18px rgba(30, 63, 32, 0.14);
}

body[data-theme="classic-prestige"] .gkit-btn-primary:hover,
body[data-theme="classic-prestige"] .button-primary:hover {
  border-color: var(--prestige-gold-light);
  color: #fff;
  background: var(--prestige-navy);
}

body[data-theme="classic-prestige"] .gkit-btn-secondary,
body[data-theme="classic-prestige"] .button-secondary,
body[data-theme="classic-prestige"] .gkit-btn:not(.gkit-btn-primary) {
  border-color: var(--prestige-gold);
  color: var(--prestige-forest);
  background: var(--prestige-card);
}

/* Keep primary buttons authoritative when older utility selectors overlap. */
body[data-theme="classic-prestige"] .gkit-btn.gkit-btn-primary {
  border-color: var(--prestige-gold);
  color: #fff;
  background: var(--prestige-forest);
}

/* Neutral first actions must stay readable despite the legacy first-child rule. */
body[data-theme="classic-prestige"] .gkit-home-actions .gkit-btn:first-child:not(.gkit-btn-primary) {
  color: var(--prestige-forest) !important;
  background: var(--prestige-card);
}

body[data-theme="classic-prestige"] input,
body[data-theme="classic-prestige"] select,
body[data-theme="classic-prestige"] textarea {
  border-color: var(--prestige-border);
  border-radius: 6px;
  background: #fff;
}

body[data-theme="classic-prestige"] input:focus,
body[data-theme="classic-prestige"] select:focus,
body[data-theme="classic-prestige"] textarea:focus,
body[data-theme="classic-prestige"] a:focus-visible,
body[data-theme="classic-prestige"] button:focus-visible {
  outline: 3px solid rgba(183, 154, 87, 0.45);
  outline-offset: 3px;
}

body[data-theme="classic-prestige"] .site-footer {
  border-top-color: var(--prestige-gold-light);
  color: rgba(255, 255, 255, 0.82);
  background: var(--prestige-navy);
}

body[data-theme="classic-prestige"] .site-footer__main {
  grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(160px, 0.75fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

body[data-theme="classic-prestige"] .site-footer__brand p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
}

body[data-theme="classic-prestige"] .site-footer .footer-brand__logo {
  width: 180px;
  padding: 8px 10px;
  border: 1px solid rgba(216, 200, 159, 0.65);
  border-radius: 6px;
  background: #fff;
}

body[data-theme="classic-prestige"] .site-footer h2 {
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body[data-theme="classic-prestige"] .footer-link-column a {
  color: rgba(255, 255, 255, 0.82);
  text-underline-offset: 0.25em;
}

body[data-theme="classic-prestige"] .footer-link-column a:hover {
  color: #fff;
  text-decoration-color: var(--prestige-gold);
}

body[data-theme="classic-prestige"] .site-footer__contact {
  width: fit-content;
  margin-top: 0.8rem;
  border-color: var(--prestige-gold);
  background: transparent;
}

body[data-theme="classic-prestige"] .site-footer__contact:hover {
  background: var(--prestige-forest);
}

body[data-theme="classic-prestige"] .site-footer__bottom {
  border-top-color: rgba(216, 200, 159, 0.28);
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 760px) {
  body[data-theme="classic-prestige"] .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  body[data-theme="classic-prestige"] .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  body[data-theme="classic-prestige"] .site-footer__main {
    grid-template-columns: 1fr;
  }

  body[data-theme="classic-prestige"] .site-footer__brand {
    grid-column: auto;
  }

  body[data-theme="classic-prestige"] .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Compact, fact-checked ecosystem overview on the home page. */
body[data-theme="classic-prestige"] .gkit-ecosystem-hub {
  width: min(100%, 620px);
  margin: 24px auto 18px;
  padding: 20px 24px;
  border: 2px solid var(--prestige-gold);
  border-radius: 12px;
  color: #fff;
  text-align: center;
  background: var(--prestige-navy);
  box-shadow: 0 12px 24px rgba(26, 54, 93, 0.12);
}

body[data-theme="classic-prestige"] .gkit-ecosystem-hub .gkit-kicker,
body[data-theme="classic-prestige"] .gkit-ecosystem-hub h3,
body[data-theme="classic-prestige"] .gkit-ecosystem-hub p {
  color: #fff;
}

body[data-theme="classic-prestige"] .gkit-ecosystem-hub h3 {
  margin: 2px 0 6px;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

body[data-theme="classic-prestige"] .gkit-ecosystem-hub p:last-child {
  margin-bottom: 0;
}

body[data-theme="classic-prestige"] .gkit-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

body[data-theme="classic-prestige"] .gkit-ecosystem-pillar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--prestige-border);
  border-top: 4px solid var(--prestige-forest);
  border-radius: 8px;
  background: var(--prestige-card);
  box-shadow: var(--gkit-shadow);
}

body[data-theme="classic-prestige"] .gkit-ecosystem-pillar h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
}

body[data-theme="classic-prestige"] .gkit-ecosystem-pillar a {
  color: var(--prestige-forest);
  font-weight: 700;
  text-decoration-color: var(--prestige-gold-light);
  text-underline-offset: 3px;
}

body[data-theme="classic-prestige"] .gkit-ecosystem-pillar a:hover {
  color: var(--prestige-navy);
  text-decoration-color: var(--prestige-gold);
}

@media (max-width: 980px) {
  body[data-theme="classic-prestige"] .site-nav {
    border-color: var(--prestige-gold-light);
    background: var(--prestige-card);
  }

  body[data-theme="classic-prestige"] .gkit-ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-theme="classic-prestige"] .gkit-ecosystem-hub {
    margin-top: 18px;
    padding: 18px 16px;
  }

  body[data-theme="classic-prestige"] .gkit-ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-theme="classic-prestige"] .gkit-ecosystem-pillar {
    padding: 15px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-theme="classic-prestige"] *,
  body[data-theme="classic-prestige"] *::before,
  body[data-theme="classic-prestige"] *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
