/* ==========================================================================
   VIMAL Kitchen Equipment - Master Stylesheet
   Corporate Light Industrial Engineering Design System
   ========================================================================== */

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

:root {
  /* Core Theme Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F9FC;
  --bg-soft: #F1F5F9;
  --text-primary: #071A2F;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  
  /* Brand Accents */
  --brand-navy: #071A2F;
  --brand-navy-light: #0B2545;
  --brand-red: #D71920;
  --brand-red-dark: #B8141A;
  --brand-flame-red: #EF2B1F;
  --brand-flame-orange: #FF6A00;
  --brand-blue: #0878D1;
  --brand-blue-dark: #054A84;
  --brand-steel: #CBD5E1;
  --brand-steel-light: #E2E8F0;
  --brand-white: #FFFFFF;

  /* Typography */
  --font-display: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(7, 26, 47, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(7, 26, 47, 0.08);
  --shadow-lg: 0 12px 30px -4px rgba(7, 26, 47, 0.12);
  --shadow-xl: 0 20px 40px -6px rgba(7, 26, 47, 0.16);
  --shadow-inner: inset 0 2px 4px 0 rgba(7, 26, 47, 0.06);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Utility Classes */
.font-display {
  font-family: var(--font-display);
}

.font-ui {
  font-family: var(--font-ui);
}

.font-body {
  font-family: var(--font-body);
}

h1, h2, h3, .h-display {
  font-family: var(--font-display);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
}

h4, h5, h6 {
  font-family: var(--font-ui);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   Visual Brand Motif: Thin Flowing Line
   BLUE → PURPLE → RED → ORANGE
   Represents: Air, Heat, Energy, Pipeline Flow
   ========================================================================== */
.brand-flow-line {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #0878D1 0%, #6366F1 35%, #EF2B1F 70%, #FF6A00 100%);
  border-radius: 2px;
}

.brand-flow-line-sm {
  height: 2px;
  width: 64px;
  background: linear-gradient(90deg, #0878D1 0%, #EF2B1F 65%, #FF6A00 100%);
  border-radius: 2px;
}

.brand-flow-border {
  position: relative;
}

.brand-flow-border::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0878D1 0%, #8B5CF6 40%, #EF2B1F 75%, #FF6A00 100%);
}

.brand-gradient-text {
  background: linear-gradient(135deg, #071A2F 30%, #D71920 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.flame-gradient-text {
  background: linear-gradient(135deg, #EF2B1F 0%, #FF6A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Technical grid background pattern */
.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.45) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-dot-pattern {
  background-image: radial-gradient(rgba(7, 26, 47, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--brand-red);
  color: #FFFFFF !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-red);
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--brand-red-dark);
  border-color: var(--brand-red-dark);
  box-shadow: 0 6px 20px rgba(215, 25, 32, 0.35);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(215, 25, 32, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #FFFFFF;
  color: var(--brand-navy) !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--brand-navy);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--brand-navy);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #25D366;
  color: #FFFFFF !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid #20BA5A;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 88px;
}

.site-header.header-scrolled {
  height: 74px;
  box-shadow: 0 4px 20px -2px rgba(7, 26, 47, 0.08);
}

.nav-link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: linear-gradient(90deg, #0878D1, #EF2B1F);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-red);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Mobile Nav Drawer */
.mobile-nav-panel {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mobile-nav-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section Visuals
   ========================================================================== */
.hero-glow-flow {
  position: absolute;
  top: -15%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(8, 120, 209, 0.12) 0%, rgba(239, 43, 31, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-technical-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-navy);
  text-transform: uppercase;
}

.hero-technical-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-flame-red);
  box-shadow: 0 0 8px rgba(239, 43, 31, 0.8);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* ==========================================================================
   Hero Slider Components
   ========================================================================== */
.hero-slider-wrapper {
  position: relative;
  min-height: 540px;
}

@media (min-width: 1024px) {
  .hero-slider-wrapper {
    min-height: 560px;
  }
}

@media (min-width: 1280px) {
  .hero-slider-wrapper {
    min-height: 600px;
  }
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(12px) scale(0.99);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 10;
}

.hero-slide .hero-headline {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.6s ease 0.15s;
}

.hero-slide.active .hero-headline {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide .hero-desc {
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s, opacity 0.6s ease 0.25s;
}

.hero-slide.active .hero-desc {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide .hero-actions {
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, opacity 0.6s ease 0.35s;
}

.hero-slide.active .hero-actions {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide .hero-img-box {
  transform: scale(0.97);
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.75s ease 0.1s;
}

.hero-slide.active .hero-img-box {
  transform: scale(1);
  opacity: 1;
}

/* Slide Progress Timer Bar */
.hero-progress-track {
  width: 100%;
  height: 3px;
  background-color: var(--border-color);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0878D1 0%, #EF2B1F 70%, #FF6A00 100%);
  border-radius: 9999px;
  transition: width 0.1s linear;
}

/* Hero Tab Nav Buttons */
.hero-tab-btn {
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-tab-btn:hover {
  background-color: rgba(241, 245, 249, 0.7);
  border-color: var(--border-color);
}

.hero-tab-btn.active {
  background-color: #FFFFFF;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.hero-tab-btn.active .tab-index {
  color: var(--brand-red);
}

.hero-tab-btn.active .tab-title {
  color: var(--brand-navy);
  font-weight: 800;
}

/* ==========================================================================
   Product Card Micro-Interactions
   ========================================================================== */
.product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card .card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-soft);
}

.product-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .card-gradient-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0878D1 0%, #EF2B1F 70%, #FF6A00 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .card-arrow {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  border-color: #0878D1;
  box-shadow: 0 16px 36px -6px rgba(7, 26, 47, 0.12);
  transform: translateY(-4px);
}

.product-card:hover .card-img {
  transform: scale(1.04);
}

.product-card:hover .card-gradient-line {
  opacity: 1;
  transform: scaleX(1);
}

.product-card:hover .card-arrow {
  transform: translateX(6px);
  color: var(--brand-red);
}

/* Special Featured LPG Card */
.product-card-featured {
  border: 1.5px solid #0878D1;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  box-shadow: 0 8px 24px -4px rgba(8, 120, 209, 0.12);
}

.product-card-featured .card-gradient-line {
  opacity: 1;
  transform: scaleX(1);
}

/* ==========================================================================
   LPG & Boiler Steam Pipeline Technical Section Visual
   ========================================================================== */
.pipeline-section {
  position: relative;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.pipeline-diagram {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Flow line animation */
.pipeline-flow-path {
  stroke-dasharray: 8 8;
  animation: pipeFlow 1.2s linear infinite;
}

@keyframes pipeFlow {
  from {
    stroke-dashoffset: 32;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.gauge-dial {
  transform-origin: 50% 50%;
  animation: gaugeJiggle 3s ease-in-out infinite;
}

@keyframes gaugeJiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  50% { transform: rotate(-4deg); }
  75% { transform: rotate(12deg); }
}

/* ==========================================================================
   Industry Cards & Project Cards
   ========================================================================== */
.industry-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 47, 0.1) 0%, rgba(7, 26, 47, 0.85) 75%, rgba(7, 26, 47, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: all 0.35s ease;
}

.industry-card:hover img {
  transform: scale(1.05);
}

.industry-card:hover .overlay {
  background: linear-gradient(180deg, rgba(8, 120, 209, 0.25) 0%, rgba(7, 26, 47, 0.9) 70%, rgba(215, 25, 32, 0.92) 100%);
}

.industry-card .arrow-icon {
  transition: transform 0.25s ease;
}

.industry-card:hover .arrow-icon {
  transform: translateX(6px);
}

/* ==========================================================================
   Gallery Masonry & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
  transform: translateY(-3px);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 47, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(7, 26, 47, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Floating WhatsApp Button (Icon FAB)
   ========================================================================== */
.whatsapp-fab,
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-fab-btn,
.whatsapp-icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  background: radial-gradient(circle at 30% 30%, #2ee872, #25D366 60%, #128C7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 2;
}

.whatsapp-fab:hover .whatsapp-fab-btn,
.whatsapp-floating:hover .whatsapp-icon-circle {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.7);
}

.whatsapp-fab:active .whatsapp-fab-btn,
.whatsapp-floating:active .whatsapp-icon-circle {
  transform: scale(0.96);
}

.whatsapp-fab-pulse,
.whatsapp-pulse {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
  animation: whatsapp-pulse-ring 2.4s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes whatsapp-pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  60% { transform: scale(1.48); opacity: 0; }
  100% { transform: scale(1.48); opacity: 0; }
}

.whatsapp-fab-tooltip {
  position: absolute;
  right: 76px;
  white-space: nowrap;
  background-color: #071A2F;
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(7, 26, 47, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-fab-tooltip .online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 0 8px #25D366;
}

.whatsapp-fab-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #071A2F;
}

.whatsapp-fab:hover .whatsapp-fab-tooltip,
.whatsapp-floating:hover .whatsapp-fab-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .whatsapp-fab,
  .whatsapp-floating {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-fab-btn,
  .whatsapp-icon-circle {
    width: 54px;
    height: 54px;
  }
  .whatsapp-fab-btn svg,
  .whatsapp-icon-circle svg {
    width: 30px;
    height: 30px;
  }
  .whatsapp-fab-pulse,
  .whatsapp-pulse {
    width: 54px;
    height: 54px;
  }
  .whatsapp-fab-tooltip {
    display: none;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: var(--brand-navy);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--brand-navy);
  color: #FFFFFF;
  transform: translateY(-3px);
}

/* ==========================================================================
   Reveal Animations (IntersectionObserver)
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-fade {
  transform: translateY(0);
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Delay helpers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Form Input Styles
   ========================================================================== */
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(8, 120, 209, 0.15);
}

.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
}

.input-error {
  border-color: var(--brand-red) !important;
}

.error-text {
  font-size: 0.75rem;
  color: var(--brand-red);
  margin-top: 0.25rem;
  display: none;
}

.input-error + .error-text {
  display: block;
}

/* ==========================================================================
   Footer Styling (Light Theme)
   ========================================================================== */
.site-footer {
  background-color: #F8FAFC;
  color: #64748B;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #E2E8F0;
}

.footer-link {
  color: #475569;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--brand-red);
  transform: translateX(4px);
}

.instagram-gradient-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
  transition: all 0.25s ease;
}

.instagram-gradient-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.4);
}
