:root {
    --navy: #063a73;
    --navy-deep: #021a36;
    --blue: #0b63b6;
    --blue-mid: #2384d1;
    --blue-light: #79c5ff;
    --blue-pale: #eaf5ff;
    --white: #ffffff;
    --text: #152238;
    --muted: #718096;
    --shadow: 0 18px 50px rgba(0, 19, 50, .20);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: #f7f9fc;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 17, 38, .96);
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
}

.nav-shell {
    width: min(1440px, calc(100% - 48px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    color: var(--blue-light);
    text-decoration: none;
    line-height: .90;
    letter-spacing: .13em;
    font-weight: 800;
    font-size: clamp(1.08rem, 1.55vw, 1.45rem);
    padding: 7px 0;
}

.brand-line:last-child {
    color: var(--blue-mid);
    margin-top: 7px;
    letter-spacing: .25em;
    font-size: .80em;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(18px, 2.5vw, 38px);
}

.main-nav a {
    position: relative;
    color: rgba(255,255,255,.90);
    text-decoration: none;
    font-size: .93rem;
    font-weight: 600;
    padding: 12px 0;
    transition: color .25s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: var(--blue-light);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 9px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
    transition: transform .25s ease, opacity .25s ease;
}

/* HERO / CAROUSEL */
.hero {
    position: relative;
    min-height: clamp(390px, 62vw, 690px);
    padding: clamp(18px, 3vw, 42px) 0;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(28,104,176,.30), transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(35,132,209,.18), transparent 28%);
}

.carousel {
    position: relative;
    z-index: 1;
    width: min(1500px, calc(100% - 36px));
    height: min(70vh, 650px);
    min-height: 360px;
    margin: auto;
    overflow: hidden;
    border-radius: clamp(14px, 2vw, 28px);
    background: #09172a;
    box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity .8s ease, transform 6s ease;
    pointer-events: none;
}

.slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0%;
}

.slide-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(1,13,31,.62) 0%, rgba(1,13,31,.18) 48%, rgba(1,13,31,.05) 100%),
        linear-gradient(0deg, rgba(1,13,31,.52), transparent 45%);
}

.slide-caption {
    position: absolute;
    left: clamp(24px, 5vw, 70px);
    bottom: clamp(28px, 6vw, 70px);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.slide-caption span {
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 99px;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(8px);
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.slide-caption strong {
    font-size: clamp(1.45rem, 4vw, 3.6rem);
    letter-spacing: .06em;
    font-weight: 800;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(3,28,58,.38);
    color: white;
    font-size: 1.55rem;
    cursor: pointer;
    backdrop-filter: blur(7px);
    transition: background .2s ease, transform .2s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    background: rgba(3,28,58,.65);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }

.carousel-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    max-width: calc(100% - 120px);
    overflow: hidden;
    padding: 4px;
}

.carousel-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.48);
    cursor: pointer;
    padding: 0;
}

.carousel-dot.is-active {
    width: 25px;
    border-radius: 99px;
    background: var(--blue-light);
}

.empty-slide {
    display: grid;
    place-items: center;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #0b2b52, #06152b);
}

.empty-slide div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.empty-slide strong { font-size: clamp(1.5rem, 4vw, 3rem); }
.empty-slide span { color: #bdc9d9; }

/* Invisible anchor zones preserve the requested menu without fabricating content. */
.anchor-section { height: 1px; }

.connect-section {
    background: white;
    padding: clamp(58px, 8vw, 96px) 24px;
    text-align: center;
}

.connect-inner {
    width: min(1000px, 100%);
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: .78rem;
    letter-spacing: .20em;
    font-weight: 800;
}

.connect-section h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.connect-location {
    margin: 13px auto 28px;
    color: var(--muted);
    font-size: .98rem;
}

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

.social-link {
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 17px;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    color: var(--navy);
    background: #f5faff;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-3px);
    border-color: #8fc7f5;
    box-shadow: var(--shadow);
}

.icon {
    width: 25px;
    height: 25px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    background: var(--blue);
    color: white;
    font-size: .76rem;
    font-weight: 800;
}

.site-footer {
    padding: 22px 20px;
    color: rgba(255,255,255,.72);
    background: var(--navy-deep);
    text-align: center;
    font-size: .84rem;
}

.site-footer p { margin: 0; }

/* TABLET + MOBILE */
@media (max-width: 900px) {
    .nav-shell {
        min-height: 72px;
        width: min(100% - 32px, 1440px);
    }

    .menu-toggle { display: block; }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 8px 20px 18px;
        background: rgba(2,26,54,.98);
        border-bottom: 1px solid rgba(255,255,255,.1);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav a {
        padding: 14px 2px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .main-nav a::after { display: none; }

    .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .carousel {
        width: min(100% - 24px, 1500px);
        min-height: 320px;
        height: min(66vw, 560px);
    }

    .carousel-arrow {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 370px;
        padding: 10px 0 16px;
    }

    .carousel {
        min-height: 350px;
        height: 74vw;
        max-height: 500px;
        border-radius: 14px;
    }

    .slide img {
        object-position: 50% 50%;
    }

    .slide-shade {
        background:
            linear-gradient(0deg, rgba(1,13,31,.68) 0%, rgba(1,13,31,.05) 65%),
            linear-gradient(90deg, rgba(1,13,31,.25), transparent);
    }

    .slide-caption {
        left: 20px;
        right: 20px;
        bottom: 34px;
    }

    .slide-caption strong {
        font-size: clamp(1.25rem, 7vw, 2.1rem);
    }

    .carousel-arrow {
        top: 46%;
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .carousel-arrow.prev { left: 10px; }
    .carousel-arrow.next { right: 10px; }

    .social-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .social-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .slide,
    .main-nav,
    .social-link,
    .carousel-arrow { transition: none; }
}

/* Brand treatment: BRIGHTLANDS is always rendered in a blue shade. */
.brand-word {
    color: var(--blue-light);
}

.slide-caption .brand-word,
.empty-slide .brand-word {
    color: var(--blue-light);
}

/* On very large displays, favour the top-middle of photographs so the
   important upper portion is visible while retaining a cinematic crop. */
@media (min-width: 901px) {
    .slide img {
        object-position: 50% 0%;
    }
}


.connect-email {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;

    padding: 10px 18px;
    margin-top: 12px;

    border: 1px solid #4b8fc5;
    border-radius: 8px;

    background: #f5faff;
    box-shadow: 0 2px 6px rgba(0, 50, 100, 0.12);
}

.connect-email i {
    color: #1769aa;
    font-size: 17px;
}

.connect-email a {
    color: #1769aa;
    font-weight: 500;
    text-decoration: none;
}

.connect-email a:hover {
    text-decoration: underline;
}

.embossed {
    background: #e8f3fb;
    border-radius: 12px;
    padding: 15px 20px;

    box-shadow:
        7px 7px 14px rgba(20, 70, 110, 0.25),
        -7px -7px 14px rgba(255, 255, 255, 0.95);

    border: 1px solid #d5e8f5;
}


.email-link {
    background: #fff5f6;
    border-color: #f3c6cc;
}

.email-link .icon {
    color: #d93025;
}

.email-link:hover {
    background: #ffecee;
    border-color: #e9aeb6;
}

.email-link:hover .icon {
    color: #c5221f;
}


.whatsapp-link {
    background: #f2fbf5;
    border-color: #b9dfc5;
}

.whatsapp-link .icon {
    color: #25D366;
}

.whatsapp-link:hover {
    background: #e7f8ed;
    border-color: #8fcba0;
}

.whatsapp-link:hover .icon {
    color: #128C7E;
}

