


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}


header {
  background-color: #000;
  color: #fff;
  padding: 1rem;
  text-align: center;
}


nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}



section {
  padding: 2rem;
  text-align: center;
}


.cuadro-interactivo {
  background-color: #000;
  color: white;
  width: 100%;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}


.titulo-centrado {
  text-align: center;
  margin-bottom: 0.3rem;
}

.titulo-link {
  color: white;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.titulo-link:hover {
  color: #d4af37;
}


.contenedor-apartados {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 20000px;
  margin: 0 auto;
}



.apartados ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-top: -30px;
}

.apartados a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.apartados a:hover {
  color: #d4af37;
}



.logo-centrado {
  text-align: center;
}

.logo-mercedes {
  width: 150px;
  height: auto;
  margin-right: 800px;
  margin-top: -20px;
  margin-bottom: 40px;
}


footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  border-top: 1px solid #444;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: #ccc;
  text-decoration: underline;
  margin: 0 10px;
}

footer a:hover {
  color: #fff;
}

footer .social-icons {
  margin-top: 1rem;
}

footer .social-icons a {
  margin: 0 15px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #fff;
}



@media (max-width: 768px) {
  .contenedor-apartados {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .apartados ul {
    flex-direction: column;
    gap: 1rem;
  }

  .logo-mercedes {
    width: 120px;
    margin-right: 0;
  }
}










.modelo-seccion {
    background-color: #111111;
    padding: 80px 5%;
}

.modelo-titulo {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 40px;
}

.modelo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.modelo-card {
    background-color: #1b1b1b;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modelo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.modelo-imagen {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.modelo-info {
    padding: 20px;
    color: #fff;
}

.modelo-nombre {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.modelo-especificaciones {
    margin-top: 15px;
}

.modelo-spec {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
    font-size: 0.95rem;
    color: #ccc;
}

.modelo-caracteristicas {
    background-color: #1b1b1b;
    padding: 80px 5%;
}

.modelo-caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.modelo-feature-card {
    background-color: #111;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    color: #fff;
}

.modelo-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.modelo-feature-titulo {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #c9aa71;
}



.spec {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.spec-name {
    color: #aaa;
}

.spec-value {
    font-weight: bold;
}

.features {
    background-color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #111;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
	color: #bf0606;
}

.feature-description {
    color: #bbb;
    font-size: 1rem;
}






.section {
    padding: 80px 20px;
    background-color: #161b22;
    border-top: 1px solid #21262d;
}

.section.alternate {
    background-color: #1c2128;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #9c1b10;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #9c1b10;
    margin: 10px auto 0;
    border-radius: 2px;
}

.intro-content,
.timeline-content,
.split-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.intro-text,
.timeline-text,
.split-text {
    flex: 1 1 500px;
}

.intro-text p,
.split-text p {
    font-size: 1.2rem;
    text-align: justify;
    color: #c9d1d9;
}

.feature-image,
.timeline-image img,
.split-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}


.fact-box {
    background-color: #21262d;
    border-left: 5px solid #9c1b10;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fact-box h4 {
    color: #9c1b10;
}

.fact-box ul {
    list-style: disc inside;
    color: #c9d1d9;
}


.decades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.decade {
    background-color: #21262d;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decade:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(156, 27, 16, 0.4);
}

.decade-image {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #30363d;
    color: #e6edf3;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background-color: #9c1b10;
    color: #0d1117;
}

.tab-content .tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


.specs {
    list-style: square inside;
    padding-left: 0;
    margin-top: 15px;
    color: #c9d1d9;
}


.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.special-model {
    background-color: #21262d;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.special-model:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(156, 27, 16, 0.4);
}

.model-image {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

