/* KasyapDzines — Public Website Stylesheet
   Adapted from website_template/assets/css/style.css
   CSS custom-property palette is injected from layouts/web.blade.php via ThemePalette
--------------------------------------------------------------- */

/* === RESET & BASE === */
* {
    box-sizing: border-box
}

/* === TURBO PROGRESS BAR === */
.turbo-progress-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--brand, #8c5a34), var(--brand-2, #c89267));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(200, 146, 103, .14), transparent 30%),
        linear-gradient(180deg, #fff, var(--bg) 48%, #fff 100%);
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

button,
input,
select,
textarea {
    font: inherit
}

/* === LAYOUT === */
.container {
    width: min(1180px, calc(100vw - 32px));
    margin-inline: auto
}

.section {
    padding: 82px 0
}

.section-sm {
    padding: 56px 0
}

.section-header {
    max-width: 760px;
    margin-bottom: 32px
}

/* === TYPOGRAPHY TOKENS === */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(140, 90, 52, .08);
    color: var(--brand);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .02em
}

.kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand)
}

.title {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.1;
    margin: 14px 0 14px;
    font-weight: 800;
    letter-spacing: -.03em
}

.subtitle {
    font-size: 1.02rem;
    color: var(--muted);
    max-width: 70ch
}

/* === GRID === */
.grid {
    display: grid;
    gap: 24px
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

/* === CARD === */
.card {
    display: block;
    background: var(--card, #fff);
    border: 1px solid rgba(140, 90, 52, .09);
    border-radius: var(--radius, 22px);
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08));
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.card-body {
    padding: 22px
}

/* === PACKAGE CARDS === */
.pkg-hero {
    padding: 52px 0 32px;
    background: radial-gradient(circle at left top, rgba(200, 146, 103, .18), transparent 26%), linear-gradient(180deg, #fff, #fbf6f1);
}

.pkg-hero-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading);
    margin: 12px 0 10px;
}

.pkg-hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.pkg-listing-section {
    padding: 48px 0 64px;
}

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.pkg-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    border: 2px solid rgba(0, 0, 0, .06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
    border-color: rgba(200, 146, 103, .3);
}

.pkg-card--featured {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(140, 90, 52, .15);
}

.pkg-card--featured:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 56px rgba(140, 90, 52, .2);
}

.pkg-card-ribbon {
    position: absolute;
    top: 24px;
    right: -36px;
    z-index: 3;
    background: var(--primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 6px 48px;
    transform: rotate(45deg);
    white-space: nowrap
}

.pkg-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pkg-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.pkg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.pkg-card:hover .pkg-card-img img {
    transform: scale(1.05);
}

.pkg-card-header {
    text-align: center;
    padding: 24px 24px 0;
}

.pkg-card-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(200, 146, 103, .14), rgba(200, 146, 103, .06));
    border: 1px solid rgba(200, 146, 103, .25);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3px;
}

.pkg-card-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 10px 0 4px;
    color: var(--heading);
}

.pkg-card-price {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 8px 0 0;
    line-height: 1;
}

.pkg-card-body {
    padding: 16px 24px 0;
    flex: 1;
}

.pkg-card-desc {
    font-size: .92rem;
    line-height: 1.65;
    color: var(--muted);
    text-align: center;
    margin: 0 0 12px;
}

.pkg-card-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.pkg-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 0;
    font-size: .88rem;
    color: var(--text);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.pkg-card-features li:last-child {
    border-bottom: none;
}

.pkg-card-features li svg {
    flex-shrink: 0;
    color: #16a34a;
    margin-top: 1px;
}

.pkg-card-footer {
    padding: 16px 24px 24px;
    text-align: center;
}

.pkg-card-cta {
    width: 100%;
    margin-top: 8px;
}

.pkg-collapsible {
    max-height: 160px;
    overflow: hidden;
    position: relative;
    transition: max-height .35s ease;
}

.pkg-collapsible.expanded {
    max-height: 600px;
}

.pkg-read-more {
    display: inline-block;
    background: none;
    border: none;
    color: var(--brand, #8c5a34);
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
}

.pkg-read-more:hover {
    text-decoration: underline;
}

/* === PACKAGE SLIDER === */
.pkg-slider {
    max-width: 900px;
}

.pkg-slider-main {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
}

.pkg-slide {
    display: none;
}

.pkg-slide.active {
    display: block;
    animation: pkgFadeIn .45s ease;
}

.pkg-slide img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

@keyframes pkgFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.pkg-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .45);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.pkg-slider-btn:hover {
    background: rgba(0, 0, 0, .7);
}

.pkg-slider-btn.prev {
    left: 12px;
}

.pkg-slider-btn.next {
    right: 12px;
}

.pkg-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.pkg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: background .2s;
}

.pkg-dot.active,
.pkg-dot:hover {
    background: #fff;
}

.pkg-slider-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pkg-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: .6;
    transition: opacity .2s, border-color .2s;
}

.pkg-thumb.active,
.pkg-thumb:hover {
    opacity: 1;
    border-color: var(--primary);
}

.pkg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === PACKAGE DETAIL PAGE === */
.pkg-detail-breadcrumb {
    padding: 18px 0 0;
    background: linear-gradient(180deg, #fbf6f1, #fff);
}

.pkg-detail-section {
    padding: 36px 0 48px;
}

.pkg-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.pkg-detail-gallery .pkg-slider {
    position: sticky;
    top: 90px;
}

.pkg-detail-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(200, 146, 103, .15), rgba(200, 146, 103, .08));
    border: 1px solid rgba(200, 146, 103, .3);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .3px;
    margin-bottom: 12px;
}

.pkg-detail-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--heading);
    margin: 0 0 8px;
    line-height: 1.2;
}

.pkg-detail-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(200, 146, 103, .2);
}

.pkg-detail-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 16px;
}

.pkg-detail-body {
    font-size: .98rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text);
}

.pkg-detail-features h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--heading);
}

.pkg-detail-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkg-detail-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: .95rem;
    color: var(--text);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.pkg-detail-features li:last-child {
    border-bottom: none;
}

.pkg-detail-features li svg {
    flex-shrink: 0;
    color: #16a34a;
    margin-top: 2px;
}

@media (max-width: 900px) {
    .pkg-detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pkg-detail-gallery .pkg-slider {
        position: static;
    }

    .pkg-detail-title {
        font-size: 1.6rem;
    }

    .pkg-detail-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pkg-detail-section {
        padding: 24px 0 32px;
    }

    .pkg-detail-title {
        font-size: 1.35rem;
    }

    .pkg-detail-price {
        font-size: 1.3rem;
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: .25s ease;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2, #c89267));
    color: #fff;
    box-shadow: 0 14px 24px rgba(140, 90, 52, .22)
}

.btn-secondary {
    background: #fff;
    color: var(--text, #1f1c19);
    border: 1px solid var(--line)
}

.btn-ghost {
    background: transparent;
    color: var(--brand)
}

/* === TOPBAR === */
.topbar {
    background: var(--dark, #151311);
    color: #fff;
    font-size: .92rem
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap
}

/* === SITE HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(16px);
    background: var(--dark, #151311);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    flex-shrink: 0;
    margin-right: auto
}

.header-actions {
    margin-left: auto
}

.brand-logo {
    height: 72px;
    width: auto;
    object-fit: contain
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2, #c89267));
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(140, 90, 52, .2)
}

.brand-copy span {
    display: block
}

.brand-copy span {
    color: #fff
}

.brand-copy small {
    display: block;
    color: rgba(255, 255, 255, .5);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px
}

.nav a {
    font-weight: 600;
    color: rgba(255, 255, 255, .75)
}

.nav a.active,
.nav a:hover {
    color: #fff
}

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

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

/* Header User Dropdown */
.header-user-dropdown {
    position: relative
}

.header-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: .88rem;
    transition: background .2s
}

.header-user-btn:hover {
    background: rgba(255, 255, 255, .18)
}

.header-user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand, #8c5a34), var(--brand-2, #c89267));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .78rem;
    font-weight: 700
}

.header-user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
    padding: 6px;
    z-index: 100
}

.header-user-menu.open {
    display: block
}

.header-user-menu a,
.header-user-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text, #1f1c19);
    background: none;
    border: none;
    cursor: pointer;
    transition: background .15s
}

.header-user-menu a:hover,
.header-user-menu button:hover {
    background: var(--brand-3, #f0e2d4)
}

.header-user-menu i {
    width: 18px;
    text-align: center;
    color: var(--brand, #8c5a34)
}

/* === MOBILE PANEL === */
.mobile-panel {
    display: none;
    position: fixed;
    inset: 76px 16px auto 16px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08));
    padding: 18px;
    z-index: 59
}

.mobile-panel nav {
    display: grid;
    gap: 8px
}

.mobile-panel a {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    color: #4f483f
}

.mobile-panel a:hover,
.mobile-panel a.active {
    background: var(--brand-3, #f0e2d4);
    color: var(--brand)
}

/* === HERO === */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(50px, 10vw, 110px) 0 72px
}

.hero::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 146, 103, .22), transparent 65%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 34px;
    align-items: center
}

.hero-copy .title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    max-width: 16ch
}

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

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px
}

.fact {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px 18px 16px;
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08))
}

.fact strong {
    font-size: 1.6rem;
    display: block
}

.hero-visual {
    min-height: 540px;
    border-radius: 32px;
    padding: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .08)),
        linear-gradient(135deg, #d6b698, #8f6441);
    box-shadow: 0 20px 50px rgba(86, 53, 26, .22);
    position: relative;
    overflow: hidden
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .28)
}

.hero-stack {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    height: 100%
}

.visual-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column
}

.visual-card>img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: cover;
    border-radius: 22px
}

.visual-card.dark {
    background: rgba(29, 22, 17, .88);
    color: #fff
}

.visual-image {
    min-height: 240px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .03)),
        url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80') center/cover
}

.visual-image.alt {
    min-height: 170px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .03)),
        url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1200&q=80') center/cover
}

/* === BADGES === */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f5eadf;
    font-weight: 700;
    color: var(--brand)
}

/* === MARQUEE === */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: rgba(255, 255, 255, .7)
}

.marquee-track {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    width: max-content;
    animation: marquee 28s linear infinite
}

.marquee-chip {
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 700;
    color: #5a5148;
    text-decoration: none;
    transition: background .2s, color .2s
}

a.marquee-chip:hover {
    background: var(--brand);
    color: #fff
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* === SPLIT CARD === */
.split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden
}

.media-pane {
    min-height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e8ddd3
}

.content-pane {
    padding: 38px
}

.content-pane ul {
    padding-left: 18px;
    color: var(--muted)
}

/* === TRENDING CAROUSEL === */
.trending-carousel {
    position: relative;
    padding: 0 44px
}

.trending-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0 16px
}

.trending-track::-webkit-scrollbar {
    display: none
}

.trending-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    border-radius: var(--radius, 18px);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease
}

.trending-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(27, 19, 11, .14)
}

.trending-thumb {
    height: 180px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .08)),
        var(--thumb, linear-gradient(135deg, #e8d6c3, #b88a60));
    background-size: cover;
    background-position: center
}

.trending-info {
    padding: 14px 16px
}

.trending-info h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.trending-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--paper, #fff);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    cursor: pointer;
    font-size: 1rem;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: background .2s, box-shadow .2s
}

.trending-btn:hover {
    background: var(--brand, #8c5a34);
    color: #fff;
    box-shadow: 0 6px 18px rgba(140, 90, 52, .25)
}

.trending-btn.prev {
    left: 0
}

.trending-btn.next {
    right: 0
}

.trending-carousel.trending-grid {
    padding: 0
}

.trending-grid .trending-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    overflow: visible
}

.trending-grid .trending-card {
    flex: none
}

.trending-grid .trending-thumb {
    height: 240px
}

.trending-grid .trending-info {
    padding: 18px 20px
}

.trending-grid .trending-info h4 {
    font-size: 1.15rem
}

@media(max-width:768px) {
    .trending-carousel {
        padding: 0
    }

    .trending-btn {
        display: none
    }

    .trending-card {
        flex: 0 0 200px
    }

    .trending-grid .trending-track {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr))
    }

    .trending-grid .trending-thumb {
        height: 200px
    }
}

/* === PRODUCTS === */
.product-grid .card {
    transition: transform .25s ease, box-shadow .25s ease
}

.product-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(27, 19, 11, .12)
}

.product-thumb {
    aspect-ratio: 4/3;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .08)),
        var(--thumb, linear-gradient(135deg, #e8d6c3, #b88a60));
    background-size: cover;
    background-position: center
}

.product-thumb.wall {
    --thumb: url('https://images.unsplash.com/photo-1616046229478-9901c5536a45?auto=format&fit=crop&w=1200&q=80') center/cover
}

.product-thumb.floor {
    --thumb: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80') center/cover
}

.product-thumb.stone {
    --thumb: url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80') center/cover
}

.product-thumb.roof {
    --thumb: url('https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=1200&q=80') center/cover
}

.product-thumb.pvc {
    --thumb: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1200&q=80') center/cover
}

/* === PROJECTS === */
.project-card {
    position: relative;
    min-height: 400px
}

.project-media {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, .05), rgba(10, 10, 10, .55)),
        url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=80') center/cover
}

.project-card.residential .project-media {
    background: linear-gradient(180deg, rgba(10, 10, 10, .05), rgba(10, 10, 10, .55)), url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1200&q=80') center/cover
}

.project-card.commercial .project-media {
    background: linear-gradient(180deg, rgba(10, 10, 10, .05), rgba(10, 10, 10, .55)), url('https://images.unsplash.com/photo-1497366412874-3415097a27e7?auto=format&fit=crop&w=1200&q=80') center/cover
}

.project-card.office .project-media {
    background: linear-gradient(180deg, rgba(10, 10, 10, .05), rgba(10, 10, 10, .55)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80') center/cover
}

.project-overlay {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.project-index {
    font-size: .88rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .85
}

.project-overlay h3 {
    margin: 8px 0 8px;
    font-size: 2rem
}

/* === VIDEO CARDS === */
.video-card .video-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .4)),
        url('https://images.unsplash.com/photo-1497366412874-3415097a27e7?auto=format&fit=crop&w=1200&q=80') center/cover;
    position: relative;
    border-radius: 22px 22px 0 0
}

.play {
    position: absolute;
    inset: auto auto 18px 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--brand);
    font-weight: 900;
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08))
}

/* === LOGO MARQUEE === */
.logo-marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marqueeScroll var(--marquee-duration, 30s) linear infinite
}

.marquee-track:hover {
    animation-play-state: paused
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.marquee-track .logo-item {
    flex: 0 0 auto;
    width: 150px;
    min-height: 92px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    transition: transform .2s ease, box-shadow .2s ease
}

.marquee-track .logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(20, 16, 12, .12)
}

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2, #c89267));
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    display: grid;
    place-items: center;
    letter-spacing: .02em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1)
}

.logo-name {
    font-size: .78rem;
    font-weight: 700;
    color: #786d61;
    text-align: center;
    line-height: 1.2
}

/* === BLOG CARD === */
.blog-card p,
.muted {
    color: var(--muted)
}

/* === TESTIMONIALS === */
.testimonial {
    height: 100%
}

.testimonial p {
    color: var(--muted)
}

.testimonial footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c89267, #8c5a34);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800
}

/* === ACCORDION === */
.accordion {
    display: grid;
    gap: 14px
}

.acc-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden
}

.acc-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-weight: 800
}

.acc-icon {
    font-size: 1.3em;
    line-height: 1;
    transition: transform .3s ease;
    flex-shrink: 0
}

.acc-item.active .acc-icon {
    transform: rotate(45deg)
}

.acc-content {
    padding: 0 20px 18px;
    color: var(--muted);
    display: none
}

.acc-item.active .acc-content {
    display: block
}

/* === FORMS === */
.form-shell {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
    align-items: start
}

.contact-card {
    padding: 32px;
    background: linear-gradient(180deg, #1d1916, #2e241d);
    color: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08))
}

.contact-card p {
    color: rgba(255, 255, 255, .7)
}

.opp-perks {
    display: grid;
    gap: 14px;
    margin-top: 28px
}

.opp-perk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px
}

.opp-perk strong {
    display: block;
    font-size: .95rem;
    margin-bottom: 2px
}

.opp-perk p {
    font-size: .85rem;
    margin: 0;
    color: rgba(255, 255, 255, .55)
}

.opp-perk-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(200, 146, 103, .25);
    color: #c89267;
    font-size: .85rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 2px
}

.form-card {
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08));
    display: flex;
    flex-direction: column
}

.form-card .card-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--brand) transparent
}

.form-card .card-body::-webkit-scrollbar {
    width: 6px
}

.form-card .card-body::-webkit-scrollbar-track {
    background: transparent
}

.form-card .card-body::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 6px
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 22px
}

.contact-list div {
    padding: 14px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px
}

.form-section {
    border: none;
    padding: 0;
    margin: 0 0 28px 0
}

.form-section:last-child {
    margin-bottom: 0
}

.form-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--line);
    letter-spacing: .02em
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

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

.field label {
    font-size: .88rem;
    font-weight: 700;
    color: #3d3630
}

.req {
    color: #b91c1c
}

.field input,
.field select,
.field textarea {
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    background: #fafaf8;
    outline: none;
    font-size: .95rem;
    font-family: inherit;
    color: #1d1916;
    transition: border-color .2s, box-shadow .2s, background .2s
}

.field input::placeholder,
.field textarea::placeholder {
    color: #b5aa9e
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237a6e62' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(140, 90, 52, .1)
}

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

.field-error {
    font-size: .82rem;
    color: #b91c1c;
    font-weight: 600
}

.file-upload-area {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 2px dashed var(--line);
    border-radius: 14px;
    padding: 24px 16px;
    background: #fafaf8;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s
}

.file-upload-area:hover {
    border-color: var(--brand);
    background: #f5f0eb
}

.file-upload-area input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

.file-upload-icon {
    font-size: 1.6rem;
    line-height: 1
}

.file-upload-label {
    font-size: .95rem;
    font-weight: 600;
    color: var(--brand)
}

.file-upload-text {
    display: block;
    font-size: .8rem;
    color: #b5aa9e
}

/* === FILE PREVIEW === */
.file-preview-zone {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px
}

.file-preview-zone:empty {
    display: none
}

.file-preview-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--line);
    background: #faf9f7;
    flex-shrink: 0
}

.file-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.file-preview-thumb .preview-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 4px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .6rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.file-preview-doc {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #faf9f7;
    font-size: .78rem;
    color: var(--text)
}

.file-preview-doc svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: .5
}

@media (max-width: 600px) {
    .file-preview-thumb {
        width: 56px;
        height: 56px;
        border-radius: 8px
    }
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 16px
}

/* === OPPORTUNITY TIMELINE === */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08))
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--brand-3, #f0e2d4);
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 12px
}

/* === STATS === */
.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
}

.stat {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow, 0 12px 40px rgba(20, 16, 12, .08))
}

.stat strong {
    display: block;
    font-size: 2rem
}

/* === DIRECTOR CARD === */
.director-card .media {
    aspect-ratio: 4/4.4;
    background: #f0ebe5;
    background-position: top center;
    background-size: cover;
    border-radius: 18px 18px 0 0;
}

.director-card.alt .media {
    background-position: top center;
}

/* === FOOTER === */
.footer {
    background: #17130f;
    color: #e8dfd4
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .8fr .8fr 1fr;
    gap: 26px;
    padding: 52px 0
}

.footer a {
    color: #d2c5b7
}

.footer a:hover {
    color: #fff
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #baa993
}

/* === BREADCRUMB === */
.breadcrumb {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 700
}

/* === PAGE HERO === */
.page-hero {
    padding: 68px 0 42px;
    background: radial-gradient(circle at left top, rgba(200, 146, 103, .18), transparent 26%), linear-gradient(180deg, #fff, #fbf6f1)
}

.page-hero .title {
    max-width: unset
}

/* === NOTICES / ALERTS === */
.notice {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff7ef;
    border: 1px solid #f2dac3;
    color: #7b5738
}

.notice-success {
    background: #dcfce7;
    border-color: #bbf7d0;
    color: #166534
}

.notice-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b
}

.hidden {
    display: none
}

/* === PAGINATION  === */
nav[aria-label="Pagination"] span,
nav[aria-label="Pagination"] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .88rem;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text)
}

nav[aria-label="Pagination"] span[aria-current] {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand)
}

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px
}

.gallery-grid img {
    border-radius: 16px;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%
}

/* === TAGS === */
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand-3, #f0e2d4);
    color: var(--brand);
    font-size: .82rem;
    font-weight: 700
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
    z-index: 100;
    transition: box-shadow .3s;
    animation: fabFadeIn .6s ease .7s both, whatsappPulse 2s ease-in-out 1.5s infinite
}

.whatsapp-float:hover {
    animation-play-state: paused;
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45)
}

@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1)
    }

    10% {
        transform: scale(1.15)
    }

    20% {
        transform: scale(1)
    }

    30% {
        transform: scale(1.1)
    }

    40% {
        transform: scale(1)
    }
}

/* === CHATBOT WIDGET === */
.chatbot-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-2, #c89267));
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(140, 90, 52, .3);
    z-index: 100;
    border: none;
    font-size: 1.5rem;
    transition: transform .3s;
    animation: fabFadeIn .6s ease .5s both
}

@keyframes fabFadeIn {
    from {
        opacity: 0;
        transform: scale(.5)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

.chatbot-fab:hover {
    transform: scale(1.08)
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 380px;
    max-height: 520px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .16);
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    visibility: hidden;
    pointer-events: none
}

.chatbot-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2, #c89267));
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700
}

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 360px
}

.chatbot-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: .9rem;
    line-height: 1.5
}

.chatbot-msg.bot {
    background: var(--brand-3, #f0e2d4);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px
}

.chatbot-msg.user {
    background: var(--brand);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px
}

.chatbot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 12px
}

.chatbot-opt {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--brand);
    color: var(--brand);
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    background: #fff;
    transition: .2s
}

.chatbot-opt:hover {
    background: var(--brand);
    color: #fff
}

.chatbot-input {
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 8px
}

.chatbot-input input {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 14px;
    outline: none
}

.chatbot-input button {
    padding: 10px 16px;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    border: none;
    font-weight: 700;
    cursor: pointer
}

.chatbot-lead-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px
}

.chatbot-lead-form input {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    outline: none;
    font-size: .88rem
}

.chatbot-lead-form input {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    outline: none;
    font-size: .88rem
}

/* === AUTH SPLIT-SCREEN === */
.auth-body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text, #2a1f14);
    background: var(--bg, #faf8f5)
}

.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh
}

/* --- Left visual panel --- */
.auth-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(140, 90, 52, .92), rgba(200, 146, 103, .88)),
        url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1200&q=80') center/cover no-repeat;
    overflow: hidden
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .06) 0%, transparent 40%)
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 40px;
    max-width: 440px
}

.auth-visual-logo {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .25);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 24px;
    letter-spacing: 1px
}

.auth-visual-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -.5px
}

.auth-visual-tagline {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 40px
}

.auth-visual-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .9);
    font-size: .95rem;
    font-weight: 600
}

.auth-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0
}

/* --- Right form side --- */
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: var(--bg, #faf8f5)
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px
}

.auth-form-header {
    margin-bottom: 32px
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text, #2a1f14);
    margin: 0 0 8px;
    letter-spacing: -.3px
}

.auth-form-subtitle {
    color: var(--muted, #8a7a6d);
    font-size: .95rem;
    margin: 0
}

/* Alert */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: .9rem;
    line-height: 1.5
}

.auth-alert p {
    margin: 0
}

.auth-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b
}

.auth-alert-error i {
    color: #dc2626;
    margin-top: 2px
}

.auth-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534
}

.auth-alert-success i {
    color: #16a34a;
    margin-top: 2px
}

/* Icon circle (forgot/reset pages) */
.auth-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand, #8c5a34), var(--brand-2, #c89267));
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px
}

/* Forgot password link */
.auth-forgot-link {
    font-size: .88rem;
    color: var(--brand, #8c5a34);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s
}

.auth-forgot-link:hover {
    color: var(--brand-2, #c89267)
}

/* Form fields */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.auth-field label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text, #2a1f14);
    margin-bottom: 8px
}

.auth-field label i {
    color: var(--brand, #8c5a34);
    width: 16px;
    text-align: center;
    margin-right: 4px;
    font-size: .82rem
}

.auth-field input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--line, #ede4db);
    border-radius: 14px;
    font-size: .95rem;
    font-family: inherit;
    background: #fafaf8;
    color: var(--text, #2a1f14);
    outline: none;
    transition: border-color .25s, box-shadow .25s
}

.auth-field input::placeholder {
    color: #b5aa9e
}

.auth-field input:focus {
    border-color: var(--brand, #8c5a34);
    box-shadow: 0 0 0 4px rgba(140, 90, 52, .1);
    background: #fff
}

/* Password toggle */
.auth-password-wrap {
    position: relative
}

.auth-password-wrap input {
    padding-right: 48px
}

.auth-toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted, #8a7a6d);
    cursor: pointer;
    padding: 4px;
    font-size: 1rem
}

.auth-toggle-pw:hover {
    color: var(--brand, #8c5a34)
}

/* Checkbox */
.auth-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: var(--text, #2a1f14);
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 30px
}

.auth-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0
}

.auth-checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--line, #ede4db);
    background: #fafaf8;
    transition: all .2s
}

.auth-checkbox input:checked~.auth-checkmark {
    background: var(--brand, #8c5a34);
    border-color: var(--brand, #8c5a34)
}

.auth-checkbox input:checked~.auth-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

/* Button */
.auth-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand, #8c5a34), var(--brand-2, #c89267));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(140, 90, 52, .25)
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(140, 90, 52, .35)
}

.auth-btn:active {
    transform: translateY(0)
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line, #ede4db)
}

.auth-back-link {
    color: var(--brand, #8c5a34);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .2s
}

.auth-back-link:hover {
    gap: 12px
}

/* === RESPONSIVE === */

/* -- 1100px: tablet-landscape / small laptop -- */
@media(max-width:1400px) {
    .nav {
        gap: 16px;
        font-size: .9rem
    }

    .header-inner {
        gap: 14px
    }

    .brand-logo {
        height: 56px
    }

    .header-actions .btn-primary,
    .header-actions .btn-secondary {
        padding: 8px 14px;
        font-size: .85rem
    }
}

@media(max-width:1100px) {

    .nav,
    .header-actions .btn-secondary,
    .header-actions .btn-primary,
    .header-user-btn span:not(.header-user-avatar) {
        display: none
    }

    .menu-toggle {
        display: inline-flex
    }

    .mobile-panel.show {
        display: block
    }

    .hero-grid,
    .form-shell,
    .split-card {
        grid-template-columns: 1fr
    }

    .media-pane {
        min-height: 340px
    }

    .hero-copy .title {
        font-size: clamp(2rem, 4vw, 2.8rem);
        max-width: none
    }

    .hero-visual {
        min-height: unset
    }

    .hero-stack {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .detail-grid {
        grid-template-columns: 1fr
    }

    .pkg-card-price {
        font-size: 1.7rem
    }
}

/* -- 900px: landscape phones / narrow tablets -- */
@media(max-width:900px) {
    .container {
        width: min(1180px, calc(100vw - 40px))
    }

    .section {
        padding: 56px 0
    }

    .section-sm {
        padding: 40px 0
    }

    .hero {
        padding: clamp(40px, 8vw, 80px) 0 56px
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .grid-4,
    .timeline,
    .stats,
    .form-grid {
        grid-template-columns: 1fr
    }

    .hero-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .marquee-track .logo-item {
        width: 130px
    }

    .auth-shell {
        grid-template-columns: 1fr
    }

    .auth-visual {
        min-height: 320px
    }

    .auth-visual-features {
        flex-direction: row;
        gap: 20px
    }

    .auth-visual-tagline {
        margin-bottom: 24px
    }

    .auth-form-side {
        padding: 40px 24px
    }

    .content-pane {
        padding: 28px
    }

    .contact-card {
        padding: 24px
    }

    .form-card .card-body {
        padding: 24px
    }

    .project-overlay h3 {
        font-size: 1.5rem
    }

    .chatbot-window {
        width: 340px
    }

    .page-hero {
        padding: 48px 0 32px
    }

    .pkg-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .pkg-card-img {
        aspect-ratio: 16/8
    }
}

/* -- 768px: portrait tablets -- */
@media(max-width:768px) {

    .grid-2 {
        grid-template-columns: 1fr
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .hero-copy .title {
        font-size: clamp(1.8rem, 5vw, 2.4rem)
    }

    .hero-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .project-card {
        min-height: 300px
    }

    .auth-visual {
        display: none
    }

    .auth-form-side {
        padding: 32px 20px;
        min-height: 100vh
    }

    .hero-visual {
        padding: 18px;
        border-radius: 24px
    }

    .badge-row {
        gap: 8px
    }

    .visual-image {
        min-height: 180px
    }

    .visual-image.alt {
        min-height: 120px
    }

    .media-pane {
        min-height: 300px
    }

    .pkg-grid {
        grid-template-columns: 1fr
    }

    .pkg-card-price {
        font-size: 1.5rem;
        margin: 8px 0 12px
    }

    .pkg-collapsible {
        max-height: 140px
    }

    .pkg-hero-title {
        font-size: 1.8rem
    }
}

/* -- 600px: large phones / phablets -- */
@media(max-width:600px) {
    .container {
        width: calc(100vw - 32px)
    }

    .section {
        padding: 44px 0
    }

    .section-sm {
        padding: 32px 0
    }

    .hero {
        padding: clamp(32px, 6vw, 60px) 0 44px
    }

    .hero-copy .title {
        font-size: clamp(1.5rem, 6vw, 2rem)
    }

    .media-pane {
        min-height: 260px
    }

    .hero-facts {
        grid-template-columns: 1fr
    }

    .fact strong {
        font-size: 1.3rem
    }

    .timeline,
    .stats {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .chatbot-window {
        right: 12px;
        left: 12px;
        width: auto
    }

    .chatbot-fab {
        bottom: 20px;
        right: 16px;
        width: 54px;
        height: 54px;
        font-size: 1.3rem
    }

    .whatsapp-float {
        bottom: 82px;
        right: 16px;
        width: 48px;
        height: 48px
    }

    .mobile-panel {
        inset: 68px 12px auto 12px
    }

    .header-inner {
        padding: 12px 0
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px
    }

    .brand {
        gap: 10px
    }

    .brand-logo {
        height: 56px
    }

    .brand-copy span {
        font-size: .92rem
    }

    .brand-copy small {
        font-size: .7rem
    }

    .project-overlay h3 {
        font-size: 1.25rem
    }

    .project-card {
        min-height: 260px
    }

    .content-pane,
    .card-body,
    .contact-card {
        padding: 20px
    }

    .form-card .card-body {
        padding: 20px
    }

    .field input,
    .field select,
    .field textarea {
        font-size: max(.95rem, 16px);
        padding: 12px 14px
    }

    .btn {
        padding: 12px 18px;
        font-size: .92rem
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: .98rem
    }

    nav[aria-label="Pagination"] {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center
    }

    nav[aria-label="Pagination"] span,
    nav[aria-label="Pagination"] a {
        min-width: 34px;
        height: 34px;
        font-size: .82rem
    }

    .page-hero {
        padding: 36px 0 24px
    }

    .page-hero .title {
        font-size: clamp(1.6rem, 7vw, 2.4rem)
    }

    .acc-trigger {
        padding: 14px 16px;
        font-size: .92rem
    }

    .acc-content {
        padding: 0 16px 14px;
        font-size: .9rem
    }
}

/* -- 480px: small phones -- */
@media(max-width:480px) {
    .title {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem)
    }

    .subtitle {
        font-size: .92rem
    }

    .brand-logo {
        height: 46px
    }

    .kicker {
        font-size: .82rem;
        padding: 6px 12px
    }

    .hero-visual {
        padding: 14px;
        min-height: unset
    }

    .hero-stack {
        gap: 12px
    }

    .visual-card {
        padding: 14px
    }

    .visual-image {
        min-height: 140px
    }

    .visual-image.alt {
        min-height: 100px
    }

    .footer-grid {
        gap: 32px;
        padding: 36px 0
    }

    .section-header {
        margin-bottom: 20px
    }

    .hero-actions {
        flex-direction: column
    }

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

    .opp-perk {
        padding: 12px
    }

    .step {
        padding: 16px
    }

    .stat {
        padding: 18px
    }

    .testimonial footer {
        gap: 10px
    }

    .avatar {
        width: 40px;
        height: 40px
    }

    .product-thumb {
        aspect-ratio: 4/2.5
    }

    .pkg-card-name {
        font-size: 1.15rem
    }

    .pkg-card-price {
        font-size: 1.35rem
    }

    .pkg-hero-title {
        font-size: 1.5rem
    }
}

/* === DETAIL PAGE GRIDS (product/project show) === */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start
}

.detail-grid-wide {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 32px;
    align-items: start
}

@media(max-width:900px) {

    .detail-grid,
    .detail-grid-wide {
        grid-template-columns: 1fr;
        gap: 24px
    }
}

/* === LANDING PAGES === */
.lp-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 139, 90, 43), .06) 0%, transparent 60%)
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.lp-hero-copy .title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 0 0 16px
}

.lp-hero-copy .subtitle {
    font-size: 1.1rem;
    color: #555;
    margin: 0 0 20px;
    line-height: 1.6
}

.lp-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px
}

.lp-highlights li {
    font-size: .95rem;
    font-weight: 500
}

.lp-hero-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12)
}

.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
}

.lp-split-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08)
}

.lp-split-copy h2 {
    font-size: 1.8rem;
    margin: 0 0 16px
}

.lp-prose {
    font-size: 1rem;
    line-height: 1.7;
    color: #444
}

.lp-grid {
    display: grid;
    gap: 24px
}

.lp-grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr))
}

.lp-grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr))
}

.lp-benefit-card,
.lp-service-card {
    padding: 28px 24px;
    text-align: center;
    border-radius: 16px
}

.lp-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px
}

.lp-benefit-card p,
.lp-service-card p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.5
}

.lp-gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform .3s ease
}

.lp-gallery-item img:hover {
    transform: scale(1.03)
}

.lp-pricing-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 36px;
    border-radius: 20px
}

.lp-pricing-card h2 {
    margin: 0 0 16px
}

.lp-testimonial-card {
    padding: 32px 28px;
    border-radius: 16px
}

.lp-quote {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 12px;
    color: #333
}

.lp-author {
    font-weight: 600;
    color: var(--brand);
    font-size: .9rem
}

.lp-contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .1)
}

.lp-contact-card {
    text-align: left;
    padding: 48px 36px;
    border-radius: 0;
    background: var(--dark, #1a1a2e);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.lp-contact-card h2 {
    margin: 0 0 12px;
    color: #fff
}

.lp-contact-card p {
    color: rgba(255, 255, 255, .8);
    margin: 0 0 20px
}

.lp-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0
}

.lp-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem
}

.lp-contact-item a {
    color: rgba(255, 255, 255, .9)
}

.lp-contact-item a:hover {
    color: #fff;
    text-decoration: underline
}

.lp-contact-item i {
    color: var(--brand);
    font-size: 1.1rem
}

.lp-contact-form-wrap {
    background: #fff;
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.lp-contact-form-title {
    margin: 0 0 24px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading)
}

.lp-inline-field {
    margin-bottom: 16px
}

.lp-inline-field label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text)
}

.lp-inline-field input,
.lp-inline-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .95rem;
    transition: border-color .2s;
    background: #f9fafb
}

.lp-inline-field input:focus,
.lp-inline-field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb, 139, 90, 43), .12)
}

.lp-footer-tagline {
    padding: 32px 0
}

.lp-benefits {
    background: linear-gradient(135deg, rgba(var(--brand-rgb, 139, 90, 43), .04) 0%, transparent 100%)
}

.lp-services {
    background: rgba(0, 0, 0, .015)
}

@media(max-width:900px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center
    }

    .lp-hero-img {
        order: -1
    }

    .lp-highlights {
        justify-content: center
    }

    .hero-actions {
        justify-content: center
    }

    .lp-split {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .lp-split-img {
        order: -1
    }

    .lp-grid-3 {
        grid-template-columns: 1fr
    }

    .lp-grid-2 {
        grid-template-columns: 1fr
    }

    .lp-pricing-card {
        padding: 32px 20px
    }

    .lp-contact-split {
        grid-template-columns: 1fr
    }

    .lp-contact-card {
        padding: 32px 20px;
        text-align: center
    }

    .lp-contact-details {
        align-items: center
    }

    .lp-contact-form-wrap {
        padding: 32px 20px
    }
}

.lp-hero-single {
    grid-template-columns: 1fr !important;
    max-width: 800px
}

.lp-split-single {
    grid-template-columns: 1fr !important;
    max-width: 800px;
    margin: 0 auto
}

/* === LANDING PAGE QUOTE MODAL === */
.lp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease
}

.lp-modal-overlay.active {
    opacity: 1;
    visibility: visible
}

.lp-modal {
    background: #fff;
    border-radius: 20px;
    width: 92%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 28px;
    position: relative;
    transform: translateY(30px);
    transition: transform .25s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2)
}

.lp-modal-overlay.active .lp-modal {
    transform: translateY(0)
}

.lp-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
    padding: 4px
}

.lp-modal-close:hover {
    color: var(--text)
}

.lp-modal-field {
    margin-bottom: 14px
}

.lp-modal-field label {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: 5px;
    color: var(--text)
}

.lp-modal-field input,
.lp-modal-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: .92rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s
}

.lp-modal-field input:focus,
.lp-modal-field textarea:focus {
    border-color: var(--brand)
}

.lp-field-error {
    display: block;
    color: #991b1b;
    font-size: .82rem;
    margin-top: 3px;
    min-height: 0
}

@media(max-width:500px) {
    .lp-modal {
        width: 96%;
        padding: 24px 18px;
        border-radius: 16px;
        max-height: 85vh
    }

    .lp-modal-field input,
    .lp-modal-field textarea {
        padding: 9px 12px;
        font-size: .88rem
    }
}
