/* ============================================================
   AUTHENTIC THEME — Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0D0D0D;
  --charcoal:#1A1A1A;
  --steel:   #2C2C2C;
  --mid:     #555555;
  --muted:   #8A8A8A;
  --border:  #2E2E2E;
  --white:   #FFFFFF;
  --offwhite:#F5F4F0;
  --gold:    #C9A84C;
  --gold-lt: #E5C97A;
  --gold-dk: #8C6B20;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body  { background: var(--black); color: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

/* ── UTILITY ─────────────────────────────────────── */
.gold      { color: var(--gold); }
.serif     { font-family: var(--serif); }
.eyebrow   { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.divider   { width: 40px; height: 1px; background: var(--gold); display: block; margin: 1.4rem 0; }
.divider.center { margin-left: auto; margin-right: auto; }
.btn-gold  { display: inline-block; padding: 0.85rem 2.4rem; border: 1px solid var(--gold); color: var(--gold); font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: background 0.3s, color 0.3s; cursor: pointer; background: transparent; }
.btn-gold:hover { background: var(--gold); color: var(--black); }
.btn-ghost { display: inline-block; padding: 0.85rem 2.4rem; border: 1px solid rgba(255,255,255,0.3); color: var(--white); font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: border-color 0.3s, color 0.3s; cursor: pointer; background: transparent; }
.btn-ghost:hover { border-color: var(--white); }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 2rem;
  padding: 1.6rem 5vw;
  background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}
.nav-logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; letter-spacing: 0.08em; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.4rem; list-style: none; margin-left: auto; }
.nav-links li { list-style: none; }
.nav-links a { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.25s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--gold); color: var(--gold); padding: 0.55rem 1.4rem; text-decoration: none; transition: background 0.25s, color 0.25s; }
.nav-cta:hover { background: var(--gold); color: var(--black); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg video,
.hero-bg .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
/* When no video: use fallback image as background */
.hero-bg:not(:has(video)) {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.85) 100%),
    var(--hero-fallback, url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1800&q=80')) center/cover no-repeat;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 5vw; }
.hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1.6rem; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.8rem;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-sub { font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 2.8rem; line-height: 1.8; letter-spacing: 0.02em; }
.hero-btns { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4);
  z-index: 2;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: scrollDown 1.8s ease-in-out infinite; }
@keyframes scrollDown { 0%,100%{ transform:scaleY(1); transform-origin:top; } 50%{ transform:scaleY(0.4); transform-origin:bottom; } }

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.2rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 0.5rem; }

/* ── BETWEEN BARS TEXT ─────────────────────────────── */
.bars-text {
  background: var(--black);
  padding: 5rem 5vw 3rem;
  text-align: center;
  margin-top: 2rem;
}
.bars-text p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.bars-text p em,
.bars-text p strong {
  color: var(--gold);
  font-style: italic;
}

/* ── CLIENTS STATS BAR ─────────────────────────────── */
.clients-stats {
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 0;
}
.clients-stats .stat-item {
  padding: 1.6rem 1.2rem;
  border-left: 1px solid var(--border);
}
.clients-stats .stat-item:first-child {
  border-left: none;
}
.clients-stats .stat-num.client-name {
  font-size: 1.1rem;
  font-weight: 500;
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--white);
}
.clients-stats .stat-label {
  font-size: 0.5rem;
  margin-top: 0.3rem;
  color: var(--gold);
}

/* ── SECTION BASE ──────────────────────────────────── */
section { padding: 8rem 5vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 5rem; }
.section-header.center { text-align: center; }
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-top: 0.8rem;
}
.section-header h2 em { font-style: italic; color: var(--gold-lt); }
.section-header p { color: rgba(255,255,255,0.6); max-width: 520px; font-size: 0.95rem; line-height: 1.85; margin-top: 1.2rem; }
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ── ABOUT ─────────────────────────────────────────── */
.about { background: var(--charcoal); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/5;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-img-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 140px; height: 140px;
  background: var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.about-img-badge .big { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: var(--black); line-height: 1; }
.about-img-badge .sm  { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--black); margin-top: 0.3rem; }
.about-text p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.2rem; }
.about-text p:first-of-type { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 2.4rem 0; }
.about-val { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.about-val::before { content: '—'; color: var(--gold); flex-shrink: 0; font-family: var(--serif); }

/* ── SERVICES ──────────────────────────────────────── */
.services { background: var(--black); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border); }
.service-card {
  background: var(--charcoal);
  padding: 2.8rem 2.4rem;
  transition: background 0.3s;
  cursor: default;
  opacity: 1 !important;
  transform: none !important;
}
.service-card:hover { background: var(--steel); }
.service-icon { font-size: 1.6rem; margin-bottom: 1.4rem; }
.service-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; color: var(--white); margin-bottom: 0.8rem; }
.service-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.75; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 1.4rem; text-decoration: none; transition: gap 0.25s; }
.service-link:hover { gap: 0.8rem; }

/* ── PORTFOLIO ─────────────────────────────────────── */
.portfolio { background: var(--charcoal); }
.portfolio-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 3.5rem; flex-wrap: wrap; }
.ptab { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.9rem 1.6rem; cursor: pointer; border-bottom: 2px solid transparent; color: var(--muted); transition: color 0.25s, border-color 0.25s; background: none; border-top: none; border-left: none; border-right: none; }
.ptab.active, .ptab:hover { color: var(--gold); border-bottom-color: var(--gold); }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0.75rem; }
.pcard { position: relative; overflow: hidden; cursor: pointer; }
.pcard:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.pcard:nth-child(2) { grid-column: span 5; }
.pcard:nth-child(3) { grid-column: span 5; }
.pcard:nth-child(4) { grid-column: span 7; }
.pcard:nth-child(5) { grid-column: span 4; }
.pcard:nth-child(6) { grid-column: span 4; }
.pcard:nth-child(7) { grid-column: span 4; }
.pcard:nth-child(8) { grid-column: span 6; grid-row: span 2; }
.pcard:nth-child(9) { grid-column: span 6; }
.pcard:nth-child(10) { grid-column: span 3; }
.pcard:nth-child(11) { grid-column: span 3; }
.pcard:nth-child(12) { grid-column: span 3; }
.pcard:nth-child(13) { grid-column: span 4; }
.pcard:nth-child(14) { grid-column: span 4; }
.pcard:nth-child(15) { grid-column: span 4; }
.pcard:nth-child(16) { grid-column: span 4; }
.pcard:nth-child(17) { grid-column: span 6; }
.pcard:nth-child(18) { grid-column: span 6; }
.pcard:nth-child(19) { grid-column: span 4; }
.pcard:nth-child(20) { grid-column: span 8; }
.pcard-img {
  width: 100%; height: 100%; min-height: 220px;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
.pcard:hover .pcard-img { transform: scale(1.04); }
.pcard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.8rem;
  opacity: 0; transition: opacity 0.3s;
}
.pcard:hover .pcard-overlay { opacity: 1; }
.pcard-cat  { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.pcard-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 300; color: var(--white); }
.project-slider-section {
    padding: 100px 0;
    background: var(--black);
}

.project-slider {
    margin-top: 50px;
}

.project-slider .metaslider {
    max-width: 1400px;
    margin: 0 auto;
}

.project-slider img {
    border-radius: 18px;
}
/* ── A-FRAME ───────────────────────────────────────── */
.aframe {
  background: var(--black);
  position: relative; overflow: hidden;
}
.aframe::before {
  content: 'A'; position: absolute; top: -5rem; right: -3rem;
  font-family: var(--serif); font-size: 30rem; font-weight: 300;
  color: rgba(201,168,76,0.04); line-height: 1; pointer-events: none; user-select: none;
}
.aframe-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.aframe-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}
.aframe-card:hover { border-color: var(--gold-dk); }
.aframe-card-img {
  height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s;
}
.aframe-card:hover .aframe-card-img { transform: scale(1.03); }
.aframe-card-body { padding: 2rem; }
.aframe-badge { display: inline-block; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.3rem 0.8rem; border: 1px solid var(--gold); color: var(--gold); margin-bottom: 1rem; }
.aframe-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--white); margin-bottom: 0.5rem; }
.aframe-price { font-size: 1.1rem; color: var(--gold); font-weight: 500; margin-bottom: 1rem; }
.aframe-price span { font-size: 0.75rem; color: var(--muted); font-weight: 300; }
.aframe-features { list-style: none; margin-bottom: 1.8rem; }
.aframe-features li { font-size: 0.82rem; color: var(--muted); padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 0.6rem; }
.aframe-features li::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.lipa { display: block; margin-top: 0.8rem; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--gold-lt); text-align: center; padding: 0.5rem; background: rgba(201,168,76,0.07); border: 1px solid rgba(201,168,76,0.2); }

/* ── WHY US ────────────────────────────────────────── */
.whyus {
  background: var(--charcoal);
  position: relative;
}
.whyus-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.whyus-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.whyus-img::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201,168,76,0.25);
  transform: translate(1rem, 1rem);
  pointer-events: none;
}
.why-list { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2.5rem; }
.why-item { display: flex; gap: 1.4rem; align-items: flex-start; }
.why-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; color: var(--gold); line-height: 1; min-width: 2rem; }
.why-item h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; color: var(--white); margin-bottom: 0.3rem; }
.why-item p { font-size: 0.83rem; color: var(--muted); line-height: 1.75; }

/* ── TESTIMONIALS ──────────────────────────────────── */
.testimonials { background: var(--black); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  padding: 2.4rem;
  position: relative;
}
.testi-card::before {
  content: '\201C';
  font-family: var(--serif); font-size: 5rem; font-weight: 300;
  color: var(--gold); line-height: 0.6;
  position: absolute; top: 1.8rem; left: 2rem;
  opacity: 0.4;
}
.testi-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.85; font-style: italic; padding-top: 1rem; }
.testi-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--steel); border: 1px solid var(--border); flex-shrink: 0; }
.testi-name { font-size: 0.85rem; font-weight: 500; color: var(--white); }
.testi-role { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }
.stars { color: var(--gold); font-size: 0.75rem; margin-bottom: 0.8rem; letter-spacing: 0.1em; }

/* ── CONTACT ───────────────────────────────────────── */
.contact { background: var(--charcoal); }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.contact-info h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; color: var(--white); line-height: 1.2; margin: 0.8rem 0 1.4rem; }
.contact-info p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.85; margin-bottom: 2.4rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; }
.cdet { display: flex; align-items: center; gap: 1rem; }
.cdet-icon { width: 40px; height: 40px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.cdet-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.cdet-val   { font-size: 0.9rem; color: var(--white); margin-top: 0.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--steel);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  resize: vertical;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field select option { background: var(--steel); }
.form-submit { align-self: flex-start; }

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 4rem 5vw;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.8; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li { list-style: none; }
.footer-col ul a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: 0.75rem; color: var(--muted); }
.footer-logo { font-family: var(--serif); font-size: 1.8rem; font-weight: 300; letter-spacing: 0.06em; color: var(--white); }
.footer-logo span { color: var(--gold); }

/* ── SOCIAL MEDIA ICONS ───────────────────────────── */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.social-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.25s;
  text-decoration: none;
}
.social-icon:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}
.social-icon svg { width: 18px; height: 18px; }

/* ── WHATSAPP FLOAT ────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-size: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55); }

/* ── FADE-IN ANIMATION ──────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FORM STATUS MESSAGES ──────────────────────────── */
.form-status.success { color: #4CAF50; }
.form-status.error   { color: #f44336; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 1024px) {
  .pcard:nth-child(n) { grid-column: span 4; grid-row: span 1; }
  .pcard:nth-child(1) { grid-column: span 8; grid-row: span 1; }
  .pcard:nth-child(8) { grid-column: span 6; grid-row: span 1; }
  .pcard:nth-child(20) { grid-column: span 12; }
}
@media (max-width: 768px) {
  nav { padding: 1.2rem 5vw; }
  .nav-links, .nav-cta { display: none; }
  section { padding: 5rem 5vw; }
  .about-grid, .whyus-split, .contact-split { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-badge { right: 0; }
  .aframe-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .pcard:nth-child(n) { grid-column: span 1 !important; grid-row: span 1 !important; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .about-values { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY PAGE STYLES
   ============================================================ */

/* ── GALLERY HERO ────────────────────────────────── */
.gal-hero {
  position: relative; height: 70vh; min-height: 500px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.gal-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.gal-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}
.gal-hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 5vw; }
.gal-hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1.2rem; }
.gal-hero-title { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.1; color: var(--white); margin-bottom: 1.4rem; }
.gal-hero-title em { font-style: italic; color: var(--gold-lt); }
.gal-hero-sub { font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; line-height: 1.8; }
.gal-hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* ── GALLERY FILTERS ─────────────────────────────── */
.gal-filters { position: sticky; top: 0; z-index: 50; background: rgba(13,13,13,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); padding: 0 5vw; }
.gal-filters-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.gal-filter-tabs { display: flex; gap: 0; flex-wrap: wrap; }
.gal-ftab { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 1.1rem 1.2rem; cursor: pointer; border: none; background: none; color: var(--muted); border-bottom: 2px solid transparent; transition: color 0.25s, border-color 0.25s; }
.gal-ftab.active, .gal-ftab:hover { color: var(--gold); border-bottom-color: var(--gold); }
.gal-view-toggle { display: flex; gap: 0.5rem; }
.gal-view-btn { width: 36px; height: 36px; border: 1px solid var(--border); background: none; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.25s, color 0.25s; }
.gal-view-btn.active, .gal-view-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── GALLERY GRID ────────────────────────────────── */
.gal-grid-section { padding: 2rem 5vw 6rem; }
.gal-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.gal-grid.masonry-view { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.gal-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--charcoal); border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
  min-height: 280px;
}
.gal-item:hover { border-color: var(--gold-dk); transform: translateY(-2px); }
.gal-item.hidden { display: none; }

/* Grid sizes */
.gal-item--wide { grid-column: span 2; }
.gal-item--tall { grid-row: span 2; }
.gal-item--large { grid-column: span 2; grid-row: span 2; }

.gal-item-img {
  width: 100%; height: 100%; min-height: 280px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: transform 0.6s ease;
}
.gal-item--large .gal-item-img { min-height: 560px; }
.gal-item--tall .gal-item-img { min-height: 560px; }
.gal-item:hover .gal-item-img { transform: scale(1.05); }

/* Play button */
.gal-item-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 3; opacity: 0.9; transition: opacity 0.3s, transform 0.3s;
}
.gal-item:hover .gal-item-play { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

/* 3D badge */
.gal-item-3d-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(201,168,76,0.9); color: var(--black);
  padding: 0.35rem 0.8rem; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Overlay */
.gal-item-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 40%, transparent 60%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.2rem; opacity: 0; transition: opacity 0.35s;
}
.gal-item:hover .gal-item-overlay { opacity: 1; }
.gal-item-overlay-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gal-item-cat { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); background: rgba(0,0,0,0.5); padding: 0.25rem 0.6rem; backdrop-filter: blur(4px); }
.gal-item-type-icon { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.gal-item-overlay-bottom { display: flex; flex-direction: column; gap: 0.3rem; }
.gal-item-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 300; color: var(--white); }
.gal-item-desc { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.gal-item-expand { position: absolute; bottom: 1.2rem; right: 1.2rem; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.4); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: border-color 0.25s, background 0.25s; }
.gal-item-expand:hover { border-color: var(--gold); background: rgba(201,168,76,0.2); }

/* ── GALLERY CTA ─────────────────────────────────── */
.gal-cta { background: var(--charcoal); border-top: 1px solid var(--border); padding: 6rem 5vw; text-align: center; }
.gal-cta-inner { max-width: 600px; margin: 0 auto; }
.gal-cta-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; color: var(--white); margin-bottom: 1rem; }
.gal-cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 2rem; }
.gal-cta-btns { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ── LIGHTBOX ────────────────────────────────────── */
.gal-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.gal-lightbox.active { opacity: 1; visibility: visible; }
.gal-lb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.95); }
.gal-lb-container { position: relative; width: 100vw; height: 100vh; display: flex; flex-direction: column; }
.gal-lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem; z-index: 10;
  background: none; border: none; color: var(--white); font-size: 2rem;
  cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  transition: color 0.25s;
}
.gal-lb-close:hover { color: var(--gold); }
.gal-lb-prev, .gal-lb-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--white); font-size: 2rem; cursor: pointer;
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.gal-lb-prev { left: 1.5rem; }
.gal-lb-next { right: 1.5rem; }
.gal-lb-prev:hover, .gal-lb-next:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }
.gal-lb-content {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 5rem 5rem 6rem;
}
.gal-lb-content img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gal-lb-content iframe { width: 100%; height: 100%; max-width: 1200px; max-height: 80vh; border: none; background: #000; }
.gal-lb-info {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 3rem 2rem 1.5rem; display: flex; justify-content: space-between; align-items: flex-end;
}
.gal-lb-cat { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; display: block; }
.gal-lb-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; color: var(--white); }
.gal-lb-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }
.gal-lb-counter { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; white-space: nowrap; }

/* ── GALLERY RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .gal-item--wide { grid-column: span 2; }
  .gal-item--large { grid-column: span 2; grid-row: span 1; }
  .gal-item--large .gal-item-img { min-height: 320px; }
  .gal-lb-content { padding: 4rem 3rem 5rem; }
}
@media (max-width: 768px) {
  .gal-hero { height: 55vh; min-height: 400px; }
  .gal-filters-inner { flex-direction: column; padding: 0.5rem 0; gap: 0.5rem; }
  .gal-filter-tabs { overflow-x: auto; width: 100%; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .gal-ftab { white-space: nowrap; padding: 0.8rem 1rem; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item--wide, .gal-item--large, .gal-item--tall { grid-column: span 1; grid-row: span 1; }
  .gal-item--large .gal-item-img, .gal-item--tall .gal-item-img { min-height: 280px; }
  .gal-lb-content { padding: 4rem 1rem 5rem; }
  .gal-lb-prev { left: 0.5rem; }
  .gal-lb-next { right: 0.5rem; }
  .gal-lb-prev, .gal-lb-next { width: 40px; height: 40px; font-size: 1.5rem; }
  .gal-cta-btns { flex-direction: column; align-items: center; }
}
