/*
==========
Driver benefits.
==========
*/

.driver-benefits{
  padding:30px 0;
}

.section-title{
  text-align:center;
  font-size:34px;
  margin-bottom:50px;
}

.benefits-grid{
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.benefit-card{
  background: var(--silver-color-transparent);
  padding:32px 28px;
  border-radius:22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.benefit-icon{
  width:100%;
  height:auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom:1em;
  border-radius:12px;
}

.benefit-card h3{
  font-size:18px;
  margin-bottom:10px;
}

.benefit-card .paragraph__page{
  font-size:14px;
  color:var(--grey-color);
  line-height:1.4;
}
/* 
==========
Safe rides.
==========
*/

.safe-rides{
  padding: 5em 1em;
  background-color: var(--silver-color-transparent);
}

.safe-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:60px;
  align-items:center;
}

.safe-image{
  border-radius:22px;
  overflow:hidden;
  height:420px;
}

.safe-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.safe-content h2{
  font-size:36px;
  margin-bottom:32px;
  text-align: center;
}

.safe-features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px 40px;
}

.safe-item h3{
  font-size:18px;
  margin-bottom:8px;
}

.safe-item .paragraph__page{
  font-size:14px;
  color:var(--grey-color);
  line-height:1.5;
}

/* 
==========
Daily services.
==========
*/

.daily-services{
  margin: 30px 0;
}

.daily-grid{
  display: flex;
  gap: 1em;
  justify-content: center;
}

.daily-title{
  width: 100%;
  height: auto;
}

.daily-title h2{
  font-size:32px;
  line-height:1.2;
  padding: 1em;
  width: 100%;
  height: auto;
  text-align: center;
}

.daily-cards{
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.daily-card{
  background:var(--white-color);
  padding:22px;
  border-radius:16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  text-decoration:none;
  color: var(--darkblue-color);
  transition:transform .15s ease, box-shadow .15s ease;
}

.daily-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 20px var(--black-color-transparent);
}

.daily-card h3{
  font-size:18px;
}

.daily-card .paragraph__page{
  font-size:14px;
  margin-top:6px;
}

.icon-box{
  width:54px;
  height:54px;
  background:var(--silver-color);
  border-radius:12px;
  flex-shrink:0;
}

.daily-card.wide{
  grid-column:span 2;
}

/* 
===========
Store buttons
===========
*/

.store-buttons{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items: center;
  justify-content: center;
}

.store-btn{
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--black-color);
  color:var(--white-color);
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  min-width:180px;
  height:56px;
}

.store-btn:hover{
  opacity:.9;
}

.store-icon{
  width:28px;
  height:28px;
  background: var(--white-color);
  border-radius:6px;
  flex-shrink:0;
}

.store-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.store-text span{
  font-size:10px;
  letter-spacing:.4px;
  text-transform:uppercase;
  opacity:.85;
}

.store-text strong{
  font-size:16px;
  font-weight:700;
}

.appstore strong{
  font-size:17px;
}

.playstore span{
  font-size:9px;
}

/*
==========
Styles for hero.
==========
*/

.hero{
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
}

.hero-text{
  width: 700px;
  height: auto;
  text-align: center;
}

.hero-image{
  width: 400px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img{
  width: 100%;
  height: auto;
}

.hero-text p{
  margin:18px 0 28px;
  text-align: center;
}

/*
==========
Styles for titles.
==========
*/

.title__page {
  font-weight: 700;
  color: var(--darkblue-color);
}

h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }

.services h2.subtitle {
  font-size: 15px;
  font-weight: 475;
  color: var(--darkblue-color);
  margin-bottom: 12px;
  text-align: left;
}
.feature-accordion {
  max-width: 400px;
  margin: 20px 0;
  font-family: sans-serif;
}
.schedule {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre los elementos */
}

.hours {
  background-color: var(--green-color);
  color: var(--white-color);
  padding: 2px;
  font-weight: bold;
  transform: rotate(5deg);
  display: inline-block;
  border-radius: 4px;
  font-size: 20px;
}

.schedule .paragraph__page {
  margin: 0; 
  font-size: 16px;
  color: var(--grey-color);
}

.accordion-btn {
  background-color: var(--white-color);
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px 0px;
  font-weight: 700;
  font-size: 20px; /* más grande */
  cursor: pointer;
  border-radius: 8px;
  color: var(--grey-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.accordion-btn:hover {
  background-color: var(--white-color);
}

.arrow {
  transition: transform 0.3s;
}

.features {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
  display: none; 
  color: var(--grey-color);
}

.features li {
  margin-bottom: 6px;
}

.paragraph__page { 
  color: var(--grey-color);  
}
  
  /* =====================
     SHORTCUTS
  ===================== */
  .shortcuts{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:80px;
  }
  
  .shortcut{
    background: var(--white-color);
    padding:20px;
    border-radius:14px;
    text-align:center;
    font-weight:600;
  }
  
  /* 
  ==========
  Values.
  ==========
  */

  .values{
    margin-bottom:90px;
  }
  
  .values h2{
    margin-bottom:40px;
  }
  
  .values-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
  }
  
  .value-card{
    background: var(--white-color);
    padding:28px;
    border-radius:16px;
    text-align:center;
  }
  
/* 
==========
Services.
==========
*/
  
.services{
  margin: 30px 0;
  background: var(--white-color);
}
  
  .services h2{
    margin-bottom:50px;
    font-size: 45px;
    text-align: center;
  }
  
  .services-grid{
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .service{
    width: 300px;
    max-width: 100%;
    background: var(--white-color);
    padding:30px;
    border-radius:18px;
  }

  .header__services{
    width: 100%;
    height: auto;
    display: flex;
    gap: 1em;
    flex-direction: column;
  }

  .header__services h2{
    text-align: center;
    margin: 0;
  }
  
  .header__services p{
    text-align: center;
  }
  
 .service-img {
  max-width: 600px;      
  margin: 20px auto;     
}

.service-img img {
  width: 100%;           
  height: auto;          
  border-radius: 12px;   
  object-fit: cover;     
}

  
.service ul{
  margin:18px 0 24px;
}

.service li{
  margin-bottom:8px;
}
  
/* 
==========
APP CTA
==========
*/

.app-cta{
  width: 100%;
  height: auto;
  background-color: var(--darkblue-color);
  padding: 3em 1em;
}

.app-grid{
  width: 80%;
  height: auto;
  margin: auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 1em;
}

.qr-box{
  width:130px;
  height:130px;
  border-radius:12px;
}

.app-grid h2 {
  color: var(--white-color);
}

.app-grid p{
  color: var(--white-color);
}

@media (max-width: 700px){
  .qr-box{
    width:130px;
    height:130px;
    border-radius:12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .app-grid div{
    width: 100%;
    height: auto;
  }

  .app-grid h2 {
    width: 100%;
    height: auto;
    color: var(--white-color);
    text-align: center;
  }

  .app-grid p{
    color: var(--white-color);
    text-align: center;
  }
}

.subtitle {
  font-size: 16px;
  max-width: 520px;
  line-height: 1.6;
}

.driver-section{
  width: 100%;
  height: auto;
  padding: 3em 1em;
}

.driver-center{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.driver-center h2{
  text-align: center;
}

.driver-center p{
  color: var(--grey-color);
  text-align: center;
  margin: 1em;
}

.steps {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.step .number {
  width: 36px;
  height: 36px;
  background: var(--white-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 1em;
  color: var(--yellow-color);
  font-size: 3em;
}

.step h4 {
  font-size: 1.5em;
  margin-bottom: 6px;
  color: var(--darkblue-color);
}

.step p {
  font-size: 16px;
  font-weight: normal;
  color: var(--grey-color);
}

.download {
  display: flex;
  align-items: center;
  gap: 20px;
}

.download img {
  width: 90px;
  height: 90px;
}

.download h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.download p {
  font-size: 14px;
  color: var(--grey-color);
}

.driver-right {
  display: flex;
  justify-content: center;
  padding-left: 150px;
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

.driver-right img {
  width: auto;
  height: 300px;
}

/*
==========
Styles for modal.
==========
*/

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--black-color-transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 999;
}

.modal-box {
  background: var(--white-color);
  border-radius: 20px;
  padding: 30px;
  width: 320px;
  text-align: center;
  position: relative;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-box h3 {
  margin: 20px 0 10px;
  font-size: 22px;
}

.modal-box p {
  font-size: 14px;
  color: var(--grey-color);
}

/*
==========
QR APP.
==========*/

.download {
  width: 200px;
  height: 200px;
}

.download img{
  width: 100%;
  height: 100%;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: var(--white-color);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.safe-image {
  overflow: hidden;        
  border-radius: 16px;     
}

.safe-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.safe-image:hover img {
  transform: scale(1.08) translateY(-4px);
}
.service-img {
  overflow: hidden;        
  border-radius: 16px;     
}

.service-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.service-img:hover img {
  transform: scale(1.08) translateY(-4px);
}

  /* 
  ==========
  Security.
  ==========
  */

  .security{
    padding:90px 0;
  }
  
  
  /* 
  ==========
     STEPS
  ==========
  */

  .steps{
    margin-bottom:90px;
  }
  
  .steps-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:30px;
  }
  
  .step{
    background:var(--silver-color-transparent);
    padding:22px;
    border-radius:14px;
    text-align:center;
    font-weight:600;
  }
  
  /* 
  ==========
  Driver
  ==========
  */

  .driver{
    background:var(--white-color);
    padding:90px 0;
  }
  
  .driver-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
  }
  
  .driver-img{
    height:280px;
    background:var(--silver-color);
    border-radius:18px;
  }
  
  .qr-boxs{
    width: 135px;
  }
  
  /* 
  ==========
  FAQ
  ==========
  */

  .faq-container {
    max-width: 100%;
    margin: auto;
    padding: 30px 1em;
}

.faq-title {
    text-align: center;
    margin-bottom: 30px;
}

.faq-item {
    background: var(--white-color);
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px var(--black-color-transparent);
    overflow: hidden;
}

.faq-question {
    padding: 18px;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: background 0.3s;
    color: var(--darkblue-color);
}

.faq-question:hover {
    background-color: var(--white-color);
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--grey-color);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 18px;
}
