:root {
    --black: #0f1112;
    --charcoal: #1a1d1f;
    --ink: #202326;
    --muted: #667077;
    --paper: #f5f2eb;
    --white: #ffffff;
    --line: #ded8cc;
    --gold: #c99823;
    --gold-light: #efd27a;
    --gold-soft: #f6ead0;
    --shadow: 0 24px 70px rgba(15, 17, 18, 0.16);
    --radius: 22px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

button,
a,
input,
select,
textarea {
    outline-color: var(--gold);
    outline-offset: 3px;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(232, 231, 226, 0.76);
    border-bottom: 1px solid rgba(15, 17, 18, 0.06);
    backdrop-filter: blur(28px) saturate(1.28);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body.is-scrolled .site-header {
    background: rgba(246, 244, 238, 0.9);
    border-bottom-color: rgba(15, 17, 18, 0.08);
    box-shadow: 0 16px 44px rgba(15, 17, 18, 0.08);
}

.nav {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 286px;
}

.brand-logo {
    width: 86px;
    height: 64px;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(15, 17, 18, 0.12);
    overflow: hidden;
}

.brand-logo img {
    object-fit: contain;
    padding: 8px;
}

.brand-name {
    display: grid;
    color: var(--black);
    font-weight: 900;
    font-size: 1.12rem;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.is-scrolled .brand-name {
    color: var(--black);
}

.brand-name span:last-child {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    color: rgba(15, 17, 18, 0.78);
    font-size: 0.96rem;
    font-weight: 800;
}

body.is-scrolled .nav-links {
    color: rgba(15, 17, 18, 0.72);
}

.nav-links a {
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-cta {
    margin-left: auto;
    min-width: 172px;
    min-height: 58px;
    border-radius: 999px;
    font-size: 1rem;
    box-shadow: 0 22px 56px rgba(201, 152, 35, 0.3);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--black);
}

.mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    color: var(--black);
    border-radius: 0 0 18px 18px;
    padding: 12px 0 18px;
}

.mobile-menu a {
    display: block;
    padding: 10px 0;
    font-weight: 850;
}

.btn {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 19px;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--black);
    box-shadow: 0 16px 32px rgba(201, 152, 35, 0.28);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--black);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    border: 1px solid rgba(15, 17, 18, 0.16);
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 42px;
}

.eyebrow {
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    background: currentColor;
}

h1,
h2,
h3 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 760;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    font-size: 5.7rem;
    line-height: 0.94;
    margin-bottom: 24px;
}

h2 {
    max-width: 760px;
    font-size: 3.3rem;
    line-height: 1;
}

.lead {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero {
    min-height: 100vh;
    color: var(--white);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--black);
    position: relative;
    margin-top: -72px;
    padding-top: 72px;
}

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(15, 17, 18, 0.86), rgba(15, 17, 18, 0.46), rgba(15, 17, 18, 0.18)),
        linear-gradient(0deg, rgba(15, 17, 18, 0.72), transparent 48%);
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 96px 0 84px;
}

.hero p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.intro-grid,
.about-grid,
.detail-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.image-panel {
    min-height: 560px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #d8d1c5;
}

.text-stack {
    display: grid;
    gap: 22px;
}

.cinematic-scroll-section {
    background: var(--black);
    color: var(--white);
    padding: 0;
    position: relative;
    overflow: visible;
}

.cinematic-scroll-layout {
    display: grid;
    grid-template-columns: minmax(560px, 46vw) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 78px);
    min-height: 300vh;
    position: relative;
    align-items: start;
    padding-left: clamp(28px, 4vw, 88px);
}

.sticky-video-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: start;
    overflow: hidden;
    pointer-events: none;
    background: var(--black);
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 2%, #000 96%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0%, #000 2%, #000 96%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 2%, #000 98%, transparent 100%);
    mask-composite: intersect;
}

.video-triptych {
    display: grid;
    grid-template-columns: minmax(0, 0.48fr) minmax(300px, 1.35fr) minmax(0, 0.48fr);
    width: 100%;
    height: 100%;
    gap: 0;
}

.video-triptych video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-triptych .video-side {
    filter: brightness(0.42) contrast(1.16) saturate(0.82) blur(1px);
    transform: scale(1.04);
    opacity: 0.72;
}

.video-triptych .video-main {
    filter: brightness(0.82) contrast(1.1) saturate(0.98);
}

.sticky-video-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.92) 100%),
        linear-gradient(to bottom, rgba(15, 17, 18, 0.18) 0%, rgba(15, 17, 18, 0) 12%, rgba(15, 17, 18, 0) 82%, rgba(15, 17, 18, 0.52) 100%);
}

.scrolling-content {
    display: grid;
    align-content: start;
    gap: 36vh;
    min-height: 300vh;
    padding: max(34vh, 240px) min(7vw, 96px) 34vh;
    background: var(--black);
}

.cinematic-card {
    width: min(100%, 680px);
    min-height: 300px;
    border: 1px solid rgba(232, 178, 44, 0.16);
    border-radius: 24px;
    background:
        radial-gradient(circle at 16% 0%, rgba(232, 178, 44, 0.08), transparent 34%),
        rgba(15, 17, 18, 0.66);
    backdrop-filter: blur(18px);
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.36),
        0 0 46px rgba(201, 152, 35, 0.08);
    padding: clamp(28px, 3.4vw, 48px);
    display: grid;
    align-content: center;
}

.cinematic-card h2 {
    font-size: clamp(2.25rem, 3.35vw, 4.45rem);
    line-height: 1.04;
    letter-spacing: 0;
    max-width: 620px;
}

.value-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-row.values-two {
    grid-template-columns: 1fr 1fr;
}

.value-row.values-three {
    grid-template-columns: repeat(3, 1fr);
}

.value-card,
.service-card,
.detail-panel,
.contact-card,
.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(15, 17, 18, 0.08);
}

.value-card {
    min-height: 220px;
    padding: 24px;
}

.value-card i,
.service-card i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--gold-soft);
    color: var(--black);
    margin-bottom: 18px;
}

.value-card p,
.service-card p,
.detail-panel p {
    color: var(--muted);
}

.featured-story {
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}

.featured-item {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 42px;
    align-items: center;
    padding: 44px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-item:last-child {
    border-bottom: 0;
}

.featured-image {
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 26px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 850;
}

.pill-gold {
    background: var(--gold-soft);
    color: var(--black);
}

.specs-section {
    background:
        radial-gradient(circle at 8% 0%, rgba(201, 152, 35, 0.16), transparent 28%),
        linear-gradient(180deg, #101214, #050607);
    color: var(--white);
}

.specs-section .section-head {
    align-items: start;
}

.specs-section .lead {
    color: rgba(255, 255, 255, 0.68);
    margin-top: 42px;
}

.comparison-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    text-align: left;
    vertical-align: middle;
}

.comparison-table th {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 760;
}

.comparison-table thead th {
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(239, 210, 122, 0.34);
    font-size: 0.98rem;
}

.comparison-table thead .highlight {
    background: rgba(201, 152, 35, 0.24);
}

.comparison-table td {
    color: rgba(255, 255, 255, 0.72);
}

.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.comparison-table td:first-child,
.comparison-table th:first-child {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 760;
    width: 22%;
}

.comparison-table .highlight {
    color: var(--white);
    background: rgba(201, 152, 35, 0.1);
    font-weight: 760;
}

.comparison-scroll {
    overflow-x: auto;
}

.attachments-section {
    background:
        radial-gradient(circle at 92% 8%, rgba(201, 152, 35, 0.16), transparent 28%),
        linear-gradient(180deg, #fffdf8, var(--paper));
}

.partner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 20px;
    align-items: stretch;
}

.partner-card {
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    padding: clamp(22px, 3vw, 34px);
    display: grid;
    gap: 22px;
}

.bercomac-card {
    background:
        linear-gradient(135deg, rgba(15, 17, 18, 0.92), rgba(15, 17, 18, 0.76)),
        radial-gradient(circle at 20% 0%, rgba(239, 210, 122, 0.2), transparent 34%);
    color: var(--white);
    border-color: rgba(239, 210, 122, 0.22);
}

.partner-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.partner-logo {
    width: auto;
    height: auto;
    object-fit: contain;
}

.bercomac-logo {
    max-width: min(320px, 62%);
    max-height: 70px;
}

.mapleside-logo {
    max-width: min(260px, 58%);
    max-height: 82px;
}

.partner-tag {
    min-height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    background: var(--gold-soft);
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.bercomac-card .partner-tag {
    background: rgba(239, 210, 122, 0.16);
    color: var(--gold-light);
    border: 1px solid rgba(239, 210, 122, 0.28);
}

.partner-copy h3 {
    font-size: clamp(1.65rem, 2.5vw, 2.6rem);
    line-height: 1.04;
    margin-bottom: 10px;
}

.partner-copy p {
    color: var(--muted);
    max-width: 720px;
}

.bercomac-card .partner-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.bercomac-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.attachment-product {
    border: 1px solid rgba(239, 210, 122, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.075);
    padding: 16px;
    display: grid;
    gap: 14px;
}

.featured-product {
    grid-column: 1 / -1;
}

.attachment-product-copy {
    display: grid;
    gap: 8px;
}

.product-type {
    width: fit-content;
    min-height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    background: rgba(239, 210, 122, 0.14);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
}

.attachment-product h4 {
    color: var(--white);
    font-size: clamp(1.1rem, 1.7vw, 1.55rem);
    line-height: 1.08;
}

.attachment-product p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
}

.product-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.attachment-image {
    min-height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: #d8d1c5;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.attachment-image img {
    transition: transform 0.35s ease;
}

.attachment-image:hover img {
    transform: scale(1.035);
}

.single-product-image {
    min-height: 260px;
}

.mapleside-card {
    align-content: start;
}

.mapleside-product-image {
    min-height: 300px;
}

.fork-options {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fdfbf7;
    padding: 18px;
}

.fork-options h4 {
    font-size: 1.08rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.fork-options ul {
    display: grid;
    gap: 10px;
}

.fork-options li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-weight: 850;
}

.fork-options i {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: var(--gold-soft);
    color: var(--black);
    font-size: 0.78rem;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    color: #4b5054;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fdfbf7;
    color: var(--ink);
    padding: 0 14px;
}

.field textarea {
    min-height: 132px;
    padding-top: 13px;
    resize: vertical;
}

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

.detail-section {
    background: linear-gradient(180deg, #fffdf8, var(--paper));
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 0.42fr;
    gap: 14px;
    min-height: 560px;
}

.gallery-main,
.gallery-side .gallery-trigger {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #d8d1c5;
}

.gallery-trigger {
    border: 0;
    cursor: zoom-in;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-trigger:hover {
    transform: translateY(-2px);
}

.gallery-trigger:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.gallery-side {
    display: grid;
    gap: 14px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.image-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox img {
    width: auto;
    height: auto;
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
}

.detail-panel {
    padding: 28px;
}

.detail-panel h3 {
    font-size: 2rem;
    line-height: 1.08;
    margin: 12px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
}

.spec-table th,
.spec-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    text-align: left;
}

.spec-table th {
    color: var(--muted);
    width: 44%;
}

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

.service-card {
    padding: 24px;
    min-height: 190px;
}

.services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 26px;
    align-items: stretch;
}

.services-visual {
    min-height: 620px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 0;
}

.cta {
    background:
        linear-gradient(90deg, rgba(15, 17, 18, 0.92), rgba(15, 17, 18, 0.52)),
        url("https://source.unsplash.com/6MYkr822DvY/1600x900") center / cover;
    color: var(--white);
    padding: 88px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.contact-card,
.form-card {
    padding: 28px;
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.contact-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    color: var(--muted);
}

.contact-item i {
    color: var(--gold);
    margin-top: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.map-placeholder {
    height: 240px;
    border-radius: var(--radius);
    margin-top: 22px;
    background: #d8d1c5;
    border: 1px solid var(--line);
    overflow: hidden;
}

.google-map {
    width: 100%;
    height: 100%;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-img {
    transition: transform 0.7s ease;
}

.image-panel:hover .parallax-img,
.featured-image:hover .parallax-img {
    transform: scale(1.04);
}

footer {
    background: var(--black);
    color: var(--white);
    padding: 58px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 34px;
    margin-bottom: 34px;
}

.footer-logo {
    width: 132px;
    height: 96px;
    object-fit: contain;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 16px;
}

footer p,
footer li {
    color: rgba(255, 255, 255, 0.66);
    list-style: none;
    margin-bottom: 8px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.48);
    padding-top: 22px;
    font-size: 0.9rem;
}

@media (max-width: 1040px) {
    .nav {
        min-height: 80px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 76px;
        height: 58px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

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

    .intro-grid,
    .about-grid,
    .detail-grid,
    .contact-grid,
    .featured-item,
    .cinematic-scroll-layout,
    .partner-grid,
    .services-layout {
        grid-template-columns: 1fr;
    }

    .cinematic-scroll-layout {
        min-height: auto;
        padding-left: 0;
    }

    .sticky-video-panel {
        position: relative;
        top: auto;
        height: 70vh;
    }

    .scrolling-content {
        gap: 28px;
        padding: 36px 18px 70px;
        min-height: auto;
        background: var(--black);
    }

    .cinematic-card {
        min-height: 250px;
    }

    .value-row,
    .value-row.values-two,
    .value-row.values-three,
    .services-grid,
    .related-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bercomac-products {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 4.3rem;
    }

    h2 {
        font-size: 2.7rem;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        min-height: 78px;
    }

    .brand {
        min-width: 0;
        gap: 12px;
    }

    .brand-logo {
        width: 68px;
        height: 52px;
        border-radius: 16px;
    }

    .brand-name {
        font-size: 0.82rem;
    }

    .brand-name span:last-child {
        font-size: 0.72rem;
    }

    h1 {
        font-size: 3.25rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero {
        min-height: 720px;
    }

    .value-row,
    .value-row.values-two,
    .value-row.values-three,
    .services-grid,
    .related-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .partner-card-head,
    .product-image-grid {
        grid-template-columns: 1fr;
    }

    .partner-card-head {
        display: grid;
        align-items: start;
    }

    .bercomac-logo {
        max-width: 100%;
    }

    .mapleside-logo {
        max-width: 100%;
    }

    .attachment-image {
        aspect-ratio: 4 / 3;
        min-height: auto;
    }

    .section-head,
    .cta-inner {
        display: grid;
        align-items: start;
    }

    .section {
        padding: 70px 0;
    }

    .gallery {
        grid-template-columns: 1fr;
        min-height: auto;
    }

.gallery-main,
.gallery-side .gallery-trigger,
.image-panel,
.featured-image {
    min-height: 280px;
        height: auto;
    }
}
