:root {
  --background: #fafafa;
  --foreground: #09090b;
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-soft: #f3e8ff;
  --secondary: #f4f4f5;
  --secondary-foreground: #18181b;
  --muted: #71717a;
  --border: #e4e4e7;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: min(1160px, 92%);
  margin: auto;
}

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

.navigation {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: .6px;
}

.brand img,
.footer-brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 10px;
}

nav {
  display: flex;
  gap: 25px;
}

nav a {
  color: #52525b;
  font-size: 14px;
  font-weight: 600;
}

nav a:hover,
footer a:hover {
  color: var(--primary);
}

.button,
.button-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 12px;
  font-weight: 700;
  transition: .2s ease;
}

.button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124,58,237,.18);
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.button-small {
  padding: 11px 17px;
  font-size: 13px;
}

.button-outline {
  border: 1px solid var(--border);
  color: var(--primary);
  background: #fff;
}

.button-outline:hover {
  background: var(--secondary);
}

.hero {
  padding: 95px 0 105px;
  background:
    radial-gradient(circle at 90% 10%, rgba(124,58,237,.08) 0%, transparent 38%),
    linear-gradient(180deg, #fafafa 0%, #f8f8fb 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 65px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 17px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(39px, 5vw, 65px);
  line-height: 1.11;
  letter-spacing: -2.5px;
  margin-bottom: 25px;
  color: var(--foreground);
}

h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 550px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  font-weight: 650;
  color: #3f3f46;
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  transform: none;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  color: #71717a;
  font-size: 12px;
}

.dots {
  letter-spacing: 5px;
  color: #a1a1aa;
}

.panel-content {
  padding: 45px 35px;
  text-align: center;
}

.panel-content img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.panel-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.5px;
}

.panel-content h2 {
  font-size: 26px;
  margin: 12px 0;
  color: var(--foreground);
}

.panel-content p {
  font-size: 14px;
  color: var(--muted);
}

.panel-content a {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 750;
}

.section {
  padding: 95px 0;
}

.soft {
  background: #f8f8fb;
}

.centered {
  text-align: center;
}

h2 {
  font-size: clamp(29px, 3.5vw, 42px);
  line-height: 1.19;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--foreground);
}

.section-description {
  max-width: 680px;
  font-size: 17px;
  color: var(--muted);
  margin: 0 auto 38px;
}

.soft .section-description {
  margin-left: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 29px;
  transition: .2s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(15,23,42,.06);
}

.feature-icon {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 13px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 21px;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--foreground);
}

.feature p,
.benefit-grid p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 0;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 80px;
  align-items: center;
}

.benefit-list {
  display: grid;
  gap: 17px;
  margin-top: 30px;
  font-weight: 650;
  font-size: 15px;
  color: var(--secondary-foreground);
}

.benefit-panel {
  min-height: 365px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
  border: 1px solid var(--border);
}

.benefit-panel img {
  width: 135px;
  height: 135px;
  object-fit: contain;
  margin-bottom: 18px;
}

.benefit-panel h3 {
  font-size: 22px;
  max-width: 320px;
  color: var(--foreground);
}

.cta {
  background: linear-gradient(125deg, #6d28d9, #7c3aed);
  padding: 90px 0;
  color: white;
}

.cta .eyebrow {
  color: #e9d5ff;
}

.cta h2 {
  font-size: 43px;
  color: white;
}

.cta p {
  color: #f3e8ff;
  margin-bottom: 30px;
}

.button-light {
  background: white;
  color: #6d28d9;
}

.button-light:hover {
  background: #f5f3ff;
}

footer {
  background: #09090b;
  color: #d4d4d8;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.footer-brand {
  color: white;
}

footer a {
  font-size: 13px;
}

@media (max-width: 950px) {
  nav { display: none; }
  .hero-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero { padding: 70px 0; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .hero-panel {
    max-width: 570px;
    width: 100%;
    margin: auto;
  }
}

@media (max-width: 600px) {
  .navigation { min-height: 72px; }
  .brand span { font-size: 13px; }
  .brand img { height: 42px; width: 42px; }
  .button-small {
    font-size: 11px;
    padding: 10px;
    text-align: center;
  }
  .section { padding: 65px 0; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  h1 { letter-spacing: -1.5px; }
  .actions { flex-direction: column; }
  .hero-points { flex-direction: column; gap: 8px; }
  .panel-content { padding: 30px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta h2 { font-size: 33px; }
}

/* =========================================
   IDENTIDAD VISUAL ORIGINAL TOTAL PARTS
   ========================================= */

:root {
  --primary: #F0A102;
  --primary-dark: #D68E00;
  --primary-soft: #FFF5DF;
  --background: #FFFFFF;
  --foreground: #0B1426;
  --ink: #0B1426;
  --muted: #64748B;
  --soft: #F8FAFC;
  --border: #E2E8F0;
}

/* Encabezado */
.header {
  background: #0B1426;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand,
.brand span {
  color: #FFFFFF;
}

nav a {
  color: #CBD5E1;
}

nav a:hover {
  color: #F0A102;
}

/* Botones */
.button {
  background: #F0A102;
  color: #0B1426;
  box-shadow: 0 8px 22px rgba(240,161,2,.16);
}

.button:hover {
  background: #D68E00;
  color: #0B1426;
}

.button-outline {
  color: #0B1426;
  border-color: #CBD5E1;
}

.button-outline:hover {
  background: #FFF5DF;
}

/* Portada */
.hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(240,161,2,.12), transparent 42%),
    linear-gradient(145deg, #FFFFFF, #F8FAFC);
}

.hero h1 {
  color: #0B1426;
}

.hero h1 span,
.eyebrow {
  color: #D68E00;
}

.hero-points {
  color: #334155;
}

/* Recuadro derecho RECTO */
.hero-panel {
  transform: none !important;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 20px 55px rgba(11,20,38,.10);
}

.panel-top {
  background: #F8FAFC;
}

.panel-tag,
.panel-content a {
  color: #D68E00;
}

/* Funcionalidades */
.soft {
  background: #F8FAFC;
}

.feature-icon {
  background: #FFF5DF;
  color: #D68E00;
}

.feature:hover {
  box-shadow: 0 15px 40px rgba(11,20,38,.08);
}

/* Beneficios */
.benefit-panel {
  background: linear-gradient(145deg, #FFFFFF, #FFF8E8);
}

/* Sección promocional */
.cta {
  background: linear-gradient(125deg, #0B1426, #060D1B);
  color: #FFFFFF;
}

.cta h2 {
  color: #FFFFFF;
}

.cta .eyebrow {
  color: #F0A102;
}

.cta p {
  color: #CBD5E1;
}

.button-light {
  background: #F0A102;
  color: #0B1426;
}

.button-light:hover {
  background: #D68E00;
}

/* Pie de página */
footer {
  background: #060D1B;
  color: #CBD5E1;
}

/* Ajustes móviles */
@media (max-width: 600px) {
  .header {
    background: #0B1426;
  }

  .hero-panel {
    transform: none !important;
  }
}

/* ===== PORTADA TOTAL PARTS ORIGINAL ===== */

body {
  background: #060D1B;
}

/* Fondo de portada */
.hero {
  background: linear-gradient(
    135deg,
    #0B1426 0%,
    #060D1B 100%
  ) !important;
}

/* Titulos */
.hero h1,
.hero h2 {
  color: #FFFFFF !important;
}

.hero h1 span {
  color: #F0A102 !important;
}

/* Textos */
.hero > .container > .hero-grid > div:first-child > p {
  color: #CBD5E1 !important;
}

.hero .eyebrow {
  color: #F0A102 !important;
}

.hero-points {
  color: #E2E8F0 !important;
}

/* Botones */
.hero .button {
  background: #F0A102;
  color: #0B1426;
}

.hero .button-outline {
  background: transparent;
  border: 1px solid #64748B;
  color: #FFFFFF;
}

.hero .button-outline:hover {
  border-color: #F0A102;
  color: #F0A102;
}

/* Recuadro derecho recto */
.hero-panel {
  transform: none !important;
  background: #FFFFFF !important;
  border: 1px solid #263449;
  box-shadow: 0 20px 45px rgba(0,0,0,.25);
}

.hero-panel h2 {
  color: #0B1426 !important;
}

.hero-panel p {
  color: #64748B !important;
}

/* Secciones informativas */
.section {
  background: #FFFFFF;
}

.section.soft {
  background: #F8FAFC;
}


/* ===== MISMO FONDO OSCURO PARA LA SECCION BLANCA ===== */

#nosotros {
  background: linear-gradient(
    135deg,
    #0B1426 0%,
    #060D1B 100%
  ) !important;
}

#nosotros h2,
#nosotros h3 {
  color: #FFFFFF !important;
}

#nosotros .section-text,
#nosotros p,
#nosotros li {
  color: #CBD5E1 !important;
}

#nosotros .eyebrow {
  color: #F0A102 !important;
}

#nosotros .info-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: none !important;
}

#nosotros .check-list li {
  color: #E2E8F0 !important;
}


/* ===== BENEFICIOS TOTAL PARTS ===== */

#beneficios {
  background: #060D1B !important;
  background-image: none !important;
}

#beneficios h2,
#beneficios h3 {
  color: #FFFFFF !important;
}

#beneficios .eyebrow {
  color: #F0A102 !important;
}

#beneficios p,
#beneficios .section-text,
#beneficios .benefit-list div {
  color: #CBD5E1 !important;
}

#beneficios .info-card,
#beneficios .benefit-panel {
  background: #0B1426 !important;
  background-image: none !important;
  border: 1px solid #263449 !important;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
}

#

/* CORRECCION FUNCIONALIDADES TOTAL PARTS */
#funciones {background:#060D1B !important;background-image:none !important;}
#funciones h2,#funciones h3 {color:#FFFFFF !important;}
#funciones p,#funciones .section-description {color:#CBD5E1 !important;}
#funciones .eyebrow {color:#F0A102 !important;}
#funciones .feature {background:#0B1426 !important;border:1px solid #263449 !important;box-shadow:none !important;}
#funciones .feature h3 {color:#FFFFFF !important;}
#funciones .feature p {color:#CBD5E1 !important;}
#funciones .feature-icon {background:rgba(240,161,2,.12) !important;color:#F0A102 !important;}


/* ===== FONDO DEFINITIVO FUNCIONALIDADES ===== */

section#funciones,
section#funciones.section,
body main section#funciones {
    background: #060D1B !important;
    background-color: #060D1B !important;
    background-image: none !important;
}

#funciones h2,
#funciones h3 {
    color: #FFFFFF !important;
}

#funciones p,
#funciones .section-description {
    color: #CBD5E1 !important;
}

#funciones .eyebrow {
    color: #F0A102 !important;
}

#funciones .feature {
    background: #0B1426 !important;
    border: 1px solid #263449 !important;
}

#funciones .feature-icon {
    background: rgba(240,161,2,.12) !important;
    color: #F0A102 !important;
}


/* ===== EXPERIENCIA PROMOCIONAL TOTAL PARTS ===== */

.tp-extra {
  background: #060D1B !important;
  padding: 85px 0;
  color: #FFFFFF;
}

.tp-extra-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 45px;
}

.tp-label {
  display: block;
  color: #F0A102;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.tp-extra h2 {
  color: #FFFFFF;
  font-size: clamp(30px, 4vw, 44px);
}

.tp-extra h3 {
  color: #FFFFFF;
}

.tp-extra p {
  color: #CBD5E1;
  line-height: 1.8;
}

.tp-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.tp-showcase-main,
.tp-mini-card {
  background: #0B1426;
  border: 1px solid #263449;
  border-radius: 20px;
  padding: 35px;
}

.tp-showcase-main {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.tp-showcase-main h3 {
  font-size: 30px;
}

.tp-number {
  color: #F0A102;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
}

.tp-icon {
  font-size: 65px;
  color: #F0A102;
  margin: 12px 0;
}

.tp-showcase-main a,
.tp-final a {
  display: inline-block;
  background: #F0A102;
  color: #0B1426;
  padding: 14px 24px;
  border-radius: 11px;
  font-weight: 800;
  margin-top: 15px;
}

.tp-showcase-side {
  display: grid;
  gap: 20px;
}

.tp-mini-card {
  position: relative;
  overflow: hidden;
}

.tp-mini-card h3 {
  margin-top: 14px;
  font-size: 22px;
}

.tp-card-symbol {
  color: #F0A102;
  font-size: 33px;
}

.tp-faq {
  max-width: 950px;
}

.tp-faq details {
  background: #0B1426;
  border: 1px solid #263449;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 20px 25px;
}

.tp-faq summary {
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
}

.tp-faq details p {
  margin: 15px 0 0;
}

.tp-final-inner {
  text-align: center;
  padding: 60px 30px;
  background: #0B1426;
  border: 1px solid #263449;
  border-radius: 24px;
}

.tp-final-inner p {
  max-width: 600px;
  margin: 0 auto 15px;
}

@media(max-width: 800px) {
  .tp-showcase {
    grid-template-columns: 1fr;
  }

  .tp-extra {
    padding: 55px 0;
  }

  .tp-showcase-main,
  .tp-mini-card {
    padding: 25px;
  }
}


/* ===== RECUADRO AZUL CLARO TOTAL PARTS ===== */

.hero .hero-panel {
  background: #EEF3F8 !important;
  background-image: none !important;
  border: 1px solid #C9D4E0 !important;
  transform: none !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.20);
}

.hero .hero-panel .panel-top {
  background: #E5EDF5 !important;
  border-bottom: 1px solid #C9D4E0 !important;
  color: #64748B !important;
}

.hero .hero-panel .panel-content {
  background: #EEF3F8 !important;
}

.hero .hero-panel h2 {
  color: #0B1426 !important;
}

.hero .hero-panel p {
  color: #64748B !important;
}

.hero .hero-panel .panel-tag,
.hero .hero-panel a {
  color: #D68E00 !important;
}

.hero .hero-panel .dots {
  color: #94A3B8 !important;
}

/* ===== BOTON PARA GUIA DE BUSQUEDA ===== */
.tp-mini-card .tp-card-action {
  display: inline-block;
  margin-top: 22px;
  background: #F0A102;
  color: #0B1426 !important;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(240,161,2,.22);
  transition: all .2s ease;
}

.tp-mini-card .tp-card-action:hover {
  background: #ffb21a;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(240,161,2,.28);
}

.tp-mini-card .tp-card-action:focus-visible {
  outline: 2px solid #F0A102;
  outline-offset: 3px;
}
