/* Explain: Styles for reusable UI elements like buttons, cards, headers, and footers. */
/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 16px 28px;
    font-size: 1rem;
}

.btn-solid {
    background: var(--primary-color);
    color: #fff;
}

.btn-solid:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-wa {
    background: #25d366;
    color: #06301c;
}

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

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.24);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(250, 247, 242, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #f7f4ec;
    font-size: 1rem;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.brand-emblem {
    display: block;
    height: 140px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 900px) {
    .brand-logo {
        height: 42px;
    }
}

.main-nav {
    display: none;
    gap: 4px;
}

.nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-link:hover {
    background: var(--surface-alt);
    color: var(--primary-color);
}

.nav-link.is-active {
    background: var(--surface-alt);
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-cta {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--surface-color);
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-block: 18px 24px;
}

.mobile-nav a {
    padding: 13px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.mobile-nav a:hover {
    background: var(--surface-alt);
}

.mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }

    .header-cta {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }

    .mobile-menu.is-open {
        display: none;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 88vh;
    min-height: 88svh;
    overflow: hidden;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 22, 18, 0.93) 0%, rgba(12, 22, 18, 0.66) 44%, rgba(12, 22, 18, 0.26) 100%);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 780px;
    padding-block: 104px 60px;
}

@media (max-width: 700px) {
    .hero-content {
        padding-block: 76px 44px;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f2d9b8;
}

.hero-title {
    font-size: clamp(1.7rem, 7vw, 4rem);
    line-height: 1.08;
    overflow-wrap: break-word;
}

.hero-sub {
    max-width: 34rem;
    margin-top: 20px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    overflow-wrap: break-word;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

@media (max-width: 520px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: 42px;
    list-style: none;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-trust strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
}



/* ---------- Section headings ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.section-sub {
    margin-top: 16px;
    font-size: 1.03rem;
    color: var(--text-muted);
}

.section--dark .section-label {
    color: #f2d9b8;
}

.section--dark .section-sub {
    color: rgba(244, 241, 234, 0.8);
}

/* ---------- Collage / intro ---------- */
.collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    aspect-ratio: 4 / 5;
}

.collage img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.collage-tall {
    grid-row: span 2;
}

@media (min-width: 700px) {
    .collage {
        aspect-ratio: 5 / 4;
    }
}

.guide-sign {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
}

.guide-sign img {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
}

.guarantee-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
    list-style: none;
}

.guarantee-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--surface-alt);
    color: var(--primary-color);
}

.guarantee-item h3 {
    font-size: 1rem;
}

.guarantee-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---------- Category cards ---------- */
.cat-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.cat-media {
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-card:hover .cat-media img {
    transform: scale(1.06);
}

.cat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 22px 22px 24px;
}

.cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--surface-alt);
    color: var(--primary-color);
}

.cat-count {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.cat-title {
    font-size: 1.18rem;
}

.cat-desc {
    font-size: 0.93rem;
    color: var(--text-muted);
}

.cat-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ---------- Experience cards ---------- */
.exp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.exp-card.is-hidden {
    display: none;
}

.exp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.exp-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.exp-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(20, 32, 27, 0.82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exp-level {
    position: absolute;
    top: 14px;
    right: 14px;
}

.diff {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.diff-facil {
    background: #e1f0e7;
    color: #1c5a3c;
}

.diff-media {
    background: #fbeeda;
    color: #8a5418;
}

.diff-alta {
    background: #fae3dd;
    color: #96311a;
}

.exp-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    padding: 22px;
}

.exp-title {
    font-size: 1.22rem;
}

.exp-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
}

.exp-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding-block: 14px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item i {
    width: 14px;
    text-align: center;
    color: var(--accent-color);
}

.exp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.exp-actions .btn {
    flex: 1 1 140px;
}

/* ---------- Stats band ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1;
}

.stat-label {
    margin-top: 8px;
    font-size: 0.9rem;
    color: rgba(244, 241, 234, 0.75);
}

@media (min-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Filter bar ---------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.filter-btn {
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.filter-btn.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.filter-count {
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.empty-state {
    display: none;
    padding: 48px 24px;
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
}

.empty-state.is-visible {
    display: block;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gallery-tile {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    cursor: pointer;
}

.gallery-tile.is-hidden {
    display: none;
}

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

.gallery-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 22, 18, 0.6), rgba(12, 22, 18, 0) 58%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-tile:hover img {
    transform: scale(1.07);
}

.gallery-tile:hover::after {
    opacity: 1;
}

.tile-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    text-align: left;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-tile:hover .tile-caption,
.gallery-tile:focus-visible .tile-caption {
    opacity: 1;
    transform: none;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (hover: none) {
    .gallery-tile::after {
        opacity: 1;
    }

    .tile-caption {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Lightbox ---------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 14, 12, 0.95);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    width: 100%;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lightbox-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 240px;
}

.lightbox-img-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 76vh;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-img-wrap img.is-loaded {
    opacity: 1;
}

.lightbox-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
}

.lightbox-spinner.is-hidden {
    display: none;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    text-align: center;
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    transition: background 0.25s ease;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.34);
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    transition: background 0.25s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.34);
}

/* ---------- Testimonials ---------- */
.testimonial {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    padding: 26px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.testimonial-stars {
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
}

.testimonial-text {
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-route {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    padding: 28px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.contact-card--wa {
    background: linear-gradient(150deg, #25d366, #0f8a72);
    border-color: transparent;
    color: #06281a;
}

.contact-card--wa .contact-text {
    color: rgba(6, 40, 26, 0.85);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--surface-alt);
    color: var(--primary-color);
    font-size: 1.3rem;
}

.contact-card--wa .contact-icon {
    background: rgba(255, 255, 255, 0.3);
    color: #06281a;
}

.contact-card h2,
.contact-card h3 {
    font-size: 1.2rem;
}

.contact-text {
    font-size: 0.94rem;
    color: var(--text-muted);
}

.contact-card .btn {
    margin-top: auto;
}

.contact-card--wa .btn {
    background: #06281a;
    color: #fff;
}

.contact-card--wa .btn:hover {
    background: #0b3a26;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    font-size: 0.92rem;
}

.info-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-muted);
}

.info-list i {
    width: 16px;
    margin-top: 4px;
    color: var(--accent-color);
}

/* ---------- Steps ---------- */
.steps {
    display: grid;
    gap: 24px;
    margin-top: 56px;
    grid-template-columns: 1fr;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.step h3 {
    font-size: 1.1rem;
}

.step p {
    margin-top: 8px;
    font-size: 0.93rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ---------- FAQ ---------- */
.faq-list {
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 20px 0;
    border: 0;
    background: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-color);
    cursor: pointer;
}

.faq-q i {
    flex-shrink: 0;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    display: none;
    max-width: 68ch;
    padding-bottom: 22px;
    color: var(--text-muted);
}

.faq-item.is-open .faq-a {
    display: block;
}

/* ---------- Page header ---------- */
.page-head {
    padding-block: 56px 40px;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-color);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---------- Footer ---------- */
.site-footer {
    padding-top: 56px;
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 44px;
}

.footer-about {
    max-width: 32ch;
    margin-top: 14px;
    font-size: 0.94rem;
    color: var(--text-muted);
}

.footer-title {
    margin-bottom: 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    font-size: 0.94rem;
}

.footer-list a:hover {
    color: var(--accent-color);
}

.footer-list i {
    width: 16px;
    color: var(--accent-color);
}

.footer-bottom {
    padding-block: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.86rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

/* ---------- Light button (dark sections) ---------- */
.btn-white {
    background: #fff;
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--surface-alt);
    transform: translateY(-2px);
}

/* ---------- About hero ---------- */
.about-hero {
    display: grid;
    gap: 36px;
    align-items: center;
}

.about-portrait {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.about-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 900px) {
    .about-hero {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
}

/* ---------- Timeline ---------- */
.timeline {
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    padding-left: 28px;
    border-left: 2px solid var(--border-color);
    list-style: none;
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -37px;
    top: 5px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--background-color);
    border-radius: 999px;
    background: var(--accent-color);
}

.timeline-year {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.timeline-item h3 {
    margin-top: 4px;
    font-size: 1.05rem;
}

.timeline-item p {
    margin-top: 5px;
    font-size: 0.93rem;
    color: var(--text-muted);
}

/* ---------- Value cards ---------- */
.value-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    padding: 26px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--surface-alt);
    color: var(--primary-color);
    font-size: 1.1rem;
}

.value-card h3 {
    font-size: 1.08rem;
}

.value-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
}

/* ---------- Activity rows ---------- */
.activity-row {
    display: grid;
    gap: 30px;
    align-items: center;
}

.activity-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-copy .cat-icon {
    margin-bottom: 16px;
}

.activity-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin-block: 22px;
    padding-block: 18px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none;
}

.activity-detail-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.activity-detail-list i {
    width: 16px;
    text-align: center;
    color: var(--accent-color);
}

@media (min-width: 900px) {
    .activity-row {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }

    .activity-row--reverse .activity-media {
        order: 2;
    }

    .activity-row--reverse .activity-copy {
        order: 1;
    }
}

/* ---------- Contact form ---------- */
.contact-form {
    max-width: 760px;
    margin-inline: auto;
    padding: 24px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 0.88rem;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--background-color);
    color: var(--text-color);
    font: inherit;
    font-size: 0.96rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(31, 61, 52, 0.14);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.65;
}

.form-status {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.94rem;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-success {
    background: #e1f0e7;
    color: #1c5a3c;
}

.form-status.is-error {
    background: #fae3dd;
    color: #96311a;
}

@media (min-width: 640px) {
    .contact-form {
        padding: 34px;
    }

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

    .form-grid .field--full {
        grid-column: 1 / -1;
    }
}

/* ---------- Footer social ---------- */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--text-color);
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ---------- Spinner ---------- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.breadcrumb span {
    color: var(--text-color);
    font-weight: 600;
}

/* ---------- Route cards (category pages) ---------- */
.route-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.route-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.route-media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-alt);
}

.route-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.route-card:hover .route-media img {
    transform: scale(1.06);
}

.route-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 22px;
}

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

.route-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
}

.route-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-block: 14px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    list-style: none;
}

.route-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.route-meta i {
    color: var(--accent-color);
}

.route-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.route-actions .btn {
    flex: 1 1 150px;
}

.route-btn {
    margin-top: auto;
}

/* ---------- Route gallery (detail page) ---------- */
.route-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.route-gallery-tile {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    cursor: pointer;
}

.route-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.route-single {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.route-single img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (min-width: 768px) {
    .route-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

/* ---------- Spec grid (detail page) ---------- */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.spec-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.spec-label i {
    color: var(--accent-color);
}

.spec-item strong {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ---------- Rich content (detail page) ---------- */
.detail-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.route-rich {
    margin-top: 8px;
    font-size: 1rem;
    color: var(--text-color);
}

.route-rich p {
    margin-bottom: 14px;
}

.route-rich ul,
.route-rich ol {
    margin: 0 0 14px;
    padding-left: 22px;
    list-style: disc;
}

.route-rich li {
    margin-bottom: 8px;
}

.route-rich strong {
    font-weight: 600;
}

/* ---------- Calendar ---------- */
.calendar-layout {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
}

.calendar-panel {
    padding: 24px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.calendar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: capitalize;
}

.calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--background-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.calendar-nav:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.calendar-weekdays {
    margin-bottom: 6px;
    text-align: center;
}

.calendar-weekdays span {
    padding-block: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calendar-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    aspect-ratio: 1 / 1;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--surface-alt);
    color: var(--text-color);
    font-size: 0.9rem;
}

.calendar-cell.is-empty {
    background: transparent;
}

.calendar-cell.is-today {
    border-color: var(--accent-color);
}

.calendar-cell.has-event {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.25s ease;
}

.calendar-cell.has-event:hover {
    transform: translateY(-2px);
    background: var(--primary-hover);
}

.calendar-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f2d9b8;
}

.calendar-aside {
    padding: 24px;
    background: var(--surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.calendar-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (min-width: 960px) {
    .calendar-layout {
        grid-template-columns: 1.6fr 1fr;
        align-items: start;
        gap: 40px;
    }
}

/* ---------- Agenda ---------- */
.agenda {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
}

.agenda-card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.agenda-card.is-highlight {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(194, 104, 60, 0.25), var(--shadow-md);
}

.agenda-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-alt);
}

.agenda-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-date {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    padding: 8px 12px;
    border-radius: 14px;
    background: rgba(250, 247, 242, 0.95);
    color: var(--primary-color);
    line-height: 1;
}

.agenda-day {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.agenda-month {
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.agenda-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
}

.agenda-title {
    font-size: 1.25rem;
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    list-style: none;
}

.agenda-meta li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.agenda-meta i {
    color: var(--accent-color);
}

.agenda-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.agenda-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

@media (min-width: 768px) {
    .agenda-card {
        grid-template-columns: 300px 1fr;
    }

    .agenda-media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 240px;
    }
}