/* ==========================================================================
   Herrumbre Vivo Arte — Main Stylesheet
   Pixel-accurate replica of Carrd.co site
   ========================================================================== */

/* ---------- Back-to-live floating link ---------- */
.back-to-live {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.back-to-live:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.back-to-live__icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1e404a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --background-height: 100vh;
}

/* Atmospheric background: misty gradient + noise texture */
body::before {
    content: "";
    display: block;
    background-attachment: scroll;
    height: var(--background-height);
    left: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: scale(1);
    width: 100vw;
    z-index: 0;
    background-image:
        url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox%3D%220%200%20512%20512%22%20width%3D%22512%22%20height%3D%22512%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%20%3Cfilter%20id%3D%22noise%22%3E%20%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.875%22%20result%3D%22noise%22%20%2F%3E%20%3CfeColorMatrix%20type%3D%22matrix%22%20values%3D%220.0390625%200%200%200%200%200%200.03515625%200%200%200%200%200%200.03515625%200%200%200%200%200%200.56640625%200%22%20%2F%3E%20%3C%2Ffilter%3E%20%3Crect%20filter%3D%22url%28%23noise%29%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22512%22%20height%3D%22512%22%20fill%3D%22transparent%22%20opacity%3D%221%22%20%2F%3E%3C%2Fsvg%3E"),
        url("/static/svg/bg.svg");
    background-size: 512px, cover;
    background-position: center center, center top;
    background-repeat: repeat, repeat;
}

/* Intro fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Layout ---------- */
.site-main {
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.5s ease-out;
}

.inner {
    max-width: 832px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Dividers ---------- */

/* Style 1: Vertical centered line — connector between sections */
.divider-1 {
    position: relative;
    height: 87px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-1::after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

/* On light backgrounds */
.contact-card .divider-1::after,
.service-card .divider-1::after {
    background: rgba(0, 0, 0, 0.15);
}

/* Style 2: Short separator spacing */
.divider-2 {
    position: relative;
    height: 69px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-2::after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- Pill Buttons ---------- */
.pill-btn {
    display: inline-block;
    padding: 0 14px;
    height: 41px;
    line-height: 41px;
    background: #35B88F;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.pill-btn:hover {
    background: #2da37d;
    transform: translateY(-1px);
}

.pill-btn--small {
    padding: 8px 20px;
    font-size: 0.6rem;
}

.pill-btn--submit {
    padding: 14px 48px;
    font-size: 0.75rem;
}

.section-pill {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ---------- Logo ---------- */
.section-logo {
    padding-top: 60px;
    text-align: center;
}

.site-logo {
    max-width: 200px;
    margin: 0 auto;
}

/* ---------- Navigation ---------- */
.nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ---------- Hero Section ---------- */
.section-hero {
    text-align: center;
}

.hero-title {
    font-size: 2.17rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-image-wrap {
    margin: 0 auto 40px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image {
    width: 100%;
    height: auto;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.225em;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* ---------- About Section ---------- */
.section-about {
    text-align: center;
}

.about-row-image {
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
}

.about-row-img {
    width: 100%;
    height: auto;
}

.bio-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.bio-text a {
    color: #35B88F;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bio-text a:hover {
    color: #2da37d;
}

.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-col-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ---------- Services Section ---------- */
.section-services {
    text-align: center;
}

.service-card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 100%;
}

.service-card--left {
    flex-direction: row;
}

.service-card--right {
    flex-direction: row-reverse;
}

.service-card__image {
    flex: 0 0 45%;
    min-height: 220px;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card__content {
    flex: 1;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.service-card__title {
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 1rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.7;
}

/* ---------- Teal Full-Width Sections ---------- */
.teal-section {
    background-color: #35B88F;
    background-image: url(/static/svg/geometric-pattern.svg);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    /* Break out of .inner container */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 80px 24px;
    text-align: center;
}

.teal-section__inner {
    max-width: 700px;
    margin: 0 auto;
}

.teal-section__title {
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
}

.teal-section__text {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
}

.teal-section__text p {
    margin-bottom: 16px;
}

.teal-section__quote {
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    color: #ffffff;
    line-height: 1.8;
    border: none;
    padding: 0;
    margin: 0;
}

/* ---------- Philosophy Section ---------- */
.section-philosophy {
    text-align: center;
}

/* ---------- Gallery Preview Section ---------- */
.section-gallery {
    text-align: center;
}

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

.gallery-card {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.gallery-card__thumb {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.gallery-card__title {
    padding: 16px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1a1a1a;
    text-align: center;
}

/* ---------- Contact Section ---------- */
.section-contact {
    text-align: center;
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: #3a3939;
    margin-bottom: 6px;
    text-align: center;
}

.form-group input,
.form-group textarea {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    padding: 12px 16px;
    border: none;
    border-radius: 0;
    background: #f1f1f1;
    color: #1a1a1a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #35B88F;
    box-shadow: 0 0 0 3px rgba(53, 184, 143, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 8px;
}

/* Contact success */
.contact-success {
    text-align: center;
    padding: 48px 24px;
}

.contact-success__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #35B88F;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-success__title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-success__text {
    font-size: 0.9rem;
    color: #555;
}

/* ---------- Social Section ---------- */
.section-social {
    text-align: center;
    padding: 20px 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-link:hover {
    color: #35B88F;
    transform: translateY(-2px);
}

.social-icon {
    width: 28px;
    height: 28px;
}

.social-link span {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ---------- Footer ---------- */
.site-footer {
    text-align: center;
    padding: 40px 0 20px;
}

.footer-branding {
    margin-bottom: 24px;
}

.footer-brand-text {
    font-size: 1.1rem;
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 300;
}

.footer-copyright p {
    margin-bottom: 16px;
}

.footer-logo {
    max-width: 80px;
    margin: 0 auto;
    opacity: 0.6;
}

/* ---------- HTMX Loading Indicator ---------- */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request .pill-btn--submit {
    opacity: 0.7;
    pointer-events: none;
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .inner {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 0.2em;
    }

    .service-card {
        flex-direction: column !important;
    }

    .service-card__image {
        flex: none;
        min-height: 180px;
    }

    .service-card__content {
        padding: 24px 20px;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-two-col {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nav-container {
        gap: 8px;
    }

    .pill-btn {
        padding: 8px 18px;
        font-size: 0.6rem;
    }

    .teal-section {
        padding: 60px 16px;
    }

    .contact-card {
        padding: 32px 20px;
    }

    .social-links {
        gap: 16px;
    }

    .footer-nav {
        gap: 6px;
    }

    .divider-1 {
        height: 60px;
    }

    .divider-2 {
        height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
        letter-spacing: 0.15em;
    }

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

    .pill-btn {
        padding: 7px 16px;
        font-size: 0.55rem;
    }
}

@media (min-width: 769px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

/* ==========================================================================
   Gallery Sub-Pages (obras, servicios, exposiciones)
   ========================================================================== */

/* ---------- Page Container ---------- */
.gallery-page {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    background-color: #1a1a1a;
}

/* ---------- Gallery Header ---------- */
.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 32px 0 8px;
}

.gallery-title {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #ffffff;
}

.gallery-back-link {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.gallery-back-link:hover {
    color: #35B88F;
    border-color: #35B88F;
}

/* ---------- Gallery Nav (Prev / Next) ---------- */
.gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.gallery-nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    padding: 8px 0;
}

.gallery-nav__link:hover {
    color: #35B88F;
}

.gallery-nav__arrow {
    font-size: 1.2rem;
    line-height: 1;
}

/* ---------- Gallery Image Grid ---------- */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* ---------- Gallery Item (image card) ---------- */
.gallery-item {
    display: block;
    background: #111111;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}

.gallery-item__thumb {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.gallery-item:hover .gallery-item__thumb img {
    transform: scale(1.06);
}

.gallery-item__caption {
    padding: 8px 10px;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Gallery Empty State ---------- */
.gallery-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 300;
    padding: 60px 0;
    letter-spacing: 0.05em;
}

/* ---------- Exhibition Block ---------- */
.exhibition-block {
    margin-bottom: 16px;
}

.exhibition-title {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #35B88F;
    margin-bottom: 12px;
    text-align: center;
}

.exhibition-desc {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ---------- Exhibition Video ---------- */
.exhibition-video {
    margin-bottom: 24px;
}

.exhibition-video__link {
    display: block;
}

.exhibition-video__poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 180px;
    background: rgba(53, 184, 143, 0.08);
    border: 1px solid rgba(53, 184, 143, 0.25);
    border-radius: 8px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.exhibition-video__poster:hover {
    background: rgba(53, 184, 143, 0.15);
    border-color: rgba(53, 184, 143, 0.5);
}

.exhibition-video__play {
    font-size: 2rem;
    color: #35B88F;
}

.exhibition-video__cta {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Responsive: Gallery Sub-Pages ---------- */
@media (max-width: 768px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-title {
        font-size: 1.5rem;
    }

    .gallery-nav {
        padding: 4px 0;
    }
}

@media (max-width: 480px) {
    .gallery-page-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .gallery-title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Obra Detail Page
   ========================================================================== */

.obra-page {
    position: relative;
    z-index: 1;
}

/* Hero */
.obra-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
}

.obra-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.obra-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.obra-hero__title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 8px;
}

.obra-hero__credit {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    font-weight: 300;
}

/* Content */
.obra-content {
    padding: 40px 20px 60px;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.lang-switcher__globe {
    font-size: 1.2rem;
    margin-right: 4px;
}

.lang-switcher__btn {
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.2s;
    color: rgba(255,255,255,0.7);
}

.lang-switcher__btn:hover {
    border-color: #35B88F;
    color: #fff;
}

.lang-switcher__btn--active {
    background: #35B88F;
    border-color: #35B88F;
    color: #fff;
    font-weight: 500;
}

/* Description */
.obra-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 50px;
    max-width: 800px;
}

/* Map */
.obra-map {
    margin-bottom: 40px;
}

.obra-map__container {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.obra-map__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #35B88F;
    color: #fff;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.obra-map__btn:hover {
    background: #2ea37d;
}

/* Nearby Points */
.obra-nearby {
    margin-bottom: 50px;
}

.obra-nearby__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.obra-nearby__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.obra-nearby__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: background 0.2s;
}

.obra-nearby__item:hover {
    background: rgba(255,255,255,0.1);
}

.obra-nearby__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.obra-nearby__name {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.obra-nearby__category {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.obra-nearby__distance {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

/* Back link */
.obra-back {
    text-align: center;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .obra-hero {
        height: 50vh;
    }
    .obra-hero__title {
        font-size: 2rem;
    }
    .obra-hero__overlay {
        padding: 40px 20px 24px;
    }
    .obra-map__container {
        height: 250px;
    }
}
