/* ==========================================================================
   GAURAV ELECTRICALS — Custom Stylesheet
   Works alongside Tailwind's utility classes (loaded via CDN in index.html).
   This file holds: design tokens, keyframe animations, the "circuit-trace"
   signature motif, and hand-built components Tailwind can't express cleanly
   (accordion, lightbox, custom Swiper skins, form states).
   ========================================================================== */

:root {
  /* ---- Palette (per brief: white / charcoal / electric blue / warm yellow / light grey) ---- */
  --charcoal: #0B0F1A;
  --charcoal-800: #131826;
  --charcoal-700: #1B2233;
  --charcoal-600: #2A3346;
  --electric: #155EEF;
  --electric-600: #0A3FAE;
  --electric-50: #EAF1FF;
  --gold: #FFB020;
  --gold-600: #E0960A;
  --grey-50: #F5F6FA;
  --grey-100: #EDEFF5;
  --white: #FFFFFF;

  /* ---- Type ---- */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* ---- Elevation / motion ---- */
  --shadow-premium: 0 24px 60px -18px rgba(11, 15, 26, 0.22);
  --shadow-premium-sm: 0 10px 30px -12px rgba(11, 15, 26, 0.18);
  --shadow-glow: 0 0 0 1px rgba(21, 94, 239, 0.15), 0 18px 40px -12px rgba(21, 94, 239, 0.35);
  --ease-premium: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 84px;
}

/* ==========================================================================
   BASE
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

::selection {
  background: var(--electric);
  color: var(--white);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--grey-50); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--electric), var(--electric-600));
  border-radius: 999px;
  border: 2px solid var(--grey-50);
}
html { scrollbar-color: var(--electric) var(--grey-50); scrollbar-width: thin; }

/* Accessible focus ring everywhere — never silently remove outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  transition: opacity 0.6s var(--ease-premium), visibility 0.6s var(--ease-premium);
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-bolt {
  width: 46px; height: 46px; color: var(--gold);
  animation: bolt-pulse 1.1s ease-in-out infinite;
}
@keyframes bolt-pulse {
  0%, 100% { opacity: 0.35; filter: drop-shadow(0 0 0 rgba(255,176,32,0)); transform: scale(0.92); }
  50% { opacity: 1; filter: drop-shadow(0 0 18px rgba(255,176,32,0.65)); transform: scale(1); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background-color 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), height 0.3s var(--ease-premium);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px -14px rgba(11,15,26,0.25);
  height: 72px;
}
.site-header .nav-link { color: rgba(255,255,255,0.92); }
.site-header.scrolled .nav-link { color: var(--charcoal-700); }
.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.3s var(--ease-premium);
}
.nav-link:hover::after { width: 100%; }

.site-header .logo-word { color: var(--white); }
.site-header.scrolled .logo-word { color: var(--charcoal); }
.site-header .logo-mark { background: var(--gold); color: var(--charcoal); }

.site-header .icon-btn-outline {
  border-color: rgba(255,255,255,0.55); color: var(--white);
}
.site-header.scrolled .icon-btn-outline {
  border-color: var(--charcoal-600); color: var(--charcoal);
}
.site-header .hamburger-btn span { background: var(--white); }
.site-header.scrolled .hamburger-btn span { background: var(--charcoal); }

/* Mobile nav */
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(11,15,26,0.6);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1100;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 360px);
  background: var(--charcoal); z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-premium);
  display: flex; flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }
.hamburger-btn { width: 26px; height: 18px; position: relative; }
.hamburger-btn span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  transition: transform 0.3s var(--ease-premium), opacity 0.2s ease, top 0.3s var(--ease-premium);
}
.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 8px; }
.hamburger-btn span:nth-child(3) { top: 16px; }
.hamburger-btn.active span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.9rem 1.9rem; border-radius: 999px;
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium), background-color 0.3s ease, color 0.3s ease;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary { background: var(--electric); color: var(--white); box-shadow: var(--shadow-premium-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); background: var(--electric-600); }
.btn-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.65); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--charcoal); box-shadow: var(--shadow-premium-sm); }
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-600); box-shadow: 0 18px 40px -14px rgba(255,176,32,0.55); }
.btn-dark-outline { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal-600); }
.btn-dark-outline:hover { background: var(--charcoal); color: var(--white); transform: translateY(-2px); }

.ripple-span {
  position: absolute; border-radius: 50%; background: rgba(255,255,255,0.55);
  transform: scale(0); animation: ripple-anim 0.65s ease-out forwards; pointer-events: none;
}
.btn-gold .ripple-span, .btn-secondary .ripple-span { background: rgba(11,15,26,0.25); }
@keyframes ripple-anim { to { transform: scale(2.6); opacity: 0; } }

/* ==========================================================================
   SIGNATURE MOTIF — circuit-trace divider ("current" runs through the page)
   ========================================================================== */
.circuit-trace { width: 100%; overflow: visible; display: block; }
.circuit-trace path {
  fill: none; stroke: var(--grey-100); stroke-width: 2;
}
.circuit-trace .trace-live {
  stroke: var(--electric); stroke-width: 2;
  stroke-dasharray: 140 900; stroke-dashoffset: 1040;
  transition: stroke-dashoffset 1.8s var(--ease-premium);
}
.circuit-trace.in-view .trace-live { stroke-dashoffset: 0; }
.circuit-trace circle { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(255,176,32,0.8)); }
.circuit-trace.in-view circle { animation: trace-dot 3.2s ease-in-out 1.8s infinite; }
@keyframes trace-dot {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.circuit-trace .dot-path { offset-path: path(var(--dot-path, "M0,0 L0,0")); animation: none; }
.circuit-trace.in-view .dot-path {
  animation: run-dot 3.2s ease-in-out 1.8s infinite;
}
@keyframes run-dot {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section { position: relative; height: clamp(560px, 82vh, 720px); }
.hero-swiper, .hero-swiper .swiper-slide { height: 100%; }
.hero-slide { position: relative; height: 100%; }
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: transform 7s linear;
}
.swiper-slide-active .hero-bg-img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,15,26,0.86) 0%, rgba(11,15,26,0.55) 48%, rgba(11,15,26,0.25) 100%);
}
.hero-content { position: relative; z-index: 2; height: 100%; }

.hero-eyebrow {
  opacity: 0; transform: translateY(16px);
}
.hero-headline {
  opacity: 0; transform: translateY(24px);
}
.hero-desc { opacity: 0; transform: translateY(18px); }
.hero-ctas { opacity: 0; transform: translateY(18px); }
.swiper-slide-active .hero-eyebrow,
.swiper-slide-active .hero-headline,
.swiper-slide-active .hero-desc,
.swiper-slide-active .hero-ctas { opacity: 1; transform: none; }
.swiper-slide-active .hero-eyebrow { transition: all 0.6s var(--ease-premium) 0.15s; }
.swiper-slide-active .hero-headline { transition: all 0.7s var(--ease-premium) 0.28s; }
.swiper-slide-active .hero-desc { transition: all 0.6s var(--ease-premium) 0.45s; }
.swiper-slide-active .hero-ctas { transition: all 0.6s var(--ease-premium) 0.58s; }

.hero-headline .flicker { animation: filament-on 1.1s ease-out 0.3s both; }
@keyframes filament-on {
  0% { opacity: 0.2; text-shadow: none; }
  8% { opacity: 1; text-shadow: 0 0 24px rgba(255,176,32,0.85); }
  16% { opacity: 0.35; text-shadow: none; }
  24% { opacity: 1; text-shadow: 0 0 28px rgba(255,176,32,0.9); }
  100% { opacity: 1; text-shadow: 0 0 0 rgba(255,176,32,0); }
}

.hero-swiper .swiper-pagination { bottom: 28px !important; display: flex; justify-content: center; gap: 10px; }
.hero-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px; background: rgba(255,255,255,0.5); opacity: 1; margin: 0 !important;
  transition: all 0.3s ease; border-radius: 50%; position: relative;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--gold); box-shadow: 0 0 0 4px rgba(255,176,32,0.25), 0 0 14px rgba(255,176,32,0.8);
}
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev {
  width: 52px; height: 52px; background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%; color: var(--white); transition: all 0.3s ease;
}
.hero-swiper .swiper-button-next:hover, .hero-swiper .swiper-button-prev:hover { background: var(--electric); border-color: var(--electric); }
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after { font-size: 18px; font-weight: 700; }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--electric);
}
.section-eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--gold); display: inline-block;
}
.section-title { font-family: var(--font-heading); font-weight: 700; color: var(--charcoal); letter-spacing: -0.02em; }
.section-sub { color: #5B6373; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.counter-number { font-family: var(--font-heading); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   CATEGORY CARDS
   ========================================================================== */
.category-card {
  position: relative; border-radius: 1.25rem; overflow: hidden; display: block;
  box-shadow: var(--shadow-premium-sm); transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); }
.category-card-img { transition: transform 0.7s var(--ease-premium); }
.category-card:hover .category-card-img { transform: scale(1.12); }
.category-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,26,0.05) 0%, rgba(11,15,26,0.85) 100%);
}
.category-icon {
  width: 44px; height: 44px; border-radius: 0.75rem;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: background-color 0.3s ease, transform 0.4s var(--ease-premium);
}
.category-card:hover .category-icon { background: var(--gold); color: var(--charcoal); transform: rotate(-8deg) scale(1.05); }
.category-arrow { transition: transform 0.4s var(--ease-premium); }
.category-card:hover .category-arrow { transform: translateX(5px); }

/* ==========================================================================
   BRANDS
   ========================================================================== */
.brand-tile {
  display: flex; align-items: center; justify-content: center;
  height: 110px; border-radius: 1rem; background: var(--white);
  border: 1px solid var(--grey-100); filter: grayscale(0); opacity: 1;
  transition: all 0.4s ease;
}
.brand-tile:hover { filter: grayscale(0); opacity: 1; border-color: var(--electric-50); box-shadow: var(--shadow-premium-sm); transform: translateY(-3px); }
.brand-wordmark { font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.02em; color: var(--charcoal-700); font-size: 1.15rem; }
 
/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.product-card {
  background: var(--white); border-radius: 1.25rem; overflow: hidden;
  border: 1px solid var(--grey-100); box-shadow: var(--shadow-premium-sm);
  transition: transform 0.45s var(--ease-premium), box-shadow 0.45s var(--ease-premium);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); }
.product-media { position: relative; overflow: hidden; }
.product-media img { transition: transform 0.6s var(--ease-premium); }
.product-card:hover .product-media img { transform: scale(1.08); }
.product-quick-actions {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: rgba(11,15,26,0.35); opacity: 0; transition: opacity 0.35s ease;
}
.product-card:hover .product-quick-actions { opacity: 1; }
.quick-icon-btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(10px); opacity: 0; transition: all 0.35s var(--ease-premium);
}
.product-card:hover .quick-icon-btn { transform: translateY(0); opacity: 1; }
.quick-icon-btn:hover { background: var(--electric); color: var(--white); }
.star-rating i { color: var(--gold); font-size: 0.8rem; }

/* ==========================================================================
   WHY CHOOSE US — tight checklist-style grid (deliberately different rhythm
   from the Services cards below)
   ========================================================================== */
.why-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.why-icon {
  flex: none; width: 48px; height: 48px; border-radius: 0.85rem;
  background: var(--electric-50); color: var(--electric);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
  transition: all 0.4s var(--ease-premium);
}
.why-item:hover .why-icon { background: var(--electric); color: var(--white); transform: rotate(-6deg); }

/* ==========================================================================
   PROMO BANNER
   ========================================================================== */
.promo-banner { position: relative; overflow: hidden; }
.promo-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,15,26,0.92) 20%, rgba(11,15,26,0.55) 75%); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-media { position: relative; }
.about-media img { border-radius: 1.5rem; box-shadow: var(--shadow-premium); }
.about-shape {
  position: absolute; inset: auto auto -1.75rem -1.75rem; width: 60%; aspect-ratio: 1;
  border: 2px solid var(--gold); border-radius: 1.5rem; z-index: -1;
}
.about-badge {
  position: absolute; top: 1.5rem; right: -1.25rem; background: var(--white);
  border-radius: 1rem; box-shadow: var(--shadow-premium); padding: 1rem 1.25rem;
}

/* ==========================================================================
   SERVICES — larger cards, different rhythm from Why-Choose-Us
   ========================================================================== */
.service-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: 1.25rem;
  padding: 2rem; transition: all 0.4s var(--ease-premium);
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-premium); transform: translateY(-5px); }
.service-icon {
  width: 58px; height: 58px; border-radius: 1rem;
  background: linear-gradient(135deg, var(--electric), var(--electric-600));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: var(--shadow-premium-sm);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-filter-btn {
  padding: 0.55rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: 0.88rem;
  border: 1.5px solid var(--grey-100); color: var(--charcoal-700); transition: all 0.3s ease;
}
.gallery-filter-btn.active, .gallery-filter-btn:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.gallery-grid { column-gap: 1.25rem; }
.gallery-item {
  position: relative; break-inside: avoid; margin-bottom: 1.25rem; border-radius: 1.1rem;
  overflow: hidden; cursor: pointer; transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-item.is-hidden { display: none; }
.gallery-item img { width: 100%; display: block; transition: transform 0.6s var(--ease-premium); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem; background: linear-gradient(0deg, rgba(11,15,26,0.85) 0%, rgba(11,15,26,0) 55%);
  opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-zoom-icon {
  position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--charcoal); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.7); transition: all 0.35s var(--ease-premium);
}
.gallery-item:hover .gallery-zoom-icon { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1400; background: rgba(11,15,26,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: min(90vw, 1000px); max-height: 78vh; border-radius: 0.75rem; box-shadow: var(--shadow-premium); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--white); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  transition: background-color 0.3s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--electric); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 1.75rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.9rem; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: 1.25rem;
  padding: 2rem; box-shadow: var(--shadow-premium-sm); height: 100%;
}
.testimonial-quote-icon { color: var(--electric-50); }
.testimonials-swiper .swiper-pagination-bullet { background: var(--charcoal-600); opacity: 0.3; }
.testimonials-swiper .swiper-pagination-bullet-active { background: var(--electric); opacity: 1; }

/* ==========================================================================
   FAQ ACCORDION — CSS grid-rows trick for smooth height animation
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--grey-100); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0; text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  color: var(--charcoal);
}
.faq-icon { transition: transform 0.4s var(--ease-premium); flex: none; color: var(--electric); }
.faq-question.active .faq-icon { transform: rotate(135deg); }
.faq-answer-wrap {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-premium);
}
.faq-answer-wrap.open { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer-inner p { padding-bottom: 1.4rem; color: #5B6373; line-height: 1.75; }

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.form-group { position: relative; }
.form-input {
  width: 100%; padding: 0.95rem 1.1rem; border-radius: 0.85rem;
  border: 1.5px solid var(--grey-100); background: var(--grey-50);
  transition: all 0.3s ease; font-family: var(--font-body);
}
.form-input:focus { outline: none; border-color: var(--electric); background: var(--white); box-shadow: 0 0 0 4px var(--electric-50); }
.form-input.error { border-color: #E4483A; }
.form-error-msg { color: #E4483A; font-size: 0.8rem; margin-top: 0.35rem; display: none; }
.form-error-msg.show { display: block; }
.map-frame { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-premium-sm); filter: grayscale(0.35) contrast(1.05); }

/* Toast */
.toast {
  position: fixed; bottom: 1.75rem; left: 50%; transform: translate(-50%, 20px);
  background: var(--charcoal); color: var(--white); padding: 1rem 1.5rem; border-radius: 0.85rem;
  box-shadow: var(--shadow-premium); z-index: 1500; display: flex; align-items: center; gap: 0.75rem;
  opacity: 0; visibility: hidden; transition: all 0.4s var(--ease-premium);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast i { color: var(--gold); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-link { color: rgba(255,255,255,0.7); transition: all 0.25s ease; }
.footer-link:hover { color: var(--gold); padding-left: 4px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  transition: all 0.3s ease;
}
.social-icon:hover { background: var(--electric); border-color: var(--electric); transform: translateY(-3px); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-to-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem; width: 48px; height: 48px; border-radius: 50%;
  background: var(--charcoal); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-premium-sm); z-index: 900;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.35s var(--ease-premium);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--electric); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 1.75rem; left: 1.75rem; width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: var(--shadow-premium-sm); z-index: 900;
  animation: wa-breathe 2.6s ease-in-out infinite;
}
@keyframes wa-breathe { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 50% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } }

/* ==========================================================================
   MASONRY COLUMN COUNTS
   ========================================================================== */
.gallery-grid { columns: 1; }
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }

/* ==========================================================================
   REDUCED MOTION — respected site-wide
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg-img { transform: none !important; }
}

/* ==========================================================================
   SMALL UTILITIES
   ========================================================================== */
.glass { background: rgba(255,255,255,0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.text-charcoal { color: var(--charcoal); }
.bg-charcoal { background: var(--charcoal); }
.text-gold { color: var(--gold); }
.bg-gold { background: var(--gold); }
.text-electric { color: var(--electric); }
.bg-electric { background: var(--electric); }
.bg-grey-50 { background: var(--grey-50); }
