/* webs-ia — catálogo Destia */
*, *::before, *::after { box-sizing: border-box; }

body.wi-body {
    font-family: var(--wi-font-body), system-ui, sans-serif;
    color: var(--wi-text);
    background: var(--wi-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wi-display {
    font-family: var(--wi-font-display), Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

/* — Nav — */
.wi-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.wi-nav .navbar-brand {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--wi-text);
}
.wi-nav .navbar-brand img { max-height: 44px; width: auto; }
.wi-nav .nav-link {
    color: rgba(28, 28, 28, 0.72);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.wi-nav .nav-link:hover,
.wi-nav .nav-link.active {
    color: var(--wi-brand);
    background: rgba(0, 0, 0, 0.04);
}
.wi-nav-toggler {
    border: none;
    padding: 0.35rem 0.5rem;
    color: var(--wi-text);
}

/* — Hero — */
.wi-hero {
    position: relative;
    padding: 3.5rem 0 2.75rem;
    background: linear-gradient(135deg, var(--wi-brand) 0%, color-mix(in srgb, var(--wi-brand) 75%, #000) 100%);
    color: #fff;
    overflow: hidden;
}
.wi-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255,255,255,0.12), transparent 55%);
    pointer-events: none;
}
.wi-hero .container { position: relative; z-index: 1; }
.wi-hero h1 {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin: 0.5rem 0 0.75rem;
    letter-spacing: -0.02em;
}
.wi-hero .wi-lead {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 540px;
    margin: 0;
}
.wi-hero--detail {
    padding: 2.5rem 0 2rem;
}
.wi-hero--detail h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

/* — Breadcrumb — */
.wi-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    opacity: 0.85;
}
.wi-breadcrumb li { display: flex; align-items: center; gap: 0.35rem; }
.wi-breadcrumb li + li::before {
    content: '›';
    opacity: 0.6;
    margin-right: 0.15rem;
}
.wi-breadcrumb a { color: inherit; text-decoration: none; opacity: 0.9; }
.wi-breadcrumb a:hover { text-decoration: underline; }

/* — Section — */
.wi-section { padding: 2.5rem 0 3.5rem; }
.wi-section-title {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.65rem;
    margin-bottom: 1.75rem;
}

/* — Cards grid — */
.wi-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s;
}
.wi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}
.wi-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #e8e4dc, #f0ece4);
}
.wi-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.wi-card:hover .wi-card-media img { transform: scale(1.06); }
.wi-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.95);
    color: var(--wi-text);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}
.wi-card-body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.wi-card-title {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}
.wi-card-title a {
    color: inherit;
    text-decoration: none;
}
.wi-card-title a:hover { color: var(--wi-brand); }
.wi-card-text {
    color: rgba(28, 28, 28, 0.62);
    font-size: 0.92rem;
    flex: 1;
    margin-bottom: 1rem;
}
.wi-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    color: rgba(28, 28, 28, 0.55);
    margin-bottom: 1rem;
}
.wi-card-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.wi-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.wi-price {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wi-brand);
    line-height: 1.2;
}
.wi-price small {
    font-family: var(--wi-font-body), sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(28, 28, 28, 0.5);
}

/* — Buttons — */
.wi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.wi-btn-primary {
    background: var(--wi-brand);
    color: #fff;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--wi-brand) 35%, transparent);
}
.wi-btn-primary:hover {
    filter: brightness(1.06);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--wi-brand) 40%, transparent);
}
.wi-btn-outline {
    background: transparent;
    color: var(--wi-brand);
    border: 1.5px solid color-mix(in srgb, var(--wi-brand) 40%, transparent);
}
.wi-btn-outline:hover {
    background: var(--wi-brand);
    color: #fff;
}
.wi-btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.wi-btn-whatsapp:hover {
    filter: brightness(1.05);
    color: #fff;
    transform: translateY(-1px);
}
.wi-btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }
.wi-btn-block { width: 100%; }

/* — Detail layout — */
.wi-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 992px) {
    .wi-detail-grid { grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
}
.wi-detail-main { min-width: 0; }
.wi-detail-sidebar { position: relative; }
@media (min-width: 992px) {
    .wi-sticky-card { position: sticky; top: 88px; }
}

.wi-booking-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}
.wi-booking-card .wi-price { font-size: 2rem; margin-bottom: 0.25rem; }
.wi-booking-card .wi-price-note {
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.55);
    margin-bottom: 1.25rem;
}
.wi-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.wi-feature {
    background: var(--wi-bg);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    text-align: center;
}
.wi-feature strong {
    display: block;
    font-size: 1.15rem;
    color: var(--wi-brand);
    font-family: var(--wi-font-display), Georgia, serif;
}
.wi-feature span {
    font-size: 0.75rem;
    color: rgba(28, 28, 28, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wi-content-block {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}
.wi-content-block h2,
.wi-content-block h3 {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}
.wi-content-block p { color: rgba(28, 28, 28, 0.78); }
.wi-content-block img { max-width: 100%; border-radius: 12px; }

.wi-location {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(28, 28, 28, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.wi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.wi-tag {
    background: var(--wi-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    color: rgba(28, 28, 28, 0.72);
}

/* — Gallery — */
.wi-gallery-main {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #e8e4dc;
    margin-bottom: 0.75rem;
}
.wi-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.wi-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.5rem;
}
.wi-gallery-thumbs button {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 4/3;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s, border-color 0.2s;
    background: none;
}
.wi-gallery-thumbs button.active,
.wi-gallery-thumbs button:hover {
    opacity: 1;
    border-color: var(--wi-brand);
}
.wi-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* — Blog — */
.wi-blog-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}
@media (min-width: 768px) {
    .wi-blog-card { grid-template-columns: 280px 1fr; }
}
.wi-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    color: inherit;
}
.wi-blog-card-media {
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, #e8e4dc, #f0ece4);
    overflow: hidden;
}
@media (min-width: 768px) {
    .wi-blog-card-media { aspect-ratio: auto; min-height: 180px; }
}
.wi-blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.wi-blog-card-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
.wi-blog-date {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wi-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.wi-blog-card-title {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
}
.wi-blog-excerpt { font-size: 0.92rem; color: rgba(28,28,28,0.6); margin: 0; }
.wi-article {
    max-width: 760px;
    margin: 0 auto;
}
.wi-article-header { margin-bottom: 2rem; }
.wi-article-header h1 {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 0.75rem;
}
.wi-article-cover {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    aspect-ratio: 16/9;
}
.wi-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.wi-article-body {
    font-size: 1.05rem;
    color: rgba(28, 28, 28, 0.82);
}
.wi-article-body h2, .wi-article-body h3 {
    font-family: var(--wi-font-display), Georgia, serif;
    margin-top: 2rem;
}

/* — Empty — */
.wi-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    border: 1px dashed rgba(0,0,0,0.1);
}
.wi-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--wi-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    opacity: 0.6;
}
.wi-empty h3 {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* — Footer — */
.wi-footer {
    background: #141414;
    color: rgba(255, 255, 255, 0.75);
    padding: 3.5rem 0 2rem;
    margin-top: 2rem;
}
.wi-footer-brand {
    font-family: var(--wi-font-display), Georgia, serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
}
.wi-footer a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s;
}
.wi-footer a:hover { color: var(--wi-accent); }
.wi-footer-links { list-style: none; padding: 0; margin: 0; }
.wi-footer-links li { margin-bottom: 0.45rem; }
.wi-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
    opacity: 0.55;
}
.wi-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1rem;
}
.wi-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.wi-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}
.wi-back-link:hover { color: #fff; }
