/* ============================================================
   SEO Tests Page — ProntoTest (light theme)
   /test-dgt and /test-dgt-permiso-b
   ============================================================ */

/* ---------- Page wrapper ---------- */
.seo-page {
  padding-top: 80px;
  background: #F5F3EE;
  color: #1C1C1C;
}

/* ---------- Hero ---------- */
.seo-hero {
  position: relative;
  padding: 72px 20px 80px;
  overflow: hidden;
  text-align: center;
}

.seo-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 115, 36, 0.10) 0%, rgba(254, 106, 186, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.seo-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  z-index: 1;
}

.seo-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 40px;
  background: rgba(255, 115, 36, 0.08);
  border: 1px solid rgba(255, 115, 36, 0.2);
  font-size: 12px;
  font-weight: 600;
  color: #FF7324;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.seo-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF7324;
  flex-shrink: 0;
}

.seo-hero__h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 20px;
  color: #1C1C1C;
}

.seo-hero__h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #FF7324 0%, #FE6ABA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-hero__subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: #6B6B6B;
  margin: 0 auto 40px;
  max-width: 560px;
}

/* ---------- Hero mode cards (3 main test types) ---------- */
.seo-test-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto 0;
}

.seo-test-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px 22px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid #E4E0D8;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}

.seo-test-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--card-color-from, rgba(255,115,36,0.06)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
  border-radius: inherit;
}

.seo-test-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-accent, #FF7324);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.seo-test-card:hover::before {
  opacity: 1;
}

.seo-test-card--exam {
  --card-accent: #FF7324;
  --card-color-from: rgba(255, 115, 36, 0.08);
}

.seo-test-card--intelligent {
  --card-accent: #FE6ABA;
  --card-color-from: rgba(254, 106, 186, 0.08);
}

.seo-test-card--signs {
  --card-accent: #4C9CF8;
  --card-color-from: rgba(76, 156, 248, 0.07);
}


.seo-test-card > * {
  position: relative;
  z-index: 1;
}

.seo-test-card__illustration {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}

.seo-test-card__illustration svg {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  opacity: 0.05;
  color: var(--card-accent);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.seo-test-card:hover .seo-test-card__illustration svg {
  transform: scale(1.15) rotate(-8deg);
  opacity: 0.12;
}


.seo-test-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 115, 36, 0.10);
  color: var(--card-accent, #FF7324);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.seo-test-card--intelligent .seo-test-card__num {
  background: rgba(254, 106, 186, 0.10);
}

.seo-test-card--signs .seo-test-card__num {
  background: rgba(76, 156, 248, 0.10);
}

.seo-test-card__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--card-accent, #FF7324);
  margin-bottom: 6px;
}

.seo-test-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1C1C1C;
  margin: 0 0 8px;
  line-height: 1.2;
}

.seo-test-card__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #7A7A7A;
  margin: 0 0 18px;
  flex: 1;
}

.seo-test-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--card-accent, #FF7324);
  margin-top: auto;
}

.seo-test-card__cta svg {
  transition: transform 0.2s ease;
}

.seo-test-card:hover .seo-test-card__cta svg {
  transform: translateX(4px);
}

/* ---------- Numbered tests grid ---------- */
.seo-tests-grid {
  padding: 72px 20px;
  background: #FFFFFF;
}

.seo-tests-grid__inner {
  max-width: 960px;
  margin: 0 auto;
}

.seo-tests-grid__header {
  text-align: center;
  margin-bottom: 40px;
}

.seo-tests-grid__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FF7324;
  margin-bottom: 12px;
}

.seo-tests-grid__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1C1C1C;
  margin: 0 0 10px;
}

.seo-tests-grid__subtitle {
  font-size: 15px;
  color: #7A7A7A;
  margin: 0;
}

.seo-tests-grid__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.seo-test-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 14px 18px;
  border-radius: 16px;
  background: #F5F3EE;
  border: 1.5px solid #E4E0D8;
  text-decoration: none;
  text-align: center;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.seo-test-tile:hover {
  transform: translateY(-2px);
  border-color: #FF7324;
  background: #fff;
  box-shadow: 0 6px 20px rgba(255, 115, 36, 0.12);
}

.seo-test-tile__num {
  font-size: 22px;
  font-weight: 800;
  color: #FF7324;
  letter-spacing: -0.03em;
  line-height: 1;
}

.seo-test-tile__label {
  font-size: 11px;
  font-weight: 600;
  color: #1C1C1C;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.seo-test-tile__sublabel {
  font-size: 10px;
  color: #A0A0A0;
  line-height: 1.2;
}

.seo-test-tile__arrow {
  margin-top: 4px;
  color: #FF7324;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.seo-test-tile:hover .seo-test-tile__arrow {
  opacity: 1;
}

/* ---------- Stats strip ---------- */
.seo-stats {
  padding: 56px 20px;
  background: #F5F3EE;
  border-top: 1px solid #E4E0D8;
  border-bottom: 1px solid #E4E0D8;
}

.seo-stats__inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.seo-stats__value {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #1C1C1C;
  line-height: 1;
  margin-bottom: 6px;
}

.seo-stats__value span {
  background: linear-gradient(90deg, #FF7324 0%, #FE6ABA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seo-stats__label {
  font-size: 13px;
  color: #8A8A8A;
  line-height: 1.4;
}

/* ---------- Section common ---------- */
.seo-section {
  padding: 88px 20px;
  background: #F5F3EE;
}

.seo-section--alt {
  background: #FFFFFF;
}

.seo-section__inner {
  max-width: 1020px;
  margin: 0 auto;
}

.seo-section__header {
  text-align: center;
  margin-bottom: 56px;
}

.seo-section__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FF7324;
  margin-bottom: 12px;
}

.seo-section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1C1C1C;
  margin: 0 0 14px;
}

.seo-section__subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: #7A7A7A;
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- How it works ---------- */
.seo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.seo-step {
  padding: 28px 26px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid #E4E0D8;
}

.seo-section--alt .seo-step {
  background: #F5F3EE;
}

.seo-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 115, 36, 0.10);
  color: #FF7324;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.seo-step__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1C1C1C;
  margin: 0 0 8px;
}

.seo-step__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #7A7A7A;
  margin: 0;
}

/* ---------- Features grid ---------- */
.seo-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.seo-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1.5px solid #E4E0D8;
}

.seo-section--alt .seo-feature {
  background: #F5F3EE;
}

.seo-feature__icon {
  font-size: 26px;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  line-height: 1;
  margin-top: 1px;
}

.seo-feature__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1C1C1C;
  margin: 0 0 5px;
}

.seo-feature__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: #7A7A7A;
  margin: 0;
}

/* ---------- App showcase (embedded from guest_questions) ---------- */
.seo-page {
  --guest-question-display-font: "Alice", Georgia, serif;
  --guest-question-body-font: "Inter", Helvetica, Arial, sans-serif;
}

.seo-page .guest-question-showcase {
  max-width: 1020px;
  margin: 0 auto;
}

/* ---------- FAQ ---------- */
.seo-faq__items {
  max-width: 740px;
  margin: 0 auto;
}

.seo-faq__item {
  border-bottom: 1px solid #E4E0D8;
}

.seo-faq__item:first-child {
  border-top: 1px solid #E4E0D8;
}

.seo-faq__toggle {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  color: #1C1C1C;
  line-height: 1.4;
  transition: color 0.2s;
}

.seo-faq__toggle:hover {
  color: #FF7324;
}

.seo-faq__toggle-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EDE9E2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
}

.seo-faq__toggle-icon::after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231C1C1C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

.seo-faq__item.js-open .seo-faq__toggle-icon {
  background: #FF7324;
  transform: rotate(180deg);
}

.seo-faq__item.js-open .seo-faq__toggle-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.seo-faq__answer {
  display: none;
  padding-bottom: 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #6B6B6B;
}

.seo-faq__item.js-open .seo-faq__answer {
  display: block;
}

.seo-faq__answer p {
  margin: 0 0 12px;
}

.seo-faq__answer p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA banner ---------- */
.seo-cta {
  padding: 88px 20px;
  text-align: center;
  background: #1C1C1C;
  position: relative;
  overflow: hidden;
}

.seo-cta::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 115, 36, 0.20) 0%, rgba(254, 106, 186, 0.10) 50%, transparent 70%);
  pointer-events: none;
}

.seo-cta__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  z-index: 1;
}

.seo-cta__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #FFFFFF;
}

.seo-cta__subtitle {
  font-size: 16px;
  color: #A0A0A0;
  margin: 0 0 32px;
  line-height: 1.5;
}

.seo-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.seo-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 40px;
  background: #FF7324;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-btn-primary:visited {
  color: #fff;
}

.seo-btn-primary:hover {
  background: #e96415;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 115, 36, 0.35);
}

.seo-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 40px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s ease;
}

.seo-btn-secondary:visited {
  color: #fff;
}

.seo-btn-secondary:hover {
  background: rgba(255,255,255,0.16);
}

/* ---------- SEO text block ---------- */
.seo-text-block {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px 72px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #6B6B6B;
}

.seo-text-block h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1C1C1C;
  margin: 36px 0 10px;
}

.seo-text-block p {
  margin: 0 0 14px;
}

.seo-text-block a,
.seo-text-block a:visited {
  color: #FF7324;
  text-decoration: none;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .seo-test-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seo-tests-grid__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .seo-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seo-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seo-stats__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .seo-section__title {
    font-size: 26px;
  }

  .seo-cta {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .seo-hero {
    padding: 52px 16px 60px;
  }

  .seo-hero__h1 {
    font-size: 34px;
  }

  .seo-tests-grid__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .seo-test-tile__num {
    font-size: 20px;
  }
}
