* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --seo-ink: #10201a;
  --seo-muted: #52645c;
  --seo-panel: #ffffff;
  --seo-line: #d8e3dc;
  --seo-soft: #f5f8f4;
  --seo-green: #0f513f;
  --seo-blue: #1d4ed8;
  --seo-gold: #b7791f;
  --seo-coral: #b45309;
}

body.sqp-seo-page {
  margin: 0;
  min-width: 320px;
  background: var(--seo-soft);
  color: var(--seo-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

.seo-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--seo-line);
  backdrop-filter: blur(12px);
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--seo-ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.seo-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.seo-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  font-size: 0.95rem;
}

.seo-nav-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.seo-nav-links a,
.seo-footer a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.seo-nav-links a:hover,
.seo-footer a:hover {
  text-decoration: underline;
}

.seo-hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: 118px 24px 64px;
  color: #ffffff;
  background-color: #10201a;
  background-image: linear-gradient(90deg, rgba(10, 25, 20, 0.88), rgba(10, 25, 20, 0.46)), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.seo-hero-inner,
.seo-section,
.seo-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.seo-kicker {
  margin: 0 0 12px;
  color: #f8d57e;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seo-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.seo-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #edf7f1;
  font-size: 1.18rem;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #f8d57e;
  color: #182314;
  font-weight: 900;
  text-decoration: none;
}

.seo-button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.seo-section {
  padding: 58px 24px;
}

.seo-section.compact {
  padding-top: 34px;
}

.seo-section h2 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.seo-section > p {
  max-width: 820px;
  margin: 0;
  color: var(--seo-muted);
  font-size: 1.05rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.seo-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-card {
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: var(--seo-panel);
  box-shadow: 0 14px 34px rgba(16, 32, 26, 0.08);
}

.seo-card img {
  width: 100%;
  max-height: 210px;
  margin-bottom: 16px;
  border-radius: 8px;
  object-fit: cover;
}

.seo-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.seo-card p,
.seo-card li {
  margin: 0;
  color: var(--seo-muted);
}

.seo-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.seo-band {
  background: #e9f3ec;
  border-top: 1px solid var(--seo-line);
  border-bottom: 1px solid var(--seo-line);
}

.seo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 26px;
  align-items: center;
}

.seo-split img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--seo-line);
  background: #ffffff;
}

.seo-price {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.seo-price strong {
  display: block;
  margin-bottom: 4px;
  color: var(--seo-green);
  font-size: 1.4rem;
}

.seo-footer {
  background: #10201a;
  color: #e9f3ec;
}

.seo-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 24px;
}

.seo-footer p {
  margin: 0;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-footer a {
  color: #f8d57e;
}

.seo-legal-page {
  background:
    linear-gradient(180deg, rgba(16, 32, 26, 0.08), rgba(245, 248, 244, 0) 360px),
    var(--seo-soft);
}

.seo-legal-hero {
  min-height: 46vh;
  align-items: center;
}

.seo-legal-shell {
  width: min(1040px, calc(100% - 32px));
  margin: -42px auto 58px;
  position: relative;
  z-index: 2;
}

.seo-legal-card {
  padding: 30px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(16, 32, 26, 0.14);
}

.seo-legal-card + .seo-legal-card {
  margin-top: 16px;
}

.seo-legal-card h2 {
  margin: 0 0 10px;
  color: var(--seo-ink);
  font-size: 1.35rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.seo-legal-card p,
.seo-legal-card li {
  color: var(--seo-muted);
  font-size: 1rem;
}

.seo-legal-card p {
  margin: 0 0 12px;
}

.seo-legal-card p:last-child,
.seo-legal-card li:last-child {
  margin-bottom: 0;
}

.seo-legal-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.seo-legal-card a {
  color: var(--seo-blue);
  font-weight: 800;
}

.seo-legal-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.seo-legal-summary span {
  display: block;
  padding: 14px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--seo-muted);
  font-size: 0.95rem;
}

.seo-legal-summary strong {
  display: block;
  color: var(--seo-green);
  font-size: 1rem;
}

.seo-legal-notice {
  border-color: rgba(183, 121, 31, 0.38);
  background: #fff8e8;
}

.seo-legal-notice h2 {
  color: #7a4b08;
}

.seo-legal-updated {
  margin-top: 18px;
  color: #dbe9df;
  font-weight: 800;
}

[data-legal-lang-panel][hidden] {
  display: none !important;
}

html[lang="es"] [data-legal-lang-panel="en"],
html[lang="en"] [data-legal-lang-panel="es"] {
  display: none;
}

.legal-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(16, 32, 26, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(16, 32, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.legal-language-switch button {
  width: 32px;
  height: 23px;
  min-height: 23px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(16, 32, 26, 0.26);
  border-radius: 4px;
  background: transparent;
  box-shadow: 0 4px 10px rgba(16, 32, 26, 0.12);
  cursor: pointer;
  line-height: 1;
  overflow: hidden;
}

.legal-language-switch button:hover,
.legal-language-switch button:focus-visible,
.legal-language-switch button.is-active {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.22), 0 4px 10px rgba(16, 32, 26, 0.16);
  outline: none;
}

.flag-icon {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.flag-es {
  background: linear-gradient(to bottom, #c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75% 100%);
}

.flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 1.7px, #ffffff 1.7px 3.4px);
}

.flag-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 54%;
  background: #3c3b6e;
}

@media (max-width: 860px) {
  .seo-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-nav-right {
    justify-content: flex-start;
  }

  .seo-nav-links {
    justify-content: flex-start;
  }

  .seo-hero {
    min-height: 58vh;
    padding-top: 88px;
  }

  .seo-hero h1 {
    font-size: 2.25rem;
  }

  .seo-grid,
  .seo-grid.two,
  .seo-price,
  .seo-split,
  .seo-legal-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .seo-nav,
  .seo-section,
  .seo-hero,
  .seo-footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .seo-hero h1 {
    font-size: 1.95rem;
  }

  .seo-legal-shell {
    width: min(100% - 20px, 1040px);
  }

  .seo-legal-card {
    padding: 20px;
  }

  .seo-section h2 {
    font-size: 1.55rem;
  }
}
