/* --- MASTER LUXURY HEROES (RESPONSIVE & ROBUST) --- */

/* =========================================
   BASE LUXURY DNA
   ========================================= */
.custom-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-12);
  overflow: hidden;
  background: #0f171a; /* Deep, rich slate */
  color: #ffffff;
}

/* Standardized Typography */
.custom-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
  font-weight: 400; /* More elegant, less bulky */
}
.custom-hero p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 500px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.hero-subtitle-line {
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hero-subtitle-text {
  font-family: var(--font-sans);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

/* The Luxury Glass Standard */
.luxury-glass {
  background: rgba(20, 28, 33, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  border-radius: 12px;
}

/* Cinematic Animations */
@keyframes cinematicGlideUp {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes cinematicGlideRight {
  0% { transform: translateX(-60px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes cinematicGlideLeft {
  0% { transform: translateX(60px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-glide-up { animation: cinematicGlideUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.animate-glide-right { animation: cinematicGlideRight 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.animate-glide-left { animation: cinematicGlideLeft 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }


/* =========================================
   1. About Us - The Editorial Spotlight
   ========================================= */
.hero-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-12);
  position: relative;
  z-index: 10;
}
.hero-about-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 500px;
  margin: 0 auto;
}
.about-portrait {
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1600607686527-6fb886090705?auto=format&fit=crop&w=800&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 4px; /* Sharp, editorial edge */
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.about-glass-badge {
  position: absolute;
  bottom: -20px;
  left: -40px;
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
}
.about-badge-line {
  width: 2px;
  height: 40px;
  background: var(--color-accent);
}
.about-badge-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.2;
}
.about-badge-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
}


/* =========================================
   2. Products - The Suspended Gallery
   ========================================= */
.hero-products-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: var(--space-8);
  position: relative;
  z-index: 10;
}
.hero-products-visual {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-slab {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-slab-1 {
  width: 35%; height: 60%; left: 10%; top: 25%;
  background-image: url('https://images.unsplash.com/photo-1620626011761-996317b8d101?auto=format&fit=crop&w=600&q=80');
  z-index: 1; filter: brightness(0.7);
}
.product-slab-2 {
  width: 45%; height: 85%; left: 35%; top: 5%;
  background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=600&q=80');
  z-index: 3; box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}
.product-slab-3 {
  width: 35%; height: 70%; right: 5%; top: 15%;
  background-image: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=600&q=80');
  z-index: 2; filter: brightness(0.5);
}
.product-glass-badge {
  position: absolute;
  bottom: 10%;
  right: 25%;
  z-index: 4;
  padding: 15px 30px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-glass-badge:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}
.product-glass-badge svg { color: var(--color-accent); }


/* =========================================
   3. Applications - The Cinematic Arch
   ========================================= */
.hero-apps { padding: 0; }
.hero-apps-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
  min-height: 85vh;
  width: 100%;
}
.hero-apps-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-12) 10%;
  position: relative;
  z-index: 3;
}
.hero-apps-right {
  position: relative;
  width: 100%;
  height: 100%;
}
.apps-cinematic-arch {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 90%;
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 500px 0 0 500px;
  box-shadow: -30px 0 80px rgba(0,0,0,0.8);
}
.apps-cinematic-arch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 500px 0 0 500px;
  border-left: 2px solid transparent;
  background: linear-gradient(to bottom, rgba(70, 156, 118, 0.8), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}
.apps-glass-link {
  position: absolute;
  top: 50%;
  left: 0; /* Overlaps the arch edge */
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: all 0.3s ease;
}
.apps-glass-link:hover { transform: translate(-50%, -50%) scale(1.1); background: rgba(255,255,255,0.1); }
.apps-glass-link svg { color: #fff; }


/* =========================================
   4. Contact - The Global Headquarters
   ========================================= */
.hero-contact {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.15; /* Very subtle */
  filter: grayscale(100%);
  z-index: 1;
}
.contact-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, #0f171a 80%);
}
.hero-contact-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  padding: 0 var(--space-4);
  display: flex;
  justify-content: center;
}
.contact-colossal-glass {
  width: 100%;
  max-width: 900px;
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(15, 22, 26, 0.6); /* Slightly darker for readability */
  backdrop-filter: blur(40px); /* Extreme blur */
  -webkit-backdrop-filter: blur(40px);
}
.contact-colossal-glass h1 { margin-bottom: var(--space-4); }
.contact-colossal-glass .hero-subtitle { justify-content: center; }

.contact-luxury-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  width: 100%;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-luxury-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.contact-luxury-item svg { color: var(--color-accent); opacity: 0.8; }
.cl-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
}
.cl-val {
  font-size: 1.1rem;
  font-weight: 300;
  color: #fff;
}


/* =========================================
   RESPONSIVE (THE LUXURY FIX)
   ========================================= */
@media (max-width: 991px) {
  /* 1. About */
  .hero-about-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-about-grid .hero-subtitle { justify-content: center; }
  .hero-about-grid p { margin: 0 auto; }
  .about-glass-badge { left: 50%; transform: translateX(-50%); bottom: -30px; width: 80%; justify-content: center; }
  
  /* 2. Products */
  .hero-products-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-products-grid .hero-subtitle { justify-content: center; }
  .hero-products-grid p { margin: 0 auto; }
  .hero-products-visual { height: 400px; }
  
  /* 3. Applications */
  .hero-apps-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-apps-left { padding: var(--space-8) 5%; }
  .hero-apps-left .hero-subtitle { justify-content: center; }
  .hero-apps-left p { margin: 0 auto; }
  .hero-apps-right { height: 400px; padding: 0; }
  .apps-cinematic-arch { width: 100%; border-radius: 200px 200px 0 0; top: 20px; }
  .apps-cinematic-arch::after { border-radius: 200px 200px 0 0; }
  .apps-glass-link { top: 20px; left: 50%; }

  /* 4. Contact */
  .contact-colossal-glass { padding: var(--space-8) var(--space-6); }
  .contact-luxury-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .contact-luxury-item { padding-bottom: var(--space-6); border-bottom: 1px solid rgba(255,255,255,0.05); }
  .contact-luxury-item:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 767px) {
  .custom-hero { min-height: 70vh; padding-top: calc(var(--header-height) + var(--space-4)); }
  .hero-products-visual { height: 300px; }
  .product-slab-1, .product-slab-3 { display: none; } /* Focus on center slab for mobile */
  .product-slab-2 { width: 80%; left: 10%; }
  .product-glass-badge { right: 50%; transform: translateX(50%); bottom: -20px; }
}

/* =========================================
   5. Manufacturing - The Industrial Core
   ========================================= */
.hero-mfg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-mfg-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-mfg .hero-subtitle { justify-content: center; }
.hero-mfg-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 500px;
  margin-top: var(--space-8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.hero-mfg-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.8);
}
.mfg-badge {
  position: absolute;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  z-index: 12;
}
.mfg-badge svg { color: var(--color-accent); }
.mfg-badge-text { text-align: left; line-height: 1.2; }
.mfg-badge-title { font-family: var(--font-heading); font-size: 1.2rem; }
.mfg-badge-sub { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.6); }

.mfg-badge-1 { top: -20px; left: 40px; }
.mfg-badge-2 { bottom: -20px; right: 40px; }


/* =========================================
   6. Quality - The Shield of Excellence
   ========================================= */
.hero-quality .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-quality-shield {
  position: relative;
  width: clamp(200px, 30vw, 300px);
  aspect-ratio: 1/1;
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quality-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  animation: pulseRing 4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.quality-ring:nth-child(2) { animation-delay: 1.3s; inset: -10%; }
.quality-ring:nth-child(3) { animation-delay: 2.6s; inset: -20%; }
.quality-core {
  width: 50%; height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 5vw, 5rem);
  font-family: var(--font-heading);
  color: #fff;
  text-shadow: 0 0 20px rgba(255,255,255,0.5);
  border-radius: 10% 10% 45% 45%;
  z-index: 10;
}
.hero-quality .hero-subtitle { justify-content: center; }

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 rgba(255,255,255,0.1); }
  70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 30px rgba(255,255,255,0); }
  100% { transform: scale(0.95); opacity: 0.5; box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}


/* =========================================
   7. Gallery - The Floating Exhibition
   ========================================= */
.hero-gallery .container {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: var(--space-8);
  height: 100%;
}
.hero-gallery-text {
  position: relative;
  z-index: 10;
}
.gallery-exhibition {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  transform: rotate(-5deg) scale(1.1);
  opacity: 0.9;
}
.gallery-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: glideUpLoop 20s infinite linear;
}
.gallery-column:nth-child(even) {
  animation-direction: reverse;
  animation-duration: 25s;
  margin-top: -80px;
}
.gallery-frame {
  width: clamp(150px, 20vw, 250px);
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

@keyframes glideUpLoop {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@media (max-width: 991px) {
  .hero-mfg-visual { margin-top: var(--space-12); }
  .mfg-badge-1 { top: -30px; left: 10px; }
  .mfg-badge-2 { bottom: -30px; right: 10px; }
  
  .hero-gallery .container { grid-template-columns: 1fr; text-align: center; }
  .hero-gallery .hero-subtitle { justify-content: center; }
  .hero-gallery-text p { margin: 0 auto; }
  .gallery-exhibition { height: 40vh; transform: rotate(0) scale(1); overflow: hidden; align-items: flex-start;}
  .gallery-column:nth-child(even) { margin-top: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM POLISH LAYER — Elevates existing layouts without
   changing any structure. Adds depth, glow, micro-animations,
   architectural backgrounds, refined glass & typography.
   ═══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────
   GLOBAL BACKGROUND ARCHITECTURE
   Adds layered depth to every inner hero
   ───────────────────────────────────────────────── */

/* Diagonal hairline grid — feels like premium graph paper */
.custom-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

/* Radial glow — warm brand-teal spotlight from upper-left */
.custom-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(70,156,118,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 85%, rgba(26,86,104,0.18) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

/* Push all content above the decorative layers */
.hero-about-grid,
.hero-products-grid,
.hero-apps-grid,
.hero-mfg-content,
.hero-quality .container,
.hero-gallery .container,
.hero-contact-container { position: relative; z-index: 10; }


/* ─────────────────────────────────────────────────
   FLOATING CERAMIC TILE ORNAMENTS
   Purely decorative — architectural feel
   ───────────────────────────────────────────────── */
.custom-hero .hero-tile-ornament {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  pointer-events: none;
  z-index: 3;
}

/* Small floating tile — top-right corner */
.custom-hero .hero-tile-ornament-a {
  width: clamp(60px, 8vw, 120px);
  height: clamp(60px, 8vw, 120px);
  top: 12%;
  right: 6%;
  background: rgba(255,255,255,0.03);
  animation: floatTileA 9s ease-in-out infinite;
}

/* Larger tile — bottom-left */
.custom-hero .hero-tile-ornament-b {
  width: clamp(40px, 5vw, 80px);
  height: clamp(60px, 7.5vw, 120px);
  bottom: 15%;
  left: 4%;
  background: rgba(70,156,118,0.05);
  animation: floatTileB 12s ease-in-out infinite;
}

/* Tiny accent square */
.custom-hero .hero-tile-ornament-c {
  width: clamp(20px, 3vw, 40px);
  height: clamp(20px, 3vw, 40px);
  top: 35%;
  right: 18%;
  background: rgba(70,156,118,0.08);
  border-color: rgba(70,156,118,0.15);
  animation: floatTileC 7s ease-in-out infinite;
}

@keyframes floatTileA {
  0%,100% { transform: translateY(0) rotate(0deg);   opacity: 0.6; }
  40%      { transform: translateY(-18px) rotate(3deg); opacity: 1;   }
  70%      { transform: translateY(-8px) rotate(-2deg); opacity: 0.7; }
}
@keyframes floatTileB {
  0%,100% { transform: translateY(0) rotate(0deg);    opacity: 0.5; }
  50%      { transform: translateY(14px) rotate(-4deg); opacity: 0.9; }
}
@keyframes floatTileC {
  0%,100% { transform: translateY(0) scale(1);     opacity: 0.6; }
  50%      { transform: translateY(-10px) scale(1.15); opacity: 1;   }
}


/* ─────────────────────────────────────────────────
   REFINED BASE TYPOGRAPHY
   ───────────────────────────────────────────────── */
.custom-hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 20px rgba(255,255,255,0.08));
}

.hero-subtitle-line {
  background: linear-gradient(90deg, var(--color-accent), rgba(70,156,118,0.3));
  height: 1.5px;
  width: 35px;
  border-radius: 2px;
}

.hero-subtitle-text {
  color: var(--color-accent);
  letter-spacing: 5px;
  font-size: 0.7rem;
  font-weight: 700;
}


/* ─────────────────────────────────────────────────
   UPGRADED LUXURY GLASS
   ───────────────────────────────────────────────── */
.luxury-glass {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.07) 0%,
    rgba(255,255,255,0.02) 100%
  );
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.22);
  border-left: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(255,255,255,0.03) inset;
}


/* ─────────────────────────────────────────────────
   1. ABOUT — portrait polish & badge glow
   ───────────────────────────────────────────────── */
.about-portrait {
  border-radius: 8px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.8s cubic-bezier(0.25,1,0.5,1);
}
.about-portrait:hover { transform: scale(1.02); }

/* Gradient overlay on portrait for depth */
.hero-about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(15,23,26,0.7) 100%
  );
  border-radius: 8px;
  z-index: 1;
  pointer-events: none;
}

/* Teal accent glow behind the glass badge */
.about-glass-badge {
  border-radius: 16px;
}
.about-badge-line {
  box-shadow: 0 0 12px rgba(70,156,118,0.6);
}
.about-badge-text {
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.5px;
}


/* ─────────────────────────────────────────────────
   2. PRODUCTS — slab gloss & hover depth
   ───────────────────────────────────────────────── */
.product-slab {
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  transition:
    transform 0.7s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.7s ease;
}
.product-slab::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.06) 0%,
    transparent 50%
  );
  border-radius: inherit;
  pointer-events: none;
}
.product-slab:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 60px 120px rgba(0,0,0,0.9);
}

/* Teal glow on the active center slab */
.product-slab-2 {
  box-shadow:
    0 50px 100px rgba(0,0,0,0.85),
    0 0 40px rgba(70,156,118,0.15);
}

.product-glass-badge {
  border-radius: 40px;
  font-weight: 600;
  letter-spacing: 2.5px;
  font-size: 0.75rem;
}
.product-glass-badge:hover {
  box-shadow: 0 0 30px rgba(70,156,118,0.3);
  transform: translateY(-6px) !important;
}


/* ─────────────────────────────────────────────────
   3. APPLICATIONS — arch glow & left-panel depth
   ───────────────────────────────────────────────── */
.apps-cinematic-arch {
  /* Add luminous teal rim & dark gradient fade into the text area */
  box-shadow:
    -30px 0 80px rgba(0,0,0,0.85),
    inset 60px 0 80px rgba(15,23,26,0.5);
}

/* Overlay on arch for cinematic grading */
.apps-cinematic-arch::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 500px 0 0 500px;
  background: linear-gradient(
    100deg,
    rgba(15,23,26,0.6) 0%,
    transparent 40%,
    transparent 70%,
    rgba(0,0,0,0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}
/* Keep the original teal border on top */
.apps-cinematic-arch::after { z-index: 2; }

/* Left text panel — subtle teal glow edge on the right */
.hero-apps-left::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(70,156,118,0.4) 40%,
    rgba(70,156,118,0.4) 60%,
    transparent
  );
  pointer-events: none;
}

.apps-glass-link {
  width: 56px;
  height: 56px;
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 8px 24px rgba(0,0,0,0.5);
  animation: gentleFloat 6s ease-in-out infinite;
}
.apps-glass-link:hover {
  box-shadow:
    0 0 0 1px rgba(70,156,118,0.5),
    0 0 20px rgba(70,156,118,0.3),
    0 8px 24px rgba(0,0,0,0.5);
}


/* ─────────────────────────────────────────────────
   4. CONTACT — colossal glass refinements
   ───────────────────────────────────────────────── */
.contact-colossal-glass {
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  box-shadow:
    0 60px 120px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.1) inset;
  position: relative;
  overflow: hidden;
}

/* Inner teal glow at top */
.contact-colossal-glass::before {
  content: '';
  position: absolute;
  top: -1px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(70,156,118,0.8), transparent);
  pointer-events: none;
}

/* Soft inner light orb */
.contact-colossal-glass::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(70,156,118,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-luxury-item {
  padding: 1rem 0.5rem;
  border-radius: 12px;
  transition: background 0.3s ease;
}
.contact-luxury-item:hover {
  background: rgba(255,255,255,0.04);
}
.contact-luxury-item svg {
  width: 28px; height: 28px;
  filter: drop-shadow(0 0 6px rgba(70,156,118,0.5));
}

/* Vertical dividers between contact items */
.contact-luxury-grid {
  position: relative;
}
.contact-luxury-grid::before {
  content: '';
  position: absolute;
  top: 10%; bottom: 10%;
  left: 33.33%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}
.contact-luxury-grid::after {
  content: '';
  position: absolute;
  top: 10%; bottom: 10%;
  left: 66.66%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}


/* ─────────────────────────────────────────────────
   5. MANUFACTURING — cinematic image treatment
   ───────────────────────────────────────────────── */
.hero-mfg-visual {
  border-radius: 16px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 60px rgba(70,156,118,0.08);
}

/* Gradient vignette over the manufacturing image */
.hero-mfg-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(15,23,26,0.3) 0%,
    transparent 30%,
    transparent 70%,
    rgba(15,23,26,0.5) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.mfg-badge {
  border-radius: 14px;
  transition: transform 0.3s ease;
}
.mfg-badge:hover { transform: translateY(-4px); }
.mfg-badge svg {
  filter: drop-shadow(0 0 6px rgba(70,156,118,0.6));
}


/* ─────────────────────────────────────────────────
   6. QUALITY — shield luminance upgrade
   ───────────────────────────────────────────────── */
.quality-ring {
  border: 1px solid rgba(70,156,118,0.15);
}
.quality-ring:nth-child(2) {
  border-color: rgba(70,156,118,0.1);
}
.quality-ring:nth-child(3) {
  border-color: rgba(70,156,118,0.06);
}

.quality-core {
  background: linear-gradient(
    135deg,
    rgba(70,156,118,0.12) 0%,
    rgba(26,86,104,0.15) 100%
  );
  box-shadow:
    0 0 0 1px rgba(70,156,118,0.2),
    0 0 40px rgba(70,156,118,0.15),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
.quality-core svg {
  filter: drop-shadow(0 0 10px rgba(70,156,118,0.6));
  stroke: rgba(255,255,255,0.9);
}

@keyframes pulseRing {
  0%   { transform: scale(0.95); opacity: 0.4;
         box-shadow: 0 0 0 0 rgba(70,156,118,0.15); }
  70%  { transform: scale(1.02); opacity: 1;
         box-shadow: 0 0 0 25px rgba(70,156,118,0); }
  100% { transform: scale(0.95); opacity: 0.4;
         box-shadow: 0 0 0 0 rgba(70,156,118,0); }
}


/* ─────────────────────────────────────────────────
   7. GALLERY — frame polish & mask edge
   ───────────────────────────────────────────────── */
.gallery-frame {
  border-radius: 10px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.4s ease;
}
.gallery-frame:hover { transform: scale(1.03); }

/* Fade the gallery exhibition at top & bottom for infinite scroll illusion */
.gallery-exhibition {
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}


/* ─────────────────────────────────────────────────
   MICRO-INTERACTION: CTA / BADGE HOVER GLOW
   ───────────────────────────────────────────────── */
.luxury-glass:hover {
  border-top-color: rgba(70,156,118,0.4);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.5),
    0 0 20px rgba(70,156,118,0.12),
    0 1px 0 rgba(255,255,255,0.1) inset;
  transition: all 0.4s ease;
}


/* ─────────────────────────────────────────────────
   REFINED ANIMATION DELAYS (softer stagger)
   ───────────────────────────────────────────────── */
.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.5s;  }
.delay-3 { animation-delay: 0.75s; }


/* ─────────────────────────────────────────────────
   MOBILE POLISH — strip heavy effects on small screens
   ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .custom-hero::before { background-size: 40px 40px; opacity: 0.6; }
  .hero-tile-ornament-a,
  .hero-tile-ornament-b,
  .hero-tile-ornament-c { display: none; }
  .contact-luxury-grid::before,
  .contact-luxury-grid::after { display: none; }
  .gallery-exhibition {
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  }
}
