*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
    font-family: "Open Sans";
    src: url('../fonts/OpenSans-Italic-VariableFont_wdth,wght.woff2') format('woff2');
    font-weight: 900;
    font-style: oblique;
    font-display: swap;
}

:root {
    --purple: #615fa4;
    --purple-bright: #4f78c8;
    --white: #fff;
    --black: #000;
    --bg: #f7f7f9;
    --text: #222;
    --text-light: #555;
    --hero-txt: #FFFFFFC9;
    --footer-bg: #1f1f1f;
    --body-bg: #f2f2f2;
    --social-bg: #555;
    --yt-bg: #c00;
    --lfl-bg: #000000cc;
    --gallery-bg: #e8e8ec;
    --purple-rgb: 97, 95, 164;
    --white-rgb: 255, 255, 255;
    --black-rgb: 0,0,0;
    --mmenu-bg-rgb: 15,12,35;
    --bx_shad-rgb: 91,79,200;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

/* ── HEADER / HERO ── */
.site-header {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    min-height: 400px;
    height: 65vh;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--body-bg);
    z-index: 4;
}

@media (max-width: 1024px) {
    .site-header {
        min-height: max(400px, 55vh);  /* was: min-height: 50vh */
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: max(450px, 45vh);  /* was: min-height: 40vh */
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--purple);
    opacity: 0.4;
    z-index: 1;
}

/* ── SHAPE DIVIDER ── */
.shape-divider {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 165%;
    line-height: 0;
    z-index: 5;
}

.shape-divider svg {
    display: block;
    width: 100%;
    height: 4.5em;
    margin-bottom: -1px;
}

.shape-divider path {
    fill: var(--body-bg);
}

@media (max-width: 1024px) {
    .shape-divider {
        width: 166%;
    }
    .shape-divider svg {
        height: 3em;
    }
}

@media (max-width: 768px) {
    .shape-divider {
        width: 232%;
    }
    .shape-divider svg {
        height: 2.7em;
    }
}

/* ── NAVBAR ── */
nav {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0 14px;
}

.logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > span {
    color: var(--white);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    line-height: 80px;
    letter-spacing: normal;
    text-transform: uppercase;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.5s;
}

.nav-links > li > a:hover,
.nav-links > li > span:hover {
    transform: scale(1.2);
}

.nav-arrow {
    font-size: 20px;
    transition: transform 0.2s;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: rgba(var(--purple-rgb), 0.6);
    list-style: none;
    display: none;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(var(--white-rgb),0.25);
    border-radius: 4px
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 550;
    letter-spacing: normal;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(var(--white-rgb),0.1);
    transition: background 0.15s;
}

.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--purple-bright); }

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

/* ── FLOATING WHATSAPP BUTTON ── */
.whatsapp-btn {
    position: fixed;
    top: 20%;
    right: max(15px, calc((100vw - 1920px) / 2 + 15px));
    z-index: 999;
    background: var(--purple);
    color: var(--white);
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    font-style: normal;
    font-weight: 500;
    padding: 11px 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(var(--bx_shad-rgb),0.5);
    transition: background 0.2s;
}

.whatsapp-btn:hover { background: var(--purple-bright); }
.whatsapp-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 1600px) {
    .whatsapp-btn {
        right: 15px;
        left: auto;
        bottom: 15px !important;
        top: auto !important;
    }
}

@media (max-width: 768px) {
    .whatsapp-btn { top: auto; bottom: 15px; right: auto; left: 15px; }
}


/* ── HERO TITLE ── */
.hero-title {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 12vh;
}

.hero-title h1 {
    font-family: "Open Sans", Sans-serif;
    font-size: clamp(20px, 3.8vw, 55px);
    font-weight: 900;
    color: var(--hero-txt);
    letter-spacing: 4.5px;
    text-transform: uppercase;
    font-style: oblique;
    text-shadow: 100px 100px 62px rgba(var(--black-rgb), 0.3);
    line-height: 1.1;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: var(--black);
    stroke-width: 0.5px;
    stroke: var(--black);
    /*white-space: nowrap;*/
    white-space: normal;
    max-width: 1100px;
}

/* ── MAIN CONTENT ── */
main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 20px 20px;
}

.main-bg {
    background: var(--body-bg);
    max-width: 1920px;
    margin: 0 auto;
}

.intro p {
    font-size: 17px;
    line-height: 28.9px;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 18px;
}

.intro strong { color: var(--text); }

.services-title {
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 700;
    font-style: italic;
    color: var(--text);
    margin: 20px 0 20px;
    padding: 14px 0 0;
    border-top: 1px solid var(--purple);
    box-shadow: inset 0 1px 0 rgba(var(--purple-rgb), 0.4);
}

.services-title::after {
    content: '';
    display: block;
    border-bottom: 1px solid var(--purple);
    box-shadow: 0 1px 0 rgba(var(--purple-rgb), 0.4);
    margin-top: 14px;
}

/* ── SERVICES GRID ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--footer-bg);
    box-shadow: 0 2px 10px rgba(var(--black-rgb), 0.12);
    transition: transform 0.25s, box-shadow 0.25s;
}


.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(var(--bx_shad-rgb), 0.22);
}

.service-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--purple);
    opacity: 0.2;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            transparent 30%,
            rgba(var(--black-rgb), 0.72) 100%
    );
    z-index: 2;
}

.service-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 14px 16px;
    color: var(--hero-txt);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1.3;
}

/* ── CTA ── */
.cta-block {
    padding: 20px 0 20px;
    border-top: none;
    position: relative;
}

.cta-block::before {
    content: '';
    display: block;
    height: 0;
    border-top: 1px solid var(--purple);
    box-shadow: 0 1px 0 rgba(var(--purple-rgb), 0.4);
    margin-bottom: 14px;
}

.cta-block h2 {
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 700;
    color: var(--purple);
    font-style: italic;
    letter-spacing: normal;
}

/* ── FOOTER ── */
footer {
    background: var(--footer-bg);
    color: rgba(var(--white-rgb),0.85);
    padding: 20px 0 30px;
    max-width: 1920px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 28.9px;
    font-weight: 500;
    letter-spacing: normal;
}

.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 15px;   /* ← add horizontal padding here */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.footer-hours {
    list-style: disc;
    padding-left: 40px;
    margin-top: 4px;
}

.footer-hours li {
    margin-bottom: 4px;
}

.footer-left { display: flex; flex-direction: column; }

.footer-info p {margin-bottom: 4px;}
.footer-info a { color: var(--purple-bright); text-decoration: none; transition: transform 0.2s; display: inline-block; }
.footer-info a:hover { text-decoration: none; transform: scale(1.05); }
.footer-info strong { color: var(--white); }

.footer-info { width: fit-content; }
.footer-social { display: flex; gap: 12px; margin-top: 28px; justify-content: space-between; align-items: center; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, opacity 0.2s; text-decoration: none;
}
.footer-social a:hover { transform: scale(1.12); opacity: 0.9; }
.footer-social a svg { width: 22px; height: 22px; }
.footer-social a[aria-label="YouTube"] { background: var(--yt-bg); color: var(--white); }
.footer-social a[aria-label="Instagram"] { background: var(--social-bg); color: var(--white); }
.footer-social a[aria-label="TikTok"] { background: var(--social-bg); color: var(--white); }

.footer-map {
    width: 100%; border-radius: 8px; overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(var(--white-rgb),0.08); align-self: center;
}

#map { height: 100%; width: 100%; }

.leaflet-popup-content-wrapper, .leaflet-popup-tip { background-color: var(--lfl-bg); color: var(--white); }

.footer-copyright {
    max-width: 1140px; margin: 0 auto;
    color: rgba(var(--white-rgb),0.4); text-align: center;
}

@media (max-width: 768px) {
    footer { padding: 40px 0 24px; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-map { aspect-ratio: 4 / 3; }
    .footer-copyright { padding-bottom: 40px; }
    .footer-left { align-items: center; }
    .footer-social { margin-bottom: 10px; }
}

/* ── MOBILE MENU ── */
.hamburger {
    display: none;
    background: var(--purple);
    border: none;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(var(--mmenu-bg-rgb),0.85);
    z-index: 500;
    flex-direction: column;
    padding: 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.open { display: flex; }

.mobile-close {
    align-self: flex-end;
    background: var(--purple);
    border: none;
    color: var(--white);
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-items { list-style: none; }

.mobile-nav-items li {
    border-bottom: 1px solid rgba(var(--white-rgb),0.1);
}

.mobile-nav-items li a,
.mobile-nav-items li span {
    display: block;
    padding: 16px 4px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: color 0.2s;
}

.mobile-nav-items li a:hover,
.mobile-nav-items li span:hover { color: var(--purple-bright); }

.mobile-submenu {
    list-style: none;
    display: none;
    padding-left: 16px;
    border-top: 1px solid rgba(var(--white-rgb),0.06);
}

.mobile-submenu.open { display: block; }

.mobile-submenu li a {
    font-size: 13px;
    padding: 12px 4px;
    color: rgba(var(--white-rgb),0.75) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-submenu li a:hover {
    color: var(--purple-bright) !important;
}


/* MIXED MOBILE */
@media (max-width: 1024px) {
    nav { padding: 14px 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-title { padding: 15px 20px 80px; }
    main { padding: 35px 20px 20px; }
}

@media (max-width: 768px) {
    .hero-title h1 { font-size: clamp(28px, 6vw, 40px); }
}

/*-----------------------------------------------------------------------------------------------------------*/

/* ── DETAILS GALLERY ── */
.details-gallery {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 20px;
}

.details-gallery-group {
    background: var(--gallery-bg);
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(var(--black-rgb), 0.07);
}

.details-gallery-caption {
    font-size: 15px;
    font-weight: 600;
    color: rgba(var(--black-rgb), 0.75);
    margin-bottom: 12px;
    line-height: 1.4;
}

.details-gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
}

.details-gallery-item {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--footer-bg);
}

.details-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.details-gallery-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 520px) {
    .details-gallery-row {
        grid-template-columns: unset;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 4px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .details-gallery-row::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .details-gallery-item {
        flex: 0 0 70vw;
        scroll-snap-align: start;
    }
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(var(--black-rgb), 0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.lightbox-iframe {
    width: 85vw;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s;
    padding: 10px;
    line-height: 1;
}

.lightbox-arrow:hover { opacity: 1; }

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 768px) {
    .lightbox-arrow { display: none; }
    .lightbox.is-video .lightbox-arrow { display: block; }
    .lightbox.is-video .lightbox-prev::before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 20px solid var(--white);
    }
    .lightbox.is-video .lightbox-next::before {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 20px solid var(--white);
    }
    .lightbox.is-video .lightbox-prev { left: 10px; top: auto; bottom: 40px; transform: none; }
    .lightbox.is-video .lightbox-next { right: 10px; top: auto; bottom: 40px; transform: none; }
    .leaflet-left { left: auto; right: 10px; }
}

.lightbox-prev::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 40px solid var(--white);
}

.lightbox-next::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid var(--white);
}

.lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(var(--white-rgb), 0.5);
    font-size: 14px;
}

.gallery-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(var(--black-rgb), 0.6);
    z-index: 2;
    pointer-events: none;
}

/* ── 404 PAGE ── */
.error-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    padding: 80px 20px;
    text-align: center;
}
.error-404-code {
    font-family: 'Open Sans', Sans-serif;
    font-size: clamp(80px, 20vw, 180px);
    font-weight: 900;
    font-style: oblique;
    letter-spacing: 4.5px;
    line-height: 1;
    color: var(--hero-txt);
    text-shadow: 0 0 1px rgba(var(--black-rgb),0.9), 0 0 2px rgba(var(--black-rgb),0.6);
    margin: 0;
}
.error-404-msg {
    font-family: 'Open Sans', Sans-serif;
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 900;
    font-style: oblique;
    letter-spacing: 4.5px;
    text-transform: uppercase;
    color: var(--footer-bg);
    text-shadow: 0 0 1px rgba(var(--black-rgb),0.9), 0 0 2px rgba(var(--black-rgb),0.6);
    margin: 16px 0 40px;
}
.error-404-btn {
    background: var(--purple);
    color: var(--white);
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.5px;
    padding: 16px 36px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(var(--bx_shad-rgb), 0.5);
    transition: background 0.2s;
}
.error-404-btn:hover { background: var(--purple-bright); }