/* ============================================
   AM DIGITAL PRINTS — LUXURY DESIGN SYSTEM
   Deep Red + Soft Purple + White | Premium Branding
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* === BRAND COLORS — Red + Purple + White === */
  --red:        #C8102E;
  --red-deep:   #9E0A22;
  --red-soft:   #E63C56;
  --red-glow:   rgba(200,16,46,0.18);

  --purple:      #7B3FBF;
  --purple-soft: #A06FE0;
  --purple-deep: #4B1F7F;

  /* === SURFACES === */
  /* NOTE: --white is intentionally mapped to deep ink because legacy
     inline page styles use it as a TEXT color (originally cream-on-black).
     Use literal #ffffff or #fff in this stylesheet when actual white is needed. */
  --white:      #15121A;
  --bg:         #fafaf9;
  --bg-2:       #f4f1ee;
  --bg-3:       #ede9e5;
  --ink:        #15121A;
  --ink-soft:   #3a3340;
  --ink-dim:    #6b6470;
  --line:        rgba(20,15,30,0.08);
  --line-strong: rgba(20,15,30,0.14);

  --glass:        rgba(255,255,255,0.65);
  --glass-strong: rgba(255,255,255,0.85);
  --glass-border: rgba(200,16,46,0.12);
  --glass-hover:  rgba(255,255,255,0.92);

  --grad-brand:       linear-gradient(135deg, #C8102E 0%, #7B3FBF 100%);
  --grad-brand-soft:  linear-gradient(135deg, rgba(200,16,46,0.10) 0%, rgba(123,63,191,0.10) 100%);
  --grad-radial:      radial-gradient(circle at 30% 20%, rgba(200,16,46,0.10), transparent 55%),
                      radial-gradient(circle at 80% 80%, rgba(123,63,191,0.10), transparent 60%);

  /* Back-compat aliases — old vars map to new palette.
     IMPORTANT: --white in legacy inline page styles is used as
     a TEXT color (originally cream-on-black). Remap to deep ink so
     headings remain readable on the new light bg. */
  --gold:        #C8102E;
  --gold-light:  #E63C56;
  --gold-dark:   #9E0A22;
  --black:       #fafaf9;
  --black-2:     #ffffff;
  --black-3:     #f4f1ee;
  --black-4:     #ede9e5;
  --cream:       #15121A;
  --cream-2:     #3a3340;
  --text-dim:    #6b6470;
  --shadow-gold:    0 18px 50px -12px rgba(200,16,46,0.30), 0 6px 18px -6px rgba(123,63,191,0.18);
  --shadow-gold-sm: 0 8px 24px -8px rgba(200,16,46,0.22);

  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   28px;
  --transition:  all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm:   0 2px 8px rgba(20,15,30,0.04);
  --shadow-md:   0 10px 30px -10px rgba(20,15,30,0.12), 0 4px 12px -4px rgba(20,15,30,0.06);
  --shadow-lg:   0 30px 60px -20px rgba(20,15,30,0.18), 0 10px 24px -10px rgba(200,16,46,0.10);
  --shadow-brand: 0 18px 50px -12px rgba(200,16,46,0.30), 0 6px 18px -6px rgba(123,63,191,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  letter-spacing: -0.005em;
}

body::after {
  content: ''; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 800px 600px at 90% -10%, rgba(123,63,191,0.06), transparent 60%),
    radial-gradient(ellipse 700px 500px at -10% 30%, rgba(200,16,46,0.05), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 110%, rgba(123,63,191,0.04), transparent 60%);
  pointer-events: none;
}

::selection { background: var(--red); color: #fff; }

/* Hide old dark-theme cursor entirely */
#cursor, #cursor-ring { display: none !important; }

/* ---- PRELOADER ---- */
#preloader {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 99997; transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: 0.05em; margin-bottom: 2rem;
  animation: pulseGold 2s ease-in-out infinite;
}
.preloader-bar {
  width: 220px; height: 2px; background: rgba(200,16,46,0.10);
  position: relative; overflow: hidden; border-radius: 999px;
}
.preloader-bar::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-brand);
  animation: barFill 1.5s ease-in-out infinite;
}
@keyframes pulseGold { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.7;transform:scale(0.98)} }
@keyframes barFill { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }

body::before { display: none !important; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom-color: var(--line);
  padding: 0.7rem 0;
  box-shadow: 0 8px 30px -12px rgba(20,15,30,0.08);
}
.nav-container {
  max-width: 1320px; margin: 0 auto;
  padding: 0 2rem; display: flex; align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; }
.nav-logo img {
  height: 42px; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(200,16,46,0.18));
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem; font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}
.nav-logo-tagline {
  font-size: 0.52rem; font-weight: 700;
  color: var(--purple); letter-spacing: 0.10em;
  text-transform: uppercase; margin-top: 3px;
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .nav-logo-tagline { font-size: 0.44rem; letter-spacing: 0.06em; max-width: 200px; }
}
@media (max-width: 480px) {
  .nav-logo-tagline { display: none; }
}
.nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--grad-brand);
  transition: width 0.35s var(--ease-out); border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }

.btn-call {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--grad-brand); color: #fff;
  padding: 0.7rem 1.5rem; border-radius: 999px;
  text-decoration: none; font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.06em;
  transition: var(--transition);
  box-shadow: 0 8px 20px -8px rgba(200,16,46,0.45);
  position: relative; overflow: hidden;
}
.btn-call::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #7B3FBF 0%, #C8102E 100%);
  opacity: 0; transition: opacity 0.4s ease;
}
.btn-call > * { position: relative; z-index: 1; }
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(200,16,46,0.55); }
.btn-call:hover::before { opacity: 1; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(37,211,102,0.08); color: #16a34a;
  border: 1px solid rgba(37,211,102,0.25);
  padding: 0.7rem 1.5rem; border-radius: 999px;
  text-decoration: none; font-weight: 700;
  font-size: 0.8rem; transition: var(--transition);
}
.btn-wa:hover {
  background: #25d366; color: #fff; border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(37,211,102,0.45);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 0.5rem; cursor: pointer;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--ink); transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--red); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); background: var(--red); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(30px);
  z-index: 999; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--ink);
  text-decoration: none; transition: color 0.3s ease;
  letter-spacing: 0.02em;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 1rem; width: 280px; margin-top: 1rem; }
.mobile-close { cursor: pointer !important; color: var(--ink) !important; }

.gold-divider { display: flex; align-items: center; gap: 1rem; margin: 0 auto; }
.gold-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--red), var(--purple), transparent); }
.gold-divider i { color: var(--red); font-size: 0.5rem; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.3rem;
}
.section-label::before, .section-label::after {
  content: ''; width: 28px; height: 2px;
  background: var(--grad-brand);
  flex-shrink: 0; border-radius: 2px;
}

.display-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.06;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.display-title .gold {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.display-title .italic { font-style: italic; font-weight: 400; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700; color: var(--ink);
  line-height: 1.12; letter-spacing: -0.02em;
}
.section-title .gold {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(200,16,46,0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--grad-brand); color: #fff;
  padding: 1rem 2.3rem; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: var(--transition);
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  box-shadow: 0 14px 32px -12px rgba(200,16,46,0.50), 0 4px 12px -4px rgba(123,63,191,0.20);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #7B3FBF 0%, #C8102E 100%);
  opacity: 0; transition: opacity 0.45s ease;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -12px rgba(200,16,46,0.55), 0 8px 20px -8px rgba(123,63,191,0.30);
}
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: rgba(255,255,255,0.8); color: var(--red);
  padding: 1rem 2.3rem; border-radius: 999px;
  border: 1.5px solid rgba(200,16,46,0.30);
  backdrop-filter: blur(8px);
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: var(--transition);
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--red); color: #fff; border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -12px rgba(200,16,46,0.45);
}

.btn-green {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%); color: #fff;
  padding: 1rem 2.3rem; border-radius: 999px;
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.04em; text-decoration: none;
  transition: var(--transition); cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(37,211,102,0.50);
}
.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -12px rgba(37,211,102,0.60);
  filter: brightness(1.05);
}

.img-grid { display: grid; gap: 1.2rem; }
.img-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.img-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.img-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.img-box {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.img-box img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.img-box::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(200,16,46,0.55) 100%);
  opacity: 0; transition: opacity 0.4s ease;
}
.img-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,16,46,0.20);
}
.img-box:hover img { transform: scale(1.08); }
.img-box:hover::after { opacity: 1; }
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.8rem; color: var(--red);
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-brand-soft);
  font-weight: 600;
}
.img-placeholder i { font-size: 2.2rem; opacity: 0.6; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem; font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-dim); margin-top: 0.5rem;
}

/* ---- FOOTER ---- */
.footer {
  background: linear-gradient(180deg, #ffffff 0%, #f6f3ef 100%);
  border-top: 1px solid var(--line);
  padding: 6rem 0 2rem;
  margin-top: 8rem;
  position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
}
.footer::after {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,63,191,0.06), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1320px; margin: 0 auto;
  padding: 0 2rem; margin-bottom: 4rem;
  position: relative; z-index: 1;
}
.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-size: 0.66rem; color: var(--purple);
  letter-spacing: 0.24em; text-transform: uppercase; font-weight: 800;
}
.footer-desc {
  color: var(--ink-dim); font-size: 0.9rem; line-height: 1.85;
  margin: 1.5rem 0;
}
.footer-gstin {
  display: inline-block; padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: 'Inter', monospace; font-size: 0.72rem;
  color: var(--ink-soft); font-weight: 500;
  background: rgba(255,255,255,0.6);
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: var(--ink); font-size: 1.05rem; font-weight: 700;
  margin-bottom: 1.5rem; letter-spacing: 0.01em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.88rem; transition: var(--transition);
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 500;
}
.footer-col ul li a:hover { color: var(--red); transform: translateX(4px); }
.footer-col ul li a::before {
  content: ''; width: 12px; height: 1.5px;
  background: var(--red); border-radius: 2px;
  transition: width 0.3s ease;
}
.footer-col ul li a:hover::before { width: 18px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.2rem;
}
.footer-contact-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--red); font-size: 0.9rem;
}
.footer-contact-text { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.65; }
.footer-contact-text a { color: var(--ink); text-decoration: none; transition: color 0.3s; font-weight: 600; }
.footer-contact-text a:hover { color: var(--red); }
.footer-bottom {
  max-width: 1320px; margin: 0 auto; padding: 2rem 2rem 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  position: relative; z-index: 1;
}
.footer-bottom p { font-size: 0.82rem; color: var(--ink-dim); }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); text-decoration: none; font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--grad-brand); color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px rgba(200,16,46,0.45);
}

/* ---- SCROLL ANIMATIONS ---- */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="left"].revealed, [data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }
[data-reveal-delay="600"] { transition-delay: 0.6s; }
[data-reveal-delay="700"] { transition-delay: 0.7s; }

.page-transition {
  position: fixed; inset: 0;
  background: var(--grad-brand);
  z-index: 99996; transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.32s cubic-bezier(0.77, 0, 0.18, 1);
}
.page-transition.entering { transform: scaleY(1); transform-origin: bottom; }
.page-transition.leaving { transform: scaleY(0); transform-origin: top; }

.wa-float {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c45 100%); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; text-decoration: none;
  z-index: 9000;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,0.55), 0 4px 12px rgba(37,211,102,0.30);
  transition: var(--transition); cursor: pointer;
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(37,211,102,0.65), 0 6px 18px rgba(37,211,102,0.40);
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 14px 32px -8px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.5); }
  50%     { box-shadow: 0 14px 32px -8px rgba(37,211,102,0.55), 0 0 0 16px rgba(37,211,102,0); }
}

/* ============================================
   OVERRIDES — adapt old inline page styles
   to the new luxury light theme
   ============================================ */
[style*="cursor:none"], [style*="cursor: none"] { cursor: pointer !important; }

/* Service page hero backgrounds */
.svc-hero { background: transparent !important; padding-top: 9rem !important; }
.svc-hero-bg { background: var(--grad-radial) !important; }
.svc-hero-grid { opacity: 0 !important; }
.breadcrumb { color: var(--ink-dim) !important; font-weight: 500; }
.breadcrumb a { color: var(--red) !important; font-weight: 600; }

.svc-feature-card {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm) !important;
  backdrop-filter: blur(10px);
  border-radius: var(--radius) !important;
}
.svc-feature-card:hover {
  background: var(--glass-hover) !important;
  border-color: rgba(200,16,46,0.30) !important;
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-6px) !important;
}
.svc-feature-icon {
  background: var(--grad-brand-soft) !important;
  border: 1px solid var(--line) !important;
  color: var(--red) !important;
}
.svc-feature-title { color: var(--ink) !important; }
.svc-feature-desc { color: var(--ink-dim) !important; }

.svc-hero-img {
  border: 1px solid var(--line) !important;
  background: var(--bg-2) !important;
  box-shadow: var(--shadow-lg) !important;
  border-radius: var(--radius) !important;
}
.svc-hero-img-ph {
  background: var(--grad-brand-soft) !important;
  color: var(--red) !important;
}
.svc-hero-title { color: var(--ink) !important; }
.svc-hero-desc { color: var(--ink-soft) !important; }

.gallery-item {
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-radius: var(--radius) !important;
}
.gallery-item:hover {
  border-color: rgba(200,16,46,0.20) !important;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.gallery-item-ph {
  background: var(--grad-brand-soft) !important;
  color: var(--red) !important;
}
.gallery-overlay {
  background: linear-gradient(135deg, rgba(200,16,46,0.85), rgba(123,63,191,0.85)) !important;
}
.gallery-overlay i { color: #fff !important; }

.svc-cta-box {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-lg) !important;
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg) !important;
}
.svc-cta-glow {
  background: radial-gradient(circle, rgba(200,16,46,0.12), transparent 70%) !important;
}
.svc-cta-title { color: var(--ink) !important; }
.svc-cta-desc { color: var(--ink-soft) !important; }

/* ABOUT PAGE */
.about-hero-bg { background: var(--grad-radial) !important; }
.about-hero-grid { opacity: 0 !important; }
.about-hero-title { color: var(--ink) !important; }
.about-hero-desc { color: var(--ink-soft) !important; }
.about-store-img {
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-lg) !important;
  border-radius: var(--radius) !important;
}
.about-store-img img { filter: saturate(1.1) !important; }
.about-store-img-ph {
  background: var(--grad-brand-soft) !important;
  color: var(--red) !important;
}
.about-store-badge {
  background: rgba(255,255,255,0.95) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm) !important;
}
.about-store-badge-num {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
}
.about-store-badge-label { color: var(--ink-dim) !important; }

.story-text h2 { color: var(--ink) !important; }
.story-text p { color: var(--ink-soft) !important; }
.story-quote {
  border-left: 3px solid var(--red) !important;
  background: var(--grad-brand-soft) !important;
}
.story-quote p {
  color: var(--ink) !important;
  font-family: 'Playfair Display', serif !important;
}

.value-item {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius) !important;
}
.value-item:hover {
  border-color: rgba(200,16,46,0.25) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateX(4px);
}
.value-icon {
  background: var(--grad-brand-soft) !important;
  border: 1px solid var(--line) !important;
  color: var(--red) !important;
}
.value-content h4 { color: var(--ink) !important; }
.value-content p { color: var(--ink-dim) !important; }

.about-stats {
  background: linear-gradient(180deg, #fff 0%, #f6f3ef 100%) !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
}
.about-stat-num {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
}
.about-stat-label { color: var(--ink-dim) !important; }

.port-item {
  background: var(--bg-2) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius) !important;
}
.port-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.port-item-ph {
  background: var(--grad-brand-soft) !important;
  color: var(--red) !important;
}
.port-overlay {
  background: linear-gradient(135deg, rgba(200,16,46,0.88), rgba(123,63,191,0.88)) !important;
}
.port-overlay span { color: #fff !important; }

/* CONTACT PAGE */
.contact-hero-bg { background: var(--grad-radial) !important; }
.contact-hero-grid { opacity: 0 !important; }
.contact-info h2 { color: var(--ink) !important; }
.contact-info p { color: var(--ink-soft) !important; }
.contact-method {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius) !important;
  backdrop-filter: blur(10px);
}
.contact-method:hover {
  border-color: rgba(200,16,46,0.25) !important;
  box-shadow: var(--shadow-md) !important;
}
.contact-method-icon {
  background: var(--grad-brand-soft) !important;
  border: 1px solid var(--line) !important;
  color: var(--red) !important;
}
.contact-method-wa-icon {
  background: rgba(37,211,102,0.10) !important;
  border-color: rgba(37,211,102,0.25) !important;
  color: #16a34a !important;
}
.contact-method-label { color: var(--ink-dim) !important; }
.contact-method a { color: var(--ink) !important; font-weight: 700 !important; }
.contact-method a:hover { color: var(--red) !important; }
.contact-method p { color: var(--ink-dim) !important; }

.contact-hours {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius) !important;
}
.contact-hours h4 { color: var(--ink) !important; }
.hours-row { border-bottom: 1px solid var(--line) !important; }
.hours-day { color: var(--ink-soft) !important; }
.hours-time { color: var(--red) !important; font-weight: 700 !important; }

.contact-form-wrap {
  background: var(--glass-strong) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-lg) !important;
  border-radius: var(--radius-lg) !important;
  backdrop-filter: blur(14px);
}
.contact-form-wrap h3 { color: var(--ink) !important; }
.contact-form-wrap p { color: var(--ink-dim) !important; }
.form-label { color: var(--ink-soft) !important; font-weight: 700 !important; }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.7) !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--ink) !important;
  font-family: 'Outfit', sans-serif !important;
  border-radius: 12px !important;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 4px rgba(200,16,46,0.10) !important;
  background: #fff !important;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(20,15,30,0.35) !important; }
.form-select option { background: #fff !important; color: var(--ink) !important; }
.form-submit {
  background: var(--grad-brand) !important;
  color: #fff !important;
  font-family: 'Outfit', sans-serif !important;
  box-shadow: 0 14px 32px -12px rgba(200,16,46,0.50) !important;
  border-radius: 999px !important;
}
.form-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 38px -12px rgba(200,16,46,0.60) !important;
}
.form-note { color: var(--ink-dim) !important; }
.map-wrap {
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius) !important;
}
/* remove old dark-mode map filter — restore real map colors */
.map-wrap iframe { filter: none !important; opacity: 1 !important; }

/* SERVICES OVERVIEW PAGE — generic catch-all */
[class*="card"][style*="background:var(--glass)"],
[class*="card"][style*="background: var(--glass)"] {
  background: var(--glass) !important;
  border-color: var(--line) !important;
}

/* Catch-all: any inline color:var(--white) is text — repoint to ink */
[style*="color:var(--white)"], [style*="color: var(--white)"] { color: var(--ink) !important; }
[style*="color:var(--cream)"], [style*="color: var(--cream)"] { color: var(--ink) !important; }

/* Style any "View Details" / "info" badges/buttons */
.gold-divider span { background: linear-gradient(90deg, transparent, var(--red), var(--purple), transparent) !important; }

/* Mobile */
@media (max-width: 768px) {
  body { cursor: auto; }
  .hamburger { display: flex; }
  .nav-links, .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .img-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .img-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .img-grid.cols-2 { grid-template-columns: 1fr; }
  .display-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .wa-float { bottom: 1.4rem; right: 1.4rem; width: 56px; height: 56px; font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .img-grid.cols-3, .img-grid.cols-4 { grid-template-columns: 1fr; }
}

/* ============================================
   REAL IMAGE STYLES — Service page hero & gallery imgs
   ============================================ */
.svc-hero-img-real {
  width: 100% !important;
  height: 100% !important;
  min-height: 380px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius, 16px);
  display: block;
  box-shadow: 0 24px 60px -20px rgba(200,16,46,0.25), 0 8px 30px -10px rgba(123,63,191,0.15);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.svc-hero-img:hover .svc-hero-img-real {
  transform: scale(1.02);
  box-shadow: 0 30px 80px -20px rgba(200,16,46,0.35), 0 10px 40px -10px rgba(123,63,191,0.25);
}
.svc-hero-img {
  position: relative;
  border-radius: var(--radius, 16px);
  overflow: hidden;
  min-height: 380px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius, 16px);
  aspect-ratio: 4 / 3;
  background: var(--bg-2, #f4f1ee);
}
.gallery-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200,16,46,0.85) 0%, rgba(123,63,191,0.85) 100%);
  color: #fff;
  font-size: 1.6rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Placeholder fallback (shown only if image fails to load) */
.gallery-item-ph,
.svc-hero-img-ph {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, rgba(200,16,46,0.06), rgba(123,63,191,0.06));
  color: var(--ink-dim, #6b6470);
  border-radius: var(--radius, 16px);
  text-align: center;
  font-size: 0.8rem;
}
.gallery-item-ph i,
.svc-hero-img-ph i {
  font-size: 2rem;
  background: linear-gradient(135deg, #C8102E, #7B3FBF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BRANDED PRELOADER — Uses real logo + smooth animation
   ============================================================ */
#preloader {
  background: linear-gradient(135deg, #ffffff 0%, #faf6fb 50%, #fdf3f5 100%);
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: preloadFadeIn 0.6s ease;
}
@keyframes preloadFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.preloader-logo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
}
.preloader-logo-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(200,16,46,0.18)) drop-shadow(0 4px 12px rgba(123,63,191,0.12));
  animation: logoPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  position: relative;
  z-index: 2;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.92); opacity: 0.85; }
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--red);
  border-right-color: var(--purple);
  animation: ringSpin 1.5s linear infinite;
  z-index: 1;
}
.preloader-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: rgba(200,16,46,0.25);
  border-left-color: rgba(123,63,191,0.25);
  animation: ringSpin 2.4s linear reverse infinite;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.preloader-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}
.preloader-tagline {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  max-width: 320px;
  text-align: center;
  line-height: 1.6;
  padding: 0 1rem;
  margin-bottom: 1.6rem;
  font-weight: 600;
}
/* Override the old text-AM logo so it never appears if some page is cached */
.preloader-logo { display: none !important; }

/* Re-style preloader bar to match new look */
#preloader .preloader-bar {
  width: 180px;
  height: 2px;
  background: rgba(200,16,46,0.10);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
#preloader .preloader-bar::after {
  background: var(--grad-brand);
}

/* ============================================================
   SERVICE-CARD IMAGES — Make sure the homepage cards look great
   ============================================================ */
.service-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  display: block;
  z-index: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  filter: brightness(0.92) saturate(1.05);
}
.service-card:hover img {
  transform: scale(1.10);
  filter: brightness(0.78) saturate(1.15);
}
/* Make sure overlay/content sits above the image */
.service-card-overlay,
.service-card-content,
.service-card-arrow,
.service-card-placeholder { z-index: 2; }
/* Stronger gradient overlay so text reads cleanly over photos */
.service-card-overlay {
  background: linear-gradient(180deg, rgba(20,18,26,0.10) 0%, rgba(20,18,26,0.55) 60%, rgba(200,16,46,0.85) 100%) !important;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}
.service-card:hover .service-card-overlay {
  opacity: 1;
  background: linear-gradient(135deg, rgba(200,16,46,0.85) 0%, rgba(123,63,191,0.85) 100%) !important;
}
.service-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem;
}
.service-card-name {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.service-card-hint {
  color: rgba(255,255,255,0.9) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}


/* ============================================================
   FOOTER CREDIT — Trion Code Solutions
   ============================================================ */
.footer-credit {
  font-size: 0.78rem;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}
.footer-credit-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.3s ease;
  letter-spacing: 0.01em;
}
.footer-credit-link:hover {
  opacity: 0.75;
}
