:root {
  --color-ink: #101820;
  --color-muted: #647084;
  --color-cream: #fdf7ec;
  --color-forest: #ffffff;
  --color-emerald: #f3d9a4;
  --color-gold: #d9a537;
  --color-deep-gold: #b17a12;
  --shadow-soft: 0 32px 60px rgba(28, 45, 64, 0.12);
  --shadow-card: 0 24px 54px rgba(37, 52, 77, 0.16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container-width: 1280px;
  --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, rgba(230, 240, 255, 0.3) 0%, rgba(240, 248, 255, 0.5) 50%, #ffffff 100%);
  color: var(--color-ink);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none; /* Hide default cursor for custom cursor */
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}

p {
  margin: 0;
  color: var(--color-muted);
}

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

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.container {
  width: min(92%, var(--container-width));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid rgba(17, 26, 40, 0.06);
  box-shadow: 0 1px 0 rgba(17, 26, 40, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0; /* Remove gap since we're removing text */
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
  line-height: 1;
}

.logo img {
  height: 60px; /* Optimized for horizontal logo */
  width: auto;
  display: block;
  transition: transform 0.3s var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-bottom: 6px;
  transition: color 0.35s var(--transition);
  color: rgba(16, 24, 32, 0.82);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(217, 165, 55, 0.78), rgba(177, 122, 18, 0.78));
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.35s var(--transition);
}

.nav a:hover::after,
.nav a.nav-active::after {
  transform-origin: left;
  transform: scaleX(1);
}

.nav a:hover,
.nav a.nav-active {
  color: var(--color-deep-gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(216, 182, 101, 0.4);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-ink);
  position: relative;
  transition: transform 0.4s var(--transition), opacity 0.3s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}

.nav-toggle span::after {
  transform: translateY(6px);
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: rotate(-45deg);
}

.nav-open .nav {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-open .nav a {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
    padding: 16px 0;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(17, 26, 40, 0.06);
    padding: 12px 20px;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--transition), opacity 0.3s var(--transition), visibility 0.3s;
  }
  .nav a {
    padding: 10px 0;
  }
}

/* Intro Section */
.intro-section {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.95) 55%, rgba(230, 240, 255, 0.4) 100%);
  position: relative;
  overflow: hidden;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h1 {
  font-size: clamp(42px, 5vw, 70px);
  margin: 24px 0 28px;
  text-shadow: 0 18px 48px rgba(32, 42, 56, 0.2);
  color: var(--color-ink);
}

.intro-content .lead {
  font-size: 20px;
  line-height: 1.8;
  color: var(--color-muted);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.intro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 32px;
}

/* Metrics Section */
.metrics-section {
  padding: 80px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.metric-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 165, 55, 0.18);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(37, 52, 77, 0.2);
}

.metric-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.metric-content .metric-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: rgba(16, 24, 32, 0.45);
}

.metric-content .metric-value {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: var(--color-deep-gold);
  line-height: 1;
}

.metric-content .badge {
  margin-top: 4px;
}

.metric-content .btn {
  margin-top: 8px;
}

.surface-types {
  text-align: center;
  padding: 48px 0;
}

.surface-types h3 {
  font-size: 28px;
  margin-bottom: 32px;
  color: var(--color-ink);
}

.surface-types .surface-layers {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-video,
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(120%) brightness(0.92);
  opacity: 0.45;
  z-index: 1;
}

.hero-carousel {
  display: flex;
  overflow: hidden;
  position: relative;
}

.hero-carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide {
    transition: none;
  }
}

.hero-carousel-slide.active {
  opacity: 1;
}

.hero-carousel-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-carousel-dot.active {
  background: var(--color-gold);
  border-color: var(--color-deep-gold);
  width: 32px;
  border-radius: 6px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.68));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 10%;
  width: 40vw;
  max-width: 520px;
  height: 40vw;
  max-height: 520px;
  background: url("https://laliga.co.in/wp-content/uploads/2023/06/1.png") center/cover no-repeat;
  opacity: 0.18;
  z-index: 1;
  mix-blend-mode: multiply;
  border-radius: 50%;
  filter: saturate(120%) brightness(0.95);
  animation: glowPulse 12s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(217, 165, 55, 0.12);
  border: 1px solid rgba(217, 165, 55, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--color-deep-gold);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  margin-bottom: 22px;
  text-shadow: 0 18px 48px rgba(32, 42, 56, 0.2);
}

.hero p {
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--color-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), background 0.35s var(--transition), border 0.35s var(--transition);
}

.btn-primary {
  background: linear-gradient(120deg, var(--color-gold), var(--color-deep-gold));
  color: #322100;
  box-shadow: 0 18px 36px rgba(217, 165, 55, 0.45);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px rgba(217, 165, 55, 0.55);
}

.btn-outline {
  border-color: rgba(16, 24, 32, 0.12);
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.92);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 165, 55, 0.18);
  display: grid;
  gap: 22px;
  box-shadow: var(--shadow-card);
  animation: floatUp 10s ease-in-out infinite;
}

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

.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: rgba(16, 24, 32, 0.45);
}

.metric-value {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  color: var(--color-deep-gold);
}

.surface-layers {
  display: grid;
  gap: 14px;
}

.surface-layer {
  position: relative;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 165, 55, 0.28);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 231, 0.8));
  color: var(--color-ink);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.28em;
  overflow: hidden;
}

.surface-layer::after {
  content: "";
  position: absolute;
  inset: -120% 40% 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), transparent 60%);
  transform: skewX(-25deg);
  animation: sheen 8s ease-in-out infinite;
}

@keyframes sheen {
  0%, 65% {
    transform: translateX(-120%) skewX(-25deg);
  }
  75% {
    transform: translateX(0) skewX(-25deg);
  }
  100% {
    transform: translateX(120%) skewX(-25deg);
  }
}

.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section.light {
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 248, 255, 0.4) 100%);
}

.section.dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(230, 240, 255, 0.6));
}

.section .section-header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  position: relative;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  color: rgba(177, 122, 18, 0.75);
}

.section h2 {
  font-size: clamp(38px, 4vw, 60px);
  max-width: 720px;
}

.section p.lead {
  max-width: 720px;
  font-size: 18px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  padding: 42px 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 165, 55, 0.18);
  box-shadow: var(--shadow-soft);
  transform: translateY(0);
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 80px rgba(37, 52, 77, 0.24);
}

.feature-icon {
  width: 62px;
  aspect-ratio: 1;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(217, 165, 55, 0.24), rgba(255, 247, 236, 0.92));
  color: var(--color-deep-gold);
  font-size: 26px;
}

.feature-card h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.feature-card p {
  color: var(--color-muted);
}

.parallax {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.parallax-dot {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 165, 55, 0.16), transparent 65%);
  filter: blur(2px);
  animation: float 12s ease-in-out infinite alternate;
}

.parallax-dot:nth-child(2) {
  width: 320px;
  height: 320px;
  animation-delay: 1.8s;
}

.parallax-dot:nth-child(3) {
  width: 160px;
  height: 160px;
  animation-delay: 3.3s;
}

@keyframes float {
  from {
    transform: translate3d(-10px, 0, 0);
    opacity: 0.45;
  }
  to {
    transform: translate3d(18px, -30px, 0);
    opacity: 0.85;
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px;
}

.motion-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px;
  align-items: center;
}

.gif-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217, 165, 55, 0.2);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

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

.gif-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 247, 230, 0.3));
  mix-blend-mode: lighten;
}

.gif-caption {
  display: grid;
  gap: 12px;
}

.gif-caption .badge {
  justify-self: flex-start;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(217, 165, 55, 0.14);
  transform-origin: center;
  transition: transform 0.45s var(--transition), box-shadow 0.45s var(--transition);
  background: #fff;
}

.showcase-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(5, 32, 24, 0.24);
}

.showcase-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.showcase-info {
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(217, 165, 55, 0.18);
  color: var(--color-deep-gold);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.showcase-info h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.showcase-info p {
  color: var(--color-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.product-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(100, 150, 200, 0.2);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  gap: 18px;
  transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition), border-color 0.4s var(--transition);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 32px 80px rgba(100, 150, 200, 0.35), 0 0 40px rgba(100, 150, 200, 0.2);
  border-color: rgba(100, 150, 200, 0.4);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(100, 150, 200, 0.1), rgba(150, 200, 255, 0.1));
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity 0.4s var(--transition);
  z-index: -1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card::after {
  content: attr(data-size);
  position: absolute;
  top: 24px;
  right: 24px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: rgba(177, 122, 18, 0.75);
}

.product-card img {
  border-radius: var(--radius-sm);
  height: 200px;
  object-fit: cover;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-meta span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(217, 165, 55, 0.28);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Product gallery page (La Liga style) */
.product-page-hero {
  padding: 140px 0 40px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(240, 248, 255, 0.8) 45%, rgba(243, 217, 164, 0.18) 100%);
  color: var(--color-ink);
}

.product-page-title {
  margin: 0;
  font-size: clamp(42px, 4vw, 60px);
  text-align: left;
  color: var(--color-ink);
}

.product-gallery-section {
  padding: 40px 0 120px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(240, 248, 255, 0.6) 70%, rgba(243, 217, 164, 0.1) 100%);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
}

.product-filter {
  border: none;
  outline: none;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(16, 24, 32, 0.8);
  border: 1px solid rgba(100, 150, 200, 0.35);
  cursor: pointer;
  transition: background 0.3s var(--transition), color 0.3s var(--transition), border-color 0.3s var(--transition), transform 0.2s var(--transition);
}

.product-filter.active,
.product-filter:hover {
  background: linear-gradient(120deg, rgba(217, 165, 55, 0.24), rgba(255, 247, 230, 0.96));
  color: var(--color-ink);
  border-color: rgba(217, 165, 55, 0.55);
  transform: translateY(-1px);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
  transform: translateY(0);
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), opacity 0.25s ease, visibility 0.25s ease;
}

.product-item.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.product-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}

.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--transition);
}

.product-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35));
  opacity: 0;
  transition: opacity 0.3s var(--transition);
}

.product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.product-item:hover .product-thumb img {
  transform: scale(1.06);
}

.product-item:hover .product-hover {
  opacity: 1;
}

@media (max-width: 1024px) {
  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .product-page-hero {
    padding: 120px 0 30px;
    text-align: center;
  }

  .product-gallery-section {
    padding: 30px 0 80px;
  }

  .product-filters {
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
  }

  .product-filter {
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

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

  .product-thumb {
    padding-bottom: 100%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-media {
    height: 240px;
  }

  .portfolio-caption {
    padding: 20px 24px 26px;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 165, 55, 0.16);
  transition: transform 0.45s var(--transition), box-shadow 0.45s var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-14px);
  box-shadow: 0 36px 70px rgba(37, 52, 77, 0.26);
}

.portfolio-media {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.portfolio-item:hover .portfolio-media img {
  transform: scale(1.08);
}

.portfolio-caption {
  padding: 28px 32px 34px;
  background: rgba(255, 255, 255, 0.94);
}

.portfolio-caption h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.portfolio-caption p {
  margin-bottom: 18px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-tags span {
  padding: 6px 18px;
  background: rgba(217, 165, 55, 0.12);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-deep-gold);
}

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 236, 208, 0.8));
  border: 1px solid rgba(217, 165, 55, 0.22);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 26px;
  align-items: center;
  box-shadow: 0 42px 80px rgba(42, 54, 76, 0.18);
}

.cta-banner h3 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 620px;
}

.cta-banner p {
  max-width: 520px;
  font-size: 18px;
  color: var(--color-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cta-content {
  display: grid;
  gap: 14px;
  text-align: left;
}

.cta-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 220px;
  border: 1px solid rgba(217, 165, 55, 0.18);
  box-shadow: var(--shadow-soft);
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

.contact-details {
  grid-column: span 5;
  display: grid;
  gap: 24px;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 165, 55, 0.18);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin-bottom: 18px;
  font-size: 22px;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.contact-card li {
  display: grid;
  gap: 6px;
}

.contact-card span {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: rgba(177, 122, 18, 0.75);
}

.map {
  grid-column: span 7;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(217, 165, 55, 0.16);
  box-shadow: 0 30px 70px rgba(37, 52, 77, 0.18);
}

.contact-form {
  margin-top: 40px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 165, 55, 0.2);
  display: grid;
  gap: 22px;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

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

.field label {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: rgba(177, 122, 18, 0.75);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 165, 55, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-ink);
  font: inherit;
  transition: border 0.3s var(--transition), background 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: rgba(177, 122, 18, 0.65);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 16px 40px rgba(217, 165, 55, 0.16);
}

.textarea {
  resize: vertical;
  min-height: 160px;
}

.has-error {
  border-color: rgba(220, 90, 76, 0.75) !important;
  box-shadow: 0 18px 40px rgba(220, 90, 76, 0.22);
}

.footer {
  margin-top: 160px;
  border-top: 1px solid rgba(17, 26, 40, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.9));
  position: relative;
  width: 100%;
  overflow: hidden;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 68px 24px 52px;
  align-items: start;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .footer-inner {
    gap: 40px;
    padding: 60px 24px 48px;
  }
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 60px 24px 48px;
  }

  .footer-inner > div:first-child {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 40px;
  }

  .footer h4 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .footer-nav a,
  .footer-contact a,
  .footer-social a,
  .footer-legal a {
    font-size: 14px;
  }
}

.footer h4 {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--color-ink);
  font-weight: 600;
}

.footer p {
  color: rgba(27, 38, 52, 0.62);
  line-height: 1.6;
}

.footer-nav,
.footer-contact,
.footer-social,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-inner > div:first-child {
  max-width: 100%;
}

.footer-inner > div:first-child p {
  margin-top: 12px;
  line-height: 1.6;
  max-width: 400px;
}

.footer-nav a,
.footer-contact a,
.footer-social a,
.footer-legal a {
  color: rgba(27, 38, 52, 0.72);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-social a:hover,
.footer-legal a:hover {
  color: var(--color-deep-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(17, 26, 40, 0.06);
  padding: 22px 24px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(42, 52, 68, 0.45);
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.42s; }

.page {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.page.ready {
  opacity: 1;
}

.floating-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 680px;
  margin-left: auto;
  perspective: 1200px;
}

.floating-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(217, 165, 55, 0.16);
  transform: rotate3d(1, 0.12, 0, -8deg) translateY(0);
  transition: transform 0.8s var(--transition), box-shadow 0.8s var(--transition);
}

.floating-item img {
  height: 200px;
  object-fit: cover;
}

.floating-item:nth-child(2) {
  transform: rotate3d(1, -0.08, 0, 6deg) translateY(0);
}

.floating-item:nth-child(3) {
  transform: rotate3d(1, 0.1, 0, -4deg) translateY(0);
}

.floating-item:nth-child(4) {
  transform: rotate3d(1, -0.12, 0, 8deg) translateY(0);
}

.floating-item:nth-child(5) {
  transform: rotate3d(1, 0.08, 0, -6deg) translateY(0);
}

.floating-item:nth-child(6) {
  transform: rotate3d(1, -0.06, 0, 4deg) translateY(0);
}

.floating-gallery:hover .floating-item {
  transform: translateY(-10px) rotate3d(0, 0, 0, 0);
  box-shadow: 0 30px 70px rgba(37, 52, 77, 0.26);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.tab {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(217, 165, 55, 0.28);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.35s var(--transition), color 0.35s var(--transition);
}

.tab.active,
.tab:hover {
  background: linear-gradient(120deg, rgba(217, 165, 55, 0.3), rgba(255, 247, 230, 0.92));
  color: var(--color-ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(217, 165, 55, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: rgba(177, 122, 18, 0.86);
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.14; transform: scale(0.98); }
  50% { opacity: 0.22; transform: scale(1.04); }
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero::after {
    display: none;
  }

  .floating-gallery {
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    max-width: 450px;
  }

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

  .contact-details,
  .map {
    grid-column: span 1;
  }

  .map {
    min-height: 320px;
  }

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

  .motion-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 24px;
    background: rgba(8, 23, 18, 0.96);
    border-radius: 18px;
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    border: 1px solid rgba(216, 182, 101, 0.2);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--transition), opacity 0.4s var(--transition);
    z-index: 1000;
    min-width: 200px;
  }

  .nav a {
    display: block !important;
    width: 100%;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 8px 0;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .nav a::after {
    background: linear-gradient(90deg, rgba(217, 165, 55, 0.78), rgba(177, 122, 18, 0.78));
  }

  .nav a:hover,
  .nav a.nav-active {
    color: var(--color-gold) !important;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .logo img {
    height: 50px;
  }
}

@media (max-width: 1024px) {
  .about-content-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .about-image-showcase {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 1024px) {
  .intro-section {
    padding: 120px 0 80px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .surface-types .surface-layers {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .intro-section {
    padding: 100px 0 60px;
  }

  .intro-content h1 {
    font-size: 36px;
  }

  .floating-gallery {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 16px;
  }

  .floating-item img {
    height: 160px;
  }

  .intro-content .lead {
    font-size: 18px;
  }

  .metrics-section {
    padding: 60px 0;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .metric-card {
    padding: 32px 24px;
  }

  .metric-content .metric-value {
    font-size: 36px;
  }

  .surface-types {
    padding: 32px 0;
  }

  .surface-types h3 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .surface-types .surface-layers {
    flex-direction: column;
    align-items: center;
  }

  .intro-cta {
    flex-direction: column;
    width: 100%;
  }

  .intro-cta .btn {
    width: 100%;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-cta {
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 90px 0;
  }

  .cta-banner {
    padding: 48px 32px;
  }

  .footer-inner {
    gap: 28px;
  }

  .about-content-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .about-image-showcase {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .showcase-grid,
  .product-grid,
  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }

  .about-image-frame img,
  .showcase-image {
    height: 250px !important;
  }

  .logo img {
    height: 45px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section h2 {
    font-size: 28px;
  }

  .hero-carousel-controls {
    bottom: 20px;
  }

  .hero-carousel-dot {
    width: 10px;
    height: 10px;
  }

  .hero-carousel-dot.active {
    width: 24px;
  }

  .footer-inner {
    padding: 48px 0 40px;
  }

  .footer-bottom {
    padding: 18px 0;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-carousel-controls {
    bottom: 15px;
    gap: 8px;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot.active {
    width: 20px;
  }
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(100, 150, 200, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease-out, width 0.15s ease-out, height 0.15s ease-out, border-color 0.15s ease-out;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  border-color: rgba(100, 150, 200, 0.6);
  background: rgba(100, 150, 200, 0.1);
}

.custom-cursor.click {
  transform: translate(-50%, -50%) scale(0.8);
}

/* Cursor hover effects on interactive elements */
a, button, .btn, .product-card, .portfolio-item, .showcase-card, .feature-card {
  cursor: none;
}

@media (max-width: 820px) {
  .custom-cursor { display: none !important; }
  a, button, .btn, .product-card, .portfolio-item, .showcase-card, .feature-card {
    cursor: pointer;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(230, 240, 255, 0.92), rgba(255, 255, 255, 0.98));
  z-index: 9998;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.loader-logo {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 80px rgba(36, 62, 102, 0.25);
  padding: 18px;
}

.loader-logo img {
  width: 100%;
  height: auto;
}

.loader-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(100, 150, 200, 0.3);
  border-top-color: rgba(100, 150, 200, 0.9);
  animation: loaderSpin 1.2s linear infinite;
}

.page-loader p {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: rgba(16, 35, 64, 0.65);
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 640px) {
  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-content { text-align: center; }
  .cta-actions { justify-content: center; }
}
.manufacturing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 50px;
  align-items: start;
}

.manufacturing-grid .section-header {
  text-align: left;
  max-width: 620px;
  margin: 0;
}

@media (max-width: 1024px) {
  .manufacturing-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .manufacturing-grid .section-header {
    text-align: center;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
    box-shadow: 0 2px 12px rgba(17, 26, 40, 0.06);
  }
  .header-inner {
    padding: 18px 0;
  }
  .logo img {
    height: 48px;
  }
}
