/* ==========================================================================
   Sangamam site styles (every page). Loaded after Bootstrap 5 by include/head-meta.php.
   Layout uses the Bootstrap grid and utilities in the markup; this file holds the brand
   look: colours, type, header/footer chrome and the lv-* content components.
   Dark surfaces always use one gradient: linear-gradient(135deg, #1f3a0c 0%, #2c4f12 100%)
   Home-only styles live in home.css.
   ========================================================================== */

/* Laila, self-hosted (latin subset); 400 and 700 are preloaded in include/head-meta.php */
@font-face { font-family: "Laila"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/laila/laila-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Laila"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/laila/laila-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Laila"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/laila/laila-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Laila"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/laila/laila-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --ui-grad: linear-gradient(135deg, #1f3a0c 0%, #2c4f12 100%);
    --ui-ink: #17280a;
    --ui-deep: #1f3a0c;
    --ui-forest: #2c4f12;
    --ui-leaf: #3f6f14;
    --ui-green: #84cb33;
    --ui-gold: #ffcc29;
    --ui-gold-2: #f2b705;
    --ui-cream: #fffaea;
    --ui-paper: #fffdf6;
    --ui-white: #ffffff;
    --ui-text: #2f3f22;
    --ui-muted: #56703a;
    --ui-line: rgba(23, 40, 10, 0.1);
    --ui-line-dark: rgba(255, 250, 234, 0.12);
    --ui-radius-sm: 14px;
    --ui-radius: 22px;
    --ui-shadow-sm: 0 10px 26px -16px rgba(23, 40, 10, 0.4);
    --ui-shadow: 0 26px 60px -32px rgba(23, 40, 10, 0.5);
    --ui-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ui-font: "Laila", serif;
    --ui-nav-h: 92px;

    /* Bootstrap theme */
    --bs-body-font-family: var(--ui-font);
    --bs-body-font-size: 16px;
    --bs-body-line-height: 1.625;
    --bs-body-color: var(--ui-text);
    --bs-body-bg: var(--ui-cream);
    --bs-heading-color: var(--ui-ink);
    --bs-link-color-rgb: 63, 111, 20; /* leaf green: readable on white and cream (lime #84cb33 is only 2:1) */
    --bs-link-hover-color-rgb: 23, 40, 10;
    --bs-form-invalid-color: #b03024;
    --bs-form-invalid-border-color: #c0392b;
    --bs-form-valid-border-color: var(--ui-line);
}

@media (max-width: 1199.98px) {
    :root {
        --ui-nav-h: 76px;
    }
}

/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--ui-nav-h) + 12px);
}

html,
body {
    overflow-x: clip;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

iframe {
    width: 100%;
    border: 0;
}

a {
    text-decoration: none;
    transition: color 0.4s, background-color 0.4s;
}

p {
    margin: 0 0 18px;
    color: #3d5c18;
    line-height: 1.7;
    text-wrap: pretty;
}

p:empty {
    display: none;
}

/* links inside running text are underlined so they don't rely on colour alone */
#main-content p a:not(.btn) {
    /* text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px; */
}

h1, h2, h3,
.h1, .h2, .h3 {
    margin: 0 0 15px;
    font-family: var(--ui-font);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1, .h1 { font-size: 46px; line-height: 1.15; }
h2, .h2 { font-size: 36px; }
h3, .h3 { font-size: 28px; line-height: 1.3; }

@media (min-width: 768px) and (max-width: 1199.98px) {
    h1, .h1 { font-size: 36px; }
    h2, .h2 { font-size: 28px; }
    h3, .h3 { font-size: 24px; }
}

@media (max-width: 767.98px) {
    h1, .h1 { font-size: 22px; }
    h2, .h2 { font-size: 20px; }
    h3, .h3 { font-size: 18px; font-weight: 800; }
    p { font-size: 15px; }
}

::selection {
    background: var(--ui-gold);
    color: var(--ui-ink);
}

:focus-visible {
    outline: 2px solid var(--ui-gold);
    outline-offset: 3px;
}

/* wider containers than Bootstrap's defaults on large screens; the side padding matches
   the widest row gutter used inside (g-lg-5 = 48px), so rows never poke past the screen edge */
@media (min-width: 1300px) {
    .container {
        --bs-gutter-x: 48px;
        max-width: 1280px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1650px;
    }
}

/* ---------- Buttons: Bootstrap .btn in the two brand variants ---------- */

.btn-brand,
.btn-accent {
    --bs-btn-padding-x: 26px;
    --bs-btn-font-family: var(--ui-font);
    --bs-btn-font-size: 16px;
    --bs-btn-font-weight: 700;
    --bs-btn-line-height: 1.1;
    --bs-btn-border-radius: 999px;
    --bs-btn-border-width: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    overflow: hidden;
    isolation: isolate;
    white-space: nowrap;
    transition: transform 0.3s var(--ui-ease), box-shadow 0.3s var(--ui-ease), background-color 0.3s var(--ui-ease), color 0.3s var(--ui-ease);
}

.btn-brand i,
.btn-accent i {
    font-size: 0.95em;
    transition: transform 0.3s var(--ui-ease);
}

.btn-brand:hover,
.btn-accent:hover {
    transform: translateY(-2px);
}

.btn-brand:hover i,
.btn-accent:hover i {
    transform: translateX(3px);
}

/* light sheen passing over the button on hover */
.btn-brand::before,
.btn-accent::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -60%;
    z-index: -1;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s var(--ui-ease);
}

.btn-brand:hover::before,
.btn-accent:hover::before {
    left: 120%;
}

/* brand: dark gradient, for light backgrounds */
.btn-brand {
    --bs-btn-color: var(--ui-cream);
    --bs-btn-hover-color: var(--ui-cream);
    --bs-btn-active-color: var(--ui-cream);
    --bs-btn-disabled-color: var(--ui-cream);
    background-image: var(--ui-grad);
    box-shadow: 0 16px 30px -18px rgba(23, 40, 10, 0.9);
}

.btn-brand i {
    color: var(--ui-gold);
}

.btn-brand:hover,
.btn-brand:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 204, 41, 0.35), 0 20px 36px -18px rgba(23, 40, 10, 0.9);
}

/* accent: gold, for dark backgrounds */
.btn-accent {
    --bs-btn-color: var(--ui-ink);
    --bs-btn-bg: var(--ui-gold);
    --bs-btn-hover-color: var(--ui-ink);
    --bs-btn-hover-bg: #ffd84d;
    --bs-btn-active-color: var(--ui-ink);
    --bs-btn-active-bg: #ffd84d;
    box-shadow: 0 14px 28px -16px rgba(242, 183, 5, 0.95);
}

.btn-accent:hover,
.btn-accent:focus-visible {
    box-shadow: 0 20px 34px -16px rgba(242, 183, 5, 1);
}

@media (max-width: 575.98px) {
    .btn-brand,
    .btn-accent {
        min-height: 50px;
        white-space: normal;
        text-align: center;
    }
}

/* gold pill with a round icon (header + drawer brochure link) */
.sh-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 7px 7px 22px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 999px;
    background: var(--ui-gold);
    color: var(--ui-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 26px -12px rgba(242, 183, 5, 0.9);
    transition: transform 0.3s var(--ui-ease), box-shadow 0.3s var(--ui-ease);
}

.sh-button::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -60%;
    z-index: -1;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s var(--ui-ease);
}

.sh-button:hover,
.sh-button:focus-visible {
    color: var(--ui-ink);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -14px rgba(242, 183, 5, 1);
}

.sh-button:hover::before {
    left: 120%;
}

.sh-button__icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ui-ink);
    color: var(--ui-gold);
    font-size: 14px;
    transition: transform 0.35s var(--ui-ease);
}

.sh-button:hover .sh-button__icon {
    transform: rotate(-45deg);
}

/* ---------- Social icons ---------- */

.sh-social a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 250, 234, 0.08);
    color: var(--ui-cream);
    font-size: 14px;
    transition: transform 0.3s var(--ui-ease), background-color 0.25s, color 0.25s;
}

.sh-social a:hover,
.sh-social a:focus-visible {
    background: var(--ui-gold);
    color: var(--ui-ink);
    transform: translateY(-3px);
}

/* ==========================================================================
   Header: top bar, sticky navbar, mobile offcanvas drawer
   ========================================================================== */

.sh-skip {
    position: fixed !important;
    top: 12px;
    left: 12px;
    z-index: 1100;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--ui-gold);
    color: var(--ui-ink);
    font-weight: 700;
}

.sh-topbar {
    position: relative;
    background: linear-gradient(135deg, #1a3209 0%, #24420f 100%);
    color: rgba(255, 250, 234, 0.8);
    font-size: 14px;
    line-height: 1.4;
}

.sh-topbar::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 41, 0.45), transparent);
}

.sh-topbar > .container {
    min-height: 46px;
}

.sh-topbar__info li {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
}

.sh-topbar__info i {
    color: var(--ui-gold);
    font-size: 13px;
}

.sh-topbar a {
    color: inherit;
}

.sh-topbar__info a:hover {
    color: var(--ui-gold);
}

.sh-topbar .sh-social a {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

/* Bootstrap navbar */
.sh-nav {
    --bs-navbar-padding-y: 0;
    --bs-navbar-brand-padding-y: 0;
    --bs-navbar-brand-margin-end: 0;
    min-height: var(--ui-nav-h);
    border-bottom: 1px solid rgba(255, 250, 234, 0.08);
    background: #fff;
    font-family: var(--ui-font);
    transition: box-shadow 0.35s var(--ui-ease);
}

.sh-header.is-scrolled .sh-nav {
    box-shadow: 0 16px 40px -18px rgba(10, 20, 4, 0.7);
}

.sh-logo img {
    display: block;
    width: auto;
    height: 58px;
    transition: height 0.35s var(--ui-ease);
}

.sh-nav .navbar-brand img {
    border-radius: 6px;
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}

.sh-header.is-scrolled .navbar-brand img {
    height: 48px;
}

.sh-menu .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

/* the burger sits on the white bar, so it needs dark lines */
.sh-burger {
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--ui-line);
    border-radius: 14px;
    background: var(--ui-cream);
}

.sh-burger:hover {
    border-color: var(--ui-gold);
}

.sh-burger:focus {
    box-shadow: none;
}

.sh-burger span {
    position: absolute;
    left: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--ui-deep);
    transition: width 0.3s var(--ui-ease);
}

.sh-burger span:nth-child(1) { top: 16px; width: 20px; }
.sh-burger span:nth-child(2) { top: 22px; width: 14px; }
.sh-burger span:nth-child(3) { top: 28px; width: 20px; }

.sh-burger:hover span:nth-child(2) {
    width: 20px;
}

/* desktop (xl and up): the offcanvas renders inline as the menu bar */
@media (min-width: 1200px) {
    .sh-drawer .offcanvas-body {
        flex-grow: 1;
        align-items: center;
    }

    .sh-menu .nav-link::after {
        content: "";
        position: absolute;
        right: 14px;
        bottom: 2px;
        left: 14px;
        height: 2px;
        border-radius: 2px;
        background: var(--ui-gold);
        transform: scaleX(0);
        transition: transform 0.35s var(--ui-ease);
    }

    /* gold underline marks the link; the text stays dark so it reads on the white bar (gold text is 1.5:1) */
    .sh-menu .nav-link:hover,
    .sh-menu .nav-link:focus-visible,
    .sh-menu .nav-link.active {
        color: var(--ui-forest);
    }

    .sh-menu .nav-link:hover::after,
    .sh-menu .nav-link:focus-visible::after,
    .sh-menu .nav-link.active::after {
        transform: scaleX(1);
    }
}

@media (min-width: 1200px) and (max-width: 1599.98px) {
    .sh-menu .nav-link { padding: 10px 12px; }
    .sh-menu .nav-link::after { right: 12px; left: 12px; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .sh-menu .nav-link { padding: 10px 8px; font-size: 15px; }
    .sh-menu .nav-link::after { right: 8px; left: 8px; }
    .sh-button--nav { padding-inline: 16px 6px; font-size: 14px; }
}

/* narrowest full-menu width: tighten links so the brochure button stays inside the gutter */
@media (min-width: 1200px) and (max-width: 1299.98px) {
    .sh-menu .nav-link { padding: 10px 6px; font-size: 14px; }
    .sh-menu .nav-link::after { right: 6px; left: 6px; }
    .sh-button--nav { gap: 8px; padding-inline: 14px 5px; }
}

/* mobile drawer (below xl): Bootstrap offcanvas */
@media (max-width: 1199.98px) {
    .sh-logo img {
        height: 50px;
    }

    .sh-header.is-scrolled .navbar-brand img {
        height: 44px;
    }

    .sh-drawer {
        --bs-offcanvas-width: min(420px, 100%);
        --bs-offcanvas-bg: var(--ui-paper);
        --bs-offcanvas-transition: transform 0.5s var(--ui-ease);
        font-family: var(--ui-font);
        box-shadow: -30px 0 60px -30px rgba(23, 40, 10, 0.4);
    }

    .sh-drawer__head {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 14px 20px;
        border-bottom: 1px solid var(--ui-line);
        background: rgba(255, 253, 246, 0.96);
    }

    .sh-drawer__head .sh-logo img {
        height: 48px;
    }

    .sh-drawer .offcanvas-body {
        display: flex;
        flex-direction: column;
        gap: 22px;
        padding: 20px;
    }

    .sh-menu .nav-item {
        border-bottom: 1px solid var(--ui-line);
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.4s var(--ui-ease), transform 0.4s var(--ui-ease);
    }

    .sh-drawer.showing .nav-item,
    .sh-drawer.show .nav-item {
        opacity: 1;
        transform: none;
        transition-delay: calc(0.12s + var(--i, 0) * 0.04s);
    }

    .sh-menu .nav-link {
        display: flex;
        padding: 14px 2px;
        color: var(--ui-ink);
        font-size: 17px;
        line-height: 1.3;
    }

    .sh-menu .nav-link:hover,
    .sh-menu .nav-link.active {
        color: var(--ui-leaf);
    }
}

.offcanvas-backdrop {
    background-color: var(--ui-ink);
}

.offcanvas-backdrop.show {
    opacity: 0.55;
}

.sh-drawer__close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ui-ink);
    color: var(--ui-cream);
    font-size: 18px;
    transition: transform 0.35s var(--ui-ease), background-color 0.3s;
}

.sh-drawer__close:hover {
    background: #2e4a13;
    transform: rotate(90deg);
}

.sh-drawer__contact {
    margin-top: auto;
    padding: 20px;
    border-radius: 20px;
    background: var(--ui-grad);
}

@media (max-width: 575.98px) {
    .sh-logo img {
        height: 46px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.sh-footer {
    position: relative;
    isolation: isolate;
    color: rgba(255, 250, 234, 0.72);
    background:
        radial-gradient(900px 420px at 8% 10%, rgba(132, 203, 51, 0.12), transparent 70%),
        radial-gradient(700px 380px at 95% 70%, rgba(255, 204, 41, 0.08), transparent 70%),
        radial-gradient(rgba(255, 250, 234, 0.07) 1px, transparent 1.4px) 0 0 / 26px 26px,
        var(--ui-grad);
}

.sh-footer a {
    transition: color 0.25s var(--ui-ease), transform 0.3s var(--ui-ease);
}

.sh-footer__main {
    padding: 60px 0 12px;
}

.sh-footer__logo {
    display: inline-block;
    margin-bottom: 18px;
}

.sh-footer__logo img {
    display: block;
    width: auto;
    height: 72px;
}

.sh-fcol--brand p {
    max-width: 360px;
    margin: 0 0 22px;
    color: rgba(255, 250, 234, 0.72);
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 1199.98px) {
    .sh-fcol--brand p {
        max-width: 560px;
    }
}

.sh-fcol__title {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 12px;
    color: var(--ui-cream);
    font-size: 17px;
    line-height: 1.3;
}

.sh-fcol__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 2px;
    border-radius: 2px;
    background: var(--ui-gold);
}

.sh-flinks li + li {
    margin-top: 11px;
}

.sh-flinks a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 250, 234, 0.74);
    font-size: 15px;
    line-height: 1.45;
}

.sh-flinks a::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border: 1.5px solid rgba(255, 204, 41, 0.7);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.sh-flinks a:hover {
    color: var(--ui-gold);
    transform: translateX(4px);
}

.sh-flinks a:hover::before {
    background: var(--ui-gold);
}

.sh-faddress p {
    margin: 0 0 14px;
    color: rgba(255, 250, 234, 0.8);
    font-size: 15px;
    line-height: 1.65;
}

.sh-faddress strong {
    color: var(--ui-cream);
}

.sh-faddress a {
    color: rgba(255, 250, 234, 0.85);
    overflow-wrap: break-word;
}

.sh-faddress a:hover {
    color: var(--ui-gold);
}

.sh-faddress__phones a {
    display: block;
}

/* bottom bar: keep the copyright clear of the floating WhatsApp / back-to-top buttons */
.sh-footer__bottom {
    border-top: 1px solid var(--ui-line-dark);
    background: rgba(0, 0, 0, 0.14);
}

.sh-footer__bottom .container {
    padding: 20px 76px;
}

.sh-footer__bottom p {
    margin: 0;
    color: rgba(255, 250, 234, 0.62);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .sh-footer__bottom .container {
        padding: 20px var(--bs-gutter-x) 72px;
    }
}

/* ---------- Floating WhatsApp button (shown once the visitor scrolls; html.sh-wa-on from site.js) ---------- */

.sh-wa {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 990;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.8);
    transition: opacity 0.3s var(--ui-ease), transform 0.3s var(--ui-ease), visibility 0s;
}

.sh-wa::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: #25d366;
    animation: sh-ping 2.2s var(--ui-ease) infinite;
}

.sh-wa:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
}

html:not(.sh-wa-on) .sh-wa {
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s var(--ui-ease), transform 0.3s var(--ui-ease), visibility 0s linear 0.3s;
}

.sh-wa__label {
    position: absolute;
    left: calc(100% + 12px);
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ui-ink);
    color: var(--ui-cream);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity 0.3s var(--ui-ease), transform 0.3s var(--ui-ease);
}

.sh-wa:hover .sh-wa__label,
.sh-wa:focus-visible .sh-wa__label {
    opacity: 1;
    transform: none;
}

@keyframes sh-ping {
    0% { opacity: 0.7; transform: scale(1); }
    80%, 100% { opacity: 0; transform: scale(1.9); }
}

@media (max-width: 575.98px) {
    .sh-wa {
        bottom: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

/* ---------- Back to top (ring fills as the page scrolls; driven by site.js) ---------- */

.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1010;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 2px solid var(--ui-green);
    border-radius: 50%;
    background: var(--ui-cream);
    color: var(--ui-green);
    font-size: 18px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(45px);
    transition: 300ms linear;
}

.scroll-top.show {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.scroll-top__ring {
    position: absolute;
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
}

.scroll-top__ring path {
    fill: none;
    stroke: var(--ui-green);
    stroke-width: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .sh-header *,
    .sh-drawer,
    .sh-drawer *,
    .sh-footer *,
    .sh-wa,
    .sh-wa::before,
    .btn-brand,
    .btn-accent,
    .btn-brand::before,
    .btn-accent::before {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }

    .btn-brand:hover,
    .btn-accent:hover {
        transform: none;
    }
}

/* ==========================================================================
   Page content components (lv-*): every page's text comes from sangamamhomes.com
   ========================================================================== */

/* one heading style for every page heading (h2); tile labels keep their own small size */
#main-content h2 {
    color: #342758;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

#main-content .lv-section--dark h2 {
    color: var(--ui-cream);
}

@media (max-width: 575.98px) {
    #main-content h2:not(.lv-tile h2) {
        font-size: 26px;
    }
}

/* ---------- Inner page hero: drifting colour, panning dot grid, glows, rotating ring, light sweep ---------- */

.lv-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 96px 0 84px;
    background: linear-gradient(120deg, #1f3a0c 0%, #2c4f12 30%, #3a6418 50%, #2c4f12 70%, #1f3a0c 100%);
    background-size: 260% 260%;
    color: var(--ui-cream);
    text-align: center;
    animation: lvBannerDrift 16s ease-in-out infinite;
}

.lv-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(rgba(255, 250, 234, 0.22) 1.2px, transparent 1.7px) 0 0 / 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
    animation: lvBannerDots 6s linear infinite;
}

.lv-banner::after {
    content: "";
    position: absolute;
    inset: -40%;
    z-index: -2;
    background:
        radial-gradient(closest-side at 22% 38%, rgba(255, 204, 41, 0.22), transparent),
        radial-gradient(closest-side at 78% 62%, rgba(132, 203, 51, 0.28), transparent);
    animation: lvBannerGlow 18s ease-in-out infinite;
    pointer-events: none;
}

.lv-banner > .container {
    position: relative;
}

.lv-banner > .container::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -60px;
    z-index: -1;
    width: 260px;
    height: 260px;
    border: 2px dashed rgba(255, 204, 41, 0.55);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: lvBannerSpin 40s linear infinite;
    pointer-events: none;
}

.lv-banner > .container::after {
    content: "";
    position: absolute;
    top: -200px;
    bottom: -200px;
    left: 0;
    z-index: -1;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255, 250, 234, 0.08), transparent);
    animation: lvBannerSweep 9s ease-in-out infinite;
    pointer-events: none;
}

.lv-banner__title {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 20px;
    color: var(--ui-cream);
    font-size: clamp(34px, 1.4rem + 2.6vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: lvBannerRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lv-banner__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 84px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--ui-gold), var(--ui-green));
    transform: translateX(-50%);
    animation: lvBannerLine 0.9s 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes lvBannerDrift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes lvBannerDots {
    from { background-position: 0 0; }
    to { background-position: 52px 52px; }
}

@keyframes lvBannerGlow {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(6%, -10%, 0) scale(1.08); }
    66% { transform: translate3d(-5%, 8%, 0) scale(0.96); }
}

@keyframes lvBannerSpin {
    to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes lvBannerSweep {
    0%, 55% { transform: translateX(-120%) skewX(-18deg); }
    100% { transform: translateX(320%) skewX(-18deg); }
}

@keyframes lvBannerRise {
    from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
    to { opacity: 1; transform: none; filter: none; }
}

@keyframes lvBannerLine {
    from { width: 0; }
    to { width: 84px; }
}

@media (max-width: 767.98px) {
    .lv-banner {
        padding: 64px 0 56px;
    }

    .lv-banner > .container::before {
        right: -110px;
        width: 200px;
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lv-banner,
    .lv-banner::before,
    .lv-banner::after,
    .lv-banner > .container::before,
    .lv-banner > .container::after,
    .lv-banner__title,
    .lv-banner__title::after {
        animation: none;
    }
}

/* ---------- Sections ---------- */

.lv-section {
    padding: 60px 0;
}

.lv-section--cream {
    background: var(--ui-cream);
}

.lv-section--white {
    background: var(--ui-white);
}

.lv-section--dark {
    background: var(--ui-grad);
    color: var(--ui-cream);
}

.lv-section--dark h3 {
    color: var(--ui-cream);
}

.lv-section--dark p {
    color: rgba(255, 250, 234, 0.86);
}

@media (max-width: 767.98px) {
    .lv-section {
        padding: 48px 0;
    }
}

.lv-head {
    max-width: 860px;
    margin: 0 auto 32px;
    text-align: center;
}

.lv-head > :last-child {
    margin-bottom: 0;
}

.lv-prose {
    max-width: 900px;
}

.lv-prose--center {
    margin-inline: auto;
}

.lv-prose h2,
.lv-prose h3 {
    margin-top: 28px;
}

.lv-prose > :first-child {
    margin-top: 0;
}

.lv-section:not(.lv-section--dark) .lv-prose p,
.lv-split__text p {
    color: var(--ui-text);
}

.lv-cta {
    text-align: center;
}

.lv-cta p {
    margin: 0 0 24px;
}

/* framed photo in a text + image row */
.lv-media {
    overflow: hidden;
    border-radius: var(--ui-radius);
    box-shadow: var(--ui-shadow);
}

.lv-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Bullet list cards (Life @ Sangamam pages) ---------- */

.lv-list {
    max-width: 900px;
}

.lv-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-sm);
    background: var(--ui-white);
    box-shadow: var(--ui-shadow-sm);
    color: var(--ui-ink);
    font-size: 17px;
    line-height: 1.55;
}

.lv-list li i {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
    height: 40px;
    border-radius: 12px;
    background: var(--ui-grad);
    color: var(--ui-gold);
    font-size: 16px;
}

.lv-list li span {
    padding-top: 8px;
}

@media (max-width: 767.98px) {
    .lv-list li {
        padding: 14px 16px;
        font-size: 15px;
    }
}

/* ---------- Icon tiles (amenities, master plan) ---------- */

.lv-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 26px 18px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: var(--ui-white);
    box-shadow: var(--ui-shadow-sm);
    text-align: center;
}

.lv-tile img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.lv-tile h2,
.lv-tile h3,
#main-content .lv-tile h2 {
    margin: 0;
    color: var(--ui-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .lv-tile {
        padding: 20px 12px;
    }

    .lv-tile img {
        width: 52px;
        height: 52px;
    }

    .lv-tile h2,
    .lv-tile h3,
    #main-content .lv-tile h2 {
        font-size: 15px;
    }
}

/* ---------- Photo gallery (Bootstrap .ratio boxes) ---------- */

.lv-gallery a {
    display: block;
    overflow: hidden;
    border-radius: var(--ui-radius-sm);
    background: #f6f2e1;
    box-shadow: var(--ui-shadow-sm);
}

.lv-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ui-ease);
}

.lv-gallery a:hover img {
    transform: scale(1.05);
}

/* ---------- Build process steps ---------- */

.lv-step {
    padding: 24px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: var(--ui-white);
    box-shadow: var(--ui-shadow-sm);
}

.lv-step h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.lv-step p {
    margin: 0 0 10px;
    color: var(--ui-text);
}

.lv-step p:last-child {
    margin-bottom: 0;
}

/* ---------- Contact page info cards ---------- */

.lvc-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 30px 28px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: var(--ui-white);
    box-shadow: var(--ui-shadow-sm);
    transition: transform 0.35s var(--ui-ease), box-shadow 0.35s var(--ui-ease), border-color 0.35s;
}

.lvc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ui-gold), var(--ui-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ui-ease);
}

.lvc-card:hover {
    border-color: transparent;
    box-shadow: var(--ui-shadow);
    transform: translateY(-6px);
}

.lvc-card:hover::before {
    transform: scaleX(1);
}

.lvc-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: var(--ui-grad);
    color: var(--ui-gold);
    font-size: 20px;
    box-shadow: 0 14px 26px -14px rgba(23, 40, 10, 0.75);
}

.lvc-label {
    margin: 0 0 4px;
    font-size: 19px;
    line-height: 1.3;
}

.lvc-card p {
    margin: 0;
    color: var(--ui-text);
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.lvc-card p strong {
    color: var(--ui-ink);
}

.lvc-card a {
    color: var(--ui-text);
}

.lvc-card a:hover {
    color: var(--ui-forest);
}

.lv-social-links {
    margin-top: 6px;
}

.lv-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ui-grad);
    transition: transform 0.25s var(--ui-ease), color 0.25s;
}

.lvc-card .lv-social-links a {
    color: var(--ui-gold);
}

.lvc-card .lv-social-links a:hover {
    color: var(--ui-cream);
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .lvc-card {
        padding: 22px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lvc-card,
    .lvc-card::before {
        transition: none;
    }

    .lvc-card:hover {
        transform: none;
    }
}

/* ---------- Enquiry form (include/enquiry-form.php) + map ---------- */

.lv-form {
    position: relative;
    overflow: hidden;
    gap: 16px;
    align-content: start;
    padding: 36px 34px 32px;
    border: 1px solid var(--ui-line);
    border-radius: 28px;
    background: var(--ui-white);
    box-shadow: var(--ui-shadow);
}

.lv-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--ui-gold), var(--ui-green));
}

.lv-form .form-label {
    margin: 0 0 7px;
    color: var(--ui-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

/* the icon reads as part of the field: one rounded box, no divider */
.lv-form .input-group-text {
    min-width: 48px;
    justify-content: center;
    border: 1px solid var(--ui-line);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    background: var(--ui-paper);
    color: var(--ui-forest);
    font-size: 15px;
    opacity: 1;
    transition: color 0.25s, background-color 0.25s, border-color 0.25s;
}

.lv-form .form-control,
.lv-form .form-select {
    min-height: 54px;
    padding-left: 4px;
    border: 1px solid var(--ui-line);
    border-left: 0;
    border-radius: 0 14px 14px 0 !important;
    background-color: var(--ui-paper);
    color: var(--ui-ink);
    font-size: 16px;
    transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}

.lv-form .form-control::placeholder {
    color: #3d5c18;
}

.lv-form .form-control:focus,
.lv-form .form-select:focus {
    border-color: var(--ui-gold-2);
    background-color: var(--ui-white);
    box-shadow: none;
}

.lv-form .input-group:focus-within .input-group-text {
    border-color: var(--ui-gold-2);
    background: var(--ui-white);
    color: var(--ui-gold-2);
}

.lv-form .input-group:focus-within {
    border-radius: 14px;
    box-shadow: 0 0 0 3px rgba(255, 204, 41, 0.22);
}

.lv-form .is-invalid,
.lv-form .input-group:has(.is-invalid) .input-group-text {
    border-color: var(--bs-form-invalid-border-color);
}

.lv-form .input-group:has(.is-invalid) {
    border-radius: 14px;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.lv-form .input-group:has(.is-invalid) .input-group-text {
    color: var(--bs-form-invalid-border-color);
}

.lv-form .invalid-feedback {
    margin-top: 6px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}

.lv-form__submit {
    min-height: 56px;
    margin-top: 6px;
}

.lv-form__spinner {
    display: none;
}

.lv-form.is-sending .lv-form__spinner {
    display: inline-block;
}

.lv-form.is-sending .lv-form__submit {
    cursor: progress;
    opacity: 0.85;
}

.lv-form__status {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.lv-form__status.alert {
    border-radius: 14px;
    animation: lvStatusIn 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes lvStatusIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.lv-map {
    overflow: hidden;
    display: flex;
    min-height: 420px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    background: #f6f2e1;
    box-shadow: var(--ui-shadow);
}

.lv-map iframe {
    flex: 1;
    display: block;
    min-height: 420px;
}

@media (max-width: 767.98px) {
    .lv-map,
    .lv-map iframe {
        min-height: 320px;
    }
}

@media (max-width: 575.98px) {
    .lv-form {
        gap: 14px;
        padding: 28px 20px 24px;
        border-radius: 22px;
    }

    .lv-map {
        border-radius: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lv-form__status.alert {
        animation: none;
    }
}

/* ---------- Gallery lightbox (Bootstrap modal + carousel, built by site.js) ---------- */

.sh-lightbox {
    --bs-modal-bg: transparent;
    --bs-modal-border-width: 0;
    --bs-modal-box-shadow: none;
}

.sh-lightbox .modal-content {
    gap: 10px;
}

.sh-lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ui-cream);
    font-size: 15px;
    font-weight: 600;
}

.sh-lightbox .btn-close {
    margin-left: auto;
    opacity: 0.9;
}

.sh-lightbox .carousel-item img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 120px);
    border-radius: var(--ui-radius-sm);
    object-fit: contain;
}

.sh-lightbox--single .carousel-control-prev,
.sh-lightbox--single .carousel-control-next {
    display: none;
}

.modal-backdrop.show {
    opacity: 0.88;
}

/* ---------- Scroll reveal (site.js; html.ui-motion is set in <head> only when motion is allowed) ---------- */

html.ui-motion [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.8s var(--ui-ease), transform 0.8s var(--ui-ease);
}

html.ui-motion [data-reveal].is-revealed,
html.ui-motion-done [data-reveal] {
    opacity: 1;
    transform: none;
}
