/* Estilos generales */
:root {
    --gold-primary: #D4AF37;
    --gold-secondary: #CFB53B;
    --gold-light: #F5EBC7;
    --gold-dark: #8C7853;
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
    --text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
 
  
  .service {
    border: 3px solid var(--gold-primary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: var(--light-gray);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--dark-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .carousel-inner img {
    border: 2px solid var(--gold-secondary);
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
    height: 250px; /* Ajusta esta altura a lo que mejor se vea en tu diseño */
  }
  
  .service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  }
  
  .service h2 {
    color: var(--gold-dark);
    font-weight: bold;
    border-bottom: 2px solid var(--gold-secondary);
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-shadow: var(--text-shadow);
  }
  
  .service p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .carousel-inner img {
    border: 2px solid var(--gold-secondary);
    border-radius: 8px;
  }
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
  }
  
  h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--dark-gray);
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Botones */
  .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--gold-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-primary);
  }
  
  .btn:hover {
    background-color: transparent;
    color: var(--gold-primary);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--gold-primary);
  }
  
  .btn-outline:hover {
    background-color: var(--gold-primary);
    color: var(--white);
  }
  
  /* Header y navegación */
  header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
  }
  
  .logo span {
    color: var(--gold-primary);
  }
  
  .main-menu {
    display: flex;
    list-style: none;
  }
  
  .main-menu li {
    margin-left: 30px;
  }
  
  .main-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
  }
  
  .main-menu a:hover {
    color: var(--gold-primary);
  }
  
  .mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-gray);
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/image1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
  }
  
  .hero-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: var(--text-shadow);
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: var(--text-shadow);
  }
  
  /* Secciones */
  section {
    padding: 80px 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-size: 36px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
  }
  
  .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold-primary);
  }
  
  .section-header p {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--dark-gray);
  }
  
  /* Quiénes Somos */
  .about {
    background-color: var(--light-gray);
  }
  
  .about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .about-img {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
  }
  
  .about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .about-text {
    flex: 1;
    min-width: 300px;
  }
  
  .vision-mision {
    display: flex;
    margin-top: 40px;
  }
  
  .vision, .mision {
    flex: 1;
    padding: 20px;
    background-color: var(--white);
    margin: 0 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
  }
  
  .vision-mision h3 {
    color: var(--gold-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 20px;
  }
  /* Estilo general del contenedor */
.services-tabs {
    font-family: 'Helvetica Neue', sans-serif;
    text-align: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
  }
  
  /* Encabezado principal */
  .services-tabs h3 {
    font-size: 22px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  /* Contenedor para el layout de menú lateral */
  .services-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Navegación de pestañas */
  .tabs-nav {
    display: flex;
    flex-direction: column;
    border-right: none;
    margin-bottom: 0;
    width: 100%;
  }
  
  .tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    padding: 12px 18px;
    cursor: pointer;
    color: #444;
    font-weight: 600;
    text-align: left;
    border-bottom: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
  }
  
  .tab-btn:hover {
    background-color: rgba(212, 168, 86, 0.1);
  }
  
  .tab-btn.active {
    color: #d4a856;
    border-left: 3px solid #d4a856;
    background-color: rgba(212, 168, 86, 0.1);
  }
  
  /* Contenido de las pestañas */
  .tabs-content {
    flex: 1;
    text-align: left;
    padding: 20px;
    border-left: 1px solid #e8e8e8;
  }
  
  .tab-content {
    display: none;
  }
  
  .tab-content.active {
    display: block;
  }
  
  .service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .service-text {
    flex: 1 1 100%;
  }
  
  /* Títulos de cada elemento tipo menú */
  .service-text h3 {
    font-size: 24px;
    color: #222;
    font-weight: 700;
    margin: 0 0 15px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
  }
  
  /* Descripciones */
  .service-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
  }
  
  /* Responsive para dispositivos medianos y grandes */
  @media (min-width: 768px) {
    .services-container {
      flex-direction: row;
      align-items: flex-start;
    }
    /* Aumentar tamaño del texto de las descripciones */
.service-text p {
    color: #666;
    font-size: 18px;  /* Aumentado de 16px */
    line-height: 1.8;  /* Aumentado de 1.6 */
    margin: 0;
    max-width: 100%;  /* Asegura que use todo el espacio disponible */
  }
  
  /* Aumentar tamaño de los títulos */
  .service-text h3 {
    font-size: 28px;  /* Aumentado de 24px */
    color: #222;
    font-weight: 700;
    margin: 0 0 20px;  /* Aumentado el margen inferior */
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;  /* Aumentado el padding inferior */
  }
  
  /* Dar más espacio al contenido */
  .tabs-content {
    flex: 1;
    text-align: left;
    padding: 30px;  /* Aumentado de 20px */
    border-left: 1px solid #e8e8e8;
  }
  
  /* Asegurar que el contenedor tenga suficiente ancho */
  .services-tabs {
    max-width: 1400px;  /* Aumentado de 1200px */
  }
    .tabs-nav {
      width: 30%;
      min-width: 240px;
      border-right: 1px solid #e8e8e8;
    }
    
    .tabs-content {
      flex: 1;
      border-left: none;
    }
  }
  
  /* Responsive para dispositivos pequeños */
  @media (max-width: 767px) {
    .services-container {
      flex-direction: column;
    }
    
    .tabs-nav {
      width: 100%;
      border-bottom: 1px solid #e8e8e8;
    }
    
    .tab-btn {
      border-left: none;
      border-bottom: 3px solid transparent;
    }
    
    .tab-btn.active {
      border-left: none;
      border-bottom: 3px solid #d4a856;
    }
    
    .tabs-content {
      border-left: none;
      padding: 20px 0;
    }
  }
  /* Cobertura */
  .cobertura {
    background-color: var(--light-gray);
  }
  
  .cobertura-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .region {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .region:hover {
    transform: translateY(-10px);
  }
  
  .region img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--gold-primary);
  }
  
  .region h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .region p {
    font-size: 14px;
    color: #666;
  }
  
  /* Testimonios */
  .testimonials {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/image2.jpg') no-repeat center center/cover;
    color: var(--white);
  }
  
  .testimonials .section-header h2 {
    color: var(--white);
  }
  
  .testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }
  
  .testimonial-item {
    text-align: center;
    padding: 0 20px;
  }
  
  .testimonial-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  .testimonial-author {
    font-weight: 600;
    color: var(--gold-light);
  }
  
  
  
  
  /* Contacto */
  .contacto {
    background-color: var(--light-gray);
  }
  
  .contact-info {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
  }
  
  .contact-details {
    flex: 1;
    min-width: 300px;
  }
  
.contact-button {
    display: inline-block;
    background: #fff;
    color: #bfa14f;
    border: 2px solid #bfa14f;
    padding: 0.5rem 1rem;
    margin-top: 0.25rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.text-gold {
    color: #bfa14f;
}

.font-gold {
    color: #bfa14f;
    font-weight: 600;
}

.contact-button {
    display: inline-block;
    background: #fff;
    color: #bfa14f;
    border: 2px solid #bfa14f;
    padding: 0.5rem 1rem;
    margin-top: 0.25rem;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: "";
    position: absolute;
    background: linear-gradient(120deg, #bfa14f, #ffdf91);
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    z-index: 0;
}

.contact-button:hover::before {
    left: 0;
}

.contact-button:hover {
    color: white;
    border-color: transparent;
}

.contact-gold {
    display: inline-block;
    color: #bfa14f;
    border: 2px solid #bfa14f;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 500;
    margin-top: 0.25rem;
    transition: all 0.3s ease;
}

.contact-gold:hover {
    background-color: #bfa14f;
    color: white;
    cursor: default;
}
.contact-button::before {
    content: "";
    position: absolute;
    background: linear-gradient(120deg, #bfa14f, #ffdf91);
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    z-index: 0;
}

.carousel-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Optimización para video */
video {
  background-color: #000;
  transition: opacity 0.3s ease;
}

video.loading {
  opacity: 0.6;
}

/* Estilo para el contenedor del video */
.aspect-w-16.aspect-h-9 {
  position: relative;
  padding-bottom: 56.25%; /* 9/16 = 0.5625 */
}

.aspect-w-16.aspect-h-9 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
header, .navbar {
  background-color: #000 !important;
  color: #fff !important;
}
/* Si es necesario en tu CSS */
iframe {
  min-height: 300px;
}

.contact-button:hover::before {
    left: 0;
}

.contact-button:hover {
    color: white;
    border-color: transparent;
}

.contact-button span {
    position: relative;
    z-index: 1;
}
  .contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  .oculto {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
  }
  
  .mostrar {
    opacity: 1;
    transform: translateY(0);
  }
  