/* ==========================================================================
   RIYON GFRC — Ultra Premium Luxury Design System
   Architectural Grade. Presidential Heritage. Bespoke Excellence.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg-void:          #08090b;
  --bg-deep:          #0d0e12;
  --bg-dark:          #111318;
  --bg-dark-card:     #161820;
  --bg-mid:           #1a1c24;
  --bg-light:         #f8f7f3;
  --bg-light-alt:     #f1ede4;
  --bg-cream:         #faf9f6;
  --text-white:       #f8f8fa;
  --text-silver:      #bbbec9;
  --text-muted:       #72757f;
  --text-dark:        #111318;
  --text-dark-soft:   #484b56;
  --gold-light:       #e8c882;
  --gold:             #c9a257;
  --gold-deep:        #a07a35;
  --gold-glow:        rgba(201, 162, 87, 0.18);
  --gold-border:      rgba(201, 162, 87, 0.28);
  --gold-border-soft: rgba(201, 162, 87, 0.12);
  --border-dark:      rgba(255, 255, 255, 0.07);
  --border-white:     rgba(255, 255, 255, 0.12);
  --border-light:     rgba(0, 0, 0, 0.07);
  --serif:            'Cormorant Garamond', Georgia, serif;
  --sans:             'Jost', system-ui, sans-serif;
  --ease-luxury:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:      cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:         0.25s;
  --dur-med:          0.45s;
  --dur-slow:         0.8s;
  --shadow-sm:        0 4px 16px rgba(0,0,0,0.12);
  --shadow-md:        0 12px 40px rgba(0,0,0,0.2);
  --shadow-lg:        0 24px 64px rgba(0,0,0,0.35);
  --shadow-gold:      0 8px 32px rgba(201,162,87,0.22);
  --shadow-glow:      0 0 40px rgba(201,162,87,0.15);
  --section-pad:      8rem;
  --container:        1300px;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body { font-family: var(--sans); background: var(--bg-light); color: var(--text-dark); line-height: 1.7; overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; transition: color var(--dur-fast) var(--ease-smooth); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 2.5rem; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.65rem; font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; padding: 1rem 2.2rem;
  border-radius: 1px; transition: all var(--dur-med) var(--ease-luxury);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--bg-void); box-shadow: var(--shadow-gold); }
.btn-gold::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.55s var(--ease-luxury);
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(201,162,87,0.4); }
.btn-outline-light { border: 1px solid var(--border-white); color: rgba(255,255,255,0.88); backdrop-filter: blur(4px); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,87,0.06); transform: translateY(-3px); }
.btn-outline-dark { border: 1px solid rgba(0,0,0,0.18); color: var(--text-dark-soft); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,87,0.05); transform: translateY(-3px); }

.header-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.15rem 0; transition: all var(--dur-med) var(--ease-luxury);
  background: rgba(8, 9, 11, 0.84);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(201, 162, 87, 0.18);
}
.header-nav.scrolled {
  padding: 0.85rem 0;
  background: rgba(8, 9, 11, 0.97);
  border-bottom: 1px solid rgba(201, 162, 87, 0.32);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.nav-container {
  max-width: 1560px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand-logo { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo-img {
  height: 56px; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(201, 162, 87, 0.3));
  transition: all var(--dur-med) var(--ease-luxury);
}
.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 24px rgba(201, 162, 87, 0.55));
}
.brand-title { font-family: var(--serif); font-size: 1.95rem; font-weight: 700; letter-spacing: 0.28em; color: #fff; text-transform: uppercase; line-height: 1; }
.brand-subtitle { font-size: 0.6rem; letter-spacing: 0.36em; color: var(--gold); text-transform: uppercase; font-weight: 500; margin-top: 5px; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-link { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500; color: rgba(255,255,255,0.85); padding: 0.4rem 0; position: relative; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px; background: var(--gold); transition: width var(--dur-med) var(--ease-luxury); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav-wa-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #3ae87f; font-weight: 600; padding: 0.6rem 1.15rem;
  border: 1px solid rgba(58, 232, 127, 0.35); border-radius: 40px;
  background: rgba(58, 232, 127, 0.08);
  transition: all var(--dur-fast) var(--ease-smooth); white-space: nowrap;
}
.nav-wa-link:hover { border-color: #3ae87f; background: rgba(58, 232, 127, 0.2); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(58,232,127,0.25); }
.wa-indicator { width: 7px; height: 7px; border-radius: 50%; background: #3ae87f; box-shadow: 0 0 8px #3ae87f; }
.btn-sample-nav {
  padding: 0.68rem 1.45rem; font-size: 0.72rem; letter-spacing: 0.2em;
  background: var(--gold); color: #08090b; font-weight: 700; text-transform: uppercase;
  border-radius: 1px; transition: all var(--dur-fast) var(--ease-smooth); white-space: nowrap;
  box-shadow: 0 4px 20px rgba(201,162,87,0.3);
}
.btn-sample-nav:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,87,0.5); }
.mobile-toggle { display: none; color: #fff; font-size: 1.6rem; padding: 0.35rem; }

.hero-section {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-void); color: #fff; overflow: hidden;
  padding-top: 115px; padding-bottom: 2rem;
}
.hero-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  z-index: 10; opacity: 0.4;
}
.hero-bg-container { position: absolute; inset: 0; z-index: 1; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; animation: heroKenBurns 24s ease-in-out infinite alternate; }
@keyframes heroKenBurns {
  0%   { transform: scale(1)    translate(0, 0); }
  50%  { transform: scale(1.05) translate(-0.8%, 0.4%); }
  100% { transform: scale(1.08) translate(0.4%, -0.4%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(8,9,11,0.65) 0%, rgba(8,9,11,0.25) 35%, rgba(8,9,11,0.7) 70%, var(--bg-void) 100%),
              linear-gradient(to right,  rgba(8,9,11,0.75) 0%, rgba(8,9,11,0.2) 60%, transparent 100%);
}
.hero-container {
  max-width: 1440px; margin: 0 auto; padding: 0 2rem; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between; flex: 1;
  position: relative; z-index: 5;
}
.hero-main { max-width: 820px; padding: 1.2rem 0 1rem 0; }
.badge-tag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.38rem 0.95rem; background: rgba(201,162,87,0.12);
  border: 1px solid var(--gold-border); border-radius: 40px;
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pulseDot 2s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 6px var(--gold); } 50% { box-shadow: 0 0 14px var(--gold), 0 0 28px rgba(201,162,87,0.4); } }
.hero-title {
  font-family: var(--serif); font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 400; line-height: 1.08; color: #fff; margin-bottom: 0.9rem;
}
.hero-title em {
  display: block; font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem); color: var(--gold-light);
  margin-top: 0.35rem; line-height: 1.2;
}
.hero-title span {
  display: block; font-style: italic; font-weight: 300;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem); color: var(--gold-light);
  margin-top: 0.35rem; line-height: 1.2;
}
.hero-description {
  font-size: clamp(0.9rem, 1.05vw, 1.02rem); color: rgba(255,255,255,0.74);
  font-weight: 300; line-height: 1.68; max-width: 640px; margin-bottom: 1.6rem;
}
.hero-cta-group { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.metrics-ribbon {
  position: relative; z-index: 5; margin-top: auto;
  padding: 1.1rem 2rem;
  background: rgba(13, 14, 18, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201,162,87,0.24);
  border-radius: 2px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.metric-item { display: flex; flex-direction: column; }
.metric-value { font-family: var(--serif); font-size: 1.85rem; font-weight: 500; color: var(--gold); line-height: 1; margin-bottom: 0.25rem; }
.metric-label { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(255,255,255,0.52); font-weight: 400; }

.scroll-indicator { position: absolute; bottom: 2rem; right: 2rem; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.4); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(201,162,87,0.6), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0% { transform: scaleY(1); opacity: 1; transform-origin: top; } 100% { transform: scaleY(0); opacity: 0; transform-origin: top; } }

.section { padding: var(--section-pad) 0; }
.section-dark      { background: var(--bg-dark);      color: var(--text-white); }
.section-void      { background: var(--bg-void);      color: var(--text-white); }
.section-light     { background: var(--bg-light);     color: var(--text-dark);  }
.section-light-alt { background: var(--bg-light-alt); color: var(--text-dark);  }
.section-cream     { background: var(--bg-cream);     color: var(--text-dark);  }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 5rem auto; }
.section-subtitle { font-size: 0.68rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1rem; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.2; margin-bottom: 1.2rem; }
.section-title.light { color: #fff; }
.section-description { font-size: 1rem; color: var(--text-dark-soft); font-weight: 300; line-height: 1.8; }
.section-dark .section-description, .section-void .section-description { color: var(--text-silver); }

.mastery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.mastery-img-wrapper { position: relative; border-radius: 2px; overflow: hidden; }
.mastery-img-wrapper::before,
.mastery-img-wrapper::after { content: ''; position: absolute; width: 40px; height: 40px; z-index: 10; pointer-events: none; }
.mastery-img-wrapper::before { top: 14px; left: 14px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.mastery-img-wrapper::after  { bottom: 14px; right: 14px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.mastery-img { width: 100%; height: 560px; object-fit: cover; transition: transform var(--dur-slow) var(--ease-luxury); }
.mastery-img-wrapper:hover .mastery-img { transform: scale(1.04); }
.floating-tech-card { position: absolute; bottom: 2rem; right: 2rem; background: rgba(11,12,16,0.94); backdrop-filter: blur(20px); border: 1px solid var(--gold-border); padding: 1.6rem 2rem; border-radius: 2px; color: #fff; max-width: 280px; z-index: 5; }
.floating-tech-title { font-family: var(--serif); font-size: 1.15rem; color: var(--gold); margin-bottom: 0.35rem; font-weight: 500; }
.floating-tech-desc { font-size: 0.8rem; color: var(--text-silver); line-height: 1.55; }
.advantage-list { display: flex; flex-direction: column; gap: 2rem; }
.advantage-item { display: flex; gap: 1.4rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-light); transition: all var(--dur-med) var(--ease-luxury); }
.advantage-item:last-child { border-bottom: none; padding-bottom: 0; }
.advantage-item:hover { transform: translateX(6px); }
.advantage-icon { width: 50px; height: 50px; border-radius: 1px; background: var(--gold-glow); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; border: 1px solid var(--gold-border-soft); transition: all var(--dur-med) var(--ease-luxury); }
.advantage-item:hover .advantage-icon { background: var(--gold); color: var(--bg-void); border-color: var(--gold); }
.advantage-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 0.4rem; }
.advantage-desc { font-size: 0.88rem; color: var(--text-dark-soft); line-height: 1.65; }

.ingredient-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 5rem; }
.ingredient-card { background: #fff; padding: 2.2rem 1.6rem; border: 1px solid var(--border-light); border-radius: 2px; text-align: center; transition: all var(--dur-med) var(--ease-luxury); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.ingredient-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform var(--dur-med) var(--ease-luxury); }
.ingredient-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--gold-border); }
.ingredient-card:hover::after { transform: scaleX(1); }
.ingredient-number { width: 52px; height: 52px; background: var(--gold-glow); border: 1px solid var(--gold-border-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.4rem auto; font-family: var(--serif); font-size: 1.1rem; color: var(--gold); font-weight: 500; transition: all var(--dur-med) var(--ease-luxury); }
.ingredient-card:hover .ingredient-number { background: var(--gold); color: var(--bg-void); border-color: var(--gold); }
.ingredient-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text-dark); }
.ingredient-desc { font-size: 0.82rem; color: var(--text-dark-soft); line-height: 1.6; }

.process-workflow { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 100%); color: #fff; padding: 4rem; border-radius: 2px; border: 1px solid var(--gold-border); position: relative; overflow: hidden; }
.process-workflow::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.process-header { text-align: center; margin-bottom: 3rem; }
.process-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.8rem; }
.process-step { text-align: center; padding: 1.4rem 0.5rem 1.2rem; border: 1px solid var(--border-dark); border-radius: 2px; background: rgba(255,255,255,0.03); transition: all var(--dur-med) var(--ease-luxury); }
.process-step:hover { border-color: var(--gold-border); background: rgba(201,162,87,0.06); transform: translateY(-4px); }
.step-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.step-name { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.25rem; }
.step-sub { font-size: 0.65rem; color: var(--text-muted); }

.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.solution-card { background: var(--bg-dark-card); border: 1px solid var(--border-dark); border-radius: 2px; overflow: hidden; transition: all var(--dur-med) var(--ease-luxury); display: flex; flex-direction: column; }
.solution-card:hover { transform: translateY(-10px); box-shadow: 0 20px 48px rgba(0,0,0,0.45), var(--shadow-gold); border-color: var(--gold-border); }
.solution-thumb { position: relative; height: 270px; overflow: hidden; }
.solution-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-luxury); }
.solution-card:hover .solution-thumb img { transform: scale(1.1); }
.solution-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(11,12,16,0.88); backdrop-filter: blur(8px); border: 1px solid var(--border-dark); padding: 0.28rem 0.8rem; border-radius: 20px; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.solution-body { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.solution-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 0.75rem; color: #fff; }
.solution-desc { font-size: 0.86rem; color: var(--text-silver); line-height: 1.7; margin-bottom: 1.4rem; flex-grow: 1; }
.specs-badge { display: inline-block; font-size: 0.66rem; background: rgba(201,162,87,0.12); color: var(--gold); padding: 0.2rem 0.65rem; border-radius: 1px; font-weight: 500; border: 1px solid var(--gold-border-soft); }
.solution-specs { display: flex; justify-content: space-between; border-top: 1px solid var(--border-dark); padding-top: 1.2rem; font-size: 0.74rem; color: var(--text-muted); }
.solution-specs span { color: var(--gold); font-weight: 500; }

.texture-explorer { background: #fff; border: 1px solid var(--border-light); border-radius: 2px; padding: 3.5rem; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; box-shadow: var(--shadow-sm); }
.texture-preview-box { position: relative; height: 440px; border-radius: 2px; overflow: hidden; }
.texture-preview-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.texture-swatches { display: flex; flex-direction: column; gap: 1rem; }
.swatch-btn { display: flex; align-items: center; gap: 1.5rem; padding: 1.2rem 1.5rem; border: 1px solid var(--border-light); border-radius: 2px; text-align: left; background: var(--bg-light); transition: all var(--dur-med) var(--ease-luxury); position: relative; overflow: hidden; }
.swatch-btn::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform var(--dur-med) var(--ease-luxury); }
.swatch-btn:hover, .swatch-btn.active { background: #fff; border-color: var(--gold-border); box-shadow: 0 8px 28px rgba(201,162,87,0.12); transform: translateX(6px); }
.swatch-btn:hover::after, .swatch-btn.active::after { transform: scaleY(1); }
.swatch-circle { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.15); flex-shrink: 0; }
.swatch-info h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--text-dark); margin-bottom: 0.2rem; font-weight: 500; }
.swatch-info p { font-size: 0.78rem; color: var(--text-dark-soft); }
.swatch-circle.white-pure    { background: #fbfbfd; border-color: #d4d6dc; }
.swatch-circle.white-etched  { background: #f0ede6; border-color: #c2beb5; }
.swatch-circle.white-jali    { background: radial-gradient(circle, #e2dfd9 30%, #fff 70%); border-color: #bab7af; }
.swatch-circle.white-precast { background: #f7f6f2; border-color: #c8c6bf; }

.portfolio-filter-bar { display: flex; justify-content: center; gap: 0.8rem; margin-bottom: 3.5rem; flex-wrap: wrap; }
.filter-btn { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; padding: 0.65rem 1.6rem; border: 1px solid var(--border-light); border-radius: 40px; color: var(--text-dark-soft); transition: all var(--dur-fast) var(--ease-smooth); }
.filter-btn.active, .filter-btn:hover { background: var(--gold); color: var(--bg-void); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.projects-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-item { position: relative; border-radius: 2px; overflow: hidden; height: 390px; cursor: pointer; }
.project-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-luxury); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(8,9,11,0.97) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; transition: all var(--dur-med) var(--ease-luxury); }
.project-item:hover img { transform: scale(1.1); }
.project-category { font-size: 0.64rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 0.4rem; }
.project-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; color: #fff; margin-bottom: 0.4rem; transform: translateY(8px); transition: transform var(--dur-med) var(--ease-luxury); }
.project-item:hover .project-title { transform: translateY(0); }
.project-location { font-size: 0.78rem; color: var(--text-silver); opacity: 0; transform: translateY(6px); transition: all var(--dur-med) var(--ease-luxury) 0.06s; }
.project-item:hover .project-location { opacity: 1; transform: translateY(0); }

.specs-table-container { background: var(--bg-dark-card); border: 1px solid var(--border-dark); border-radius: 2px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.specs-table-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.specs-table { width: 100%; border-collapse: collapse; text-align: left; }
.specs-table th { background: rgba(8,9,11,0.7); font-family: var(--serif); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding: 1.4rem 2rem; border-bottom: 1px solid var(--border-dark); }
.specs-table td { padding: 1.15rem 2rem; font-size: 0.88rem; color: var(--text-silver); border-bottom: 1px solid rgba(255,255,255,0.04); transition: all var(--dur-fast) var(--ease-smooth); }
.specs-table tr:hover td { background: rgba(255,255,255,0.025); color: #fff; }

.quote-banner { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-mid) 60%, var(--bg-dark) 100%); border: 1px solid var(--gold-border); border-radius: 2px; padding: 5rem; position: relative; overflow: hidden; }
.quote-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.quote-banner::after { content: ''; position: absolute; top: -30%; right: -15%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(201,162,87,0.07) 0%, transparent 65%); pointer-events: none; }
.quote-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; position: relative; z-index: 2; }
.quote-content h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; color: #fff; line-height: 1.2; margin-bottom: 1.2rem; }
.quote-content p { color: var(--text-silver); font-size: 0.95rem; font-weight: 300; line-height: 1.85; margin-bottom: 2rem; }
.quote-features { display: flex; flex-direction: column; gap: 0.9rem; }
.quote-feat { display: flex; align-items: center; gap: 0.9rem; color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.quote-feat svg { color: var(--gold); flex-shrink: 0; }
.luxury-form { background: rgba(255,255,255,0.025); border: 1px solid var(--border-dark); padding: 2.8rem; border-radius: 2px; }
.form-group { margin-bottom: 1.3rem; }
.form-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 0.5rem; font-weight: 500; }
.form-control { width: 100%; padding: 0.9rem 1.1rem; background: rgba(8,9,11,0.6); border: 1px solid var(--border-dark); color: #fff; font-family: var(--sans); font-size: 0.88rem; border-radius: 1px; outline: none; transition: all var(--dur-med) var(--ease-luxury); }
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus { border-color: var(--gold-border); background: rgba(8,9,11,0.9); box-shadow: 0 0 0 3px rgba(201,162,87,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success-box { display: none; text-align: center; padding: 4rem 1rem; }
.form-success-icon { width: 68px; height: 68px; border-radius: 50%; background: rgba(201,162,87,0.12); border: 1px solid var(--gold-border); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem auto; font-size: 1.8rem; animation: successPulse 1.5s ease-in-out; }
@keyframes successPulse { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }

.footer { background: var(--bg-void); border-top: 1px solid var(--border-dark); color: var(--text-silver); padding: 6rem 0 2.5rem 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold-border), transparent); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 5rem; }
.footer-brand p { font-size: 0.86rem; font-weight: 300; line-height: 1.85; color: var(--text-silver); margin-top: 1.4rem; max-width: 300px; }
.footer-title { font-family: var(--serif); font-size: 1rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1.6rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a { font-size: 0.84rem; font-weight: 300; color: var(--text-silver); transition: all var(--dur-fast) var(--ease-smooth); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.1rem; font-size: 0.84rem; font-weight: 300; color: var(--text-silver); }
.footer-contact-item svg { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2.2rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--text-muted); }

.modal-backdrop { position: fixed; inset: 0; background: rgba(8,9,11,0.88); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity var(--dur-med) var(--ease-luxury); }
.modal-backdrop.active { opacity: 1; pointer-events: auto; }
.modal-window { background: var(--bg-dark); border: 1px solid var(--gold-border); border-radius: 2px; width: 100%; max-width: 700px; padding: 3.5rem; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.7), var(--shadow-glow); transform: translateY(24px) scale(0.98); transition: all var(--dur-med) var(--ease-luxury); color: #fff; }
.modal-window::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.modal-backdrop.active .modal-window { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--text-muted); font-size: 1.6rem; cursor: pointer; line-height: 1; transition: all var(--dur-fast) var(--ease-smooth); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { color: var(--gold); background: var(--gold-glow); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

@keyframes shimmerGold {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-gold {
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold-light) 40%, var(--gold-deep) 80%, var(--gold-light) 100%);
  background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: shimmerGold 4s linear infinite;
}

/* ==========================================================================
   MOBILE & RESPONSIVE LUXURY DESIGN SYSTEM
   ========================================================================== */

/* Mobile Floating Quick Action Bar (Smartphones) */
.mobile-quick-bar {
  display: none;
}

.mobile-scroll-hint {
  display: none;
}

@keyframes mobileMenuFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1200px) {
  :root { --section-pad: 6.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 1140px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
}

@media (max-width: 1024px) {
  .solutions-grid, .projects-masonry { grid-template-columns: repeat(2, 1fr); }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
  .mastery-grid, .quote-layout, .texture-explorer { grid-template-columns: 1fr; gap: 2.5rem; }
  .metrics-ribbon { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 4.5rem; }
  body { padding-bottom: 68px; } /* Space for mobile sticky bottom bar */
  .container { padding: 0 1.25rem; }

  /* Compact Luxury Header on Mobile */
  .header-nav { padding: 0.75rem 0; }
  .header-nav.scrolled { padding: 0.65rem 0; }
  .nav-container { padding: 0 1.25rem; gap: 0.75rem; }
  .brand-logo-img { height: 42px; }
  .btn-sample-nav { display: none; } /* Replaced by bottom floating quick bar for cleaner header */
  
  .nav-wa-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-dark);
    font-size: 1.4rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    transition: all var(--dur-fast) var(--ease-smooth);
  }
  .mobile-toggle.open {
    color: var(--gold);
    background: rgba(201, 162, 87, 0.15);
    border-color: var(--gold-border);
  }

  /* Full-Screen Mobile Drawer Menu */
  .nav-menu.open, .nav-menu.active {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 9, 11, 0.98);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    justify-content: flex-start;
    align-items: center;
    gap: 1.6rem;
    padding: 6.5rem 2rem 4rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
    animation: mobileMenuFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .nav-menu.open .nav-link, .nav-menu.active .nav-link {
    font-size: 1.25rem;
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.92);
    padding: 0.4rem 0;
  }
  .nav-menu.open .nav-link:hover, .nav-menu.active .nav-link:hover {
    color: var(--gold);
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding-top: 85px;
    min-height: calc(100svh - 40px);
    justify-content: center;
  }
  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
  }
  .hero-title em {
    font-size: 1.25rem;
    margin-top: 0.4rem;
  }
  .hero-description {
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    padding: 0.9rem 1.4rem;
    text-align: center;
  }
  .metrics-ribbon {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.2rem 1rem;
    margin-top: 2.2rem;
  }
  .metric-value { font-size: 1.45rem; }
  .metric-label { font-size: 0.65rem; }

  /* Grids & Cards */
  .solutions-grid, .projects-masonry { grid-template-columns: 1fr; }
  .ingredient-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .quote-banner { padding: 2.4rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .mastery-img { height: 280px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .scroll-indicator { display: none; }
  .texture-explorer { padding: 1.5rem; }

  /* Mobile Touch UX on Portfolio */
  .project-item { height: 320px; }
  .project-overlay {
    background: linear-gradient(180deg, transparent 15%, rgba(8,9,11,0.95) 100%);
    padding: 1.25rem;
  }
  .project-title { transform: translateY(0); font-size: 1.15rem; }
  .project-location { opacity: 1; transform: translateY(0); }

  /* Horizontal Scrollable Table on Mobile */
  .specs-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
    margin: 0 -0.5rem;
  }
  .specs-table { min-width: 660px; }
  .specs-table th { padding: 1rem 1.2rem; font-size: 0.78rem; white-space: nowrap; }
  .specs-table td { padding: 0.9rem 1.2rem; font-size: 0.8rem; white-space: nowrap; }
  .mobile-scroll-hint {
    display: block !important;
    font-size: 0.72rem;
    color: var(--gold);
    text-align: right;
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
  }

  /* Form & Modal Mobile Polish */
  .modal-backdrop { padding: 0.75rem; }
  .modal-window {
    padding: 2.2rem 1.3rem 1.6rem 1.3rem;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-window h2 { font-size: 1.4rem !important; }
  .form-control {
    font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
    padding: 0.8rem 1rem;
  }
  .modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  /* Persistent Mobile Bottom Action Bar */
  .mobile-quick-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(8, 9, 11, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(201, 162, 87, 0.35);
    z-index: 990;
    padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px)) 0.5rem;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.7);
  }
  .mobile-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 0.35rem 0.5rem;
    flex: 1;
    text-align: center;
    border-radius: 4px;
    transition: all var(--dur-fast) var(--ease-smooth);
  }
  .mobile-quick-item:active {
    background: rgba(255,255,255,0.08);
  }
  .mobile-quick-item svg { width: 18px; height: 18px; }
  .mobile-quick-item.gold { color: var(--gold); }
  .mobile-quick-item.wa { color: #3ae87f; }
}

@media (max-width: 480px) {
  .ingredient-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 1.95rem; }
  .hero-title em { font-size: 1.15rem; }
  .brand-logo-img { height: 36px; }
  .nav-container { padding: 0 0.85rem; }
  .metrics-ribbon { grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 0.9rem 0.6rem; }
  .metric-value { font-size: 1.3rem; }
  .quote-banner { padding: 2rem 1rem; }
}
