/* Modern About Page styles */

/* Modern About Section */
.modern-about-section {
  padding: 80px 20px;
  background: #ffffff;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-main-card,
.services-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-main-card:hover,
.services-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card-header-tag {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  color: #ffffff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.about-image {
  margin: 0 0 24px 0;
  border-radius: 16px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-main-card:hover .about-image img {
  transform: scale(1.05);
}

.about-main-card h3,
.services-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-main-card p,
.services-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 24px;
}

.services-intro {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

/* Modern Button */
.modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  color: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(0, 170, 255, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.4);
  color: #ffffff;
}

.modern-btn svg {
  transition: transform 0.3s ease;
}

.modern-btn:hover svg {
  transform: translateX(4px);
}

/* Modern Services List */
.modern-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.modern-services-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.modern-services-list li:last-child {
  border-bottom: none;
}

.modern-services-list li:hover {
  padding-left: 8px;
  background: rgba(0, 170, 255, 0.03);
  border-radius: 8px;
}

.modern-services-list li svg {
  flex-shrink: 0;
  color: #00aaff;
  margin-top: 2px;
}

.modern-services-list li span {
  flex: 1;
  font-size: 15px;
  color: #444;
  line-height: 1.5;
}

/* Contact Info Box */
.contact-info-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.contact-info-header svg {
  color: #00aaff;
}

.contact-info-box > div {
  margin-bottom: 12px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-weight: 600;
  margin: 16px 0;
}

.contact-phone svg {
  color: #00aaff;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00aaff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.map-link:hover {
  color: #0088cc;
  gap: 12px;
}

.map-link svg {
  transition: transform 0.2s ease;
}

.map-link:hover svg {
  transform: rotate(15deg);
}

/* Modern Features Section */
.modern-features-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #0088cc);
  margin: 20px auto 50px;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.feature-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.1);
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.85), rgba(0, 136, 204, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-overlay {
  opacity: 1;
}

.feature-overlay svg {
  color: #ffffff;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.feature-content {
  padding: 28px 24px;
}

.feature-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-content h3 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.feature-content h3 a:hover {
  color: #00aaff;
}

.feature-content p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .modern-about-section,
  .modern-features-section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .about-main-card,
  .services-card {
    padding: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .about-main-card,
  .services-card {
    padding: 24px;
  }
  
  .about-main-card h3,
  .services-card h3 {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .modern-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

.about-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* ocupar 100% del viewport height */
  height: 100vh;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  position: relative;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* overlay más oscuro para mejorar legibilidad del texto */
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.7));
}

.about-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 48px 24px;
  text-align: left;
}

.about-hero h1 {
  font-size: 48px;
  margin: 0 0 12px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.about-hero p.lead {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.97);
}

.about-hero .cta {
  display: inline-block;
  background: #e23b2b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(226,59,43,0.18);
}

/* Botón estilo Home (celeste con texto blanco y bordes curvos) */
.btn-hero {
  display: inline-block;
  padding: 12px 24px;
  background-color: #00aaff;
  color: #ffffff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.15s;
}
.btn-hero:hover {
  background-color: #0088cc;
  transform: translateY(-2px);
}

/* Estilos de título para que parezca al home (copiado/ajustado de camera.css) */
.about-hero .title1 p span{
    display: block;
    vertical-align: top;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    line-height: 34px;
    font-weight: 300 !important;
    color:#FFF; 
    margin: 8px 0 0;
}

.about-hero .title1 p strong{    
    letter-spacing: -1px;
    display: block;
    vertical-align: top;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    line-height: 42px;
    font-weight: 700 !important;
    color:#FFF; 
    margin: 0;
}

/* mantener texto blanco en hover */
.btn-hero:hover, .btn-hero:focus { color: #fff; }

/* layout for about content */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.about-grid .card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Yelp reviews carousel - Modern & Clean Design */
.yelp-reviews-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.yelp-reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,170,255,0.3), transparent);
}

.yelp-reviews-section h2 {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.yelp-reviews-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #0088cc);
  margin: 20px auto 40px;
  border-radius: 2px;
}

.yelp-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  overflow: hidden;
}

.yelp-reviews-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 0;
  width: max-content;
}

.yelp-widget-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  min-height: 280px;
  height: auto;
  max-height: 400px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  flex: 0 0 620px;
  width: 620px;
  box-sizing: border-box;
}

.yelp-widget-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00aaff, #0088cc);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yelp-widget-card:hover::before {
  opacity: 1;
}

.yelp-widget-card .yelp-review {
  width: 100%;
  display: block;
  max-width: 100%;
  overflow: hidden;
}

/* Limitar el widget interno y ocultar overflow */
.yelp-widget-card iframe, 
.yelp-widget-card .yelp-review > iframe {
  max-height: 360px;
  height: auto;
  min-height: 240px;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  overflow: hidden !important;
}

/* Forzar que el contenedor del widget de Yelp no tenga scroll */
.yelp-widget-card .yelp-review,
.yelp-widget-card .yelp-review * {
  overflow-x: hidden !important;
  max-width: 100%;
  box-sizing: border-box;
}

.yelp-widget-card:hover { 
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 16px 48px rgba(0, 0, 0, 0.12);
}

.yelp-widget-card .yelp-review a { 
  color: #00aaff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.yelp-widget-card .yelp-review a:hover { 
  color: #0088cc;
  text-decoration: none;
}

.yelp-reviews-section .see-all { 
  display: block;
  text-align: center;
  margin-top: 48px;
}

.yelp-reviews-section .see-all a { 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0, 170, 255, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.yelp-reviews-section .see-all a::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.3s ease;
}

.yelp-reviews-section .see-all a:hover { 
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.4);
}

.yelp-reviews-section .see-all a:hover::after {
  transform: translateX(4px);
}

/* Carousel Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-nav:hover {
  background: #00aaff;
  border-color: #00aaff;
  box-shadow: 0 6px 20px rgba(0, 170, 255, 0.3);
}

.carousel-nav:hover svg {
  stroke: #ffffff;
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #f5f5f5;
}

.carousel-nav:disabled:hover {
  background: #f5f5f5;
  border-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-nav:disabled:hover svg {
  stroke: currentColor;
}

.carousel-nav svg {
  color: #333;
  transition: all 0.3s ease;
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: #00aaff;
  transform: scale(1.2);
}

.carousel-dot.active {
  background: #00aaff;
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 1024px) {
  .yelp-widget-card {
    flex: 0 0 520px;
    width: 520px;
    min-height: 260px;
    height: auto;
    max-height: 380px;
  }
  
  .yelp-widget-card iframe, 
  .yelp-widget-card .yelp-review > iframe {
    max-height: 340px;
    height: auto;
    min-height: 220px;
  }
  
  .yelp-carousel-wrapper {
    padding: 0 50px;
  }
  
  .carousel-nav {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .yelp-reviews-section {
    padding: 60px 8px;
  }
  
  .yelp-widget-card { 
    flex: 0 0 calc(100vw - 32px);
    width: calc(100vw - 32px);
    max-width: none;
    padding: 16px;
    min-height: 240px;
    height: auto;
    max-height: 360px;
  }
  
  .yelp-widget-card iframe, 
  .yelp-widget-card .yelp-review > iframe {
    max-height: 320px;
    height: auto;
    min-height: 200px;
  }
  
  .yelp-reviews-section h2 { 
    font-size: 28px;
  }
  
  .yelp-carousel-wrapper {
    padding: 0;
    margin: 0 8px;
  }
  
  .yelp-reviews-carousel {
    gap: 16px;
  }
  
  /* Ocultar botones en móvil */
  .carousel-nav {
    display: none;
  }
  
  .carousel-dots {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .yelp-reviews-section {
    padding: 50px 8px;
  }
  
  .yelp-reviews-section h2 { 
    font-size: 24px;
  }
  
  .yelp-widget-card { 
    flex: 0 0 calc(100vw - 24px);
    width: calc(100vw - 24px);
    max-width: none;
    padding: 16px;
    min-height: 220px;
    height: auto;
    max-height: 340px;
  }
  
  .yelp-widget-card iframe, 
  .yelp-widget-card .yelp-review > iframe {
    max-height: 300px;
    height: auto;
    min-height: 180px;
  }
  
  .yelp-reviews-section .see-all a {
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .yelp-carousel-wrapper {
    padding: 0;
    margin: 0 4px;
  }
  
  .yelp-reviews-carousel {
    gap: 12px;
  }
  
  .carousel-dots {
    gap: 8px;
  }
  
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
  
  .carousel-dot.active {
    width: 24px;
  }
}

@media (max-width: 900px) {
  .about-hero {
    /* reducir un poco en tablet/móviles para evitar overflow en pantallas muy pequeñas */
    height: 80vh;
    min-height: 60vh;
  }
  .about-hero h1 { font-size: 32px; text-align: center; }
  .about-hero .hero-inner { text-align: center; padding: 28px 18px; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about-hero h1 { font-size: 26px; }
  .about-hero p.lead { font-size: 15px; }
}
