:root {
    --bg: #f4f0eb;
    --bg-soft: #fbf8f4;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --text: #141414;
    --text-soft: #58524c;
    --line: rgba(20, 20, 20, 0.11);
    --line-strong: rgba(20, 20, 20, 0.22);
    --dark: #111111;
    --accent: #f1c86b;
    --accent-2: #eb7454;
    --accent-3: #56cab6;
    --shadow: 0 26px 80px rgba(30, 22, 13, 0.12);
    --radius: 30px;
    --container: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Syne", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 209, 120, 0.24), transparent 26%),
        radial-gradient(circle at 84% 16%, rgba(86, 202, 182, 0.16), transparent 24%),
        linear-gradient(180deg, #faf6f0 0%, #f4efe8 42%, #f8f5f0 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

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

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

button {
    font: inherit;
}

.shell {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.page-glow {
    position: fixed;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.glow-one {
    width: 320px;
    height: 320px;
    top: 120px;
    left: -60px;
    background: rgba(86, 202, 182, 0.28);
}

.glow-two {
    width: 360px;
    height: 360px;
    top: 160px;
    right: -120px;
    background: rgba(235, 116, 84, 0.2);
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    padding: 18px 0 0;
    z-index: 20;
}

.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 40px rgba(30, 22, 13, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled .header-shell {
    transform: translateY(4px);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 54px rgba(30, 22, 13, 0.14);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    padding: 8px;
    border-radius: 999px;
    background: var(--dark);
    box-shadow: 0 10px 20px rgba(17, 17, 17, 0.16);
}

.brand span {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.desktop-nav {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.05);
}

.desktop-nav a,
.nav-dropdown-toggle {
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-soft);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
    background: rgba(20, 20, 20, 0.08);
    color: var(--text);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
}

.nav-dropdown.is-open .nav-dropdown-toggle {
    border-color: rgba(20, 20, 20, 0.2);
}

.nav-dropdown-arrow {
    font-size: 0.78rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 230px;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(20, 20, 20, 0.08);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(30, 22, 13, 0.12);
    display: grid;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 30;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
}

.nav-dropdown-menu a:hover {
    background: rgba(20, 20, 20, 0.06);
}

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

.header-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-socials a,
.header-cta,
.hero-button,
.project-content a,
.about-content a,
.cta-primary,
.cta-secondary {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    font-weight: 700;
}

.header-cta,
.hero-button,
.cta-primary,
.floating-auth-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--dark);
    color: #f8f4ef;
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.16);
}

.header-cta:hover,
.hero-button:hover,
.project-content a:hover,
.about-content a:hover,
.cta-primary:hover,
.cta-secondary:hover,
.floating-auth-trigger:hover {
    transform: translateY(-2px);
}

#customSections {
    display: grid;
    gap: 28px;
    margin: 36px 0;
}

.custom-section-shell {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.custom-section-card {
    padding: 42px;
    border-radius: 30px;
    border: 1px solid rgba(20, 20, 20, 0.08);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(30, 22, 13, 0.08);
}

.custom-section-card h2 {
    margin: 16px 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
}

.custom-section-card p {
    max-width: 760px;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 22px;
}

.custom-overlay {
    padding: 42px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(17,17,17,0.15), rgba(17,17,17,0.55));
    color: #fff;
}

.custom-image-banner {
    background-size: cover;
    background-position: center;
    min-height: 380px;
    display: flex;
    align-items: end;
    overflow: hidden;
}

.custom-video-banner {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    padding: 0;
}

.custom-video-banner video {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.custom-video-banner .custom-overlay {
    position: absolute;
    inset: auto 0 0 0;
}

.custom-slider-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 320px);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.custom-slide {
    display: grid;
    gap: 8px;
}

.custom-slide img,
.custom-slide video {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    background: #ddd;
}

.custom-media-split {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 28px;
    align-items: center;
}

.custom-media-visual img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 24px;
}

.custom-quote-author {
    display: inline-block;
    margin-top: 8px;
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
}

.mobile-nav {
    display: none;
    width: min(var(--container), calc(100% - 40px));
    margin: 12px auto 0;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.mobile-nav a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.mobile-nav a:last-child {
    border-bottom: 0;
}

.mobile-nav.is-open {
    display: block;
}

.portal-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
}

.portal-shell {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: 1fr minmax(360px, 520px);
    gap: 28px;
    align-items: start;
}

.portal-brand {
    padding-top: 18px;
}

.portal-brand p {
    max-width: 420px;
    color: var(--text-soft);
}

.portal-auth-card {
    min-height: auto;
}

.portal-inline-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 20, 0.08);
}

.portal-inline-note a {
    color: var(--text);
    text-decoration: underline;
}

.portal-chat-shell {
    grid-template-columns: 260px minmax(0, 1fr);
}

.chat-layout,
.admin-chat-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 18px;
    width: 100%;
}

.chat-sidebar-card,
.chat-panel-card,
.admin-chat-sidebar,
.admin-chat-panel {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(20, 20, 20, 0.08);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.chat-sidebar-head,
.chat-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.chat-small-btn {
    min-height: 42px;
    padding: 0 14px;
}

.chat-thread-list {
    display: grid;
    gap: 12px;
}

.chat-thread-item,
.admin-thread-item {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(20, 20, 20, 0.1);
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    display: grid;
    gap: 6px;
}

.chat-thread-item.is-active,
.admin-thread-item.is-active {
    border-color: var(--dark);
    box-shadow: 0 10px 26px rgba(20, 20, 20, 0.08);
}

.chat-thread-item span,
.chat-thread-item small,
.admin-thread-item small,
.chat-panel-head p {
    color: var(--text-soft);
}

.chat-compose-card,
.chat-reply-form,
#adminChatReplyForm {
    display: grid;
    gap: 12px;
}

.chat-compose-card input,
.chat-compose-card textarea,
.chat-reply-form textarea,
#adminChatReplyForm textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
}

.chat-compose-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 320px;
    max-height: 520px;
    overflow: auto;
    margin-bottom: 16px;
}

.chat-bubble {
    border-radius: 18px 18px 18px 6px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid rgba(20, 20, 20, 0.08);
    max-width: min(78%, 560px);
    align-self: flex-start;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.chat-bubble.is-admin {
    background: #111;
    color: #fff;
}

.chat-bubble.is-client {
    background: #dcf8c6;
    border-color: rgba(22, 101, 52, 0.08);
    border-radius: 18px 18px 6px 18px;
    align-self: flex-end;
}

.chat-bubble.is-admin .chat-bubble-meta span,
.chat-bubble.is-admin p {
    color: rgba(255, 255, 255, 0.8);
}

.chat-bubble.is-client .chat-bubble-meta span,
.chat-bubble.is-client p {
    color: rgba(20, 20, 20, 0.72);
}

.chat-bubble-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.chat-bubble p {
    margin: 0;
    white-space: pre-wrap;
}

.whatsapp-chat-page {
    padding: 24px 14px;
    background: linear-gradient(180deg, #efeae2 0%, #e6dfd5 100%);
}

.whatsapp-chat-shell {
    width: min(980px, 100%);
    margin: 0 auto;
}

.whatsapp-chat-card {
    min-height: 86vh;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    border-radius: 28px;
    overflow: hidden;
    background: #efeae2;
    border: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.whatsapp-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: #111;
    color: #fff;
}

.whatsapp-chat-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #25d366;
    color: #fff;
    font-weight: 800;
}

.whatsapp-chat-profile span,
.whatsapp-chat-home {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}

.whatsapp-chat-body {
    padding: 20px;
    background-image: radial-gradient(rgba(17,17,17,0.04) 1px, transparent 1px);
    background-size: 18px 18px;
}

.whatsapp-thread {
    max-height: none;
    min-height: 100%;
    margin-bottom: 0;
}

.whatsapp-compose-bar {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    padding: 14px 16px;
    background: #f7f5f1;
    border-top: 1px solid rgba(20,20,20,0.08);
}

.whatsapp-compose-bar input,
.whatsapp-compose-bar textarea {
    width: 100%;
    border: 1px solid rgba(20,20,20,0.1);
    border-radius: 999px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
}

.whatsapp-compose-bar textarea {
    border-radius: 22px;
    min-height: 48px;
    max-height: 140px;
    resize: none;
}

.whatsapp-send-btn {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
}

.whatsapp-status-row {
    padding: 0 18px 16px;
    background: #f7f5f1;
}

.auth-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.45);
    display: grid;
    place-items: center;
    padding: 24px;
    z-index: 60;
}

.auth-modal.hidden {
    display: none !important;
}

.auth-card {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18);
    position: relative;
    min-height: 360px;
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.auth-tab {
    flex: 1;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #f7f7f8;
}

.auth-tab.is-active {
    background: var(--dark);
    color: #fff;
}

.auth-pane.hidden {
    display: none !important;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-pane {
    display: block;
    margin-top: 6px;
}

.auth-pane h3 {
    margin: 10px 0 8px;
}

.auth-pane p {
    margin: 0 0 14px;
    color: var(--text-soft);
}

.auth-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
    background: #fff;
    color: #111;
}

.inline-code-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.inline-code-btn {
    min-width: 118px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #111;
    color: #fff;
    padding: 0 16px;
    font-weight: 600;
}

.inline-code-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.code-timer {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 600;
}

.auth-success {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #edf7f2;
    color: #0f5132;
    font-weight: 600;
}

.auth-success.hidden {
    display: none !important;
}

.hero-section {
    padding: 130px 0 34px;
}

.hero-shell {
    position: relative;
}

.hero-copy {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.hero-chip,
.hero-meta span,
.section-kicker p,
.project-content span,
.feature-video-overlay p,
.service-index {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 20, 0.08);
    margin-bottom: 28px;
}

.hero-copy h1,
.about-title h2,
.projects-heading h2,
.services-heading h2,
.cta-copy h2,
.feature-video-overlay h2 {
    font-family: "Marcellus", serif;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3.8rem, 9vw, 8.7rem);
    line-height: 0.93;
}

.hero-copy h1 span {
    display: block;
}

.hero-copy p {
    max-width: 650px;
    margin: 24px auto 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.hero-meta {
    margin-top: 22px;
}

.hero-meta span {
    display: inline-block;
    color: var(--text-soft);
}

.hero-button {
    margin-top: 30px;
}

.gallery-strip {
    padding: 28px 0 58px;
}

.gallery-track {
    width: min(1440px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}

.gallery-card {
    height: 390px;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: var(--shadow);
    background: #e8e1d8;
    transform-origin: center bottom;
    transition: transform 0.42s ease, box-shadow 0.42s ease, filter 0.42s ease;
}

.gallery-card:nth-child(1) {
    transform: perspective(900px) rotate(-5deg);
}

.gallery-card:nth-child(2) {
    transform: perspective(900px) rotate(-1deg) translateY(16px);
}

.gallery-card:nth-child(3) {
    transform: translateY(28px);
}

.gallery-card:nth-child(4) {
    transform: perspective(900px) rotate(1.5deg) translateY(16px);
}

.gallery-card:nth-child(5) {
    transform: perspective(900px) rotate(5deg);
}

.gallery-card img,
.gallery-card video,
.project-media img,
.project-media video,
.feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card video {
    transition: transform 0.55s ease, filter 0.4s ease;
}

.silk-vimeo-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: #0e0d10;
}

.silk-vimeo-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 112%;
    height: 112%;
    transform: translate(-50%, -50%) scale(1.06);
    border: 0;
    pointer-events: none;
}

.gallery-card:hover {
    box-shadow: 0 34px 90px rgba(30, 22, 13, 0.17);
    filter: saturate(1.04);
}

.gallery-card:nth-child(1):hover {
    transform: perspective(900px) rotate(-7deg) translateY(-8px);
}

.gallery-card:nth-child(2):hover {
    transform: perspective(900px) rotate(-2.6deg) translateY(8px);
}

.gallery-card:nth-child(3):hover {
    transform: perspective(900px) rotate(0.8deg) translateY(18px);
}

.gallery-card:nth-child(4):hover {
    transform: perspective(900px) rotate(3deg) translateY(8px);
}

.gallery-card:nth-child(5):hover {
    transform: perspective(900px) rotate(7deg) translateY(-8px);
}

.gallery-card:hover video {
    transform: scale(1.03);
}

.project-row:hover .silk-vimeo-wrap iframe {
    transform: translate(-50%, -50%) scale(1.09);
}

.about-section {
    padding: 74px 0 110px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-kicker span {
    width: 36px;
    height: 1px;
    background: rgba(20, 20, 20, 0.2);
}

.section-kicker p {
    margin: 0;
    color: var(--text-soft);
}

.about-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 56px;
    align-items: center;
}

.about-title h2 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.97;
}

.about-title h2 span {
    display: block;
}

.about-content {
    position: relative;
    padding: 34px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 20, 0.08);
    overflow: hidden;
    box-shadow: 0 18px 54px rgba(30, 22, 13, 0.08);
}

.about-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    top: -70px;
    right: -70px;
    border-radius: 58% 42% 63% 37% / 39% 45% 55% 61%;
    background: linear-gradient(135deg, rgba(86, 202, 182, 0.42), rgba(241, 200, 107, 0.52), rgba(235, 116, 84, 0.44));
    filter: blur(10px);
}

.about-content p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: var(--text-soft);
    line-height: 1.85;
}

.about-content a,
.project-content a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    margin-top: 8px;
}

.clients-section {
    padding: 0 0 118px;
}

.client-marquee {
    overflow: hidden;
}

.client-row {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.client-logo {
    flex: 0 0 auto;
    width: 170px;
    height: 92px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(20, 20, 20, 0.08);
    background: rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(30, 22, 13, 0.07);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.projects-section {
    padding: 120px 0;
    background: #0f0f10;
    color: #f8f4ef;
}

.projects-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 52px;
}

.projects-heading h2 {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.92;
}

.projects-heading a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
}

.project-list {
    display: grid;
    gap: 34px;
}

.listing-showcase {
    padding: 10px 0 8px;
}

.listing-showcase-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.listing-showcase-head span {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.56);
}

.listing-showcase-head h3 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.02;
    color: #f8f4ef;
}

.listing-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.listing-showcase-card {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.listing-showcase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

.listing-showcase-card img {
    width: 100%;
    aspect-ratio: 1.08 / 1;
    object-fit: cover;
}

.listing-showcase-copy {
    padding: 18px 18px 20px;
}

.listing-showcase-copy strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #f8f4ef;
}

.listing-showcase-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    line-height: 1.65;
}

.listing-showcase-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.listing-showcase-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: #f8f4ef;
    color: var(--dark);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-showcase-action a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.project-row {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 0.72fr) 1fr;
    gap: 20px;
    align-items: stretch;
}

.silk-banner-row {
    grid-template-columns: minmax(0, 1.75fr) minmax(320px, 0.95fr);
}

.project-media,
.project-content {
    min-height: 380px;
    border-radius: 26px;
    overflow: hidden;
}

.project-media {
    background: #1a1a1c;
}

.silk-banner-media {
    min-height: 520px;
}

.project-content {
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.silk-banner-copy {
    min-height: 520px;
    justify-content: center;
}

.project-content span {
    color: rgba(255, 255, 255, 0.56);
}

.project-content h3 {
    margin: 18px 0 14px;
    font-size: clamp(1.65rem, 2.2vw, 2.35rem);
    line-height: 1.1;
}

.project-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.project-content a {
    width: fit-content;
    margin-top: 26px;
    background: #f8f4ef;
    color: var(--dark);
}

.feature-video-section {
    padding: 18px 0 92px;
}

.feature-video-frame {
    position: relative;
    width: min(1520px, calc(100% - 20px));
    margin: 0 auto;
    min-height: clamp(320px, 42vw, 560px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(30, 22, 13, 0.12);
}

.feature-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-video-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.04), rgba(8, 8, 8, 0.14));
}

.feature-video-overlay {
    position: relative;
    z-index: 1;
    padding: 80px 56px;
    max-width: 760px;
    color: #fff;
}

.feature-video-overlay p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.78);
}

.feature-video-overlay h2 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.98;
}

.services-section {
    padding: 0 0 120px;
}

.services-heading {
    margin: 26px 0 38px;
}

.services-heading h2 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.98;
}

.services-list {
    display: grid;
    gap: 0;
}

.service-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) minmax(240px, 300px);
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.service-row:last-child {
    border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

.service-index {
    color: var(--text-soft);
    padding-top: 7px;
}

.service-main h3 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    line-height: 1.06;
}

.service-main p {
    margin: 0;
    max-width: 700px;
    color: var(--text-soft);
    line-height: 1.8;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    justify-content: end;
    gap: 10px;
}

.service-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.06);
    color: var(--text-soft);
    font-size: 0.86rem;
}

.cta-section {
    padding: 0 0 42px;
}

.cta-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 44px;
    border-radius: 34px;
    background: #0f0f10;
    color: #f8f4ef;
    box-shadow: 0 28px 84px rgba(17, 17, 17, 0.18);
}

.cta-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(2.55rem, 4vw, 4.3rem);
    line-height: 0.98;
}

.cta-copy p {
    margin: 0;
    max-width: 760px;
    color: rgba(248, 244, 239, 0.7);
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8f4ef;
}

.site-footer {
    padding: 34px 0 44px;
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    padding: 24px 0 0;
    border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-branding img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    padding: 8px;
    border-radius: 999px;
    background: var(--dark);
}

.footer-branding strong {
    display: block;
    margin-bottom: 4px;
}

.footer-branding p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.footer-links,
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a,
.footer-socials a {
    color: var(--text-soft);
    font-size: 0.94rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.reviews-section {
    padding: 0 0 110px;
}

.reviews-shell {
    display: grid;
    gap: 28px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: var(--text-soft);
}

.label-line {
    width: 36px;
    height: 1px;
    background: rgba(20, 20, 20, 0.2);
}

.section-title {
    margin: 0;
    font-family: "Marcellus", serif;
    font-weight: 400;
    letter-spacing: -0.04em;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1;
}

.section-sub {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--text-soft);
    line-height: 1.8;
}

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

.review-card,
.review-submit-card {
    border-radius: 26px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: var(--shadow);
}

.review-card {
    display: grid;
    gap: 16px;
}

.review-top,
.review-footer,
.review-submit-actions,
.review-submit-grid {
    display: flex;
    gap: 14px;
}

.review-top,
.review-footer,
.review-submit-actions {
    align-items: center;
    justify-content: space-between;
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
}

.avatar-cyan { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.avatar-gold { background: linear-gradient(135deg, #f59e0b, #f97316); }
.avatar-indigo { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.avatar-emerald { background: linear-gradient(135deg, #10b981, #14b8a6); }
.avatar-rose { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.avatar-cobalt { background: linear-gradient(135deg, #2563eb, #1d4ed8); }

.review-meta strong,
.review-submit-card h3 {
    display: block;
    margin-bottom: 4px;
}

.review-meta span,
.review-card p,
.review-submit-card p,
.review-submit-message {
    color: var(--text-soft);
}

.review-rating {
    color: #f59e0b;
    letter-spacing: 0.16em;
}

.review-service,
.review-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f6f1ea;
    font-size: 0.82rem;
}

.review-badge {
    background: rgba(86, 202, 182, 0.16);
    color: #0f766e;
}

.review-submit-form {
    display: grid;
    gap: 16px;
}

.review-submit-grid {
    flex-wrap: wrap;
}

.review-submit-grid label,
.review-submit-form > label {
    display: grid;
    gap: 8px;
    flex: 1 1 220px;
}

.review-submit-form input,
.review-submit-form textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(20, 20, 20, 0.12);
    background: #fff;
    padding: 14px 16px;
    font: inherit;
    color: var(--text);
}

.review-submit-form textarea {
    resize: vertical;
    min-height: 140px;
}

.review-submit-message.is-success {
    color: #0f766e;
}

.review-submit-message.is-error {
    color: #b91c1c;
}

@media (max-width: 1180px) {
    .desktop-nav,
    .header-socials,
    .header-cta {
        display: none;
    }

    .nav-dropdown {
        display: none;
    }

    .portal-chat-shell,
    .chat-layout,
    .admin-chat-layout,
    .whatsapp-compose-bar {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: inline-block;
    }

    .header-shell {
        grid-template-columns: auto 1fr auto;
    }

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

    .gallery-card:nth-child(4),
    .gallery-card:nth-child(5) {
        display: none;
    }

    .project-row {
        grid-template-columns: 1fr;
    }

    .silk-banner-row {
        grid-template-columns: 1fr;
    }

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

    .project-media,
    .project-content {
        min-height: auto;
    }

    .cta-shell,
    .footer-shell,
    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .service-row {
        grid-template-columns: 90px 1fr;
    }

    .service-tags {
        justify-content: start;
        grid-column: 2 / -1;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(var(--container), calc(100% - 24px));
    }

    .site-header {
        padding-top: 12px;
    }

    .header-shell {
        padding: 12px 14px;
    }

    .brand span {
        font-size: 0.98rem;
    }

    .hero-section {
        padding-top: 108px;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 15vw, 5rem);
        line-height: 0.95;
    }

    .hero-copy p {
        font-size: 0.96rem;
    }

    .gallery-track {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .gallery-card {
        height: 240px;
        transform: none !important;
    }

    .gallery-card:nth-child(5) {
        display: block;
    }

    .about-section,
    .projects-section,
    .feature-video-section,
    .services-section {
        padding-bottom: 88px;
    }

    .about-content,
    .cta-shell {
        padding: 28px 22px;
    }

    .projects-heading {
        align-items: start;
        flex-direction: column;
    }

    .listing-showcase-head {
        align-items: start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .listing-showcase-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid,
    .review-submit-grid,
    .review-top,
    .review-footer,
    .review-submit-actions,
    .chat-sidebar-head,
    .chat-panel-head,
    .chat-compose-actions,
    .chat-bubble-meta,
    .whatsapp-chat-header {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .chat-bubble {
        max-width: 92%;
    }

    .feature-video-frame {
        width: min(100%, calc(100% - 16px));
        min-height: clamp(220px, 52vw, 360px);
        border-radius: 20px;
    }

    .feature-video-overlay {
        padding: 34px 24px;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-tags {
        grid-column: auto;
    }

    .footer-links,
    .footer-socials {
        gap: 10px 14px;
    }
}
