*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#f5f5f2;
    color:#173b2d;
}

a{
    color:inherit;
}

.experiences-hero{
    padding:110px 0 80px;
    background:#143f30;
    color:white;
}

.experiences-shell{
    width:min(1240px,calc(100% - 60px));
    margin:auto;
}

.eyebrow{
    display:block;
    margin-bottom:18px;
    font-size:11px;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
    color:rgba(255,255,255,.65);
}

.experiences-hero h1{
    max-width:850px;
    margin:0;
    font-size:clamp(52px,7vw,90px);
    line-height:.96;
    letter-spacing:-3px;
}

.experiences-hero p{
    max-width:650px;
    margin:26px 0 0;
    font-size:18px;
    line-height:1.7;
    color:rgba(255,255,255,.72);
}

.experiences-content{
    padding:70px 0 100px;
}

.filter-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:34px;
}

.filter-button{
    border:1px solid #cfd8d2;
    border-radius:999px;
    padding:10px 15px;
    background:white;
    color:#173b2d;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.filter-button.active{
    background:#173b2d;
    color:white;
    border-color:#173b2d;
}

.experience-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.experience-card{
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:100%;
    border:1px solid #dfe4e0;
    border-radius:18px;
    background:white;
}

.experience-card[hidden]{
    display:none;
}

.experience-image{
    height:245px;
    background:#dfe6e1;
    overflow:hidden;
}

.experience-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.experience-card:hover .experience-image img{
    transform:scale(1.035);
}

.experience-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:30px;
    text-align:center;
    background:#e8eee9;
    color:#496456;
    font-weight:700;
}

.experience-card-body{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.experience-category{
    margin-bottom:11px;
    font-size:10px;
    font-weight:800;
    letter-spacing:1.3px;
    text-transform:uppercase;
    color:#6d7f74;
}

.experience-card h2{
    margin:0;
    font-size:25px;
    line-height:1.1;
    letter-spacing:-.6px;
}

.experience-provider{
    margin:8px 0 0;
    font-size:12px;
    color:#78847d;
}

.experience-description{
    margin:17px 0 0;
    font-size:14px;
    line-height:1.65;
    color:#5d6d64;
}

.experience-facts{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-top:18px;
}

.fact{
    padding:7px 9px;
    border-radius:999px;
    background:#f1f5f2;
    font-size:11px;
    font-weight:700;
}

.experience-card-footer{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-top:auto;
    padding-top:22px;
}

.experience-price span{
    display:block;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:#78847d;
}

.experience-price strong{
    display:block;
    margin-top:3px;
    font-size:18px;
}

.experience-link{
    text-decoration:none;
    padding:11px 15px;
    border-radius:999px;
    background:#173b2d;
    color:white;
    font-size:12px;
    font-weight:700;
}

.empty-state{
    padding:60px 20px;
    border:1px solid #dde4df;
    border-radius:16px;
    background:white;
    text-align:center;
    color:#6c7871;
}

.site-footer{
    padding:50px 0;
    background:#102e23;
    color:white;
}

.site-footer strong{
    display:block;
    font-size:22px;
    margin-bottom:9px;
}

.site-footer p{
    margin:0;
    color:rgba(255,255,255,.65);
    font-size:13px;
}

.back-to-top{
    position:fixed;
    right:24px;
    bottom:24px;
    width:46px;
    height:46px;
    border:0;
    border-radius:50%;
    background:#174936;
    color:white;
    font-size:22px;
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transition:.2s ease;
}

.back-to-top.visible{
    opacity:1;
    visibility:visible;
}

@media(max-width:1000px){
    .experience-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:650px){
    .experiences-shell{
        width:calc(100% - 36px);
    }

    .experiences-hero{
        padding:85px 0 60px;
    }

    .experience-grid{
        grid-template-columns:1fr;
    }
}


/* Tarjetas del directorio de prestadores */

.provider-card {
    overflow: hidden;
}

.provider-card[hidden] {
    display: none !important;
}

.provider-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.provider-card-link:hover {
    color: inherit;
}

.provider-card-link .experience-card-body {
    flex: 1;
}

.provider-card-link .experience-image img {
    transition: transform 0.35s ease;
}

.provider-card-link:hover .experience-image img {
    transform: scale(1.05);
}

.provider-view {
    font-weight: 600;
    font-size: 0.85rem;
}

.provider-back {
    display: inline-block;
    margin-bottom: 32px;
    color: #183e2e;
    font-weight: 600;
    text-decoration: none;
}

.provider-back:hover {
    text-decoration: underline;
}

.provider-section-title {
    margin-bottom: 28px;
    color: #183e2e;
}


/* =========================================
   PERFIL PÚBLICO DEL PRESTADOR
========================================= */

.provider-profile {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 45px;
    align-items: start;
    margin-bottom: 30px;
}

.provider-profile-photo {
    overflow: hidden;
    border-radius: 18px;
    background: #e3ebe5;
    min-height: 350px;
}

.provider-profile-photo img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.provider-profile-content {
    min-width: 0;
}

.provider-profile-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #748579;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.provider-profile-content h2 {
    margin: 0 0 20px;
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.12;
    color: #173b2d;
}

.provider-profile-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.provider-profile-types span,
.provider-services-count {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 30px;
    background: #e7eee8;
    color: #173b2d;
    font-size: 12px;
    font-weight: 700;
}

.provider-profile-description {
    margin-bottom: 25px;
    color: #526158;
    font-size: 15px;
    line-height: 1.85;
}

.provider-profile-detail {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #526158;
}

.provider-profile-detail strong {
    color: #173b2d;
}

.provider-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.provider-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    border: 1px solid #173b2d;
    border-radius: 30px;
    color: #173b2d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .25s ease;
}

.provider-contact-button.primary,
.provider-contact-button:hover {
    background: #173b2d;
    color: #fff;
}

.provider-profile-social {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #dce5de;
    overflow-wrap: anywhere;
}

.provider-profile-social strong {
    color: #173b2d;
    font-size: 13px;
}

.provider-profile-social p {
    color: #637268;
    font-size: 13px;
    line-height: 1.8;
}

/* Galería complementaria */

.provider-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 25px 0 65px;
}

.provider-gallery-item {
    overflow: hidden;
    border-radius: 12px;
    height: 155px;
}

.provider-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

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

/* Servicios del prestador */

.provider-services {
    margin-top: 55px;
}

.provider-services-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.provider-services-heading .provider-section-title {
    margin-bottom: 0;
}

/* Responsive */

@media (max-width: 900px) {
    .provider-profile {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .provider-profile-photo img {
        height: 350px;
    }

    .provider-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .provider-profile-photo img {
        height: 260px;
    }

    .provider-gallery {
        gap: 8px;
    }

    .provider-gallery-item {
        height: 110px;
    }

    .provider-services {
        margin-top: 40px;
    }
}


/* =========================================
   TARJETA COMPLETA CLICABLE
========================================= */

.experience-card-clickable {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}

.experience-card-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
    color: inherit;
}

.experience-card-clickable .experience-image {
    overflow: hidden;
}

.experience-card-clickable .experience-image img {
    transition: transform .35s ease;
}

.experience-card-clickable:hover .experience-image img {
    transform: scale(1.05);
}

.experience-card-clickable .experience-card-body {
    flex: 1;
}

.experience-card-clickable .experience-link {
    cursor: pointer;
}

.experience-card-clickable:focus-visible {
    outline: 3px solid #3c8964;
    outline-offset: 3px;
}
