/* T Glass — Premium Shared Styles (Unified Assistant Typeface - Premium Sapphire Blue Theme) */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
  background-color: #ffffff;
}

body {
  background: #ffffff;
  color: #2B3340;
  -webkit-font-smoothing: antialiased;
  font-family: 'Assistant', sans-serif;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

/* Unified bold headers using Heebo */
h1, h2, h3, .font-serif {
  font-family: 'Heebo', sans-serif;
  font-weight: 800; /* Bold Heebo titles */
  letter-spacing: -0.01em;
  color: #2B3340;
}

::selection {
  background: #3560B0;
  color: #fff;
}

.ease-lux {
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Elegant sleek scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: #e2dfda;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3560B0;
}

/* Smooth entry animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(2px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), filter 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Very faint grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.01;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Floating Glass Cards */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

:root {
  --shadow-luxury-sm: 0 1px 3px rgba(43, 51, 64, 0.02), 0 2px 5px rgba(43, 51, 64, 0.02);
  --shadow-luxury-md: 0 4px 8px -1px rgba(43, 51, 64, 0.02), 0 2px 4px -1px rgba(43, 51, 64, 0.01), 0 12px 24px -6px rgba(43, 51, 64, 0.03), 0 24px 36px -12px rgba(43, 51, 64, 0.04);
  --shadow-luxury-lg: 0 12px 32px -12px rgba(43, 51, 64, 0.04), 0 24px 50px -16px rgba(43, 51, 64, 0.05), 0 40px 80px -16px rgba(43, 51, 64, 0.06);
}

.glass-card {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(43, 51, 64, 0.08);
  box-shadow: var(--shadow-luxury-md);
  position: relative;
}
/* Inner glass edge reflection */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(53, 96, 176, 0.18);
  box-shadow: var(--shadow-luxury-lg);
}

.hairline {
  box-shadow: inset 0 0 0 1px rgba(43, 51, 64, 0.06);
}
.innerglow {
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.9);
}

/* Faint background glows */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

/* Ensure opaque backgrounds completely hide blueprint lines behind cards */
.glass-card.bg-white {
  background-color: #ffffff !important;
}

/* Elegant CTA buttons */
.cta-premium {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  background: #3560B0 !important;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(53, 96, 176, 0.25);
  box-shadow: 0 4px 14px rgba(53, 96, 176, 0.22);
  border-radius: 9999px !important;
  transition: all 0.3s ease;
}
.cta-premium span {
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 2.25rem;
  border-radius: 9999px !important;
  background: rgba(255,255,255,0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  line-height: 1;
}
.cta-premium:hover {
  background: #27457F !important;
  border-color: #27457F;
  box-shadow: 0 6px 18px rgba(39, 69, 127, 0.3);
}

.cta-secondary {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(43, 51, 64, 0.1);
  background: rgba(255, 255, 255, 0.85);
  color: #2B3340;
  font-weight: 700;
  border-radius: 9999px !important;
  transition: all 0.3s ease;
}
.cta-secondary:hover {
  border-color: rgba(53, 96, 176, 0.35);
  background: #ffffff;
  color: #3560B0;
}

/* Glass Types for Visualizer */
.glass-type-preview {
  position: relative;
  overflow: hidden;
}

.glass-clear {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px 0 rgba(30, 41, 59, 0.01);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-extraclear {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px 0 rgba(30, 41, 59, 0.02);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.glass-frosted {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px 0 rgba(30, 41, 59, 0.01);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.glass-smoked {
  background: rgba(26, 24, 21, 0.55);
  box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Metallic Hardware Finishes */
.hw-finish-chrome {
  background: linear-gradient(135deg, #e2e8f0 0%, #ffffff 40%, #cbd5e1 60%, #94a3b8 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 0.5px 0 rgba(255,255,255,0.8);
}
.hw-finish-matteblack {
  background: linear-gradient(135deg, #475569 0%, #27457F 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hw-finish-gold {
  background: linear-gradient(135deg, #dfba73 0%, #fefcf6 40%, #e2c07d 60%, #b58d3d 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15), inset 0 0.5px 0 rgba(255,255,255,0.4);
}

/* Active Nav Links styling */
.nav-link-active {
  color: #3560B0 !important;
  font-weight: 700;
  position: relative;
}
.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: #3560B0;
  border-radius: 1px;
}

/* Float Label fields */
.form-group-premium {
  position: relative;
}
.form-input-premium {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(43, 51, 64, 0.12);
  background: rgba(43, 51, 64, 0.015);
  border-radius: 6px;
  padding: 0.9rem 0.75rem;
  font-family: inherit;
  color: #2B3340;
  transition: all 0.3s ease;
}
.form-input-premium:focus {
  outline: none;
  border-color: #3560B0;
  background: #ffffff;
  box-shadow: var(--shadow-luxury-sm);
}

/* Branded placeholder for missing images */
.ph {
  background: #FAF9F6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26,24,21,0.02);
}
.ph::after {
  content: "T·GLASS";
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(30, 41, 59, 0.25);
  letter-spacing: 0.15em;
}

/* Fine blueprint lines styling */
.grid-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(43, 51, 64, 0.035);
  pointer-events: none;
  z-index: 1;
}
.grid-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(43, 51, 64, 0.035);
  pointer-events: none;
  z-index: 1;
}

/* Custom premium select styling for form dropdowns */
.form-select-premium {
  width: 100%;
  border: 1.5px solid rgba(43, 51, 64, 0.12);
  background: rgba(43, 51, 64, 0.015) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B655C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat left 0.75rem center;
  background-size: 1.1em;
  border-radius: 6px;
  padding: 0.9rem 0.75rem 0.9rem 2.5rem; /* extra space on the left for arrow in RTL */
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-weight: 500;
  color: #6B655C;
  font-size: 14px;
  transition: all 0.3s ease;
}
.form-select-premium:focus {
  outline: none;
  border-color: #3560B0;
  background-color: #ffffff;
  color: #2B3340;
  box-shadow: var(--shadow-luxury-sm);
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}
.scroll-indicator-dot {
  animation: scroll-dot 2.5s infinite ease-in-out;
}

/* ===== IMAGE PLACEHOLDERS (for client image selection) ===== */
.ph-img{
  width:100%;height:100%;min-height:100%;
  background:repeating-linear-gradient(45deg,#eef2f8,#eef2f8 14px,#e6ecf6 14px,#e6ecf6 28px);
  border:1px dashed rgba(44,93,179,.30);
  display:flex;align-items:center;justify-content:center;text-align:center;color:#3560B0;
}
.ph-img .ph-label{font-weight:700;font-size:.8rem;line-height:1.35;opacity:.78;padding:.5rem .9rem;}
.ph-img .ph-label::before{content:"\1F5BC";display:block;font-size:1.4rem;margin-bottom:.3rem;opacity:.7;}

/* Fix: serif text / headings on dark backgrounds must be light
   (overrides the global ".font-serif{color:#2B3340}" so they aren't black-on-black) */
.bg-ink .font-serif,
.bg-ink h1, .bg-ink h2, .bg-ink h3,
.bg-slate-900 .font-serif, .bg-slate-800 .font-serif,
.text-cream .font-serif {
  color: #ffffff;
}

/* ===== Hero image carousel ===== */
.carousel-slide{position:absolute;inset:0;opacity:0;transition:opacity 1s ease}
.carousel-slide.active{opacity:1}
.carousel-dots{z-index:2}
.carousel-dots button{width:8px;height:8px;border-radius:9999px;background:rgba(255,255,255,.65);border:none;cursor:pointer;transition:all .3s;padding:0}
.carousel-dots button.active{background:#fff;width:22px}

/* ===== Global floating WhatsApp + Call buttons ===== */
.fab-stack{position:fixed;bottom:22px;left:22px;z-index:70;display:flex;flex-direction:column;gap:14px}
.fab{width:56px;height:56px;border-radius:9999px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 10px 26px rgba(0,0,0,.22);transition:transform .3s cubic-bezier(.25,1,.5,1)}
.fab:hover{transform:scale(1.09)}
.fab svg{width:28px;height:28px}
.fab-wa{background:#25D366;animation:fabPulse 2.6s infinite}
.fab-call{background:#3560B0}
@keyframes fabPulse{0%{box-shadow:0 10px 26px rgba(0,0,0,.22),0 0 0 0 rgba(37,211,102,.5)}70%{box-shadow:0 10px 26px rgba(0,0,0,.22),0 0 0 14px rgba(37,211,102,0)}100%{box-shadow:0 10px 26px rgba(0,0,0,.22),0 0 0 0 rgba(37,211,102,0)}}
@media (max-width:480px){.fab-stack{bottom:16px;left:16px}.fab{width:52px;height:52px}}

/* logo size safety net (in case a utility class is missing) */
header nav a img{max-height:48px;width:auto}
