:root {
    --bg: #f1f3ed;
    --bg-2: #e4e9df;
    --surface: rgba(255, 255, 255, .62);
    --surface-solid: #fff;
    --text: #142019;
    --muted: #68716b;
    --line: rgba(20, 32, 25, .13);
    --accent: #75a943;
    --accent-text: #3d6f20;
    --accent-2: #b5d58e;
    --deep: #0a1510;
    --white: #f7faf4;
    --shadow: 0 30px 80px rgba(24, 43, 31, .12);
    --header-h: 96px;
    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #09110d;
    --bg-2: #101b15;
    --surface: rgba(23, 38, 29, .58);
    --surface-solid: #132019;
    --text: #edf5eb;
    --muted: #a1aea4;
    --line: rgba(224, 240, 228, .12);
    --accent: #9dcb6b;
    --accent-text: #a8d977;
    --accent-2: #6f9e42;
    --deep: #06100a;
    --shadow: 0 30px 90px rgba(0, 0, 0, .28);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; font-family: "Urbanist", sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; transition: background .45s, color .45s; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--deep); }

.wide-container { width: min(94vw, 1820px); margin-inline: auto; }
.section { padding: clamp(80px, 9vw, 160px) 0; position: relative; }
.section-sm { padding: clamp(58px, 6vw, 100px) 0; }
.noise { position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }
.cursor-glow { position: fixed; left: -210px; top: -210px; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(126, 178, 76, .13), transparent 66%); }
.page-loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-content: center; gap: 22px; text-align: center; background: #08110c; color: #fff; letter-spacing: .32em; }
.loader-logo { width: clamp(150px, 16vw, 230px); margin: 0 auto 8px; animation: loaderLogo 1.4s ease-in-out infinite alternate; }
.loader-logo img { width: 100%; max-height: 80px; object-fit: contain; }
.loader-mark { height: 42px; display: flex; align-items: end; justify-content: center; gap: 6px; }
.loader-mark span { width: 5px; height: 18px; background: var(--accent); border-radius: 6px; animation: leaf 1s ease-in-out infinite alternate; transform-origin: bottom; }
.loader-mark span:nth-child(2) { height: 36px; animation-delay: .15s; }
.loader-mark span:nth-child(3) { height: 26px; animation-delay: .3s; }
@keyframes leaf { to { transform: scaleY(.35); opacity: .35; } }
@keyframes loaderLogo { to { opacity: .58; transform: translateY(-4px); } }

.site-header { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; height: var(--header-h); display: flex; align-items: center; transition: .4s; }
.site-header:not(.scrolled) { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.site-header:not(.scrolled) .language-toggle,
.site-header:not(.scrolled) .theme-toggle,
.site-header:not(.scrolled) .menu-toggle { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(4,12,7,.28); }
.site-header:not(.scrolled) .language-toggle button { color: rgba(255,255,255,.72); }
.site-header:not(.scrolled) .language-toggle button.active { background: #fff; color: #0a1510; }
html[data-theme="light"] .site-header:not(.scrolled) .logo-light { display: block; }
html[data-theme="light"] .site-header:not(.scrolled) .logo-dark { display: none; }
.site-header.scrolled { height: 76px; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { width: clamp(148px, 12vw, 210px); position: relative; z-index: 2; }
.logo { width: 100%; max-height: 60px; object-fit: contain; object-position: left center; transition: .35s; }
.logo-dark { display: none; }
html[data-theme="light"] .logo-light { display: none; }
html[data-theme="light"] .logo-dark { display: block; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2vw, 40px); margin-left: auto; }
.desktop-nav > a, .nav-dropdown > button { border: 0; background: none; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 14px; letter-spacing: .02em; position: relative; white-space: nowrap; }
.desktop-nav > a::after, .nav-dropdown > button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 10px; height: 1px; background: var(--accent); transition: .35s; }
.desktop-nav > a:hover::after, .nav-dropdown:hover > button::after { right: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown button i { font-size: 9px; margin-left: 6px; transition: .3s; }
.nav-dropdown:hover button i { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: calc(100% - 4px); left: -22px; width: 250px; padding: 10px; border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(24px); box-shadow: var(--shadow); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.nav-dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel a { display: block; padding: 13px 14px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.dropdown-panel a:hover { background: rgba(126, 178, 76, .12); color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.language-toggle { display: flex; border: 1px solid var(--line); background: var(--surface); border-radius: 100px; padding: 4px; cursor: pointer; backdrop-filter: blur(12px); }
.language-toggle button { display: grid; place-items: center; width: 31px; height: 27px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; border-radius: 100px; color: var(--muted); transition: .3s; }
.language-toggle button.active { background: var(--text); color: var(--bg); }
.theme-toggle, .menu-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(12px); }
.theme-toggle[hidden] { display: none !important; }
.theme-toggle .fa-moon { display: none; }
html[data-theme="light"] .theme-toggle .fa-sun-bright { display: none; }
html[data-theme="light"] .theme-toggle .fa-moon { display: block; }
.menu-toggle { display: none; position: relative; }
.menu-toggle span { position: absolute; width: 17px; height: 1px; background: currentColor; transition: .35s; }
.menu-toggle span:first-child { transform: translateY(-3px); }
.menu-toggle span:last-child { transform: translateY(3px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
.mobile-menu { display: none; }

.hero { height: max(760px, 100svh); position: relative; background: var(--deep); color: var(--white); }
.hero-swiper, .hero-swiper .swiper-wrapper, .hero-slide { width: 100%; height: 100%; }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; z-index: 1; background: rgba(2, 10, 5, var(--slide-overlay, .6)); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: var(--header-h); }
.hero-copy { max-width: 1050px; padding-left: clamp(0px, 5vw, 110px); }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .24em; font-size: 11px; font-weight: 800; color: var(--accent); }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.hero h1 { margin: 24px 0 30px; font-size: clamp(46px, 5.2vw, 88px); line-height: .98; letter-spacing: -.045em; font-weight: 500; max-width: 920px; }
.hero h1 strong { font-weight: 800; color: var(--accent-2); }
.hero-copy p { max-width: 620px; font-size: clamp(16px, 1.25vw, 21px); line-height: 1.7; color: rgba(255,255,255,.76); }
.magnetic-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 220px; margin-top: 28px; padding: 17px 20px 17px 24px; border-radius: 100px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: background .3s, color .3s; }
.magnetic-btn i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--deep); }
.hero .magnetic-btn { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.hero .magnetic-btn:hover { background: var(--white); color: var(--deep); }
.hero-controls { position: absolute; z-index: 3; left: 3vw; right: 3vw; bottom: 38px; display: flex; align-items: center; gap: 22px; }
.hero-pagination { display: flex; flex: 1; max-width: 580px; gap: 12px; }
.hero-pagination .swiper-pagination-bullet { width: auto; height: auto; flex: 1; border-radius: 0; background: none; opacity: .46; color: #fff; text-align: left; margin: 0 !important; }
.hero-pagination .swiper-pagination-bullet span { font-size: 10px; }
.hero-pagination .swiper-pagination-bullet i { display: block; height: 1px; margin-top: 8px; background: rgba(255,255,255,.55); position: relative; overflow: hidden; }
.hero-pagination .swiper-pagination-bullet i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); }
.hero-pagination .swiper-pagination-bullet-active { opacity: 1; }
.hero-pagination .swiper-pagination-bullet-active i::after { animation: bulletProgress 6.5s linear forwards; }
@keyframes bulletProgress { to { transform: none; } }
.round-arrow { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.06); border-radius: 50%; cursor: pointer; transition: .3s; }
.round-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--deep); }
.hero-scroll { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.hero-scroll i { animation: scrollDown 1.4s ease-in-out infinite; }
@keyframes scrollDown { 50% { transform: translateY(5px); } }

.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; align-items: start; }
.section-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .22em; color: var(--accent); font-weight: 800; }
.display-title { margin: 18px 0 28px; font-size: clamp(34px, 3.7vw, 64px); line-height: 1.05; letter-spacing: -.038em; font-weight: 500; }
.display-title em { color: var(--accent); font-style: normal; }
.lead-text { font-size: clamp(19px, 2vw, 32px); line-height: 1.45; letter-spacing: -.02em; color: var(--muted); max-width: 900px; }
.body-copy { color: var(--muted); font-size: 16px; line-height: 1.85; max-width: 760px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 62px; }
.stat { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); backdrop-filter: blur(18px); }
.stat strong { display: block; font-size: clamp(38px, 4vw, 70px); line-height: 1; letter-spacing: -.05em; font-weight: 500; color: var(--accent); }
.stat span { display: block; margin-top: 13px; color: var(--muted); }

.image-stage { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; }
.image-stage img { position: absolute; top: -10%; left: 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.image-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,15,9,.55), transparent 50%); }
.stage-card { position: absolute; z-index: 2; bottom: 28px; left: 28px; right: 28px; padding: 28px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border: 1px solid rgba(255,255,255,.24); border-radius: 20px; color: #fff; background: rgba(8,20,12,.38); backdrop-filter: blur(18px); }
.stage-card h3 { font-size: clamp(25px, 3vw, 46px); margin: 0; max-width: 570px; line-height: 1.08; }
.stage-card i { font-size: 32px; }

.dark-section { background: var(--deep); color: var(--white); overflow: hidden; }
.dark-section .body-copy { color: rgba(255,255,255,.62); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; }
.section-head .display-title { margin-bottom: 0; max-width: 1000px; }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrows .round-arrow { border-color: rgba(255,255,255,.22); }
.project-swiper { overflow: visible; }
.project-card { position: relative; height: min(68vh, 680px); min-height: 460px; overflow: hidden; border-radius: 22px; background: #18231c; color: #fff; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.06); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,10,6,.84), transparent 62%); }
.project-info { position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; padding: 28px; }
.project-info small { color: var(--accent-2); text-transform: uppercase; letter-spacing: .16em; }
.project-info h3 { margin: 10px 0 0; font-size: clamp(24px, 2.4vw, 38px); font-weight: 500; }
.project-main-info { margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.55; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.project-index { position: absolute; z-index: 2; top: 20px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 11px; backdrop-filter: blur(12px); }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 360px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: auto 0 0; height: 0; background: var(--accent); transition: .5s cubic-bezier(.2,.8,.2,1); }
.service-card:hover::before { height: 100%; }
.service-card > * { position: relative; z-index: 1; }
.service-card i { font-size: 38px; color: var(--accent); transition: .4s; }
.service-card h3 { margin: 90px 0 16px; font-size: 25px; }
.service-card p { color: var(--muted); line-height: 1.7; transition: .4s; }
.service-card:hover i, .service-card:hover p { color: var(--deep); }
.service-card:hover h3 { color: var(--deep); }

.page-hero { min-height: 64svh; padding: calc(var(--header-h) + 100px) 0 80px; display: flex; align-items: end; position: relative; overflow: hidden; background: var(--deep); color: var(--white); }
.page-hero-bg { position: absolute; inset: 0; opacity: .58; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,10,.72) 0%, rgba(6,16,10,.12) 72%), linear-gradient(0deg, rgba(6,16,10,.6), transparent 62%); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { margin: 18px 0 0; font-size: clamp(44px, 5.2vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.breadcrumb { display: flex; gap: 10px; color: rgba(255,255,255,.58); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.breadcrumb i { color: var(--accent); }

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { padding: 34px; min-height: 300px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.value-card .number { color: var(--accent); font-size: 12px; }
.value-card h3 { margin: 68px 0 15px; font-size: 27px; }
.value-card p { color: var(--muted); line-height: 1.7; }
.quote { font-size: clamp(25px, 3vw, 48px); line-height: 1.18; letter-spacing: -.035em; font-weight: 500; }
.quote::before { content: "“"; display: block; color: var(--accent); font-size: 1.8em; line-height: .5; margin-bottom: 25px; }
.signature { margin-top: 36px; }
.signature strong, .signature span { display: block; }
.signature span { margin-top: 6px; color: var(--muted); }

.founder-profile-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr); gap: clamp(48px, 7vw, 126px); align-items: center; }
.founder-intro-copy { max-width: 680px; }
.founder-intro-copy h2 { margin: 0; font-size: clamp(42px, 4.5vw, 72px); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.founder-role { margin: 14px 0 34px; color: var(--accent-text); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.founder-intro-copy .lead-text { margin-bottom: clamp(42px, 5vw, 72px); }
.founder-intro-copy .quote { max-width: 620px; }
.founder-biography { max-width: none; margin-top: clamp(64px, 8vw, 132px); padding-top: clamp(48px, 5vw, 82px); border-top: 1px solid var(--line); columns: 2 34ch; column-gap: clamp(48px, 7vw, 120px); column-rule: 1px solid var(--line); }
.founder-biography p { break-inside: avoid; margin: 0 0 1.85em; }
.founder-signature { width: min(100%, 680px); margin: clamp(34px, 4vw, 58px) 0 0 auto; padding-top: 28px; border-top: 1px solid var(--line); }

.company-card { display: grid; grid-template-columns: .75fr 1.25fr; border-top: 1px solid var(--line); padding: 58px 0; gap: 8vw; }
.company-card h2 { margin: 0; font-size: clamp(32px, 3.2vw, 52px); letter-spacing: -.04em; }
.company-logo-frame { display: flex; align-items: center; justify-content: center; width: min(260px, 100%); aspect-ratio: 1; margin-bottom: 28px; padding: 18px; border-radius: 16px; background: var(--white); }
.company-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.company-card .company-no { color: var(--accent); font-size: 12px; margin-bottom: 18px; }
.company-card p { color: var(--muted); line-height: 1.85; max-width: 770px; }
.company-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.company-tags span { padding: 9px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; }

.project-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 42px; }
.subcategory-filter { margin-top: -26px; margin-bottom: 48px; }
.subcategory-filter button { padding: 9px 14px; font-size: 12px; }
.project-filter button { padding: 12px 18px; border: 1px solid var(--line); border-radius: 100px; background: transparent; cursor: pointer; }
.project-filter button.active, .project-filter button:hover { background: var(--accent); color: var(--deep); border-color: var(--accent); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-grid .project-card { height: 560px; }
.project-grid .project-card::after { display: none; }
.project-card-link { position: absolute; inset: 0; z-index: 1; display: block; }
.project-card-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,10,6,.84), transparent 62%); pointer-events: none; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.project-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; font-size: 12px; }
.project-detail-intro { display: grid; grid-template-columns: .34fr 1fr; gap: clamp(45px, 8vw, 140px); align-items: start; }
.project-detail-header { position: relative; min-height: 360px; padding: calc(var(--header-h) + 48px) 0 52px; display: flex; align-items: end; overflow: hidden; background: radial-gradient(ellipse at 78% 0%, rgba(157,203,107,.18), transparent 44%), radial-gradient(circle at 16% 100%, rgba(117,169,67,.08), transparent 34%), #07120b; color: var(--white); }
.project-detail-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,8,4,.28), transparent 68%); pointer-events: none; }
.project-detail-header-content { position: relative; z-index: 2; }
.project-detail-header .breadcrumb { margin-bottom: 30px; }
.project-detail-header h1 { max-width: 1100px; margin: 14px 0 0; font-size: clamp(42px, 4.5vw, 68px); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.project-detail-orbit { position: absolute; width: 440px; height: 440px; right: -70px; top: -280px; border: 1px solid rgba(157,203,107,.15); border-radius: 50%; box-shadow: 0 0 0 76px rgba(157,203,107,.03), 0 0 0 152px rgba(157,203,107,.018); }
.project-detail-meta { position: sticky; top: 110px; padding-top: 18px; border-top: 1px solid var(--line); }
.project-detail-meta > span { display: block; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 10px; }
.project-detail-meta > strong { font-size: clamp(24px, 2.5vw, 38px); font-weight: 500; }
.project-detail-main-info { margin: 0 0 28px; color: var(--text); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.35; letter-spacing: -.015em; font-weight: 700; }
.project-detail-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.project-detail-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: 12px; }
.project-detail-body { color: var(--muted); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.85; max-width: 900px; }
.project-detail-body h2, .project-detail-body h3 { color: var(--text); line-height: 1.15; letter-spacing: -.03em; }
.project-detail-body img { border-radius: 18px; margin: 35px 0; }
.project-video-section { padding-top: 0; }
.project-video-frame { position: relative; width: min(100%, 1080px); margin-inline: 0 auto; overflow: hidden; border-radius: 24px; background: #050f09; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.project-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project-gallery-section { background: var(--bg-2); }
.project-detail-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project-detail-gallery a { position: relative; grid-column: span 4; height: 420px; overflow: hidden; border-radius: 16px; }
.project-detail-gallery a:nth-child(5n + 1), .project-detail-gallery a:nth-child(5n + 2) { grid-column: span 6; height: 520px; }
.project-detail-gallery--cover-only a:only-child { grid-column: 1 / -1; height: min(68vw, 720px); }
.project-detail-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project-detail-gallery a:hover img { transform: scale(1.045); }
.project-detail-gallery a > span { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(5,15,9,.66); color: #fff; backdrop-filter: blur(10px); }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.reference-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(40px, 8vw, 150px); align-items: end; margin-bottom: clamp(42px, 5vw, 72px); }
.reference-intro .display-title { max-width: 800px; margin: 0; }
.reference-intro-copy { max-width: 640px; justify-self: end; }
.reference-intro-copy .body-copy { margin-bottom: 0; }
.reference-table-shell { position: relative; overflow: clip; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface-solid) 58%, transparent); }
.reference-table-shell::before { content: ""; position: absolute; z-index: 3; inset: 0 0 auto; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.reference-table-shell.is-visible::before { transform: scaleX(1); }
.reference-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.reference-table th, .reference-table td { padding: 24px clamp(18px, 2.2vw, 40px); text-align: left; vertical-align: top; }
.reference-table th { position: sticky; z-index: 2; top: 76px; background: color-mix(in srgb, var(--surface-solid) 94%, var(--bg)); color: var(--muted); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(18px); }
.reference-table th:nth-child(1) { width: 66%; }
.reference-table th:nth-child(2) { width: 22%; }
.reference-table th:nth-child(3) { width: 12%; text-align: right; }
.reference-table tbody tr { border-bottom: 1px solid var(--line); transition: background-color .38s cubic-bezier(.16,1,.3,1); }
.reference-table tbody tr:last-child { border-bottom: 0; }
.reference-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 11%, transparent); }
.reference-table td { color: var(--muted); font-size: clamp(14px, 1vw, 16px); line-height: 1.55; }
.reference-table td:first-child { color: var(--text); transition: transform .38s cubic-bezier(.16,1,.3,1); }
.reference-table tbody tr:hover td:first-child { transform: translateX(5px); }
.reference-table td:last-child { color: var(--accent-text); text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
.reference-unknown { color: color-mix(in srgb, var(--muted) 58%, transparent); }
.reference-empty-row td { height: 220px; text-align: center !important; vertical-align: middle; }
.reference-empty-row i { display: block; margin-bottom: 12px; color: var(--accent); font-size: 30px; }
.reference-empty-row p { margin: 0; color: var(--muted); }
.reference-page .fixed-socials,
.reference-page .floating-actions { display: none; }

.catalog-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center; }
.catalog-cover { min-height: 650px; border-radius: 24px; padding: 45px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(9,20,12,.1), rgba(7,17,10,.76)), url("https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?auto=format&fit=crop&w=1200&q=90") center/cover; color: #fff; box-shadow: var(--shadow); transform: rotate(-2deg); }
.catalog-cover .cover-year { font-size: 12px; letter-spacing: .2em; }
.catalog-cover h2 { font-size: clamp(42px, 5vw, 76px); line-height: .94; letter-spacing: -.05em; margin: 0; }
.catalog-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 35px 0; }
.catalog-meta div { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.catalog-meta strong, .catalog-meta span { display: block; }
.catalog-meta span { color: var(--muted); margin-top: 5px; font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 7vw; }
.contact-list { margin-top: 46px; }
.contact-line { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr; gap: 15px; }
.contact-line i { color: var(--accent); margin-top: 4px; }
.contact-line span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .12em; }
.contact-form { padding: clamp(24px, 4vw, 60px); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(20px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { position: relative; }
.form-field.full { grid-column: 1 / -1; }
.form-control { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); padding: 17px 2px; outline: 0; resize: vertical; transition: .3s; }
.form-control:focus { border-color: var(--accent); }
.form-errors { color: #d86666; margin-top: 5px; font-size: 12px; }
.submit-btn { margin-top: 24px; border: 0; background: var(--accent); color: var(--deep); cursor: pointer; }
.map-wrap { height: 600px; position: relative; }
#contact-map { display: block; width: 100%; height: 100%; border: 0; background: var(--bg-2); }
#contact-map.map-placeholder { display: grid; place-items: center; padding: 24px; color: var(--muted); text-align: center; }
.map-placeholder i { color: var(--accent); font-size: 42px; }
.map-placeholder p { margin: 14px 0 0; }
.map-actions { position: absolute; z-index: 2; left: 3vw; bottom: 3vw; display: flex; gap: 10px; }
.map-actions a { padding: 15px 20px; border-radius: 100px; background: #fff; color: #0a1510; border: 1px solid rgba(10,21,16,.12); box-shadow: 0 12px 34px rgba(0,0,0,.24); backdrop-filter: blur(12px); font-size: 13px; font-weight: 800; }
html[data-theme="dark"] .map-actions a { background: #0a1510; color: #fff; border-color: rgba(255,255,255,.2); }
.map-actions a i { margin-right: 7px; color: var(--accent); }

.site-footer { background: #06100a; color: #f1f7ef; padding: clamp(80px, 9vw, 150px) 0 28px; position: relative; overflow: hidden; }
.footer-orbit { position: absolute; width: 800px; height: 800px; border: 1px solid rgba(157,203,107,.1); border-radius: 50%; right: -300px; top: -440px; box-shadow: 0 0 0 100px rgba(157,203,107,.025), 0 0 0 220px rgba(157,203,107,.015); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 7vw; position: relative; }
.footer-lead h2 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; margin: 25px 0 10px; }
.light-btn { border-color: rgba(255,255,255,.16); }
.light-btn:hover { background: var(--accent); color: var(--deep); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; padding-top: 42px; }
.footer-links strong { display: block; color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 22px; }
.footer-links a, .footer-links p { display: block; margin: 12px 0; color: rgba(255,255,255,.62); line-height: 1.6; transition: .3s; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 90px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: rgba(255,255,255,.45); font-size: 12px; }
.developer-credit { color: rgba(255,255,255,.58); transition: color .3s; }
.developer-credit:hover { color: var(--accent); }
#home-intro { scroll-margin-top: 70px; }
.social-row { display: flex; gap: 8px; }
.social-row a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; display: grid; place-items: center; margin: 0; }
.floating-actions { position: fixed; z-index: 900; right: max(16px, 2vw); bottom: max(18px, 2vw); display: flex; flex-direction: column; gap: 9px; align-items: end; }
.fixed-socials { position: fixed; z-index: 920; top: calc(var(--header-h) + 18px); right: max(16px, 2vw); display: flex; flex-direction: column; gap: 8px; align-items: end; }
.fixed-socials a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 100px; background: color-mix(in srgb, var(--surface-solid) 84%, transparent); box-shadow: 0 10px 28px rgba(0,0,0,.14); backdrop-filter: blur(18px); transition: width .35s, color .3s, background .3s; }
.fixed-socials a i { flex: 0 0 42px; text-align: center; }
.fixed-socials a span { max-width: 0; opacity: 0; white-space: nowrap; font-size: 11px; font-weight: 800; transition: .3s; }
.fixed-socials a:hover { width: 135px; background: var(--accent); color: var(--deep); }
.fixed-socials a:hover span { max-width: 82px; opacity: 1; padding-right: 14px; }
.catalog-unavailable { display: inline-flex; margin-top: 20px; color: var(--muted); font-weight: 700; }
.float-btn { height: 52px; width: 52px; border-radius: 100px; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,.2); color: #fff; transition: width .35s; overflow: hidden; }
.float-btn i { font-size: 20px; flex: 0 0 52px; text-align: center; }
.float-btn span { white-space: nowrap; opacity: 0; max-width: 0; font-size: 12px; font-weight: 700; transition: .3s; }
.float-btn:hover { width: 150px; }
.float-btn:hover span { opacity: 1; max-width: 90px; padding-right: 17px; }
.float-btn.whatsapp { background: #22a765; }
.float-btn.phone { background: var(--accent); color: var(--deep); }
.alert { margin-bottom: 22px; padding: 14px 18px; border-radius: 12px; background: rgba(117,169,67,.14); color: var(--accent); }

/* Tighter global rhythm */
.section { padding: clamp(64px, 6.4vw, 112px) 0; }
.section-sm { padding: clamp(44px, 4.6vw, 76px) 0; }
.display-title { margin: 14px 0 20px; }
.lead-text { margin-top: 0; }
.body-copy { margin-top: 0; }
.intro-grid { gap: clamp(32px, 5vw, 90px); }
.stat-row { margin-top: 42px; }
.section-head { margin-bottom: 34px; }
.service-card h3 { margin-top: 66px; }
.company-card { padding: 44px 0; }
.contact-list { margin-top: 32px; }
.footer-bottom { margin-top: 60px; }

.project-filter-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.project-filter { margin-bottom: 0; }
.subcategory-filter { margin-top: 0; margin-bottom: 0; justify-content: flex-end; }
.category-filter { flex: 0 0 auto; }
.subcategory-filter { flex: 1 1 520px; }

.project-gallery-category + .project-gallery-category { margin-top: 42px; }
.project-gallery-category-head { margin-bottom: 18px; }
.project-gallery-category-head h3 { margin: 0; font-size: clamp(24px, 2.2vw, 36px); letter-spacing: -.035em; font-weight: 500; }

/* Custom project gallery manager */
.gallery-manager-page { min-height: 100svh; padding-top: var(--header-h); background: radial-gradient(circle at 80% 0%, rgba(157,203,107,.11), transparent 30%), var(--bg); }
.gallery-manager-shell { width: min(96vw, 1880px); margin-inline: auto; display: grid; grid-template-columns: 340px 1fr; gap: 24px; padding: 24px 0 70px; }
.gallery-manager-sidebar { position: sticky; top: calc(var(--header-h) + 18px); height: calc(100svh - var(--header-h) - 42px); padding: 18px; border: 1px solid var(--line); border-radius: 28px; background: color-mix(in srgb, var(--surface-solid) 72%, transparent); backdrop-filter: blur(22px); overflow: hidden; display: flex; flex-direction: column; }
.gallery-manager-home { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font-size: 12px; font-weight: 800; }
.gallery-manager-sidebar-head { margin: 28px 0 18px; }
.gallery-manager-sidebar-head h1 { margin: 8px 0 0; font-size: 34px; letter-spacing: -.045em; font-weight: 500; }
.gallery-project-list { display: grid; gap: 8px; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.gallery-project-list::-webkit-scrollbar { width: 6px; }
.gallery-project-list::-webkit-scrollbar-track { background: transparent; }
.gallery-project-list::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 100px; }
.gallery-project-list a { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 9px; border: 1px solid transparent; border-radius: 16px; color: var(--muted); transition: .28s; }
.gallery-project-list a:hover, .gallery-project-list a.active { color: var(--text); background: rgba(157,203,107,.1); border-color: var(--line); }
.gallery-project-list img { width: 52px; height: 46px; border-radius: 12px; object-fit: cover; background: var(--bg-2); }
.gallery-project-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.gallery-project-list small { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); color: var(--accent); font-size: 11px; font-weight: 900; }
.gallery-manager-content { min-width: 0; }
.gallery-manager-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; padding: clamp(22px, 3vw, 42px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface-solid) 72%, transparent), color-mix(in srgb, var(--surface) 85%, transparent)); backdrop-filter: blur(22px); }
.gallery-manager-top .breadcrumb { color: var(--muted); margin-bottom: 18px; }
.gallery-manager-top h2 { margin: 0; font-size: clamp(34px, 4vw, 64px); line-height: 1; letter-spacing: -.055em; font-weight: 500; }
.gallery-manager-top p { max-width: 760px; margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
.gallery-manager-board { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; margin-bottom: 24px; }
.gallery-panel, .gallery-image-group { padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); backdrop-filter: blur(20px); }
.gallery-panel-head, .gallery-image-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.gallery-panel h3, .gallery-image-group h3 { margin: 7px 0 0; font-size: 24px; letter-spacing: -.035em; font-weight: 600; }
.gallery-inline-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 14px; }
.gallery-inline-form input, .gallery-upload-form select, .manager-image-category { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: color-mix(in srgb, var(--surface-solid) 84%, transparent); color: var(--text); outline: 0; }
.gallery-inline-form input { padding: 13px 14px; }
.gallery-inline-form button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 13px; padding: 0 16px; background: var(--accent); color: var(--deep); cursor: pointer; font-weight: 900; }
.gallery-category-list { display: grid; gap: 8px; }
.gallery-category-card { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: color-mix(in srgb, var(--surface-solid) 62%, transparent); }
.drag-handle, .manager-image-handle { border: 0; background: transparent; color: var(--muted); cursor: grab; }
.gallery-category-card span { font-weight: 800; }
.gallery-category-card small { color: var(--accent); font-weight: 900; }
.gallery-delete-btn { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: #d86666; cursor: pointer; }
.gallery-upload-form { display: grid; gap: 14px; }
.gallery-upload-form label > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.gallery-upload-form select { padding: 13px 14px; }
.gallery-dropzone { min-height: 210px; display: grid; place-items: center; text-align: center; padding: 24px; border: 1px dashed color-mix(in srgb, var(--accent) 46%, var(--line)); border-radius: 22px; background: rgba(157,203,107,.08); cursor: pointer; }
.gallery-dropzone input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.gallery-dropzone i { font-size: 36px; color: var(--accent); margin-bottom: 10px; }
.gallery-dropzone strong, .gallery-dropzone span { display: block; }
.gallery-dropzone strong { font-size: 20px; }
.gallery-dropzone span { margin-top: 6px; color: var(--muted); }
.gallery-dropzone.is-dragging { border-color: var(--accent); background: rgba(157,203,107,.18); transform: translateY(-2px); }
.gallery-image-groups { display: grid; gap: 18px; }
.manager-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; min-height: 82px; }
.manager-image-card { position: relative; padding: 9px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface-solid) 70%, transparent); }
.manager-image-card img { width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; border-radius: 13px; }
.manager-image-handle { position: absolute; z-index: 2; top: 16px; left: 16px; width: 34px; height: 34px; border-radius: 50%; background: rgba(5,15,9,.62); color: #fff; backdrop-filter: blur(10px); }
.manager-image-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 9px; }
.manager-image-category { min-width: 0; padding: 9px 10px; font-size: 12px; }
.gallery-empty { padding: 22px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.03); }
.gallery-sort-ghost { opacity: .35; transform: scale(.98); }

.home-projects-section { scroll-margin-top: 70px; }
.home-project-card { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
.home-project-card .project-info { padding: 24px; }
.home-project-card .project-info h3 { font-size: clamp(22px, 2vw, 32px); }
.project-pagination { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 26px; }
.project-pagination .swiper-pagination-bullet { width: 34px; height: 8px; margin: 0 !important; padding: 0; border: 0; border-radius: 100px; background: rgba(255,255,255,.18); opacity: 1; cursor: pointer; overflow: hidden; transition: width .35s, background .35s; }
.project-pagination .swiper-pagination-bullet span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.project-pagination .swiper-pagination-bullet-active { width: 56px; background: rgba(255,255,255,.28); }
.project-pagination .swiper-pagination-bullet-active span { transform: scaleX(1); }
.section-action { display: flex; justify-content: center; margin-top: 30px; }
.home-projects-section .light-btn { margin-top: 0; background: rgba(255,255,255,.08); color: var(--white); backdrop-filter: blur(14px); }
.home-projects-section .light-btn:hover { background: var(--accent); color: var(--deep); }

/* Activity areas */
.activity-page-hero .page-hero-bg,
.activity-detail-hero .page-hero-bg { opacity: .64; }
.activity-intro { margin-bottom: clamp(38px, 4vw, 64px); }
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.activity-card a { display: block; }
.activity-card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, var(--bg-2), color-mix(in srgb, var(--accent) 18%, var(--deep))); }
.activity-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 12, 7, .42), transparent 52%); pointer-events: none; }
.activity-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s; }
.activity-card:hover .activity-card-media img { transform: scale(1.055); filter: saturate(1.08); }
.activity-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 70% 25%, rgba(157,203,107,.25), transparent 30%), linear-gradient(145deg, #17271d, #09120d); }
.activity-card-placeholder i { font-size: clamp(54px, 6vw, 92px); color: rgba(157,203,107,.52); }
.activity-card-number { position: absolute; z-index: 2; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; color: #fff; background: rgba(5,15,9,.28); backdrop-filter: blur(12px); font-size: 11px; font-weight: 800; }
.activity-card-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 2px 0; }
.activity-card-copy h2 { max-width: 78%; margin: 0; font-size: clamp(22px, 2vw, 32px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.activity-card-copy > span { display: inline-flex; align-items: center; gap: 8px; padding-top: 7px; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; white-space: nowrap; }
.activity-card-copy i { transition: transform .3s; }
.activity-card:hover .activity-card-copy i { transform: translate(3px, -3px); }
.activity-detail-layout { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: clamp(54px, 8vw, 150px); align-items: start; }
.activity-detail-aside { position: sticky; top: calc(var(--header-h) + 34px); }
.activity-detail-aside p { max-width: 340px; margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.activity-detail-aside .magnetic-btn { min-width: 205px; }
.activity-detail-content { max-width: 980px; font-size: clamp(18px, 1.35vw, 23px); line-height: 1.75; color: var(--muted); }
.activity-detail-content p { margin: 0 0 1.25em; }
.activity-detail-content p:first-child { color: var(--text); font-size: clamp(22px, 1.8vw, 29px); line-height: 1.55; letter-spacing: -.018em; }
.activity-gallery-section { padding-top: 0; }
.activity-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.activity-gallery-grid a { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; background: var(--bg-2); }
.activity-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.activity-gallery-grid a:hover img { transform: scale(1.06); }
.activity-gallery-grid a > span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,15,9,.44); color: #fff; opacity: 0; transition: opacity .35s; }
.activity-gallery-grid a:hover > span { opacity: 1; }
.activity-gallery-grid a > span i { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; backdrop-filter: blur(12px); }

/* Detail page related-content carousels */
.related-section { overflow: hidden; background: var(--bg-2); }
.related-swiper { overflow: visible; }
.related-card { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
.related-card .project-info { padding: 24px; }
.related-card .project-info h3 { font-size: clamp(22px, 2vw, 32px); }
.related-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 70% 25%, rgba(157,203,107,.28), transparent 32%), linear-gradient(145deg, #17271d, #09120d); }
.related-card-placeholder i { font-size: clamp(50px, 5vw, 86px); color: rgba(157,203,107,.5); }
.related-section .slider-arrows { margin-right: 64px; }
.related-section .round-arrow { color: var(--text); border-color: var(--line); background: var(--surface); }
.related-section .round-arrow:hover { color: var(--deep); border-color: var(--accent); background: var(--accent); }
.related-pagination { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 26px; }
.related-pagination .swiper-pagination-bullet { width: 34px; height: 8px; margin: 0 !important; padding: 0; border: 0; border-radius: 100px; background: color-mix(in srgb, var(--text) 16%, transparent); opacity: 1; cursor: pointer; overflow: hidden; transition: width .35s, background .35s; }
.related-pagination .swiper-pagination-bullet span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.related-pagination .swiper-pagination-bullet-active { width: 56px; background: color-mix(in srgb, var(--text) 25%, transparent); }
.related-pagination .swiper-pagination-bullet-active span { transform: scaleX(1); }
