:root {
    --brand-bg: #f5ede4;
    --brand-surface: #fffaf5;
    --brand-surface-soft: #f8f1e9;
    --brand-primary: #90605c;
    --brand-primary-strong: #744944;
    --brand-accent: #c58b52;
    --brand-accent-soft: #d8b7a0;
    --brand-dark: #2b1816;
    --brand-text: #3b2a26;
    --brand-muted: #6e5953;
    --brand-border: #e6d3c4;
    --brand-shadow: 0 10px 26px rgba(43, 24, 22, 0.1);
    --brand-shadow-soft: 0 6px 18px rgba(43, 24, 22, 0.08);
    --brand-gradient: linear-gradient(135deg, #90605c 0%, #c58b52 100%);
    --brand-hero-overlay: linear-gradient(110deg, rgba(43, 24, 22, 0.48), rgba(43, 24, 22, 0.35));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--brand-text);
    background: var(--brand-bg);
    line-height: 1.6;
}

.topbar {
    background: var(--brand-dark);
    color: #f8eee2;
}

.topbar-link {
    color: #f8eee2;
}

.topbar-link:hover {
    color: #ffffff;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.lang-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(248, 238, 226, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lang-btn.active {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 2px rgba(197, 139, 82, 0.35);
}

.lang-btn:hover {
    transform: translateY(-1px);
}

.navbar {
    background: rgba(43, 24, 22, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(245, 237, 228, 0.12);
}

.navbar-brand {
    font-family: 'Marcellus', serif;
    font-size: 1rem;
    color: #fff !important;
}

.navbar .nav-link {
    color: #f4e7da !important;
    font-weight: 500;
    padding: 0.65rem 0.85rem !important;
}

.navbar .nav-link:hover {
    color: #fff !important;
}

.hero-carousel-section {
    position: relative;
}

.hero-carousel .carousel-item {
    height: min(76vh, 680px);
    min-height: 420px;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: var(--brand-hero-overlay);
}

.carousel-overlay-university {
    background:
        linear-gradient(115deg, rgba(43, 24, 22, 0.54), rgba(144, 96, 92, 0.34)),
        radial-gradient(circle at 78% 20%, rgba(197, 139, 82, 0.2), transparent 45%);
}

.hero-content-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 5;
}

.hero-box {
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #f3d5b7;
    text-shadow: 0 2px 12px rgba(43, 24, 22, 0.22);
}

.hero-title {
    margin: 0 0 0.7rem;
    font-family: 'Marcellus', serif;
    font-size: clamp(1.9rem, 8vw, 3.6rem);
    color: #fffaf5;
    text-shadow: 0 5px 20px rgba(43, 24, 22, 0.3);
}

.hero-subtitle {
    max-width: 620px;
    color: #f8eee4;
    text-shadow: 0 3px 16px rgba(43, 24, 22, 0.24);
    margin-bottom: 1.4rem;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 12%;
    min-width: 52px;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: rgba(43, 24, 22, 0.42);
    background-size: 58% 58%;
    border: 1px solid rgba(255, 250, 245, 0.36);
}

.carousel-caption-local {
    position: absolute;
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    width: min(90%, 640px);
    text-align: center;
    color: #fffaf5;
    z-index: 6;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(43, 24, 22, 0.3);
    border: 1px solid rgba(245, 237, 228, 0.18);
    backdrop-filter: blur(2px);
}

.carousel-caption-local h2 {
    margin: 0.35rem 0 0.3rem;
    font-family: 'Marcellus', serif;
    font-size: clamp(1.2rem, 4.8vw, 2rem);
    color: #fff7ec;
}

.carousel-caption-local p {
    margin: 0;
    font-size: clamp(0.9rem, 3.1vw, 1.05rem);
    color: #f6e8da;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(197, 139, 82, 0.25);
    border: 1px solid rgba(197, 139, 82, 0.5);
    color: #fbe8d0;
    font-size: 0.78rem;
    font-weight: 600;
}

.btn-brand {
    background: var(--brand-gradient);
    border: 1px solid #b47743;
    color: #fffaf5;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    box-shadow: var(--brand-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-brand:hover {
    color: #fffaf5;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(197, 139, 82, 0.32);
}

.section-space {
    padding: 3.6rem 0;
}

.section-muted {
    background: var(--brand-surface-soft);
}

.section-title {
    margin-bottom: 1rem;
    font-family: 'Marcellus', serif;
    color: var(--brand-primary-strong);
    font-size: clamp(1.5rem, 6vw, 2.1rem);
}

.section-intro {
    color: var(--brand-muted);
    margin-bottom: 1.6rem;
}

.section-image {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--brand-border);
    box-shadow: var(--brand-shadow);
}

.product-card {
    height: 100%;
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--brand-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--brand-shadow);
    border-color: #d8b7a0;
}

.product-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.product-body {
    padding: 0.95rem;
}

.product-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--brand-primary-strong);
}

.product-body p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.94rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--brand-border);
    box-shadow: var(--brand-shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid img:hover {
    transform: translateY(-2px);
    box-shadow: var(--brand-shadow);
}

.testimonial-section {
    background: linear-gradient(180deg, var(--brand-surface) 0%, var(--brand-bg) 60%);
    border-top: 1px solid rgba(230, 211, 196, 0.65);
    border-bottom: 1px solid rgba(230, 211, 196, 0.45);
}

.testimonial-card {
    height: 100%;
    margin: 0;
}

.testimonial-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.15rem 1.2rem;
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    box-shadow: var(--brand-shadow-soft);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.testimonial-card:hover .testimonial-card-inner {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(144, 96, 92, 0.14);
    border-color: rgba(144, 96, 92, 0.28);
}

.testimonial-accent {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    font-size: 1.15rem;
    color: #fffaf5;
    background: var(--brand-gradient);
    box-shadow: 0 6px 14px rgba(144, 96, 92, 0.22);
    transition: transform 0.28s ease;
}

.testimonial-card:hover .testimonial-accent {
    transform: scale(1.04);
}

.testimonial-quote {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    flex-grow: 1;
}

.testimonial-quote p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--brand-text);
}

.testimonial-author {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card-inner,
    .testimonial-accent {
        transition: none;
    }

    .testimonial-card:hover .testimonial-card-inner {
        transform: none;
    }

    .testimonial-card:hover .testimonial-accent {
        transform: none;
    }
}

.contact-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--brand-shadow-soft);
}

.contact-card a {
    color: var(--brand-primary-strong);
    text-decoration: none;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    box-shadow: var(--brand-shadow-soft);
}

.map-wrapper iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
}

.site-footer {
    background: linear-gradient(180deg, #2b1816 0%, #241412 100%);
    color: #f5e8da;
    padding: 2.5rem 0 1.25rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(245, 232, 218, 0.24);
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.footer-logo-wrap h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    color: #fff4e6;
}

.footer-description {
    max-width: 420px;
    color: #ebddcf;
    margin-bottom: 0.95rem;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-btn,
.footer-icon-btn {
    border-radius: 999px;
    border: 1px solid rgba(245, 232, 218, 0.28);
    color: #f8eee2;
    text-decoration: none;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.04);
}

.footer-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.footer-btn:hover,
.footer-icon-btn:hover {
    background: rgba(197, 139, 82, 0.22);
    border-color: rgba(197, 139, 82, 0.82);
    color: #fff8f0;
    transform: translateY(-2px);
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 1rem;
    color: #fff1e1;
    margin-bottom: 0.75rem;
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li + li {
    margin-top: 0.4rem;
}

.footer-nav a {
    color: #e8d6c4;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-nav a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-contact {
    margin: 0;
    font-style: normal;
}

.footer-contact p {
    margin: 0 0 0.55rem;
    color: #e8d6c4;
}

.footer-contact i {
    margin-right: 0.4rem;
}

.footer-contact a {
    color: #f7e7d8;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    color: #ddc9b8;
    font-size: 0.92rem;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .navbar .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto;
}

html[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

.footer-credit-link {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #f5e8da;
    border: 1px solid rgba(245, 232, 218, 0.35);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-credit-link:hover {
    color: #fff;
    background: rgba(197, 139, 82, 0.25);
    transform: translateY(-1px);
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
    z-index: 1050;
}

.music-toggle {
    position: fixed;
    right: 18px;
    bottom: 150px;
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 250, 245, 0.85);
    background: var(--brand-gradient);
    color: #fffaf5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    font-size: 1.05rem;
    box-shadow: var(--brand-shadow-soft);
    z-index: 1045;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.music-toggle span {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.music-toggle:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: var(--brand-shadow);
}

.music-toggle.is-playing {
    box-shadow: 0 10px 24px rgba(197, 139, 82, 0.35);
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 84px;
    width: 42px;
    height: 42px;
    display: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--brand-primary-strong);
    color: #fff;
    z-index: 1040;
}

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

    .gallery-grid img {
        height: 190px;
    }

    .hero-carousel .carousel-item {
        height: min(82vh, 760px);
    }

    .footer-top {
        grid-template-columns: 1.3fr 1fr 1.2fr;
        gap: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 2.8rem 0;
    }

    .hero-carousel .carousel-item {
        min-height: 460px;
    }

    .hero-box {
        max-width: 100%;
    }

    .carousel-caption-local {
        bottom: 10%;
        width: min(92%, 540px);
        padding: 0.75rem 0.8rem;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 17%;
        min-width: 56px;
    }

    .music-toggle {
        bottom: 142px;
        min-height: 44px;
        padding: 0.42rem 0.68rem;
    }

    .music-toggle span {
        font-size: 0.78rem;
    }
}
