/* Modern About Page styles */

body {
    background: #fafbfc !important;
}

/* Modern About Section */
.modern-about-section {
  padding: 80px 20px;
  background: #fafbfc;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-main-card,
.services-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.about-main-card:hover,
.services-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-header-tag {
  display: inline-block;
  padding: 8px 20px;
  background: #2185c5;
  color: #ffffff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

.about-image {
  margin: 0 0 24px 0;
  border-radius: 8px;
  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: 20px;
  line-height: 1.3;
}

.about-main-card p,
.services-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2c3e50;
  margin-bottom: 24px;
}

.services-intro {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

/* Modern Button */
.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  color: #ffffff;
  border-radius: 12px;
  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;
  border: none;
  cursor: pointer;
}

.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: 14px 0;
  border-bottom: 1px solid #e8e8e8;
  transition: all 0.2s ease;
}

.modern-services-list li:last-child {
  border-bottom: none;
}

.modern-services-list li:hover {
  padding-left: 8px;
  background: rgba(33, 133, 197, 0.05);
  border-radius: 6px;
}

.modern-services-list li svg {
  flex-shrink: 0;
  color: #2185c5;
  margin-top: 2px;
}

.modern-services-list li span {
  flex: 1;
  font-size: 15px;
  color: #2c3e50;
  line-height: 1.6;
} line-height: 1.5;
}
/* Contact Info Box */
.contact-info-box {
  background: #f9fafb;
  border-radius: 8px;
  padding: 28px;
  margin-top: 24px;
  border: 1px solid #e8e8e8;
}

.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: #2185c5;
} color: #00aaff;
}

.contact-info-box > div {
  margin-bottom: 12px;
  color: #2c3e50;
  font-size: 15px;
  line-height: 1.6;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
  font-weight: 600;
  margin: 16px 0;
}

.contact-phone svg {
  color: #2185c5;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2185c5;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.map-link:hover {
  color: #1666a0;
  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: #fafbfc;
}

.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: #2185c5;
  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: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.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(33, 133, 197, 0.85), rgba(22, 102, 160, 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: #2185c5;
}

.feature-content p {
  font-size: 14px;
  color: #2c3e50;
  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-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #00aaff 0%, #0088cc 100%);
  color: #ffffff;
  border-radius: 12px;
  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;
  border: none;
  cursor: pointer;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 170, 255, 0.4);
  color: #ffffff;
}

/* 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);
}



@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; }
}
