/* ── DESIGN TOKENS ────────────────────────────────────────── */
/* 
   HISTORICAL FONT VALUES (for easy reset):
   - body: 16px
   - .nav-links a: 12px
   - .nav-cta: 12px
   - .btn-primary: 12px
   - .btn-outline: 12px
   - .nav-logo: 16px
   - .hero-sub: 14px
   - .ap-hero-sub: 13px
   - General paragraphs/text: 14px
*/
:root {
  --gold: #C9973A;
  --gold-light: #E8C06A;
  --gold-pale: #F5E4B8;
  --dark: #090A0F;
  --dark-2: #0F1018;
  --dark-3: #161820;
  --dark-4: #1E2030;
  --text: #E8E4DC;
  --text-muted: #8A8880;
  --white: #FFFFFF;
  --container-max: 1320px;
  --section-padding-x: max(60px, calc((100% - var(--container-max)) / 2));
}

/* ── RESET ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  /* Remove old-school blue tap highlight on mobile */
}


/* ── SCROLLBAR STYLING ────────────────────────────────────── */
/* Mobile/Tablet: Hide scrollbar */
@media (max-width: 1023px) {
  * {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  *::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
}

/* Desktop: Custom Premium Scrollbar */
@media (min-width: 1024px) {
  ::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
  }

  ::-webkit-scrollbar-track {
    background: transparent !important;
  }

  ::-webkit-scrollbar-thumb {
    background: var(--gold) !important;
    border-radius: 10px !important;
    border: 3px solid transparent !important;
    background-clip: padding-box !important;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light) !important;
  }

  ::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Firefox */
  html,
  body {
    scrollbar-width: thin !important;
    scrollbar-color: var(--gold) transparent !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── CUSTOM CURSOR ────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 151, 58, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.3s ease;
  transform: translate(-13px, -13px);
}

/* ── NAVIGATION ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px var(--section-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: linear-gradient(to bottom, rgba(9, 10, 15, 0.95), transparent);
  background-color: rgba(9, 10, 15, 0);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease, padding 0.4s ease;
  border: none;
  box-shadow: none;
}

nav.nav-solid {
  background-color: rgba(9, 10, 15, 0.97) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 0 rgba(201, 151, 58, 0.1) !important;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 20px;
  }
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

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

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 12px 28px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}



/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: 16px 38px;
  background: var(--gold);
  color: var(--dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  display: inline-block;
  padding: 16px 38px;
  border: 1px solid rgba(201, 151, 58, 0.4);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ── SECTION HELPERS ──────────────────────────────────────── */
section {
  position: relative;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -15px;
  /* background: url('../images/hero-fontana.jpg') center 60% / cover no-repeat; -- now handled by video poster */
  filter: blur(6px) brightness(0.95);
  animation: kenburns 20s ease-in-out infinite alternate;
}

.hero-video-src {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .hero-video-src {
    object-position: 80% center;
  }
}


.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(9, 10, 15, 0.3) 0%,
      rgba(9, 10, 15, 0.2) 30%,
      rgba(9, 10, 15, 0.65) 65%,
      rgba(9, 10, 15, 0.95) 100%);
  transform: none;
}

@keyframes kenburns {
  from {
    transform: scale(1) translate(0, 0);
  }

  to {
    transform: scale(1.06) translate(-1%, -0.5%);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--section-padding-x) 90px;
  max-width: 560px;
  box-sizing: content-box;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-eyebrow-icon {
  flex-shrink: 0;
  color: var(--gold);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(232, 228, 220, 0.82);
  max-width: 440px;
  margin-bottom: 44px;
  letter-spacing: 0.4px;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
  position: relative;
  z-index: 2;
}

.hero-stats {
  position: absolute;
  bottom: 90px;
  right: var(--section-padding-x);
  z-index: 2;
  display: flex;
  gap: 40px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232, 228, 220, 0.65);
  margin-top: 6px;
  display: block;
}

/* Desktop: stats break out to .hero positioning context */
@media (min-width: 1025px) {
  .hero-content {
    position: static;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-buttons {
    position: relative;
    z-index: 2;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: var(--section-padding-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}

.hero-scroll span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}

/* ── TRUST BAR (Marquee) ─────────────────────────────────── */
.trust-bar {
  background: var(--dark-3);
  border-top: 1px solid rgba(201, 151, 58, 0.15);
  border-bottom: 1px solid rgba(201, 151, 58, 0.15);
  padding: 22px var(--section-padding-x);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 80s linear infinite;
  /* Hardware acceleration optimization */
  will-change: transform;
  transform: translateZ(0);
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.trust-bar-inner {
  overflow: hidden;
  max-width: var(--container-max);
  margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.trust-item {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 28px;
}

.trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--dark-2);
  padding: 50px var(--section-padding-x);
  border-bottom: 1px solid rgba(201, 151, 58, 0.1);
}

.trust-strip-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  text-align: center;
  padding: 0 12px;
  min-height: 95px;
}

.pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pillar-icon {
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-pillar>svg.pillar-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.trust-pillar>span.pillar-icon {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 0.5px;
}

.pillar-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

.pillar-sep {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(201, 151, 58, 0.4), transparent);
  flex-shrink: 0;
}

/* ── PROJECTS ─────────────────────────────────────────────── */
.projects-section {
  padding: 120px var(--section-padding-x);
  background: var(--dark-2);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 70px;
}

.projects-header-left {
  max-width: 500px;
}

.projects-header p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(232, 228, 220, 0.68);
  margin-top: 20px;
  letter-spacing: 0.3px;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s;
  white-space: nowrap;
}

.view-all-link::after {
  content: '→';
  font-size: 16px;
}

.view-all-link:hover {
  gap: 20px;
  color: var(--gold-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.project-card:first-child {
  grid-row: span 2;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
  min-height: 260px;
}

.project-card:first-child .project-img {
  min-height: 560px;
}

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(9, 10, 15, 0.95) 0%,
      rgba(9, 10, 15, 0.15) 55%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.4s ease;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top,
      rgba(9, 10, 15, 0.98) 0%,
      rgba(9, 10, 15, 0.3) 55%,
      rgba(9, 10, 15, 0.05) 100%);
}

.project-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 10px;
}

.project-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.project-card:first-child .project-name {
  font-size: 32px;
}

.project-hover-reveal {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.45s ease, opacity 0.35s ease, transform 0.35s ease;
}

.project-card:hover .project-hover-reveal {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.project-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 151, 58, 0.55), transparent);
  margin: 12px 0 12px;
}

.project-desc {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.4px;
  color: rgba(232, 228, 220, 0.7);
  line-height: 1.7;
}

/* Touch devices — always show description */
@media (hover: none) {
  .project-hover-reveal {
    max-height: 120px;
    opacity: 1;
    transform: translateY(0);
  }
}

.project-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 151, 58, 0.45);
  padding: 5px 12px;
  background: rgba(9, 10, 15, 0.6);
  backdrop-filter: blur(4px);
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about-section {
  padding: 140px var(--section-padding-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  background: var(--dark);
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  width: 55%;
  bottom: -40px;
  right: -40px;
  border: 4px solid var(--dark);
  box-shadow: 0 0 60px rgba(201, 151, 58, 0.15);
}

.about-gold-line {
  position: absolute;
  top: 0;
  left: -20px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: rgba(232, 228, 220, 0.85);
  margin: 32px 0 40px;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

.about-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(232, 228, 220, 0.65);
  margin-bottom: 50px;
  letter-spacing: 0.3px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.value-item {
  padding: 24px;
  border: 1px solid rgba(201, 151, 58, 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s;
}

.value-item:hover {
  border-color: rgba(201, 151, 58, 0.35);
  background: rgba(201, 151, 58, 0.04);
}

.value-icon {
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-item:hover .value-icon svg {
  transform: scale(1.15) rotate(8deg);
  color: var(--gold-light);
}

.value-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services-section {
  padding: 120px var(--section-padding-x);
  background: var(--dark-3);
}

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.services-intro p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(232, 228, 220, 0.65);
  letter-spacing: 0.3px;
}

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

.service-card {
  padding: 48px 36px;
  background: var(--dark-4);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card:hover {
  background: #1a1c28;
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: rgba(201, 151, 58, 0.1);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── CTA ──────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 160px var(--section-padding-x);
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: url('../images/cta-stabla.jpg') center / cover no-repeat;
  filter: brightness(0.22);
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 151, 58, 0.18) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin: 24px 0 20px;
}

.cta-title em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-sub {
  font-size: 15px;
  font-weight: 300;
  color: rgba(232, 228, 220, 0.68);
  letter-spacing: 0.4px;
  margin-bottom: 52px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(201, 151, 58, 0.12);
  padding: 55px var(--section-padding-x) 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  margin-bottom: 45px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 600px;
  text-wrap: balance;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 151, 58, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 151, 58, 0.05);
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

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

.footer-contact p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 2;
  letter-spacing: 0.3px;
}

.footer-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(138, 136, 128, 0.6);
  letter-spacing: 0.5px;
}

.footer-bottom-links {
  display: flex;
  gap: 28px;
}

.footer-bottom-links a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(138, 136, 128, 0.6);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

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

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ── RESPONSIVE COMPATIBILITY ────────────────────────────── */

/* Nav Toggle (Hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background-color: #ffffff;
  box-shadow: none;
  opacity: 1;
  transition: all 0.25s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--gold);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--gold);
}

/* TABLET (1024px max) */
@media (max-width: 1024px) {
  nav {
    padding: 20px 40px;
  }

  .hero-content {
    padding: 0 40px 80px;
  }

  .hero-stats {
    right: 40px;
    bottom: 40px;
  }

  .hero-scroll {
    display: none;
  }

  .trust-strip {
    padding: 60px 40px;
  }

  .projects-section,
  .about-section,
  .services-section,
  .cta-section {
    padding: 100px 40px;
  }



  .about-section {
    gap: 60px;
  }

  .services-intro {
    gap: 40px;
  }

  footer {
    padding: 60px 40px 30px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Language Selector Dropdown */
.lang-selector {
  position: relative;
  /* Increased elegant separation from the CTA */
  margin-right: 32px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.lang-active {
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-muted);
  transition: color 0.3s ease, background 0.3s ease;
  /* Increased hit area padding */
  padding: 10px 14px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  user-select: none;
}

.lang-active::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  /* Micro-alignment for perfect vertical optical centering */
  transform: translateY(1px);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-top-color 0.3s ease;
}

.lang-selector:hover .lang-active,
.lang-selector.open .lang-active {
  color: var(--gold-light);
  /* Subtle interaction feedback */
  background: rgba(201, 151, 58, 0.05);
}

.lang-selector:hover .lang-active::after,
.lang-selector.open .lang-active::after {
  border-top-color: var(--gold-light);
}

.lang-selector.open .lang-active::after {
  transform: translateY(1px) rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -10px);
  background: rgba(9, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 151, 58, 0.2);
  list-style: none;
  padding: 8px 0;
  margin-top: 10px;
  min-width: 90px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.lang-selector.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: all;
}

.lang-dropdown li {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.lang-dropdown li:hover {
  background: rgba(201, 151, 58, 0.1);
  color: var(--gold-light);
}

/* Lang Fade Effect */
[data-i18n] {
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-fade-out {
  opacity: 0.4 !important;
  filter: blur(6px) !important;
}

.lang-fade-in {
  opacity: 1 !important;
  filter: blur(0px) !important;
}

/* Touch Tap Effect Styles */
.touch-tap-effect {
  position: fixed;
  width: 20px;
  height: 20px;
  background: rgba(201, 151, 58, 0.4);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  z-index: 9999;
  animation: tapRipple 0.5s ease-out forwards;
}

@keyframes tapRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(3.5);
    opacity: 0;
  }
}

/* TABLET (1024px max) */
@media (max-width: 1024px) {

  /* Hero stats: tablet — flow above buttons */
  .hero-stats {
    position: static;
    justify-content: flex-start;
    margin-bottom: 30px;
    gap: 30px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-label {
    font-size: 9px;
  }
}

/* MOBILE (768px max) */
@media (max-width: 768px) {
  .trust-strip {
    padding: 30px 10px;
  }

  .trust-strip-inner {
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: space-between;
  }

  .trust-pillar {
    flex: 1;
    min-height: auto;
    gap: 6px;
    padding: 0 4px;
    min-width: 0;
  }

  .pillar-icon {
    font-size: 14px;
  }

  .trust-pillar>svg.pillar-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0;
  }

  .trust-pillar>span.pillar-icon {
    font-size: 24px;
  }

  .pillar-number {
    font-size: 24px;
  }

  .pillar-label {
    font-size: 7.5px;
    letter-spacing: 0.8px;
    max-width: none;
    line-height: 1.2;
    font-weight: 600;
  }

  .pillar-sep {
    display: none;
  }

  nav {
    padding: 15px 25px;
  }

  .nav-logo {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .nav-cta {
    display: none;
  }

  /* Hide CTA button in header on mobile */
  .nav-toggle {
    display: flex;
  }

  /* Mobile Menu Container (Dropdown) */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(9, 10, 15, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 151, 58, 0.2);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 10px 0 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    display: block;
    padding: 15px 25px;
    font-size: 12px;
    letter-spacing: 3px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s, padding-left 0.3s;
  }

  .nav-links a:hover {
    border-left: 2px solid var(--gold);
    padding-left: 23px;
    color: var(--gold-light);
  }

  .hero {
    align-items: center;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 20px;
  }

  .hero-content {
    padding: 0 25px 0;
    margin-top: 110px;
  }

  .hero-title {
    font-size: 42px;
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 12px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons a {
    text-align: center;
  }

  .hero-stats {
    gap: 24px;
    margin-bottom: 24px;
  }

  .stat-number {
    font-size: 26px;
  }

  .trust-bar {
    padding: 18px 0;
  }

  .marquee-track {
    animation-duration: 35s;
  }

  .trust-item {
    font-size: 10px;
    padding: 0 20px;
  }

  .projects-section,
  .about-section,
  .services-section,
  .cta-section {
    padding: 70px 25px;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-img-accent {
    width: 70%;
    right: -20px;
    bottom: -20px;
  }

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

  .services-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* CTA section — stack buttons, full width */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Touch ergonomics — 56px min-height (thumb-friendly) */
  .btn-primary,
  .btn-outline {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
  }

  /* Hero buttons are already full-width from stacking above,
     but modal form submit needs touch size too */
  .modal-submit {
    min-height: 56px;
  }
}

/* Touch devices — restore cursor on all cursor:none elements */
@media (pointer: coarse) {

  body,
  .project-card,
  .modal-close,
  .input-group input,
  .input-group select,
  .input-group textarea {
    cursor: auto;
  }
}

/* ── CONTACT MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 15, 0.92);
  backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

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

.modal-box {
  background: var(--dark-3);
  border: 1px solid rgba(201, 151, 58, 0.18);
  padding: 60px;
  max-width: 600px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  cursor: none;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 32px;
}

.modal-title em {
  font-style: italic;
  color: var(--gold-light);
}

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

.input-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.input-group input,
.input-group select,
.input-group textarea {
  font-family: 'Montserrat', sans-serif;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 151, 58, 0.15);
  color: var(--text);
  padding: 14px 16px;
  font-size: 16px;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
  border-radius: 0;
  cursor: none;
}

.input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23C9973A%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
}

.input-group select option {
  background: var(--dark-3);
  color: var(--text);
}

.input-group textarea {
  resize: vertical;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: rgba(201, 151, 58, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.file-upload-wrapper {
  position: relative;
}

.file-upload-label {
  font-family: 'Montserrat', sans-serif;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(201, 151, 58, 0.3);
  color: var(--text-muted);
  padding: 14px 16px;
  font-size: 16px;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-bottom: 0 !important;
  border-radius: 0;
}

.file-upload-label:hover {
  border-color: rgba(201, 151, 58, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
}

.file-upload-label svg {
  flex-shrink: 0;
}

.form-note {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 1px;
}

.modal-success {
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .modal-box {
    padding: 36px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ── SCROLL PROGRESS ──────────────────────────────────────── */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── CATALOGUES PAGE ─────────────────────────────────────────── */
.cat-section {
  min-height: 100vh;
  padding: 140px var(--section-padding-x) 80px;
}

.cat-header {
  margin-bottom: 60px;
}

.cat-back {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 30px;
  transition: color 0.2s;
}

.cat-back:hover {
  color: var(--gold-light);
}

.cat-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 0.4px;
}

/* Catalogue Grid */
.catalogues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.cat-card {
  background: var(--dark-3);
  border: 1px solid rgba(201, 151, 58, 0.08);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  overflow: hidden;
}

.cat-card:hover {
  border-color: rgba(201, 151, 58, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Thumbnail */
.cat-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--dark-4);
}

.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.cat-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 10, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.cat-card:hover .cat-thumb-overlay {
  opacity: 1;
}

.cat-thumb-view {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 10px 20px;
  background: rgba(201, 151, 58, 0.1);
}

/* Pulse animation removed - using static images */

/* Card info */
.cat-info {
  padding: 24px;
}

.cat-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.cat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ── PDF READER MODAL ────────────────────────────────────────── */
.pdf-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 16, 0.96);
  backdrop-filter: blur(8px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.pdf-modal-bg.open {
  opacity: 1;
  pointer-events: all;
}

.pdf-modal-box {
  width: min(var(--pdf-modal-w, 820px), 94vw);
  height: min(var(--pdf-modal-h, 90vh), 94vh);
  background: var(--dark-3);
  border: 1px solid rgba(201, 151, 58, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.35s ease, width 0.35s ease, height 0.35s ease;
}

.pdf-modal-bg.open .pdf-modal-box {
  transform: none;
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(201, 151, 58, 0.1);
  flex-shrink: 0;
}

.pdf-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
}

.pdf-modal-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdf-modal-controls button {
  background: none;
  border: 1px solid rgba(201, 151, 58, 0.3);
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-modal-controls button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

#pdfPageInfo {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  min-width: 50px;
  text-align: center;
}

#pdfDownload {
  color: var(--text-muted);
  transition: color 0.2s;
  line-height: 0;
}

#pdfDownload:hover {
  color: var(--gold);
}

#pdfModalClose {
  font-size: 20px !important;
  border: none !important;
  color: var(--text-muted) !important;
}

.pdf-modal-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  background: var(--dark-2);
}

#pdfCanvas {
  max-width: 100%;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

/* Catalogue responsive */
@media (max-width: 768px) {
  .cat-section {
    padding: 120px 25px 60px;
  }

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

  .cat-info {
    padding: 16px;
  }

  .cat-title {
    font-size: 18px;
  }

  .cat-desc {
    font-size: 12px;
  }

  .pdf-modal-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pdf-modal-content {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .catalogues-grid {
    grid-template-columns: 1fr;
  }
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.contact-card {
  background: var(--dark-3);
  padding: 48px;
  border-radius: 4px;
  border-top: 2px solid var(--gold);
  height: 100%;
}

.contact-company {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 24px;
}

.contact-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(232, 228, 220, 0.7);
  margin-bottom: 24px;
}

.contact-text.text-sm {
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.contact-text .text-white {
  color: var(--white);
  font-weight: 400;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--white);
}

.contact-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(201, 151, 58, 0.2);
  margin-bottom: 40px;
}

.contact-map-wrap iframe {
  display: block;
  border-radius: inherit;
}



/* ── ABOUT PAGE ──────────────────────────────────────────── */

/* ── SERVICES PAGE (Usluge) ──────────────────────────────── */
.srv-highlight {
  background: var(--dark-2);
  background: linear-gradient(135deg, var(--dark-3) 0%, rgba(201, 151, 58, 0.05) 100%);
  padding: 120px 0;
  border-top: 1px solid rgba(201, 151, 58, 0.15);
  border-bottom: 1px solid rgba(201, 151, 58, 0.15);
}

/* AI Visualization Component */
.srv-viz-container {
  width: 100%;
  max-width: 234px;
  /* Maintaining the sharp vertical lookup */
  aspect-ratio: 0.78;
  /* Slightly shorter than 3/4 to hide the bottom watermark */
  background: var(--dark-1);
  border: none;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .srv-viz-container {
    max-width: 200px;
    aspect-ratio: 0.78;
  }
}

.viz-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Keeps the focus on top to hide bottom watermark */
  transition: transform 0.4s ease-out, filter 0.8s ease;
}

.viz-before {
  z-index: 1;
  filter: saturate(0.85);
}

.viz-after {
  z-index: 2;
  opacity: 0;
}

.viz-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0;
  mix-blend-mode: overlay;
  z-index: 3;
  pointer-events: none;
}

.viz-gold-flash {
  display: none;
  /* Removed as per user request for more fluid blur-only transition */
}

.viz-blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(0px);
  z-index: 5;
  pointer-events: none;
  transition: backdrop-filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.viz-loader-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.viz-loader {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(201, 151, 58, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: vizRotate 1.2s linear infinite;
}

@keyframes vizRotate {
  to {
    transform: rotate(360deg);
  }
}

.viz-btn-main-new {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 rgba(201, 151, 58, 0);
  animation: pulseGold 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.viz-btn-main-new:hover {
  background: var(--gold);
  color: var(--dark-1);
}

@keyframes pulseGold {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 151, 58, 0.3);
  }

  100% {
    box-shadow: 0 0 60px 20px rgba(201, 151, 58, 0);
  }
}

/* ANIMATION STATES GENERATED BY JS */
.srv-viz-container.is-loading .viz-blur-overlay {
  backdrop-filter: blur(15px);
}

.srv-viz-container.is-loading .viz-loader-container {
  opacity: 1;
}

.srv-viz-container.is-animating .viz-noise {
  opacity: 0.12;
  animation: noiseFlicker 0.1s infinite;
}

@keyframes noiseFlicker {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-1%, 1%);
  }
}

.srv-viz-container.is-done .viz-before {
  filter: saturate(1);
}

.srv-viz-container.is-done .viz-after {
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Hide Visualise button content after JS changes text to "Show Original" */
#vizBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  animation: none;
}

/* Hero */
.ap-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  /* Space for nav */
}

.ap-hero-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 3;
  /* Content above image layer */
}

.ap-video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Lowest layer */
  overflow: hidden;
}

.ap-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* No filters applied as requested */
}

.ap-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(9, 10, 15, 0.3) 0%,
      rgba(9, 10, 15, 0.45) 25%,
      rgba(9, 10, 15, 0.75) 60%,
      rgba(9, 10, 15, 0.9) 85%,
      var(--dark) 100%);
  z-index: 2;
  pointer-events: none;
}

.ap-hero-bg {
  position: absolute;
  inset: -15px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(1.1);
  transform: scale(1.04);
  z-index: 2;
  /* Middle layer with transparency */
  opacity: 0.5;
  /* Show video through image */
}

.ap-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(9, 10, 15, 0.1) 0%,
      rgba(9, 10, 15, 0.7) 100%);
}

.ap-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--section-padding-x);
  max-width: 900px;
}

.ap-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 8.5vw, 120px);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin: 20px 0 16px;
  letter-spacing: -0.5px;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
}

.ap-hero-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--gold-light);
  text-transform: none;
}

.ap-hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  text-transform: none;
  /* Removed uppercase for better readability */
  color: rgba(232, 228, 220, 0.7);
  /* Muted white instead of gold */
  max-width: 600px;
}


/* Sections */
.ap-section {
  padding: 120px var(--section-padding-x);
}

.ap-section--dark {
  background: var(--dark);
}

.ap-section--darker {
  background: var(--dark-3);
}

.ap-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* 2-column layout */
.ap-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.ap-cols--reverse {
  direction: rtl;
}

.ap-cols--reverse>* {
  direction: ltr;
}

/* Image */
/* Image Wrapper for Services */
.srv-img-wrapper {
  background: transparent;
  height: auto;
  max-height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  /* Prevents hidden overflows during scaling */
  position: relative;
  border: none;
}

.srv-img-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 550px;
  display: block;
}

/* Modifier classes for different framing needs */
.img-cover {
  object-fit: cover !important;
  height: 100% !important;
  /* For images where we still want fill, but wrapper height:auto will now drive this */
}

.img-contain {
  object-fit: contain !important;
}

/* Specific fix for flexible height on cover images */
/* When wrapper has height:auto, we need to ensure cover images still look good */
.srv-img-wrapper:has(.img-cover) {
  aspect-ratio: 16 / 10;
  /* Fixed aspect for landscape to ensure they are "big enough" */
  position: relative;
}

.srv-img-wrapper:has(.img-cover)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(9, 10, 15, 0.25) 0%,
      rgba(9, 10, 15, 0.10) 50%,
      rgba(9, 10, 15, 0.30) 100%);
  pointer-events: none;
}

/* Dark overlay for contained images (Prodaja i nabava) to blend with dark theme */
.srv-img-wrapper:has(.img-contain) {
  position: relative;
}

.srv-img-wrapper:has(.img-contain)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(9, 10, 15, 0.35) 0%,
      rgba(9, 10, 15, 0.15) 50%,
      rgba(9, 10, 15, 0.40) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .srv-img-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .srv-img-wrapper {
    min-height: 200px;
    max-height: 350px;
  }
}

.ap-img-wrap {
  position: relative;
}

.ap-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.ap-img-caption {
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ap-img-caption::before {
  content: '— ';
  color: var(--gold);
  opacity: 0.6;
}

/* Text column */
.ap-text .section-label {
  margin-bottom: 20px;
}

.ap-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 32px;
}

.ap-section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.ap-section-title--centered {
  text-align: center;
}

.ap-text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.95;
  color: rgba(232, 228, 220, 0.65);
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.ap-text p:last-child {
  margin-bottom: 0;
}

/* Process section */
.ap-process-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 72px;
}

.ap-process-lead {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(232, 228, 220, 0.6);
  margin-top: 24px;
  letter-spacing: 0.3px;
}

.ap-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.ap-step {
  background: var(--dark-4);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.ap-step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.ap-step:hover::after {
  transform: scaleX(1);
}

.ap-step:hover {
  background: #1a1c28;
}

.ap-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: rgba(201, 151, 58, 0.12);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.ap-step-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.ap-step-desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Closing quote */
.ap-quote-section {
  position: relative;
  padding: 160px var(--section-padding-x);
  text-align: center;
  overflow: hidden;
}

.ap-quote-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.ap-quote-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 151, 58, 0.15) 0%, transparent 70%);
}

.ap-quote-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.ap-quote-mark {
  font-size: 20px;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 32px;
}

.ap-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
  margin: 0 0 48px;
}

.ap-quote-cta {
  display: inline-flex;
}

/* Responsive */
@media (max-width: 1024px) {
  .ap-section {
    padding: 100px 40px;
  }

  .ap-cols {
    gap: 60px;
  }

  .ap-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .ap-hero {
    height: auto;
    min-height: 60vh;
    align-items: flex-end;
  }

  .ap-hero-content {
    padding: 100px 24px 56px;
    /* Added 100px top padding to avoid fixed nav overlay */
  }

  .ap-section {
    padding: 70px 24px;
  }

  .ap-cols {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ap-cols--reverse {
    direction: ltr;
  }

  .ap-img {
    aspect-ratio: 4 / 3;
  }

  .ap-steps {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .ap-quote-section {
    padding: 100px 24px;
  }
}

@media (max-width: 480px) {
  .ap-steps {
    grid-template-columns: 1fr;
  }
}

/* ── LANGUAGE TRANSITION ─────────────────────────────────── */
[data-i18n] {
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.2s ease, text-shadow 0.2s ease;
}

.lang-fade-out {
  opacity: 0.3 !important;
  transform: translateY(3px) scale(0.98);
  filter: blur(4px);
  text-shadow: 0 0 15px rgba(201, 151, 58, 0.8);
}

.lang-fade-in {
  opacity: 1 !important;
  transform: translateY(0) scale(1);
  filter: blur(0);
  text-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   SVI PROJEKTI — ARCHIVE PAGE
═══════════════════════════════════════════════════════════════ */
.projects-archive-section {
  min-height: 100vh;
  padding: 140px var(--section-padding-x) 100px;
}

.archive-header {
  margin-bottom: 56px;
}

.archive-sub {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  max-width: 560px;
}

/* ── Projects archive asymmetric editorial grid ── */
/* Default: 3 columns layout for large screens (above 1200px) */
.projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-arc-card {
  grid-column: span 1;
}

/* Medium screens (1024px to 1440px): 2 columns asymmetric layout */
@media (max-width: 1440px) {
  .projects-archive-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .project-arc-card:nth-child(3n+1) {
    grid-column: span 7;
  }

  .project-arc-card:nth-child(3n+2) {
    grid-column: span 5;
  }

  .project-arc-card:nth-child(3n+3) {
    grid-column: span 5;
  }

  .project-arc-card:nth-child(3n+4) {
    grid-column: span 7;
  }
}

.project-arc-card {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  border: 1px solid rgba(201, 151, 58, 0.06);
  transition: border-color 0.4s ease;
  cursor: pointer;
}

.project-arc-card:hover {
  border-color: rgba(201, 151, 58, 0.25);
}

.project-arc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dark-4);
}

.project-arc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-arc-card:hover .project-arc-img-wrap img {
  transform: scale(1.04);
}

/* Dark gradient overlay on image */
.project-arc-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 40%,
      rgba(9, 10, 15, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-arc-card:hover .project-arc-img-wrap::after {
  opacity: 1;
}

.project-arc-content {
  padding: 20px 24px 24px;
}

.project-arc-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0.8;
}

.project-arc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.project-arc-card:hover .project-arc-title {
  color: var(--gold-light);
}

.project-arc-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Animate-in delay classes */
.reveal-delay-0 {
  transition-delay: 0ms;
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

/* ═══════════════════════════════════════════════════════════════
   ALBUM DETAIL VIEW
═══════════════════════════════════════════════════════════════ */
.album-section {
  min-height: 100vh;
  padding: 140px var(--section-padding-x) 100px;
}

.album-header {
  margin-bottom: 64px;
}

.album-sub {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ── Masonry grid ── */
.album-masonry {
  columns: 3;
  column-gap: 16px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--dark-4);
  cursor: zoom-in;
  position: relative;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.masonry-item:hover img {
  transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LIGHTBOX
═══════════════════════════════════════════════════════════════ */
.premium-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.premium-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lb-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  z-index: 10;
}

.lb-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(232, 228, 220, 0.5);
}

.lb-close {
  background: none;
  border: none;
  color: rgba(232, 228, 220, 0.6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
}

.lb-close svg {
  width: 28px;
  height: 28px;
}

.lb-close:hover {
  color: var(--gold);
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(232, 228, 220, 0.6);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}

.lb-prev svg,
.lb-next svg {
  width: 36px;
  height: 36px;
}

.lb-prev {
  left: 4vw;
}

.lb-next {
  right: 4vw;
}

.lb-prev:hover,
.lb-next:hover {
  color: var(--gold);
}

.lb-content {
  position: relative;
  z-index: 5;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lb-image.loaded {
  opacity: 1;
  transform: scale(1);
}

.lb-loader {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(201, 151, 58, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: lbSpin 0.8s linear infinite;
  display: none;
}

@keyframes lbSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE: PROJECTS & ALBUM
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects-archive-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .project-arc-card:nth-child(n) {
    grid-column: span 6;
  }

  .album-masonry {
    columns: 2;
  }
}

@media (max-width: 768px) {

  .projects-archive-section,
  .album-section {
    padding: 120px 24px 80px;
  }

  .projects-archive-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-arc-card:nth-child(n) {
    grid-column: span 1;
  }

  .project-arc-img-wrap {
    aspect-ratio: 16 / 10;
  }

  .album-masonry {
    columns: 2;
    column-gap: 10px;
  }

  .masonry-item {
    margin-bottom: 10px;
  }

  .lb-close {
    border: none;
  }

  .lb-prev,
  .lb-next {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .album-masonry {
    columns: 1;
  }
}

/* -- RTL (ARABIC) OVERRIDES ---------------------------------- */
[dir='rtl'] .hero-stats {
  right: auto;
  left: var(--section-padding-x);
}

[dir='rtl'] .hero-scroll {
  right: auto;
  left: var(--section-padding-x);
}

[dir='rtl'] .hero-eyebrow::before {
  margin-left: 14px;
  margin-right: 0;
}

[dir='rtl'] .section-label::before {
  order: 2;
  margin-left: 0;
  margin-right: 14px;
}



[dir='rtl'] .lang-selector {
  margin-right: 0;
  margin-left: 32px;
}

[dir='rtl'] .lang-active::after {
  margin-left: 0;
  margin-right: 8px;
}

[dir='rtl'] .cat-back {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 8px;
}