/* seo.css */

.seo-hub-header {
  padding: 4rem 1rem;
  background: var(--bg-shade);
  text-align: center;
}

.seo-hub-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.seo-hub-summary {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.seo-symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.seo-clinic-callout {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(30, 106, 58, 0.18), rgba(20, 39, 25, 0.72));
  text-align: start;
}

.seo-clinic-callout h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.seo-clinic-callout h2 a {
  color: var(--green-2);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.seo-clinic-callout p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.seo-symptom-card {
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.seo-symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.seo-symptom-card h2,
.seo-symptom-card h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.seo-symptom-page {
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.seo-symptom-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.seo-symptom-page h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.seo-symptom-page p, .seo-symptom-page ul {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.seo-symptom-page ul {
  padding-left: 1.5rem;
}

.seo-cta-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-shade);
  border-radius: 8px;
  text-align: center;
}

.seo-breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.seo-breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

.seo-language-selector {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--bg-shade);
  border-radius: 8px;
}

.seo-language-selector ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-language-selector {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.legal-language-selector strong {
  color: var(--ink);
}

.legal-language-selector a,
.legal-footer a,
.localized-legal-links a {
  color: var(--green-2);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.legal-footer nav,
.localized-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

[dir="rtl"] .legal-language-selector ul {
  padding-right: 0;
  padding-left: 0;
}

[dir="rtl"] .seo-symptom-page ul {
  padding-right: 1.5rem;
  padding-left: 0;
}

/* Scoped CTA Styles */
.seo-cta-section .home-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  margin: 0.5rem;
  background-color: var(--text-color, #1a1a1a);
  color: var(--bg-color, #ffffff);
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.seo-cta-section .home-store-button.primary {
  background-color: var(--primary-color, #0a84ff);
  color: #ffffff;
}

.seo-cta-section .home-store-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.seo-cta-section .home-store-button:focus-visible {
  outline: 2px solid var(--primary-color, #0a84ff);
  outline-offset: 2px;
}

.seo-cta-section .home-store-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.seo-cta-section .home-store-button span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

[dir="rtl"] .seo-cta-section .home-store-button span {
  align-items: flex-end;
}

.seo-cta-section .home-store-button small {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 2px;
}

.home-localized-product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin: 1.5rem auto 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(216, 239, 152, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(216, 239, 152, 0.13), transparent 38%),
    linear-gradient(145deg, rgba(13, 42, 30, 0.98), rgba(3, 21, 15, 0.98));
  color: #f4f0e6;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.locale-product-value,
.locale-offer-period {
  margin: 0 0 0.75rem;
  color: #d8ef98;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.home-localized-product h2 {
  max-width: 18ch;
  margin: 0;
  color: #fffdf7;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.locale-product-flow {
  max-width: 62ch;
  margin: 1rem 0 1.1rem;
  color: rgba(244, 240, 230, 0.82);
  font-size: 1rem;
  line-height: 1.72;
}

.locale-product-reminder {
  display: inline-flex;
  max-width: 60ch;
  color: #d8ef98;
  font-weight: 700;
  line-height: 1.5;
  text-underline-offset: 0.25em;
}

.locale-offer-card {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid rgba(244, 240, 230, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.locale-offer-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locale-offer-list li {
  position: relative;
  padding-inline-start: 1.45rem;
  color: #fffdf7;
  font-weight: 650;
  line-height: 1.45;
}

.locale-offer-list li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.5em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d8ef98;
  content: "";
  box-shadow: 0 0 0 4px rgba(216, 239, 152, 0.1);
}

.locale-offer-payment {
  margin: 1rem 0 0.35rem;
  color: rgba(244, 240, 230, 0.74);
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-localized-product .seo-cta-section {
  margin-top: 0.85rem;
}

.home-localized-product .seo-cta-section .home-store-button {
  margin-inline: 0 0.35rem;
  border-color: rgba(244, 240, 230, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: #fffdf7;
}

.home-localized-product .seo-cta-section .home-store-button.primary {
  border-color: #d8ef98;
  background: #d8ef98;
  color: #123024;
}

[dir="rtl"] .home-localized-product {
  text-align: right;
}

@media (max-width: 760px) {
  .seo-hub-header h1 { font-size: 2rem; }
  .seo-symptom-page h1 { font-size: 2rem; }

  .home-localized-product {
    grid-template-columns: 1fr;
    margin-top: 1rem;
    border-radius: 18px;
  }

  .home-localized-product h2 {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }
  
  .seo-cta-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .seo-cta-section .home-store-button {
    width: 100%;
    margin: 0;
  }
}
