/* NicoNat theme — homepage styles (extracted verbatim from mockup index.html) */
/* ===== FONTS ===== */
@font-face { font-family: 'The Seasons'; src: url('../fonts/The Seasons Light.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'The Seasons'; src: url('../fonts/The Seasons Light Italic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'The Seasons'; src: url('../fonts/The Seasons Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'The Seasons'; src: url('../fonts/The Seasons Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'The Seasons'; src: url('../fonts/The Seasons Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'The Seasons'; src: url('../fonts/The Seasons Bold Italic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }

/* ===== VARIABLES ===== */
:root {
  --primary: #AB8B6E;
  --primary-hover: #96775e;
  --gold: #DDD1B2;
  --beige: #DDC8BA;
  --brown: #BA9679;
  --cream: #F8F5EE;
  --dark: #2a2420;
  --text: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;
  --border: #DDC8BA;
  --font-display: 'The Seasons', Georgia, 'Times New Roman', serif;
  --font-body: 'Tenor Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: #fff; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s;
}
.header.scrolled {
  padding: 14px 0;
  background: rgba(248,245,238,0.95);
  box-shadow: 0 1px 0 var(--beige);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 32px; width: auto; filter: brightness(0) invert(1); transition: filter 0.4s; }
.header.scrolled .logo img { filter: none; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.85);
  letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.3s; padding: 4px 0;
}
.nav-link:hover { color: #fff; }
.header.scrolled .nav-link { color: var(--text-secondary); }
.header.scrolled .nav-link:hover { color: var(--text); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 24px; border-radius: 30px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.3s; margin-left: 8px;
}
.nav-cta:hover { background: var(--primary-hover); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 1.5px; background: #fff; margin: 5px 0; transition: 0.3s; }
.header.scrolled .mobile-toggle span { background: var(--text); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden; background: var(--dark);
}
/* Hero cinematic slideshow — Ken Burns pan + zoom */
.hero-slideshow {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; background: var(--dark);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  animation: heroFade 49s infinite cubic-bezier(0.4,0,0.2,1);
  will-change: opacity;
}
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center; will-change: transform;
  animation-duration: 49s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }
.hero-slide:nth-child(4) { animation-delay: 21s; }
.hero-slide:nth-child(5) { animation-delay: 28s; }
.hero-slide:nth-child(6) { animation-delay: 35s; }
.hero-slide:nth-child(7) { animation-delay: 42s; }
.hero-slide:nth-child(1) img { animation-name: kbDriftUL;    animation-delay: 0s;  }
.hero-slide:nth-child(2) img { animation-name: kbDriftDR;    animation-delay: 7s;  }
.hero-slide:nth-child(3) img { animation-name: kbZoomIn;     animation-delay: 14s; }
.hero-slide:nth-child(4) img { animation-name: kbDriftLeft;  animation-delay: 21s; }
.hero-slide:nth-child(5) img { animation-name: kbDriftRight; animation-delay: 28s; }
.hero-slide:nth-child(6) img { animation-name: kbDriftDL;    animation-delay: 35s; }
.hero-slide:nth-child(7) img { animation-name: kbZoomOut;    animation-delay: 42s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  2%   { opacity: 1; }
  14%  { opacity: 1; }
  16%  { opacity: 0; }
  100% { opacity: 0; }
}
/* Each pan animation runs full 49s but the visible window (0-16%, ~8s) is what matters.
   After 16% the slide is invisible while the transform completes/holds. */
@keyframes kbDriftUL {
  0%   { transform: scale(1.18) translate(2%, 1.5%); }
  16%  { transform: scale(1.30) translate(-3%, -2%); }
  100% { transform: scale(1.30) translate(-3%, -2%); }
}
@keyframes kbDriftDR {
  0%   { transform: scale(1.20) translate(-2%, -2%); }
  16%  { transform: scale(1.30) translate(3%, 2%); }
  100% { transform: scale(1.30) translate(3%, 2%); }
}
@keyframes kbZoomIn {
  0%   { transform: scale(1.22) translate(4%, 0); }
  16%  { transform: scale(1.26) translate(-4%, -0.5%); }
  100% { transform: scale(1.26) translate(-4%, -0.5%); }
}
@keyframes kbDriftLeft {
  0%   { transform: scale(1.22) translate(3%, 0); }
  16%  { transform: scale(1.28) translate(-3%, 0); }
  100% { transform: scale(1.28) translate(-3%, 0); }
}
@keyframes kbDriftRight {
  0%   { transform: scale(1.22) translate(-3%, 0.5%); }
  16%  { transform: scale(1.28) translate(3%, -0.5%); }
  100% { transform: scale(1.28) translate(3%, -0.5%); }
}
@keyframes kbDriftDL {
  0%   { transform: scale(1.30) translate(-2%, 2%); }
  16%  { transform: scale(1.18) translate(2%, -1%); }
  100% { transform: scale(1.18) translate(2%, -1%); }
}
@keyframes kbZoomOut {
  0%   { transform: scale(1.32) translate(0, 0); }
  16%  { transform: scale(1.18) translate(0, 1%); }
  100% { transform: scale(1.18) translate(0, 1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img { animation: none; }
  .hero-slide:nth-child(1) { opacity: 1; }
  .hero-slide:nth-child(1) img { transform: scale(1.05); }
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20,16,14,0.55); z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  align-items: center; text-align: center; width: 100%;
  padding: 120px 0 80px;
}
.hero-text { max-width: 900px; padding: 0 24px; }
.hero-tagline {
  font-family: var(--font-display); font-size: clamp(48px, 7vw, 88px);
  font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: 0;
}
.hero-marquee-wrap {
  width: 100%; overflow: hidden; margin: 12px 0 28px;
}
.hero-marquee {
  display: flex; align-items: center; gap: 0; width: max-content;
  animation: heroMarquee 30s linear infinite;
}
.hero-marquee span {
  font-family: var(--font-display); font-size: clamp(40px, 6vw, 80px);
  font-weight: 400; font-style: normal; color: var(--gold);
  white-space: nowrap; padding: 0 16px;
}
.hero-marquee .dot {
  font-style: normal; font-size: clamp(20px, 3vw, 36px);
  color: rgba(255,255,255,0.25); padding: 0 8px;
}
@keyframes heroMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.65); max-width: 500px;
  margin: 0 auto 40px; line-height: 1.8; font-weight: 400;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  padding: 14px 32px; border-radius: 30px;
  font-family: var(--font-body); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-primary svg { width: 14px; height: 14px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--primary);
  padding: 14px 32px; border-radius: 30px; border: 1px solid var(--primary);
  font-family: var(--font-body); font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; transition: all 0.3s; cursor: pointer;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.hero-scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== PORTFOLIO ===== */
.portfolio { background: #fff; }
.portfolio-header {
  text-align: center; padding: 100px 24px 60px;
}
.section-label {
  font-family: var(--font-body); font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--primary); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700; line-height: 1.1;
}
.section-title span { color: var(--primary); }

/* Full-bleed portfolio card */
.pf-full {
  position: relative; width: 100%; height: 85vh; min-height: 500px;
  overflow: hidden;
}
.pf-full > img:first-child {
  width: 100%; height: 100%; object-fit: cover;
}
.pf-full-overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 32px 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  z-index: 1;
}
.pf-full-logo {
  position: absolute; top: 24px; left: 28px; z-index: 2;
  height: 18px; width: auto; filter: brightness(0) invert(1); opacity: 0.7;
}
.pf-full h3 {
  font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700; color: #fff; margin-bottom: 2px;
}
.pf-full .pf-location {
  font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase;
}

/* Split portfolio card */
.pf-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.pf-split.reversed .pf-split-image { order: 2; }
.pf-split.reversed .pf-split-info { order: 1; }
.pf-split-image { overflow: hidden; position: relative; }
.pf-split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.pf-split:hover .pf-split-image img { transform: scale(1.03); }
.pf-split-info {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 64px; background: var(--cream);
}
.pf-split-logo { height: 32px; width: auto; margin-bottom: 20px; opacity: 0.5; }
.pf-split-info h3 {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px);
  font-weight: 700; margin-bottom: 8px; color: var(--text);
}
.pf-split-info .pf-location {
  font-size: 12px; color: var(--text-muted); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 20px;
}
.pf-split-info p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px;
}
.pf-split-info .btn-outline { align-self: flex-start; }

.portfolio-cta { text-align: center; padding: 60px 24px 80px; }

/* ===== CLIENT MARQUEE ===== */
.clients { padding: 48px 0; background: var(--cream); overflow: hidden; border-top: 1px solid var(--beige); border-bottom: 1px solid var(--beige); }
.clients-marquee {
  display: flex; gap: 64px; align-items: center;
  animation: marquee 30s linear infinite; width: max-content;
}
.clients-marquee img {
  height: 28px; width: auto; opacity: 0.4;
  filter: grayscale(100%); transition: all 0.4s; flex-shrink: 0;
}
.clients-marquee img:hover { opacity: 0.8; filter: grayscale(0); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: #fff; }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-content { order: 1; }
.about-image { order: 2; border-radius: 16px; overflow: hidden; }
.about-image img { width: 100%; height: 480px; object-fit: cover; }
.about-content .section-label { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 24px; }
.about-text { font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 16px; }
.about-text:last-of-type { margin-bottom: 24px; }
.about-tagline {
  font-family: var(--font-display); font-size: 18px; font-style: italic;
  color: var(--primary); line-height: 1.5;
  padding-left: 18px; border-left: 2px solid var(--primary);
  margin-bottom: 32px;
}
.about-tagline strong { font-weight: 700; font-style: normal; }

/* ===== MATERIALS & FINISHES (Amuneal-style horizontal accordion) ===== */
.finishes { padding: 110px 0; background: var(--dark); color: #fff; }
.finishes .section-header {
  text-align: center; max-width: 720px; margin: 0 auto 56px; padding: 0 24px;
}
.finishes .section-header .section-title { color: #fff; margin-bottom: 14px; }
.finishes .section-header .section-label { color: var(--gold); }
.finishes-subtitle {
  font-size: 15px; color: rgba(255,255,255,0.55);
  max-width: 620px; margin: 0 auto; line-height: 1.75;
}
.finishes-grid {
  display: flex;
  gap: 12px;
  --grid-w: min(calc(100vw - 48px), 1280px);
  --unit-w: calc((var(--grid-w) - 24px) / 4);
  width: var(--grid-w);
  height: clamp(320px, 34vw, 460px);
  margin: 0 auto;
  overflow: hidden;
}
.finish-card {
  display: flex; flex: 0 0 auto;
  position: relative; cursor: pointer;
  border-radius: 6px; overflow: hidden;
}
.finish-card-image {
  width: var(--unit-w); flex-shrink: 0;
  height: 100%; position: relative; overflow: hidden;
}
.finish-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease-out;
}
.finish-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 50%, transparent 75%);
  pointer-events: none;
}
.finish-card-label {
  position: absolute; left: 24px; bottom: 22px; z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: 2px;
  white-space: nowrap;
  transition: opacity 0.5s;
}
.finish-card-info {
  width: 0; flex-shrink: 0;
  height: 100%;
  background: var(--cream); color: var(--text);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  transition: width 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.finish-card-info-inner {
  padding: 36px 32px;
  width: var(--unit-w);
  opacity: 0; transform: translateX(12px);
  transition: opacity 0.25s 0.12s ease, transform 0.3s 0.12s cubic-bezier(0.65, 0, 0.35, 1);
}
.finish-card-info h3 {
  font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700; color: var(--text);
  margin-bottom: 14px; line-height: 1.2;
}
.finish-card-info p {
  font-size: 13.5px; line-height: 1.7;
  color: var(--text-secondary); margin-bottom: 20px;
}
.finish-card-link {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--primary); font-weight: 400;
  padding-bottom: 4px; border-bottom: 1px solid var(--primary);
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.finish-card-link:hover { color: var(--primary-hover); border-color: var(--primary-hover); gap: 12px; }
.finish-card-link svg { width: 12px; height: 12px; }

/* Active state — image stays fixed width; description slides in beside it */
.finish-card.is-active .finish-card-info { width: var(--unit-w); }
.finish-card.is-active .finish-card-info-inner { opacity: 1; transform: translateX(0); }
.finish-card.is-active .finish-card-image img { transform: scale(1.04); }
.finish-card.is-active .finish-card-label { opacity: 0.65; }

@media (max-width: 768px) {
  .finishes { padding: 72px 0; }
  .finishes-grid {
    flex-direction: column; gap: 14px;
    height: auto; padding: 0 16px;
  }
  .finish-card,
  .finish-card.is-active {
    flex: 0 0 auto; flex-direction: column; height: auto;
  }
  .finish-card-image,
  .finish-card.is-active .finish-card-image {
    flex: 0 0 auto; width: 100%; height: 240px;
  }
  .finish-card-info,
  .finish-card.is-active .finish-card-info {
    flex: 0 0 auto; width: 100%;
  }
  .finish-card-info-inner {
    opacity: 1; transform: none; width: 100%;
    padding: 24px 24px; transition: none;
  }
  .finish-card.is-active .finish-card-image img { transform: none; }
  .finish-card-label { left: 20px; bottom: 18px; }
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--cream); }
.services .section-header { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  padding: 36px 28px; background: #fff; border-radius: 16px;
  border: 1px solid var(--beige); transition: all 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.service-icon {
  width: 48px; height: 48px; background: var(--primary); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff;
}
.service-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.services-cta { text-align: center; margin-top: 48px; }

/* ===== STATS ===== */
.stats {
  padding: 80px 0; position: relative;
  background: linear-gradient(rgba(42,36,32,0.85), rgba(42,36,32,0.85)),
              url('../images/stats-bg.jpeg') center/cover no-repeat;
  color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-number {
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; }

/* ===== PROCESS ===== */
.process { padding: 100px 0; background: #fff; }
.process .section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-card { text-align: center; padding: 20px; }
.process-number {
  font-family: var(--font-display); font-size: 72px; font-weight: 300;
  color: var(--beige); line-height: 1; margin-bottom: 16px;
}
.process-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.process-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0; position: relative;
  background: linear-gradient(rgba(42,36,32,0.88), rgba(42,36,32,0.88)),
              url('../images/stats-bg.jpeg') center/cover no-repeat;
  color: #fff;
}
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info .section-title { color: #fff; margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-detail svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
.contact-detail a, .contact-detail span { font-size: 15px; color: rgba(255,255,255,0.8); }
.contact-detail a:hover { color: var(--gold); }
.contact-social { display: flex; gap: 12px; margin-top: 24px; }
.contact-social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all 0.3s;
}
.contact-social a:hover { border-color: var(--primary); color: var(--primary); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 0; background: transparent;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--primary); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn-primary { align-self: flex-start; margin-top: 8px; }

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 32px; background: var(--cream);
  border-top: 1px solid var(--beige);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 8px; }
.footer-brand-location {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 300px; }
.footer h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
.footer-contact-item a { color: var(--text-secondary); }
.footer-contact-item a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--beige);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--beige); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: var(--text-muted); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ===== OUR WORKS — HORIZONTAL SCROLL CASE STUDY ===== */
.works {
  padding: 100px 0 72px; background: var(--cream);
  border-top: 1px solid var(--beige); border-bottom: 1px solid var(--beige);
  overflow: hidden;
}
.works-header {
  text-align: center; max-width: 720px; margin: 0 auto 48px; padding: 0 24px;
}
.works-header .section-title { margin-bottom: 14px; }
.works-subtitle {
  font-size: 13px; color: var(--text-secondary);
  letter-spacing: 2px; text-transform: uppercase;
}
.works-track-wrap { position: relative; }
.works-track {
  display: flex; gap: 24px; padding: 8px 8vw 24px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.works-track::-webkit-scrollbar { display: none; }
.works-track.dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.works-card {
  flex: 0 0 auto; width: clamp(280px, 58vw, 700px);
  aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  scroll-snap-align: center;
  background: #1a1a1a;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
  position: relative;
}
.works-card img {
  width: 100%; height: 100%; object-fit: cover;
  user-select: none; pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.works-card { cursor: zoom-in; }
.works-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.14); }
.works-card:hover img { transform: scale(1.02); }

/* Lightbox */
.works-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,12,10,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.works-lightbox.open { opacity: 1; pointer-events: auto; }
.works-lightbox-img {
  max-width: 92vw; max-height: 88vh; width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transform: scale(0.96); transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.works-lightbox.open .works-lightbox-img { transform: scale(1); }
.works-lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.works-lightbox-btn:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.works-lightbox-btn svg { width: 22px; height: 22px; }
.works-lightbox-btn.prev { left: 24px; }
.works-lightbox-btn.next { right: 24px; }
.works-lightbox-btn[disabled] { opacity: 0.25; cursor: default; }
.works-lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; transform: none;
}
.works-lightbox-close:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.works-lightbox-close svg { width: 18px; height: 18px; }
.works-lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-variant-numeric: tabular-nums;
}
body.lightbox-open { overflow: hidden; }
@media (max-width: 768px) {
  .works-lightbox-btn { width: 44px; height: 44px; }
  .works-lightbox-btn.prev { left: 8px; }
  .works-lightbox-btn.next { right: 8px; }
  .works-lightbox-img { max-width: 96vw; max-height: 80vh; }
}
.works-nav {
  position: absolute; top: calc(50% - 12px); transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.96); border: 1px solid var(--beige);
  color: var(--text); cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.works-nav:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.works-nav.prev { left: 24px; }
.works-nav.next { right: 24px; }
.works-nav svg { width: 18px; height: 18px; }
.works-nav[disabled] { opacity: 0.25; cursor: default; }
.works-nav[disabled]:hover { background: rgba(255,255,255,0.96); color: var(--text); border-color: var(--beige); }
.works-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 12px; padding: 0 24px;
}
.works-progress {
  flex: 1; max-width: 360px; height: 2px;
  background: var(--beige); border-radius: 2px; overflow: hidden;
}
.works-progress-bar {
  height: 100%; background: var(--primary); width: 0%;
  transition: width 0.15s linear;
}
.works-counter {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); font-variant-numeric: tabular-nums;
  min-width: 64px; text-align: center;
}

/* ===== ANIMATIONS ===== */
.anim { opacity: 0; transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.anim-up { transform: translateY(40px); }
.anim-left { transform: translateX(-40px); }
.anim-right { transform: translateX(40px); }
.anim-scale { transform: scale(0.97); }
.anim.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about .container { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .pf-split { grid-template-columns: 1fr; }
  .pf-split-info { padding: 48px 32px; }
  .pf-split.reversed .pf-split-image { order: 1; }
  .pf-split.reversed .pf-split-info { order: 2; }
  .contact .container { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .works { padding: 72px 0 56px; }
  .works-track { padding: 4px 16px 20px; gap: 14px; }
  .works-card { width: 86vw; border-radius: 10px; }
  .works-nav { display: none; }
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .nav.active {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--cream); padding: 24px; gap: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav.active .nav-link { color: var(--text); }
  .hero { min-height: 85vh; }
  .hero-tagline, .hero-rotating { font-size: 38px; }
  .pf-full { height: 60vh; }
  .pf-full-overlay { padding: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
