.hero-photo {
    position: relative;
    min-height: min(42vh, 400px);
    max-height: 420px;
    padding: 0 !important;
    display: flex;
    align-items: flex-end;
    background: #16261F;
}

.hero-photo .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100% !important;
    object-fit: cover;
    object-position: center 22%;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(22, 38, 31, 0.18) 0%,
        rgba(22, 38, 31, 0.28) 42%,
        rgba(22, 38, 31, 0.82) 100%
    );
}

.hero-photo .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2.5rem 0 2rem;
}

.hero-place {
    margin: 0 0 0.7rem;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E8D5A3;
    font-weight: 600;
}

.hero-credit {
    position: absolute;
    right: 1.1rem;
    bottom: 0.7rem;
    z-index: 2;
    margin: 0;
    font-size: 0.68rem;
    color: rgba(247, 243, 234, 0.7);
}

.hero-credit a {
    color: inherit;
    text-decoration: underline;
}

/* Encabezado y presentación de actividades */

.navbar {
    background: #16261F;
    border-bottom: 1px solid rgba(196, 150, 58, 0.28);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 88px;
    padding: 0.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-brand .brand-link {
    text-decoration: none;
    color: #F4EFE4;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C4963A;
    font-weight: 600;
}

.brand-name {
    font-family: var(--font-family-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #F7F3EA;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0.45rem;
    cursor: pointer;
}

.hamburger-line {
    width: 20px;
    height: 1.5px;
    background: #F4EFE4;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.15rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 88px;
    padding: 0 0.85rem;
    color: rgba(247, 243, 234, 0.78);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
    color: #fff;
    background: transparent;
}

.nav-link-active {
    color: #F7F3EA;
    border-bottom-color: #C4963A;
    background: transparent;
    font-weight: 600;
}

.btn-join {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid #C4963A;
    color: #E8D5A3;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
}

.btn-join:hover,
.btn-join:focus {
    background: #C4963A;
    color: #16261F;
}

.page-intro,
.about-hero {
    background: #16261F;
    color: #F7F3EA;
    padding: 1.5rem 0 2.25rem;
    text-align: center;
}

.page-intro .breadcrumbs,
.about-hero .breadcrumbs,
.contact-hero .breadcrumbs {
    margin: 0 0 1.75rem;
    text-align: left;
}

.page-intro .breadcrumbs a,
.about-hero .breadcrumbs a,
.contact-hero .breadcrumbs a {
    color: rgba(247, 243, 234, 0.72);
}

.page-intro .breadcrumbs a:hover,
.about-hero .breadcrumbs a:hover,
.contact-hero .breadcrumbs a:hover {
    color: #E8D5A3;
}

.page-intro .breadcrumbs [aria-current="page"],
.about-hero .breadcrumbs [aria-current="page"],
.contact-hero .breadcrumbs [aria-current="page"] {
    color: #E8D5A3;
    font-weight: 500;
}

.page-intro .breadcrumbs li:not(:last-child)::after,
.about-hero .breadcrumbs li:not(:last-child)::after,
.contact-hero .breadcrumbs li:not(:last-child)::after {
    color: rgba(247, 243, 234, 0.35);
}

.page-intro h1,
.about-hero h1 {
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.about-hero .hero-subtitle {
    color: rgba(247, 243, 234, 0.82);
    -webkit-text-fill-color: rgba(247, 243, 234, 0.82);
    margin-bottom: 0;
}

.page-intro p {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(247, 243, 234, 0.72);
}

.section-kicker {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C4963A;
}

.section-heading {
    margin: 0 0 0.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-lead {
    margin: 0 0 2rem;
    color: var(--text-medium);
    max-width: 36rem;
}

.event-spotlight {
    padding: 4.5rem 0;
    background: #F6F4EF;
}

.event-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #fff;
    border: 1px solid #E4E0D6;
    border-radius: 16px;
    overflow: hidden;
}

.event-card-media {
    position: relative;
    min-height: 420px;
    background: #16261F;
}

.event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card-body {
    padding: 2.5rem 2.4rem;
    display: flex;
    flex-direction: column;
}

.event-card-body h2,
.event-card-body h3 {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.event-countdown {
    margin: -0.35rem 0 1.1rem;
    color: var(--text-medium);
    font-size: 0.92rem;
}

.event-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    margin: 0 0 1.5rem;
    padding: 1.1rem 0;
    border-top: 1px solid #E4E0D6;
    border-bottom: 1px solid #E4E0D6;
}

.event-facts div {
    min-width: 0;
}

.event-facts dt {
    margin: 0 0 0.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8478;
    font-weight: 600;
}

.event-facts dd {
    margin: 0;
    color: #2C2F2D;
    font-size: 0.98rem;
    line-height: 1.4;
}

.event-card-body p {
    color: #4A4F4C;
    line-height: 1.7;
}

.event-points {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.event-points li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1rem;
    color: #4A4F4C;
}

.event-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 5px;
    height: 1px;
    background: #C4963A;
}

.event-note {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    color: #6A655C;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.event-archive {
    padding: 4.5rem 0;
    background: #fff;
}

.archive-list {
    display: grid;
    gap: 1.25rem;
}

.archive-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    border: 1px solid #E4E0D6;
    background: #FBFBF8;
    border-radius: 14px;
    overflow: hidden;
}

.archive-item img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.archive-item-body {
    padding: 1.5rem 1.6rem;
}

.archive-item-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1.45rem;
    font-weight: 600;
}

.archive-item-body p {
    margin-bottom: 0.85rem;
    color: #4A4F4C;
}

.event-calendar {
    padding: 4.5rem 0;
    background: #F6F4EF;
}

.calendar-row {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid #E4E0D6;
}

.calendar-row:first-of-type {
    border-top: 1px solid #E4E0D6;
}

.calendar-date {
    font-family: var(--font-family-heading);
    color: #243D32;
}

.calendar-date strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
    color: #243D32;
}

.calendar-date span {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8A8478;
}

.calendar-copy h3 {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
}

.calendar-copy p {
    margin: 0;
    color: var(--text-medium);
}

.calendar-meta {
    font-size: 0.85rem;
    color: #6A655C;
    text-align: right;
}

.season-label {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C4963A;
    font-weight: 600;
}

.empty-events {
    color: var(--text-medium);
}

.page-intro .breadcrumbs,
.about-hero .breadcrumbs {
    font-size: 0.85rem;
}

.cta-band {
    background: #16261F;
    color: #F7F3EA;
    padding: 4rem 0;
    text-align: center;
}

.cta-band h2 {
    color: #F7F3EA;
    font-weight: 600;
}

.cta-band p {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    color: rgba(247, 243, 234, 0.72);
}

.cta-band .btn-secondary {
    color: #F7F3EA;
    border-color: rgba(247, 243, 234, 0.45);
}

.cta-band .btn-secondary:hover {
    background: #F7F3EA;
    color: #16261F;
}

@media (max-width: 900px) {
    .hero-photo {
        min-height: min(36vh, 300px);
        max-height: 320px;
    }

    .hero-photo .hero-content {
        padding: 2rem 0 1.5rem;
    }

    .event-card,
    .archive-item {
        grid-template-columns: 1fr;
    }

    .event-card-media {
        min-height: 260px;
    }

    .calendar-row {
        grid-template-columns: 72px 1fr;
    }

    .calendar-meta {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: #16261F;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        min-height: 0;
        justify-content: center;
        padding: 0.9rem 1rem;
        font-size: 1.15rem;
        border-bottom: 0;
    }

    .nav-link-active {
        color: #C4963A;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .brand-text {
        display: none;
    }

    .event-facts {
        grid-template-columns: 1fr;
    }

    .event-card-body {
        padding: 1.5rem;
    }
}

/* Contacto */
.contact-hero {
    background: #16261F;
    color: #F7F3EA;
    padding: 1.5rem 0 2.25rem;
    text-align: center;
}

.contact-hero h1,
.contact-hero .hero-content h1 {
    color: #fff;
    -webkit-text-fill-color: #fff;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-hero .hero-subtitle {
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    color: rgba(247, 243, 234, 0.78);
    -webkit-text-fill-color: rgba(247, 243, 234, 0.78);
}

.contact-form-section .row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.contact-page .form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem 1.25rem;
    margin-bottom: 0;
}

.contact-page .form-group {
    display: block;
    min-width: 0;
    flex: none;
    margin-bottom: 1.15rem;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.contact-page .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    white-space: nowrap;
}

.contact-page .form-control,
.contact-page input.form-control,
.contact-page select.form-control,
.contact-page textarea.form-control {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0.65rem 0.85rem;
    border: 1px solid #c5cdc8;
    border-radius: 4px;
    background-color: #fff;
    color: #16261F;
    font-size: 1rem;
    line-height: 1.4;
    box-sizing: border-box;
}

.contact-page select.form-control {
    appearance: none;
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2316261F' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.1rem;
}

.contact-page textarea.form-control {
    height: auto;
    min-height: 140px;
    resize: vertical;
}

.contact-page .form-control:focus {
    outline: none;
    border-color: #243D32;
    box-shadow: 0 0 0 3px rgba(36, 61, 50, 0.12);
}

@media (max-width: 900px) {
    .contact-form-section .row,
    .contact-page .form-row {
        grid-template-columns: 1fr;
    }
}
