/* ==========================================================================
   GRAN TRADE INC. — PAGES STYLESHEET (4/5)
   Job: Page-specific section styling (Hero, Stats, Why, Showroom, Contact)
   ========================================================================== */

/* ---------------- Home: Hero Section ---------------- */
.hero {
  position: relative;
  min-height: clamp(500px, 68vh, 650px);
  display: flex;
  align-items: center;
  background-color: #12100d;
  color: #ffffff;
  overflow: hidden;
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: contrast(1.08) brightness(0.9);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: var(--hero-shade);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.hero-left {
  max-width: 640px;
}

.hero-visualizer {
  position: relative;
}

.hero-slab-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.18);
  background: #171310;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.hero-slab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(209, 154, 82, 0.45);
}

.hero-slab-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero-slab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slab-card:hover .hero-slab-media img {
  transform: scale(1.05);
}

.hero-slab-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

.hero-slab-meta {
  padding: 1.25rem 1.5rem;
  background: rgba(18, 15, 12, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-slab-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.hero-slab-sub {
  font-size: 0.78rem;
  color: rgba(240, 232, 218, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stone-switcher {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.hero-stone-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f0e8da;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-stone-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.hero-stone-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f0e8da;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.35rem, 4.5vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 1.15rem;
}

.hero p.lead {
  color: rgba(240, 232, 218, 0.9);
  max-width: 600px;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.6;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

/* Hero Metrics Strip */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.25rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 580px;
}

.metric-val {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-lbl {
  font-size: 0.82rem;
  color: rgba(240, 232, 218, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------------- Home: Why Gran Trade (4-Pillars) ---------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.home-featured-grid .slab-card {
  cursor: pointer;
}

.yard-cta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.yard-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.why-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.why-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------- Home & About: Applied / From Slab to Space ---------------- */
.applied-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.applied-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

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

.applied-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.applied-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.applied-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.applied-item-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.applied-item-text p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------------- About Page Layout ---------------- */
.about-hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: 4.5rem;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}

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

.specs-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4.5rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  box-sizing: border-box;
}

.spec-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.spec-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--line);
}

.spec-item .val {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.spec-item .lbl {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------------- Showroom & Slab Yard Page ---------------- */
.showroom-intro {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.showroom-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.gallery-tall {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 480px;
}

.gallery-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.yard-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.yard-guide-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.yard-guide-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* ---------------- Contact & Visit Page ---------------- */
.contact-mobile-actions {
  display: none;
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.contact-map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 1rem;
  background: var(--surface);
}

.contact-map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

.info-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.phone-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
  transition: color var(--transition-fast);
}

.phone-link:hover {
  color: var(--accent);
}

.contact-form-card {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.35rem);
  box-shadow: var(--shadow-md);
  align-self: start;
  position: sticky;
  top: calc(var(--header-h, 76px) + 1.5rem);
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: start;
}

.form-helper-note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--ink-3);
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ==========================================================================
   LIQUID FLOW STONE CATALOG & SCROLL POPUP SYSTEM
   ========================================================================== */

/* Liquid Floating Keyframes */
@keyframes liquidBlobMove1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  33% { transform: translate(60px, -40px) scale(1.15) rotate(45deg); border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  66% { transform: translate(-40px, 30px) scale(0.9) rotate(-30deg); border-radius: 70% 30% 50% 50% / 30% 40% 60% 70%; }
}

@keyframes liquidBlobMove2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
  50% { transform: translate(-70px, 50px) scale(1.2) rotate(-60deg); border-radius: 60% 40% 30% 70% / 70% 30% 50% 50%; }
}

@keyframes liquidPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Liquid Section Container */
.liquid-flow-section {
  position: relative;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 5vw, 5rem) 0;
  overflow: hidden;
}

/* Liquid Ambient Background Orbs */
.liquid-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.liquid-orb {
  position: absolute;
  filter: blur(90px);
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.liquid-orb-1 {
  width: 550px;
  height: 550px;
  top: 5%;
  left: -100px;
  background: radial-gradient(circle, rgba(138, 90, 38, 0.45) 0%, rgba(209, 154, 82, 0.15) 60%, transparent 80%);
  animation: liquidBlobMove1 22s infinite ease-in-out;
}

.liquid-orb-2 {
  width: 650px;
  height: 650px;
  bottom: 0%;
  right: -150px;
  background: radial-gradient(circle, rgba(47, 79, 78, 0.4) 0%, rgba(127, 179, 172, 0.15) 60%, transparent 80%);
  animation: liquidBlobMove2 26s infinite ease-in-out;
}

.liquid-orb-3 {
  width: 450px;
  height: 450px;
  top: 45%;
  left: 45%;
  background: radial-gradient(circle, rgba(209, 154, 82, 0.25) 0%, transparent 70%);
  animation: liquidBlobMove1 18s infinite ease-in-out reverse;
}

@media (prefers-color-scheme: dark) {
  .liquid-orb {
    opacity: 0.22;
  }
}

/* Liquid Section Header */
.liquid-head-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

/* Liquid Filter Pills Nav */
.liquid-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.liquid-filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.liquid-pill {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-2);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.liquid-pill:hover {
  color: var(--ink);
  background: var(--bg-2);
  transform: translateY(-1px);
}

.liquid-pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(138, 90, 38, 0.3);
  transform: scale(1.03);
}

.liquid-pill-badge {
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.08);
}

.liquid-pill.active .liquid-pill-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ================= VERTICAL LIQUID FLOW CATALOG ================= */
@keyframes liquidVerticalSmooth {
  0% {
    opacity: 0;
    transform: translate3d(0, 44px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes liquidAuraGlow {
  0% {
    opacity: 0.85;
    transform: scale(0.99);
  }
  100% {
    opacity: 0;
    transform: scale(1.02);
  }
}

.liquid-vertical-flow {
  position: relative;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4.5vw, 3.75rem);
}

.liquid-stone-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  opacity: 1;
  transform: none;
}

.liquid-stone-row.liquid-flow-in {
  animation: liquidVerticalSmooth 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-stone-row:nth-child(even) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.liquid-stone-row:nth-child(even) .liquid-stone-media {
  order: 2;
}

.liquid-stone-row:nth-child(even) .liquid-stone-info {
  order: 1;
}

.liquid-stone-row.is-hidden {
  display: none !important;
}

/* Liquid Media Framing — Hardware Accelerated & High-Fidelity Depth */
.liquid-stone-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background-color: var(--bg-2);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.03),
    0 24px 48px -12px rgba(46, 36, 22, 0.12),
    0 0 0 1px rgba(209, 154, 82, 0.18);
  user-select: none;
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-stone-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: 0 0 0 2px var(--accent), 0 0 35px rgba(209, 154, 82, 0.3);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.8s ease;
}

.liquid-stone-row.liquid-flow-in .liquid-stone-media::after {
  animation: liquidAuraGlow 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.liquid-stone-media:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 
    0 8px 14px -2px rgba(0, 0, 0, 0.04),
    0 36px 72px -16px rgba(138, 90, 38, 0.22),
    0 0 0 1px var(--accent);
}

.liquid-stone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-stone-media:hover img {
  transform: scale(1.035) translate3d(0, 0, 0);
}

.liquid-card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 380px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 65%);
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.liquid-stone-media:hover .liquid-card-glare {
  opacity: 1;
}

.liquid-media-badges {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.liquid-badge {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.liquid-badge.natural {
  background: rgba(30, 25, 20, 0.84);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.liquid-badge.engineered {
  background: rgba(138, 90, 38, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.liquid-origin-badge {
  background: rgba(255, 255, 255, 0.94);
  color: #221d16;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  .liquid-origin-badge {
    background: rgba(23, 19, 16, 0.92);
    color: #f0e8da;
    border: 1px solid var(--line);
  }
}

.liquid-quick-view-btn {
  position: absolute;
  bottom: 1.35rem;
  right: 1.35rem;
  background: rgba(23, 19, 16, 0.82);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease;
  z-index: 4;
}

.liquid-stone-media:hover .liquid-quick-view-btn {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.liquid-quick-view-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.04) translate3d(0, 0, 0);
}

/* Liquid Stone Info Column */
.liquid-stone-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.liquid-geology-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.liquid-glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: liquidPulse 2s infinite ease-in-out;
}

.liquid-geology {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.liquid-stone-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.liquid-stone-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

.liquid-stone-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.45rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.liquid-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.liquid-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.liquid-detail-value {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 500;
}

.liquid-stone-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

@media (hover: none) {
  .liquid-quick-view-btn {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 960px) {
  .liquid-stone-row,
  .liquid-stone-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .liquid-stone-row:nth-child(even) .liquid-stone-media {
    order: 1;
  }
  .liquid-stone-row:nth-child(even) .liquid-stone-info {
    order: 2;
  }
  .liquid-quick-view-btn {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= Liquid Pop-Up Modal ================= */
.liquid-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--modal-scrim);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.liquid-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.liquid-modal-dialog {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

.liquid-modal-backdrop.is-open .liquid-modal-dialog {
  transform: translateY(0) scale(1);
}

.liquid-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
}

.liquid-modal-close:hover {
  background: var(--ink);
  color: var(--bg);
}

.liquid-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.liquid-modal-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background-color: var(--bg-2);
}

.liquid-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.liquid-modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
  padding: 1.15rem;
  background-color: var(--bg-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.liquid-modal-spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.liquid-modal-spec-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.liquid-modal-spec-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 860px) {
  .liquid-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .liquid-modal-specs {
    grid-template-columns: minmax(0, 1fr);
  }
}
