/* Galería de imágenes personalizada */
.gallery-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: none;
    margin: 20px 0;
}

.gallery-header {
    padding: 32px;
}

.gallery-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Open Sans", Sans-serif;
    color: #1f2937;
}

.gallery-icon {
    width: 24px;
    height: 24px;
    color: #28B224;
}

.gallery-main {
    padding: 0 32px 16px 32px;
}

.gallery-main-image {
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main-image:hover .gallery-main-img {
    transform: scale(1.02);
}

/* Grid de 4 columnas cuando hay 4 o menos imágenes */
.gallery-thumbnails-grid {
    padding: 0 32px 32px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-thumbnail {
    border-radius: 8px;
    overflow: hidden;
    height: 96px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: #28B224;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-thumbnail-img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover .gallery-thumbnail-img {
    transform: scale(1.05);
}

/* Fancybox customizations */
.fancybox__slide {
    padding: 0;
}

.fancybox__content {
    background: transparent;
}

.fancybox__image {
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-header {
        padding: 24px 20px;
    }
    
    .gallery-main {
        padding: 0 20px 16px 20px;
    }
    
    .gallery-main-image , .gallery-main-image img {
        height: 240px!important;
    }
    
    .gallery-thumbnails,
    .gallery-thumbnails-grid {
        padding: 0 20px 24px 20px;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .gallery-thumbnail {
        height: 80px;
    }
    
    .gallery-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails,
    .gallery-thumbnails-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .gallery-thumbnail {
        height: 72px;
    }
    
    .gallery-main-image {
        height: 200px;
    }
}

/* Slick Slider para thumbnails (opcional) */
.gallery-thumbnails.slick-slider {
    padding: 0 32px 32px 32px;
}

.gallery-thumbnails .slick-slide {
    margin: 0 6px;
}

.gallery-thumbnails .slick-slide .gallery-thumbnail {
    margin: 0;
    height: 96px;
}

.gallery-thumbnails .slick-prev,
.gallery-thumbnails .slick-next {
    width: 32px;
    height: 32px;
    background: #28B224!important;
    border-radius: 50%;
    border: none;
    color: transparent;
    font-size: 0;
    line-height: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 178, 36, 0.3);
}

.gallery-thumbnails .slick-prev:hover,
.gallery-thumbnails .slick-next:hover {
    background: #1a8e16;
    transform: scale(1.1);
}

.gallery-thumbnails .slick-prev {
    left: -16px;
}

.gallery-thumbnails .slick-next {
    right: -16px;
}

.gallery-thumbnails .slick-prev:before,
.gallery-thumbnails .slick-next:before {
    font-family: inherit;
    font-size: 0;
    color: transparent;
    opacity: 1;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.gallery-thumbnails .slick-prev:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 25 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.1222 1.03125L2.12216 23.211L23.1222 43.0312' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 15px;
    height: 15px;
    position: absolute;
}

.gallery-thumbnails .slick-next:before {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 25 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.08923 1.03125L22.0892 23.211L1.08923 43.0313' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 15px;
    height: 15px;
    position: absolute;
}

/* Estilos para sección de ubicación */
.location-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: none;
    padding: 32px;
}

.location-header {
    margin-bottom: 24px;
}

.location-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Open Sans", Sans-serif;
    color: #1f2937;
}

.location-icon {
    width: 20px;
    height: 20px;
    color: #28B224;
    flex-shrink: 0;
}

.location-map-container {
    margin-bottom: 16px;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f3f4f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    transition: opacity 0.3s ease;
}

.location-map-iframe:hover {
    opacity: 0.95;
}

.location-map-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.location-map-fallback p {
    margin: 0;
    color: #6b7280;
    font-family: "Open Sans", Sans-serif;
}

.location-map-fallback a {
    color: #28B224;
    text-decoration: none;
    font-weight: 600;
}

.location-map-fallback a:hover {
    text-decoration: underline;
}

.location-button-container {
    width: 100%;
}

.location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    background: #8DD936;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    font-family: "Open Sans", Sans-serif;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.location-button:hover {
    background: #1a8e16;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 178, 36, 0.3);
    color: #000;
    text-decoration: none;
}

.location-button-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.location-button:hover .location-button-icon {
    transform: translateX(2px);
}

/* Responsive Design para ubicación */
@media (max-width: 768px) {
    .location-container {
        padding: 24px 20px;
    }
    
    .location-title {
        font-size: 18px;
    }
    
    .location-map {
        aspect-ratio: 16 / 9;
        min-height: 250px;
    }
    
    .location-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .location-container {
        padding: 20px 16px;
    }
    
    .location-title {
        font-size: 16px;
        gap: 8px;
    }
    
    .location-icon {
        width: 18px;
        height: 18px;
    }
    
    .location-map {
        aspect-ratio: 4 / 3;
        min-height: 200px;
    }
    
    .location-button {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    
    .location-button-icon {
        width: 14px;
        height: 14px;
    }
}

/* Estilos para sección de servicios */
.services-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: none;
    margin: 20px 0;
    padding: 32px;
}

.services-header {
    margin-bottom: 24px;
}

.services-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    font-family: "Open Sans", Sans-serif;
    color: #1f2937;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f3f4f6;
}

.service-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8dd9361a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.service-icon-svg {
    width: 24px;
    height: 24px;
    color: #28B224;
}

.service-name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    font-family: "Open Sans", Sans-serif;
    line-height: 1.4;
}

/* Responsive Design para servicios */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .service-item {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .services-container {
        padding: 24px 20px;
    }
    
    .services-title {
        font-size: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-item {
        padding: 12px;
        gap: 10px;
    }
    
    .service-icon-container {
        width: 44px;
        height: 44px;
    }
    
    .service-icon-image,
    .service-icon-svg {
        width: 22px;
        height: 22px;
    }
    
    .service-name {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 20px 16px;
    }
    
    .services-title {
        font-size: 18px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .service-item {
        padding: 10px;
        gap: 8px;
    }
    
    .service-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .service-icon-image,
    .service-icon-svg {
        width: 20px;
        height: 20px;
    }
    
    .service-name {
        font-size: 12px;
    }
}



/* Título */
.contact-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: bold;
  margin-bottom: 1.5rem; /* mb-6 */
  color: #1f2937; /* text-foreground aproximado, gris oscuro */
}

/* Contenedor del grid y campos */
.contact-form-container {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 aproximado */
}

/* Grid para nombre y teléfono */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr; /* 1 columna en móvil */
  gap: 1rem;
}

@media (min-width: 768px) { /* md: breakpoint */
  .contact-grid {
    grid-template-columns: 1fr 1fr; /* 2 columnas en desktop */
  }
}

