/* ======================= */
/* RESETEO BÁSICO */
/* ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
  font-family:'Roboto',Arial,sans-serif !important;
}

/* ======================= */
/* FORMATO GLOBAL DE TEXTO */
/* ======================= */
html {
  font-size: 16px;
  background:#F0EEEC;
  color: #333;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F0EEEC ;
  color: #333;

  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.2px;
}



/* ======================= */
/* HERO */
/* ======================= */
.hero h1 {
  color: #767371;               
  font-weight: 600;            
  font-size: 22px;            
  letter-spacing: 1px;          
  text-align: center;          
  margin: 48px 0 18px;         
  text-transform: none;        
  line-height: 1;               
  opacity: 0.95;                
  font-family: 'Roboto', Arial, sans-serif;
}
.hero-with-inline-image {
  max-width: 900px;     
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.hero-with-inline-image .hero-text {
  font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #767371;       
  font-size: 15.5px;     
  line-height: 1.6;
  text-align: justify;
}


.hero-inline-figure {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 18px 0;        
  box-sizing: border-box;
}

.hero-inline-figure img {
  width: 100%;
  max-width: 720px;      
  height: auto;
  display: block;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  object-fit: cover;
}

/* ======================= */
/* FEATURES */
/* ======================= */
.features-two-col {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
  max-width: 900px;    
  margin: 0 auto;
  box-sizing: border-box;
}


.features-left {
  flex: 1 1 48%;
  min-width: 260px;
  max-width: 520px;    
  display: flex;
  flex-direction: column;
  gap: 28px;           
  align-self: center;
}


.feature-row h3 {
  font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 700;            
  font-size: 20px;            
  margin: 0 0 6px 0;
  color: #767371;              
  letter-spacing: 0.6px;       
  text-transform: uppercase;   
  line-height: 1.05;
}

/* Texto secundario / descripción */
.feature-row p {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 300;            
  font-size: 15px;
  line-height: 1.6;
  color: #767371;            
}


.features-right {
  flex: 1 1 44%;
  max-width: 360px; 
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.features-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* ======================= */
/* TEAM */
/* ======================= */

.team {
  text-align: center;
  padding: 60px 20px;
}


.team h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #bdbdbd;
  font-weight: 700;
  letter-spacing: 0.6px;
}


.team-members {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}


.member {
  width: 180px;    
  text-align: center;
}


.member .photo {
  width: 100%;
  height: 120px;     
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member .photo img {
  max-width: 80%;   
  max-height: 80%;
  object-fit: contain;
}



/* ======================= */
/* SERVICIOS */
/* ======================= */

.services {
  padding: 80px 20px;
  box-sizing: border-box;
}

.services-header {
  text-align: center;
  margin-bottom: 30px;
}

.services-header h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #bdbdbd;
  font-weight: 700;
}

.services-header h4 {
  font-size: 14px;
  color: #777;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.service-item h3 {
  color: #767371 !important;
}

/* GRID GENERAL */
.service-grid {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;   
  gap: 30px;
  align-items: start;
}


.service-item {
  text-align: left;
  padding: 6px 8px;
}

.service-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 700;
  color: #525151;
  letter-spacing: 0.6px;
}

.service-item p {
  margin: 0;
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.6;
}

/* ======================= */
/* CAROUSEL */
/* ======================= */
.carousel-separator {
  width: 100%;
  height: 60px;
  
}

.carousel-card-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.carousel-title {
  font-size: 32px;
  margin-bottom: 40px;
}

.carousel-card-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel-card-track {
  display: flex;
  gap: 30px;
  transition: transform 1s ease-in-out;
}

.carousel-card {
  min-width: 500px;
  height: 350px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-card:hover img {
  transform: scale(1.05);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.carousel-button:hover {
  color: #fff;
}

.carousel-button.prev { left: 10px; }
.carousel-button.next { right: 10px; }
/* ======================= */
/* FOOTER */
/* ======================= */

.footer{color:#B9B6B3; padding-top: 30px; padding-bottom: 30px; text-align:center;font-family:"Segoe UI",sans-serif}
.footer p{color:#B9B6B3;margin-bottom:15px;font-size:14px}
.footer-links{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.footer-links a{color:#B9B6B3;text-decoration:none;font-size:14px;transition:color .3s ease}
.footer-links a:hover{color:#B9B6B3}

/* ======================= */
/* RESPONSIVE */
/* ======================= */

/* MÓVILES */
@media (max-width: 767px) {
  .services {
    padding: 60px 16px;
  }

  .service-grid {
    width: 100%;
    gap: 22px;
  }

  .service-item h3 {
    font-size: 15px;
  }

  .service-item p {
    font-size: 14px;
  }
   .hero-with-inline-image {
    padding: 24px 16px;
    max-width: 720px; 
  }
  .hero-with-inline-image .hero-text {
    font-size: 15px;
  }
  .hero-inline-figure {
    margin: 16px 0;
  }
  .hero-inline-figure img {
    max-width: 100%;  
  }
  .features-two-col {
    display: block;
    padding: 28px 16px;
    max-width: 720px; 
  }
  .features-left {
    max-width: 100%;
    gap: 18px;
    margin-bottom: 12px;
  }
  .feature-row h3 {
    font-size: 18px;
    letter-spacing: 0.4px;
  }
  .feature-row p {
    font-size: 14px;
    color: #7f7f7f; 
  }
  .features-right { display: none; } /* oculta imagen en móvil */

  .hero-text p, .services-header h4, .service-item p {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

 .team-members {
    flex-direction: row;     
    justify-content: center;
    gap: 18px;               
    flex-wrap: nowrap;      
    overflow-x: auto;       
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
  }
  .hero h1{
    font-size: 22px; 
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 950px) {
  .hero-inline-figure img {
    max-width: 820px;
  }
  .service-grid {
    width: 85%;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
  }
   .team-members {
    flex-direction: row;     
    justify-content: center; 
    gap: 18px;               
    flex-wrap: nowrap;       
    overflow-x: auto;        
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
  }
   .hero h1 {
    font-size: 22px;
    margin-top: 28px;
    margin-bottom: 22px;
  
  }
}

/* ESCRITORIO PEQUEÑO */
@media (min-width: 929px) and (max-width: 1199px) {
  .hero-inline-figure img {
    max-width: 620px;
  }
  
   .services-header {
    text-align: left;
    margin-bottom: 24px;
  }

  .service-grid {
    width: 70%;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 60px;
  }

  .service-item h3 {
    font-size: 15px;
  }

  .service-item p {
    font-size: 14px;
  }
    .services-header {
    max-width: 70%;       
    margin: 0 auto 24px;   
    text-align: center;      
    padding: 0;            
  }


  .services-header h2 {
    font-size: 24px;       
    color: #bdbdbd;
  }

  .services-header h4 {
    margin: 0;
    text-align: center;
  }
  
 .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;  
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    gap: 40px;
  }

  .footer p {
    margin: 0;
  }
   .hero h1 {
    font-size: 28px;
    margin-top: 72px;
    letter-spacing: 1.2px;
  }
}

/* PANTALLAS GRANDES */
@media (min-width: 1200px) and (max-width: 1599px) {
  .hero-text { max-width: 800px; margin: 0 auto; }
  .hero-text h1 { font-size: 32px; }
  .hero-text p { font-size: 17px; }
   .services-header {
    text-align: left;
    margin-bottom: 24px;
  }

  .service-grid {
    width: 70%;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 60px;
  }

  .service-item h3 {
    font-size: 15px;
  }

  .service-item p {
    font-size: 14px;
  }
    .services-header {
    max-width: 70%;        
    margin: 0 auto 24px;   
    text-align: center;      
    padding: 0;            
  }


  .services-header h2 {
    font-size: 24px;       
    color: #bdbdbd;
  }

  .services-header h4 {
    margin: 0;
    text-align: center;
  }
 
  .footer-links {
    display: flex;
    flex-direction: row;
    gap: 40px;
  }

  .footer p {
    margin: 0;
  }
}

/* PANTALLAS MUY GRANDES */
@media (min-width: 1600px) {
  .hero-text { max-width: 900px; margin: 0 auto; }
  .hero-text h1 { font-size: 34px; }
  .hero-text p { font-size: 16px; }
   .services-header {
    text-align: left;
    margin-bottom: 24px;
  }

  .service-grid {
    width: 70%;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 60px;
  }

  .service-item h3 {
    font-size: 15px;
  }

  .service-item p {
    font-size: 14px;
  }
    .services-header {
    max-width: 70%;        
    margin: 0 auto 24px;   
    text-align: center;      
    padding: 0;            
  }

  

  .services-header h2 {
    font-size: 24px;      
    color: #bdbdbd;
  }

  .services-header h4 {
    margin: 0;
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;  
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    gap: 40px;
  }

  .footer p {
    margin: 0;
  }
}


@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu.show { display: block; }
}
