/*
Theme Name: EduCoaching Suite
Author: DigitigerPluginSys
Description: Rebrandable coaching-center website theme for the EduCoaching Suite.
Version: 1.0.0-beta.20
Text Domain: digitiger-edu-suite
*/

:root {
  --ink: #11213a;
  --muted: #58677c;
  --line: #dfe7f1;
  --paper: #fffdfa;
  --panel: #ffffff;
  --green: #ff7a1a;
  --green-dark: #d95f08;
  --blue: #102b55;
  --blue-deep: #071a35;
  --gold: #ffb22c;
  --mint: #0e8f7a;
  --rose: #c44763;
  --shadow: 0 18px 45px rgba(16, 35, 63, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fffdfa 0%, #f8fbff 42%, #fff7ef 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 35, 63, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus {
  border-color: rgba(16, 35, 63, 0.32);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 143, 122, 0.16);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav .menu,
.nav ul {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  margin: 0;
}

.nav a:hover {
  color: var(--blue);
}

.account-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff8b26, #f25f19);
  color: #fff;
  font-weight: 760;
  border: 1px solid var(--green);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border-color: #c5d2e3;
}

.button.update-button {
  background: linear-gradient(135deg, #0e8f7a, #102b55);
  border-color: rgba(255, 255, 255, 0.26);
}

.hero-update-link {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 0 1px 2px rgba(7, 26, 53, 0.5);
}

.dtes-login-panel,
.not-found-inner {
  width: min(760px, calc(100% - 40px));
  margin: 42px auto;
  padding: 34px;
  background: #fff;
  border: 1px solid rgba(16, 35, 63, 0.10);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.08);
}

.dtes-login-panel h2,
.not-found-inner h1 {
  margin: 8px 0 12px;
  color: var(--blue);
}

.dtes-login-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.dtes-login-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.dtes-login-form input[type="text"],
.dtes-login-form input[type="password"] {
  width: 100%;
  border: 1px solid rgba(16, 35, 63, 0.18);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
}

.dtes-login-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  font-weight: 700;
}

.dtes-login-error {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(190, 38, 30, 0.22);
  border-radius: 8px;
  background: #fff4f2;
  color: #8f1f16;
  font-weight: 800;
}

.announcement-band {
  padding: 52px 0;
  background: #fff;
}

.dtes-announcement-list h3 {
  margin: 0 0 14px;
  color: var(--blue);
}

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

.dtes-announcement-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid rgba(16, 35, 63, 0.11);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.07);
}

.dtes-announcement-card summary {
  cursor: pointer;
}

.dtes-announcement-card summary::marker {
  color: var(--green-dark);
}

.dtes-announcement-card span,
.dtes-announcement-card a:not(.button) {
  color: var(--green-dark);
  font-weight: 850;
}

.dtes-announcement-card strong {
  display: block;
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 19px;
}

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

.dtes-update-body {
  color: var(--ink);
}

.dtes-update-video video,
.dtes-update-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(16, 35, 63, 0.12);
}

.dtes-update-video video {
  aspect-ratio: 16 / 9;
  background: var(--blue-deep);
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: stretch;
  background-image:
    radial-gradient(circle at 72% 20%, rgba(255, 178, 44, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(7, 26, 53, 0.94), rgba(16, 43, 85, 0.68) 48%, rgba(14, 143, 122, 0.20)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero .section-inner {
  display: flex;
  align-items: center;
  padding: 70px 0 84px;
}

.hero-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.hero-copy {
  width: min(650px, 100%);
}

.hero-proof {
  align-self: center;
  background: transparent;
  color: var(--ink);
  border-radius: 8px;
  padding: 0;
  box-shadow: none;
  min-height: 440px;
}

.hero-proof h3,
.review-widget h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-proof > h3 {
  color: #ffb22c;
  text-shadow: 0 1px 2px rgba(7, 26, 53, 0.34);
}

.eyebrow {
  color: #ffd6ad;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h1 {
  margin: 14px 0 18px;
  max-width: 760px;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: #edf7f1;
  font-size: 19px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-social {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  color: #fff7ee;
  font-size: 13px;
  font-weight: 850;
}

.hero-social > span {
  text-shadow: 0 1px 2px rgba(7, 26, 53, 0.38);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 36px;
  padding: 5px;
  border: 1px solid rgba(201, 214, 206, 0.22);
  border-radius: 8px;
  color: inherit;
  font-weight: 850;
  font-size: 13px;
}

.social-link-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.social-link-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.social-link-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.social-link-instagram .social-link-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.social-link-youtube .social-link-icon {
  color: #c71f1f;
}

.social-link-facebook .social-link-icon {
  color: #1f5fbf;
}

.social-link-instagram .social-link-icon {
  color: #c44763;
}

.social-link-whatsapp .social-link-icon {
  color: #0e8f7a;
}

.social-link-linkedin .social-link-icon {
  color: #0c5f99;
}

.social-link-telegram .social-link-icon {
  color: #1683b7;
}

.social-links-hero .social-link {
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.social-links-hero .social-link-icon {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 3px 7px rgba(7, 26, 53, 0.38));
}

.social-links-hero .social-link-icon svg {
  width: 34px;
  height: 34px;
}

.social-links-hero .social-link:hover,
.social-links-hero .social-link:focus,
.social-links-footer .social-link:hover,
.social-links-footer .social-link:focus {
  border-color: rgba(255, 178, 44, 0.72);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.social-links-hero .social-link:hover,
.social-links-hero .social-link:focus {
  border-color: transparent;
  background: transparent;
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
  max-width: 680px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 22px;
  line-height: 1.05;
}

.stat span {
  color: #dcebe3;
  font-size: 13px;
}

.ai-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  max-width: 680px;
}

.ai-hero-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 173, 0.42);
  background: rgba(255, 255, 255, 0.13);
  color: #fff7ee;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(7, 26, 53, 0.18);
}

.hero-intent-panel {
  margin-top: 24px;
  max-width: 760px;
  padding: 16px;
  border: 1px solid rgba(255, 214, 173, 0.46);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.16);
  box-shadow: 0 16px 34px rgba(7, 26, 53, 0.22);
}

.hero-intent-panel p {
  margin: 0 0 12px;
  color: #fff7ee;
  font-size: 18px;
  font-weight: 850;
}

.hero-intent-panel .visitor-tab-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-intent-panel button {
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.hero-intent-panel button {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero-intent-panel button:hover,
.hero-intent-panel button.is-active {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 26, 53, 0.22);
}

.hero-intent-panel button span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-intent-panel button strong {
  margin-top: 9px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.22;
}

.visitor-dashboard-placeholder,
.visitor-tab-panels {
  margin-top: 14px;
}

.visitor-tab-empty,
.visitor-tab-panel {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 214, 173, 0.44);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.visitor-tab-empty {
  color: var(--blue);
  font-weight: 800;
}

.visitor-tab-panel span {
  display: block;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visitor-tab-panel h3 {
  margin: 6px 0 6px;
  font-size: 22px;
  line-height: 1.16;
}

.visitor-tab-panel p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

body.visitor-gate-active {
  overflow: hidden;
}

.visitor-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 26, 53, 0.72);
  backdrop-filter: blur(10px);
}

.visitor-gate.is-dismissed {
  display: none;
}

.visitor-gate-dialog {
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 214, 173, 0.34);
  background: #fffdfa;
  color: var(--ink);
  box-shadow: 0 26px 70px rgba(7, 26, 53, 0.32);
}

.visitor-gate-head h2 {
  margin-bottom: 10px;
  font-size: 34px;
}

.visitor-gate-head p:last-child {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--muted);
}

.visitor-choice-buttons {
  display: grid;
  gap: 10px;
}

.visitor-choice-buttons-modal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visitor-choice-buttons-compact {
  grid-template-columns: 1fr;
}

.visitor-choice-buttons button,
.visitor-login-choice {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(16, 35, 63, 0.06);
}

.visitor-choice-buttons button:hover,
.visitor-choice-buttons button:focus,
.visitor-choice-buttons button.is-active,
.visitor-login-choice:hover,
.visitor-login-choice:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 26, 0.48);
  outline: none;
  box-shadow: 0 14px 30px rgba(16, 35, 63, 0.12);
}

.visitor-choice-buttons button.is-active {
  background: #fff7ef;
}

.visitor-choice-buttons span,
.visitor-login-choice span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visitor-choice-buttons strong,
.visitor-login-choice strong {
  color: var(--blue);
  font-size: 16px;
  line-height: 1.22;
}

.visitor-login-choice {
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: #fff;
}

.visitor-login-choice span,
.visitor-login-choice strong {
  color: #fff;
}

.hero-role-switcher {
  margin: 0 0 22px;
  padding: 14px;
  border: 1px solid rgba(255, 214, 173, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(7, 26, 53, 0.14);
}

.hero-role-switcher > p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}

.hero-role-switcher .visitor-dashboard-placeholder {
  margin-top: 10px;
}

.hero-role-switcher .visitor-tab-empty,
.hero-role-switcher .visitor-tab-panel {
  border-color: rgba(16, 35, 63, 0.10);
  background: #f8fbff;
}

.hero-role-switcher .visitor-tab-panel h3 {
  font-size: 18px;
}

section {
  padding: 76px 0;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h2 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: 0;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.program-grid,
.feature-grid,
.results-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

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

.program-grid-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.pricing-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.home-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  align-items: start;
}

.review-widget {
  position: sticky;
  top: 96px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.success-strip {
  padding: 52px 0;
  background:
    linear-gradient(90deg, #fff7ef 0%, #fffdfa 42%, #eef7ff 100%);
  overflow: hidden;
}

.success-marquee {
  overflow: hidden;
  margin-top: 24px;
}

.hero-success-rail {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
  padding: 14px 0 0;
  overflow: hidden;
}

.hero-success-rail .section-kicker {
  margin-bottom: 10px;
  color: #ffb22c;
  text-shadow: 0 1px 2px rgba(7, 26, 53, 0.34);
}

.success-marquee-hero {
  margin-top: 0;
}

.success-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: dtes-scroll 170s linear infinite;
}

.success-marquee:hover .success-track {
  animation-play-state: paused;
}

.success-card {
  width: 300px;
  min-height: 124px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(16, 35, 63, 0.07);
  transition: width 180ms ease, transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.success-card:hover {
  width: 360px;
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 122, 26, 0.42);
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.16);
}

.success-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.success-card p {
  width: auto;
  max-height: none;
  margin: 6px 0 0;
  opacity: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  transition: font-size 180ms ease, color 180ms ease;
}

.success-card:hover p {
  color: #35445a;
  font-size: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  color: #fff;
  font-weight: 900;
}

.learning-actions {
  display: grid;
  gap: 12px;
}

.resource-tile {
  display: block;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.06);
}

.resource-tile strong,
.resource-tile span {
  display: block;
}

.resource-tile span {
  margin-top: 4px;
  color: var(--muted);
}

@keyframes dtes-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(23, 32, 27, 0.05);
}

.program-card {
  min-height: 210px;
}

.program-tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff0df;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.card h3 {
  margin: 16px 0 8px;
  font-size: 21px;
  letter-spacing: 0;
}

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

.band {
  background:
    linear-gradient(135deg, #eef7ff, #fff7ef);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.schedule {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule th,
.schedule td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.schedule th {
  background: #f3f7fc;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.result-number {
  font-size: 38px;
  font-weight: 900;
  color: var(--blue);
}

.cta {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 178, 44, 0.30), transparent 30%),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
}

.cta .section-lead {
  color: #dce7e0;
}

.site-footer {
  background: #101713;
  color: #c9d6ce;
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 0.9fr) minmax(240px, 1fr);
  gap: 22px;
  align-items: start;
}

.footer-brand strong,
.footer-social strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p,
.footer-privacy p {
  margin: 0;
}

.footer-privacy a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(201, 214, 206, 0.22);
  border-radius: 8px;
  color: #f5fff8;
  font-weight: 800;
  font-size: 13px;
}

.footer-privacy a:hover,
.footer-privacy a:focus {
  border-color: rgba(255, 178, 44, 0.68);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.footer-privacy a {
  margin-top: 10px;
}

.program-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 800;
}

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

.support-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.support-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.support-card h3 {
  margin: 18px 0 8px;
  font-size: 21px;
}

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

.review-stage {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 10px;
  isolation: isolate;
  animation: dtes-review-breathe 9s ease-in-out infinite;
}

.review-stage::before,
.review-stage::after {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  pointer-events: none;
}

.review-stage::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 178, 44, 0.26), transparent 34%),
    radial-gradient(circle at 84% 30%, rgba(14, 143, 122, 0.20), transparent 30%),
    radial-gradient(circle at 42% 92%, rgba(196, 71, 99, 0.16), transparent 32%);
  filter: blur(22px);
  opacity: 0.82;
  animation: dtes-review-fog-drift 13s ease-in-out infinite alternate;
}

.review-stage::after {
  inset: -6px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 178, 44, 0.22), transparent 58%),
    radial-gradient(circle at 50% 100%, rgba(255, 122, 26, 0.16), transparent 60%);
  box-shadow:
    0 0 34px rgba(255, 178, 44, 0.16),
    0 0 72px rgba(255, 122, 26, 0.09);
  opacity: 0.86;
  z-index: 1;
}

.review-slide {
  position: absolute;
  inset: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 239, 0.88)) padding-box,
    linear-gradient(135deg, rgba(255, 178, 44, 0.90), rgba(255, 122, 26, 0.28) 42%, rgba(255, 255, 255, 0.08) 72%, rgba(14, 143, 122, 0.22)) border-box,
    radial-gradient(circle at 18% 12%, rgba(255, 178, 44, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 239, 0.86));
  box-shadow:
    0 14px 36px rgba(16, 35, 63, 0.10),
    0 0 34px rgba(255, 255, 255, 0.66),
    0 0 42px rgba(255, 122, 26, 0.14);
  backdrop-filter: blur(10px) saturate(1.1);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: dtes-review-fade var(--review-duration, 30s) ease-in-out infinite;
  animation-delay: calc(var(--review-index, 0) * 5s);
}

.review-stage:hover .review-slide {
  animation-play-state: paused;
}

.review-slide-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-slide-head img,
.review-initial {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.review-initial {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--rose));
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

.review-slide-head strong,
.review-slide-head span {
  display: block;
}

.review-slide-head span {
  color: var(--muted);
  font-size: 13px;
}

.review-stars {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  margin-bottom: 10px;
}

.review-slide p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.review-slide a {
  color: var(--green-dark);
  font-weight: 800;
  font-size: 14px;
}

@keyframes dtes-review-fade {
  0% { opacity: 0; transform: translateY(10px) scale(0.98); }
  0.4% { opacity: 1; transform: translateY(0) scale(1); }
  2.8% { opacity: 1; transform: translateY(0) scale(1); }
  3.4% { opacity: 0; transform: translateY(-8px) scale(0.99); }
  100% { opacity: 0; transform: translateY(-8px) scale(0.99); }
}

@keyframes dtes-review-breathe {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 178, 44, 0), 0 18px 44px rgba(16, 35, 63, 0.08);
    transform: scale(0.992);
  }
  50% {
    box-shadow: 0 0 34px rgba(255, 178, 44, 0.18), 0 22px 52px rgba(16, 35, 63, 0.12);
    transform: scale(1);
  }
}

@keyframes dtes-review-fog-drift {
  from {
    transform: translate3d(-8px, 4px, 0) scale(1);
  }
  to {
    transform: translate3d(10px, -6px, 0) scale(1.08);
  }
}

@media (max-width: 1320px) {
  body.logged-in .header-inner {
    position: relative;
    min-height: 64px;
    padding: 10px 0;
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  body.logged-in .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  body.logged-in .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.logged-in .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  body.logged-in .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    width: min(300px, calc(100vw - 40px));
    max-height: calc(100vh - 92px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(16, 35, 63, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  body.logged-in .site-header.is-menu-open .nav {
    display: flex;
  }

  body.logged-in .nav .menu,
  body.logged-in .nav ul {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  body.logged-in .nav a,
  body.logged-in .nav .menu a,
  body.logged-in .account-pill {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    padding: 9px 10px;
    border-radius: 8px;
  }

  body.logged-in .nav a:hover,
  body.logged-in .nav .menu a:hover {
    background: #f4f8fc;
  }

  body.logged-in .nav .button {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
    min-height: 64px;
    padding: 10px 0;
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    width: min(300px, calc(100vw - 40px));
    max-height: calc(100vh - 92px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(16, 35, 63, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-menu-open .nav {
    display: flex;
  }

  .nav .menu,
  .nav ul {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .nav a,
  .nav .menu a,
  .account-pill {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    padding: 9px 10px;
    border-radius: 8px;
  }

  .nav a:hover,
  .nav .menu a:hover {
    background: #f4f8fc;
  }

  .nav .button {
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero .section-inner {
    padding: 54px 0 64px;
  }

  .program-grid,
  .program-grid-wide,
  .feature-grid,
  .support-grid,
  .results-grid,
  .pricing-grid,
  .home-with-sidebar,
  .hero-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-intent-panel .visitor-tab-buttons {
    grid-template-columns: 1fr;
  }

  .hero-intent-panel button {
    min-height: 96px;
  }

  .dtes-announcement-grid {
    grid-template-columns: 1fr;
  }

  .section-head-row {
    align-items: start;
    flex-direction: column;
  }

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

  .review-widget {
    position: static;
  }

  .hero-proof {
    width: min(100%, 430px);
    margin: 0 auto;
  }

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

  .hero-proof {
    min-height: 380px;
  }

  .review-stage {
    min-height: 280px;
  }

  .success-card:hover {
    width: 236px;
    transform: none;
  }

  .success-card p {
    display: none;
  }

  h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  h2 {
    font-size: 32px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .visitor-gate {
    padding: 10px;
    place-items: start center;
  }

  .visitor-gate-dialog {
    max-height: calc(100vh - 20px);
    padding: 14px;
  }

  .visitor-gate-head h2 {
    margin-bottom: 6px;
    font-size: 22px;
  }

  .visitor-gate-head p:last-child {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  .visitor-choice-buttons {
    gap: 8px;
  }

  .visitor-choice-buttons button,
  .visitor-login-choice {
    min-height: 58px;
    padding: 9px 10px;
  }

  .visitor-choice-buttons span,
  .visitor-login-choice span {
    font-size: 10px;
    line-height: 1.1;
  }

  .visitor-choice-buttons strong,
  .visitor-login-choice strong {
    font-size: 14px;
    line-height: 1.16;
  }
}

@media (hover: none) {
  .success-marquee:hover .success-track,
  .review-stage:hover .review-slide {
    animation-play-state: running;
  }

  .success-card:hover {
    width: 300px;
    transform: none;
    border-color: var(--line);
    box-shadow: 0 8px 20px rgba(16, 35, 63, 0.07);
  }

  .success-card:hover p {
    font-size: 13px;
  }

  .review-stage {
    animation: none;
    background: #fffdfa;
    border: 1px solid rgba(255, 178, 44, 0.34);
    box-shadow: 0 14px 32px rgba(16, 35, 63, 0.10);
  }

  .review-stage::before,
  .review-stage::after {
    display: none;
  }

  .review-slide {
    background: #fffdfa;
    border-color: rgba(255, 178, 44, 0.38);
    box-shadow: none;
    backdrop-filter: none;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .section-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    gap: 9px;
    font-size: 15px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav {
    width: calc(100vw - 24px);
  }

  .hero .section-inner {
    padding: 38px 0 48px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  section {
    padding: 48px 0;
  }

  .hero p,
  .section-lead {
    font-size: 16px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .visitor-gate {
    padding: 14px;
    place-items: start center;
  }

  .visitor-gate-dialog {
    max-height: calc(100vh - 28px);
    padding: 18px;
  }

  .visitor-gate-head h2 {
    font-size: 25px;
    line-height: 1.12;
  }

  .visitor-choice-buttons-modal {
    grid-template-columns: 1fr;
  }

  .visitor-choice-buttons button,
  .visitor-login-choice {
    min-height: 64px;
    padding: 12px;
  }

  .visitor-choice-buttons strong,
  .visitor-login-choice strong {
    font-size: 15px;
  }

  .stat,
  .hero-intent-panel,
  .visitor-tab-panel,
  .program-card,
  .support-card {
    padding: 14px;
  }

  .hero-proof,
  .review-stage {
    min-height: 250px;
  }

  .review-slide {
    inset: 6px;
    padding: 14px;
  }

  .review-slide p {
    font-size: 14px;
  }
}
