:root {
  --primary-color: #FFC300;
  --secondary-color: #414141;
  --text-color: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
}

ul.no-list-style {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 0 20px 80px 20px;
}

.hero header {
  color: #fff;
  padding: 15px 0;
}

.hero header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero header .logo {
  width: 336px;
  height: auto;
}

.hero header .phone {
  background: var(--primary-color);
  border-radius: 20px;
}

.hero header .phone a {
  color: var(--secondary-color);
  display: inline-block;
  padding: 10px 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
}

.hero header .phone i {
  font-size: 25px;
}

.hero .titles {
  padding: 100px 0;
}

.hero h1 {
  font-size: 66px;
  font-weight: bold;
  text-transform: uppercase;
}

.hero p {
  font-size: 35px;
  font-weight: bold;
  color: var(--primary-color);
}

.hero .btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 5px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .hero header .container {
    flex-direction: column;
    gap: 10px;
  }

  .hero header .logo {
    width: 80%;
    max-width: 250px;
  }

  .hero header .phone a {
    padding: 8px 20px;
    font-size: 16px;
  }

  .hero .titles {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 20px;
  }
}

/* Sections */
section {
  padding: 40px 20px;
}

/* Benefits */
.benefits {
  text-align: center;
  padding: 40px 20px;
}

.benefits h2 {
  font-weight: bold;
  font-size: 45px;
  text-align: center;
}

.benefits .container {
  margin-top: 20px;    
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.benefit {
  flex: 0 1 calc(33.333% - 20px);
  text-align: center;
}

.benefit-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  padding: 20px;
  animation: fadeInUp 1s ease;
}

.benefit:nth-child(1) .benefit-img {
  background-image: url(../img/llanta.webp);
}

.benefit:nth-child(2) .benefit-img {
  background-image: url(../img/mtto.webp);
}

.benefit p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

@media (max-width: 768px) {
  .benefit {
    flex: 0 1 100%;
  }

  .benefit-img {
    width: 150px;
    height: 180px;
    font-size: 14px;
  }
}

/* Spare parts */
.spare-parts .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.spare-parts h2 {
  font-size: 24px;
  font-weight: bold;
}

.spare-parts p {
  margin-bottom: 20px;
}

.spare-parts-list {
  border: 1px solid #ccc;
}

.spare-parts-item {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ccc;
  padding: 10px;
  flex-wrap: wrap;
  animation: fadeIn 1s ease;
}

.spare-parts-item.highlight {
  background: #ffc300;
  font-weight: bold;
}

.spare-parts-title {
  flex: 1 1 40%;
  font-weight: bold;
}

.spare-parts-description {
  flex: 1 1 55%;
}

.spare-parts .cta {
  text-align: center;
}

/* Maintenance Policy */
.maintenance-policy .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.maintenance-policy h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.catalog-button {
  display: inline-block;
  background: #ffc300;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.policy-banner {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 20px;
  color: #000;
  min-height: 250px;
  animation: fadeInRight 1s ease;
}

.policy-text {
  max-width: 400px;
}

.policy-text h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.policy-text p {
  font-size: 14px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .policy-banner {
    flex-direction: column;
    text-align: center;
  }

  .policy-text {
    max-width: 90%;
  }
}

/* Maintenance Solutions */
.maintenance-solutions .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.maintenance-solutions h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.solutions-list {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.solution-item {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  animation: fadeInUp 1s ease;
}

.solution-item img {
  width: 100%;
  height: auto;
}

.solution-item h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0;
}

.solution-item p {
  font-size: 14px;
  line-height: 1.4;
}

/* Contact */
.contact h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
}

.contact-image {
  display: flex;
}

.contact-image img {
  object-fit: contain;
  height: auto;
  max-height: 100%;
}

.contact-form form {
  display: grid;
  gap: 10px;
}

.contact-form .row {
  display: flex;
  gap: 10px;
}

.contact-form .row input {
  flex: 1;
}

.contact-form input,
.contact-form button {
  padding: 15px;
  font-size: 14px;
  margin: 10px 0;
}

.contact-form button {
  background: #FFC300;
  border: none;
  cursor: pointer;
  font-weight: bold;
  width: auto;
}

.contact-info {
  margin-top: 20px;
}

.contact-info .whatsapp {
  display: inline-block;
  background: #25D366;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-decoration: none;
  margin-bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 20px;
}

.contact-info .whatsapp i {
  margin-right: 5px;
}

.contact-info p,
.contact-info a {
  margin: 15px 0;
  color: #000;
  text-decoration: underline;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .row {
    flex-direction: column;
  }

  .contact-image img {
    width: 100%;
    height: auto;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*Modal */
#success-modal {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  background: #fff;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: fadeIn 0.3s ease-out;
}

#success-modal h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

#success-modal p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

#success-modal button {
  background: var(--primary-color);
  color: var(--secondary-color);
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

#success-modal button:hover {
  background: #ffb100;
}

/* Animaci贸n */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -30%);
  }
}