/* ==========================================================================
   Sumpetrol S.A. — capa de marca compartida
   Alinea las landings (cotizador solar, cotizador de construcción) con la
   identidad del sitio institucional sumpetrol.com.ar (WordPress/Elementor):
   bordó #480001 / #790000 / #841A1A, acento naranja #FF8800, slate #2B3F49,
   tipografías Red Hat Display (títulos) + Poppins (texto).
   Este archivo es IDÉNTICO en ambos repos: si se cambia, copiarlo al otro.
   Se carga DESPUÉS de los CSS propios de cada landing.
   ========================================================================== */

:root {
  --sp-bordo-950: #2a0001;
  --sp-bordo-900: #480001;
  --sp-bordo-800: #5b0909;
  --sp-bordo-700: #790000;
  --sp-bordo-600: #841a1a;
  --sp-bordo-100: #f6ecec;
  --sp-orange: #ff8800;
  --sp-orange-dark: #e57a00;
  --sp-slate: #2b3f49;
  --sp-ink: #1b1b1b;
  --sp-text: #3d3d3d;
  --sp-muted: #6b6b6b;
  --sp-line: #e8e2e2;
  --sp-surface: #ffffff;
  --sp-surface-alt: #f7f5f5;
  --sp-copy-bar: #1d1d1d;

  --sp-font-heading: 'Red Hat Display', 'Poppins', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sp-font-body: 'Poppins', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --sp-radius: 6px;
  --sp-container: 1200px;
  --sp-header-h: 76px;

  /* Botón principal: cada landing define su variante en body.sp-theme-* */
  --sp-cta-bg: var(--sp-bordo-700);
  --sp-cta-text: #ffffff;
  --sp-cta-hover-bg: var(--sp-orange);
  --sp-cta-hover-text: #ffffff;
  --sp-hero-cta-bg: #ffffff;
  --sp-hero-cta-text: var(--sp-ink);
}

/* Construcción: igual que el WordPress — bordó como principal, naranja de acento */
body.sp-theme-construccion {
  --sp-hero-img: url('../images/hero-construccion.webp');
}

/* Solar: base corporativa con más protagonismo del naranja (línea Energy) */
body.sp-theme-solar {
  --sp-cta-bg: var(--sp-orange);
  --sp-cta-hover-bg: var(--sp-bordo-700);
  --sp-hero-cta-bg: var(--sp-orange);
  --sp-hero-cta-text: #ffffff;
  --sp-hero-img: url('../images/hero-solar-valle-de-uco.webp');
}

/* --------------------------------------------------------------------------
   Base tipográfica
   -------------------------------------------------------------------------- */
body.sp-brand {
  font-family: var(--sp-font-body);
  color: var(--sp-text);
  background: var(--sp-surface);
  -webkit-font-smoothing: antialiased;
}

body.sp-brand h1,
body.sp-brand h2,
body.sp-brand h3,
body.sp-brand h4 {
  font-family: var(--sp-font-heading);
  letter-spacing: -0.01em;
}

body.sp-brand button,
body.sp-brand input,
body.sp-brand select,
body.sp-brand textarea {
  font-family: inherit;
}

/* Con Poppins los inputs crecían por su ancho intrínseco y desbordaban en móvil */
body.sp-brand .form-group {
  min-width: 0;
}

body.sp-brand input,
body.sp-brand select,
body.sp-brand textarea {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* El CSS heredado del solar cortaba palabras con guiones ("con-sumo") */
body.sp-brand p,
body.sp-brand span,
body.sp-brand li,
body.sp-brand h1,
body.sp-brand h2,
body.sp-brand h3,
body.sp-brand h4 {
  -webkit-hyphens: manual;
  hyphens: manual;
}

.sp-container {
  width: 100%;
  max-width: var(--sp-container);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* El responsive.css heredado del solar dejaba .container en 100vw: se alinea
   al mismo ancho que el header y el footer de marca */
body.sp-theme-solar .container {
  max-width: var(--sp-container);
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--sp-radius);
  font-family: var(--sp-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.sp-btn:focus-visible {
  outline: 3px solid var(--sp-orange);
  outline-offset: 3px;
}

.sp-btn-cta {
  background: var(--sp-cta-bg);
  color: var(--sp-cta-text);
}

.sp-btn-cta:hover {
  background: var(--sp-cta-hover-bg);
  color: var(--sp-cta-hover-text);
}

.sp-btn-hero {
  background: var(--sp-hero-cta-bg);
  color: var(--sp-hero-cta-text);
}

.sp-btn-hero:hover {
  background: var(--sp-orange);
  color: #ffffff;
}

body.sp-theme-solar .sp-btn-hero:hover {
  background: #ffffff;
  color: var(--sp-bordo-700);
}

.sp-btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.sp-btn-outline-light:hover {
  background: #ffffff;
  color: var(--sp-bordo-900);
  border-color: #ffffff;
}

.sp-btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Barra superior (como la del WordPress: acceso + redes)
   -------------------------------------------------------------------------- */
.sp-topbar {
  background: var(--sp-surface);
  border-bottom: 1px solid var(--sp-line);
  font-family: var(--sp-font-body);
  font-size: 0.8rem;
}

.sp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  gap: 16px;
}

.sp-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--sp-bordo-700);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s ease;
}

.sp-topbar-link:hover {
  background: var(--sp-bordo-900);
  color: #ffffff;
}

.sp-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sp-topbar-phone {
  color: var(--sp-text);
  text-decoration: none;
  font-weight: 500;
}

.sp-topbar-phone i {
  color: var(--sp-bordo-700);
  margin-right: 6px;
}

.sp-topbar-phone:hover {
  color: var(--sp-bordo-700);
}

.sp-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sp-bordo-700);
  color: #ffffff;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.sp-social a:hover {
  background: var(--sp-orange);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Header (logo + navegación)
   -------------------------------------------------------------------------- */
.sp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--sp-line);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  padding: 0;
}

.sp-header::before,
.sp-header::after {
  content: none;
}

.sp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--sp-header-h);
}

.sp-brand-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.sp-brand-lockup img {
  display: block;
  height: 46px;
  width: auto;
}

.sp-brand-product {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 16px;
  border-left: 1px solid var(--sp-line);
  font-family: var(--sp-font-heading);
  line-height: 1.15;
}

.sp-brand-product-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-orange-dark);
}

.sp-brand-product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sp-bordo-800);
}

.sp-header .sp-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: static;
  background: transparent;
  box-shadow: none;
  transform: none;
  height: auto;
  width: auto;
}

.sp-header .sp-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-family: var(--sp-font-heading);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--sp-ink);
  text-decoration: none;
  background: transparent;
  border-radius: 0;
  transition: color .2s ease;
}

.sp-header .sp-nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--sp-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.sp-header .sp-nav-link:hover {
  color: var(--sp-bordo-700);
  background: transparent;
}

.sp-header .sp-nav-link:hover::after {
  transform: scaleX(1);
}

.sp-header .sp-nav .sp-btn {
  margin-left: 10px;
}

.sp-header .sp-nav .sp-btn::after {
  content: none;
}

.sp-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.sp-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sp-ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.sp-nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-nav-toggle.active span:nth-child(2) { opacity: 0; }
.sp-nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero (foto oscura + rayita naranja + H1, como el slider del WordPress)
   -------------------------------------------------------------------------- */
.sp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 74vh, 700px);
  padding: 72px 0;
  color: #ffffff;
  background-color: var(--sp-bordo-950);
  background-image:
    linear-gradient(90deg, rgba(18, 4, 4, 0.92) 0%, rgba(30, 6, 6, 0.72) 48%, rgba(30, 6, 6, 0.28) 100%),
    var(--sp-hero-img);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

body.sp-theme-solar .sp-hero {
  background-image:
    linear-gradient(90deg, rgba(42, 0, 1, 0.9) 0%, rgba(72, 0, 1, 0.66) 46%, rgba(255, 136, 0, 0.12) 100%),
    var(--sp-hero-img);
  background-position: center 62%;
}

.sp-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--sp-bordo-700) 0%, var(--sp-bordo-700) 70%, var(--sp-orange) 70%);
}

.sp-hero-content {
  position: relative;
  max-width: 680px;
}

.sp-hero-bar {
  display: block;
  width: 56px;
  height: 4px;
  margin-bottom: 22px;
  background: var(--sp-orange);
  border-radius: 2px;
}

.sp-hero-eyebrow {
  margin: 0 0 14px;
  font-family: var(--sp-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

body.sp-brand .sp-hero h1 {
  margin: 0 0 18px;
  font-family: var(--sp-font-heading);
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.sp-hero-lead {
  margin: 0 0 30px;
  max-width: 580px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.sp-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  background: none;
  border: 0;
  font-family: var(--sp-font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.sp-hero-link:hover {
  color: #ffffff;
}

.sp-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 36px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sp-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.sp-hero-points i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--sp-orange);
  color: var(--sp-orange);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Secciones existentes: títulos, tarjetas de tipos, íconos
   -------------------------------------------------------------------------- */
body.sp-brand .section-header {
  text-align: center;
  margin-bottom: 48px;
}

body.sp-brand .section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  font-family: var(--sp-font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--sp-bordo-800);
  background: none;
  -webkit-text-fill-color: currentColor;
}

body.sp-brand .section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  margin-left: -28px;
  background: var(--sp-orange);
  border-radius: 2px;
}

body.sp-brand .section-header h2 i {
  color: var(--sp-bordo-700);
  margin-right: 6px;
}

body.sp-brand .section-header p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--sp-muted);
  font-size: 1.02rem;
}

body.sp-brand .type-card {
  background: var(--sp-surface);
  border: 1px solid var(--sp-line);
  border-top: 3px solid transparent;
  border-radius: var(--sp-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

body.sp-brand .type-card:hover,
body.sp-brand .type-card.selected,
body.sp-brand .type-card.active {
  border-top-color: var(--sp-bordo-700);
  box-shadow: 0 14px 34px rgba(72, 0, 1, 0.1);
  transform: translateY(-4px);
}

body.sp-brand .type-card h3 {
  color: var(--sp-ink);
  font-weight: 800;
}

/* Construcción: los 4 sistemas en una fila en pantallas anchas (antes quedaba una tarjeta huérfana) */
@media (min-width: 1100px) {
  body.sp-theme-construccion .types-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  body.sp-theme-construccion .types-grid .type-card {
    padding: 28px 24px;
  }
}

@media (min-width: 640px) and (max-width: 1099px) {
  body.sp-theme-construccion .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Solar: las 4 categorías de materiales en 2x2 (con el ancho de 1200px quedaba una huérfana) */
@media (min-width: 768px) {
  body.sp-theme-solar .materials .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Íconos en cuadrado bordó con borde, como los "icon box" del WordPress */
body.sp-brand .type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  background: transparent;
  border: 2px solid var(--sp-bordo-700);
  border-radius: 0;
  color: var(--sp-bordo-700);
  box-shadow: none;
  font-size: 1.5rem;
}

body.sp-theme-solar .type-icon {
  border-color: var(--sp-orange);
  color: var(--sp-orange);
}

body.sp-brand .type-icon i {
  font-size: 1.5rem;
  color: inherit;
}

body.sp-brand .type-icon svg {
  width: 30px;
  height: 30px;
}

body.sp-brand .form-section h3 i,
body.sp-brand .form-section h3 svg {
  color: var(--sp-bordo-700);
}

body.sp-theme-solar .form-section h3 i,
body.sp-theme-solar .form-section h3 svg {
  color: var(--sp-orange);
}

body.sp-brand input:focus,
body.sp-brand select:focus,
body.sp-brand textarea:focus {
  border-color: var(--sp-bordo-600);
  box-shadow: 0 0 0 3px rgba(132, 26, 26, 0.12);
  outline: none;
}

/* Indicador de fuente de precios del solar (lo crea price-updater.js con estilos
   inline; se compacta como nota del cotizador) */
body.sp-brand .price-source-indicator {
  max-width: 820px !important;
  margin: -12px auto 32px !important;
  padding: 14px 22px !important;
  background: var(--sp-surface) !important;
  border: 1px solid var(--sp-line) !important;
  border-left: 4px solid var(--sp-orange) !important;
  border-radius: var(--sp-radius) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  font-size: 0.82rem !important;
}

body.sp-brand .price-source-indicator > div:first-child {
  display: none;
}

/* --------------------------------------------------------------------------
   Banda de trayectoria (bordó, como "Buscador de productos" del WordPress)
   -------------------------------------------------------------------------- */
.sp-band {
  background: var(--sp-bordo-900);
  color: #ffffff;
  padding: 56px 0;
}

.sp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.sp-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
}

.sp-stats li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.sp-stat-number {
  font-family: var(--sp-font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.sp-stat-number em {
  font-style: normal;
  color: var(--sp-orange);
}

.sp-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   Banda "Asesoramiento online" (slate, como en el WordPress)
   -------------------------------------------------------------------------- */
.sp-help {
  background: var(--sp-slate);
  color: #ffffff;
  padding: 72px 0;
  text-align: center;
}

body.sp-brand .sp-help h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.sp-help h2 span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.sp-help p {
  max-width: 560px;
  margin: 18px auto 32px;
  color: rgba(255, 255, 255, 0.85);
}

.sp-help .sp-btn {
  background: var(--sp-bordo-700);
  color: #ffffff;
}

.sp-help .sp-btn:hover {
  background: var(--sp-orange);
}

/* --------------------------------------------------------------------------
   Footer (calcado del WordPress: redes / Links útiles / Contacto y ubicación)
   -------------------------------------------------------------------------- */
.sp-footer {
  background: var(--sp-surface);
  color: var(--sp-bordo-600);
  border-top: 1px solid var(--sp-line);
  font-family: var(--sp-font-body);
  font-size: 0.92rem;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.3fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.sp-footer-brand img {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}

.sp-footer-brand p {
  margin: 0 0 16px;
  color: var(--sp-bordo-600);
}

.sp-footer-brand .sp-social a {
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
}

body.sp-brand .sp-footer h3 {
  margin: 0 0 20px;
  font-family: var(--sp-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sp-bordo-600);
}

.sp-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.55;
}

.sp-footer-list i {
  flex-shrink: 0;
  width: 16px;
  margin-top: 4px;
  color: var(--sp-bordo-600);
  font-size: 0.85rem;
  text-align: center;
}

.sp-footer-list a {
  color: var(--sp-bordo-600);
  text-decoration: none;
  transition: color .2s ease;
}

.sp-footer-list a:hover {
  color: var(--sp-orange-dark);
}

.sp-copy {
  background: var(--sp-copy-bar);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  text-align: center;
  padding: 14px 0;
}

.sp-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: inherit;
}

.sp-copy a {
  color: #ffffff;
  text-decoration: none;
}

.sp-copy a:hover {
  color: var(--sp-orange);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .sp-header .sp-nav-link {
    padding: 10px 8px;
    font-size: 0.88rem;
  }
  .sp-brand-product {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --sp-header-h: 66px;
  }

  .sp-brand-lockup img {
    height: 38px;
  }

  .sp-brand-product {
    display: flex;
    padding-left: 12px;
  }

  .sp-brand-product-name {
    font-size: 0.88rem;
  }

  .sp-nav-toggle {
    display: flex;
  }

  .sp-header .sp-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    z-index: 1001;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: #ffffff;
    border-bottom: 3px solid var(--sp-bordo-700);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }

  .sp-header .sp-nav.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease;
  }

  .sp-header .sp-nav-link {
    justify-content: flex-start;
    padding: 14px 0;
    font-size: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sp-line);
  }

  .sp-header .sp-nav-link::after {
    content: none;
  }

  .sp-header .sp-nav .sp-btn {
    margin: 16px 0 0;
  }

  .sp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .sp-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .sp-topbar-phone {
    display: none;
  }

  .sp-topbar-link {
    padding: 5px 10px;
  }

  .sp-hero {
    min-height: 0;
    padding: 64px 0 72px;
  }

  .sp-hero-actions .sp-btn {
    width: 100%;
  }

  .sp-hero-points {
    flex-direction: column;
  }

  .sp-stats {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sp-stats li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 28px;
  }

  .sp-footer-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-btn,
  .sp-social a,
  .sp-header .sp-nav,
  .sp-header .sp-nav-link::after,
  body.sp-brand .type-card {
    transition: none;
  }
}

@media print {
  .sp-topbar,
  .sp-header,
  .sp-help {
    display: none;
  }
}
