/* ============================================================
   SANDBERRY FOAMTECH - Design System Stylesheet
   Premium B2B Industrial Manufacturer | EPE Foam Products
   ============================================================
   TABLE OF CONTENTS
   1.  Design Tokens (Custom Properties)
   2.  CSS Reset & Base
   3.  Typography
   4.  Layout & Containers
   5.  Utility Classes
   6.  Buttons
   7.  Site Header / Navigation
   8.  Mobile Navigation
   9.  Hero Section
   10. Stats / Metrics Bar
   11. Section Headers
   12. About Section (Home)
   13. Product Cards
   14. Category Tabs
   15. Product Detail Page
   16. Feature Cards (Why Choose Us)
   17. CTA Banner
   18. Application Cards
   19. Page Banner (Inner Pages)
   20. Breadcrumbs
   21. Contact Page
   22. Quote Form
   23. Trust Badges
   24. Footer
   25. WhatsApp Float
   26. Back to Top
   27. Forms (General)
   28. Page Loader
   29. 404 Page
   30. Reveal Animations
   31. Keyframes
   32. Media Queries
   33. Print Styles
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS (Custom Properties)
   ============================================================ */

:root {
  /* ---------- Color Palette ---------- */
  --color-primary: #0a1628;
  --color-primary-90: #1a2a44;
  --color-primary-70: #2d4266;
  --color-accent: #E84C2B;
  --color-accent-light: #FDF0EC;
  --color-accent-dark: #C23A1F;
  --color-surface: #FAF8F5;
  --color-surface-alt: #F5F0EB;
  --color-surface-dark: #0a1628;
  --color-border: #E8E4DF;
  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;
  --color-success: #16a34a;
  --color-whatsapp: #25D366;
  --color-white: #ffffff;
  --color-error: #dc2626;

  /* ---------- Typography ---------- */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.55vw, 1.375rem);
  --text-xl:   clamp(1.25rem,  1.1rem  + 0.75vw, 1.75rem);
  --text-2xl:  clamp(1.5rem,   1.2rem  + 1.5vw,  2.25rem);
  --text-3xl:  clamp(2rem,     1.5rem  + 2.5vw,  3rem);
  --text-hero: clamp(2.5rem,   1.8rem  + 3.5vw,  4.5rem);

  --line-height-base: 1.6;
  --line-height-tight: 1.2;
  --line-height-snug: 1.4;

  /* ---------- Spacing Scale ---------- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-section: clamp(4rem, 8vw, 7rem);
  --space-block: clamp(2rem, 4vw, 3.5rem);

  /* ---------- Layout ---------- */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 3vw, 2rem);

  /* ---------- Borders & Radius ---------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* ---------- Shadows ---------- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 10px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px -5px rgba(0,0,0,0.1), 0 8px 20px -4px rgba(0,0,0,0.05);

  /* ---------- Transitions ---------- */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);

  /* ---------- Component Tokens ---------- */
  --header-height: 4.5rem;

  /* ---------- Z-index Layers ---------- */
  --z-back-to-top: 990;
  --z-whatsapp: 991;
  --z-nav: 1000;
  --z-mobile-menu: 1010;
  --z-overlay: 1020;
  --z-loader: 9999;
}


/* ============================================================
   2. CSS RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

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


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

strong, b {
  font-weight: 700;
}

small {
  font-size: var(--text-sm);
}


/* ============================================================
   4. LAYOUT & CONTAINERS
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container-narrow {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

section {
  padding-block: var(--space-section);
}

/* Alternating section backgrounds */
.section--alt {
  background-color: var(--color-surface-alt);
}

.section--dark {
  background-color: var(--color-surface-dark);
  color: var(--color-white);
}

.section--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}


/* ============================================================
   5. UTILITY CLASSES
   ============================================================ */

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* Text color */
.text-accent { color: var(--color-accent); }
.text-white  { color: var(--color-white); }
.text-muted  { color: var(--color-text-muted); }

/* Font weight */
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Margin utilities */
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* Padding utilities */
.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

/* Display helpers */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

/* Image helpers */
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.img-rounded { border-radius: var(--radius-lg); }

/* Screen reader only (accessibility) */
.visually-hidden,
.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;
}


/* ============================================================
   6. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Primary - accent filled */
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* Secondary - outline accent */
.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* White filled */
.btn-white {
  background-color: var(--color-white);
  color: var(--color-text);
  border-color: var(--color-white);
}

.btn-white:hover {
  background-color: var(--color-surface-alt);
  border-color: var(--color-surface-alt);
}

/* Outline white */
.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-text);
}

/* Size variants */
.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

/* Icon button - appended arrow that moves on hover */
.btn-icon {
  gap: 0.5rem;
}

.btn-icon svg,
.btn-icon .arrow,
.btn-icon i {
  transition: transform 0.2s ease;
}

.btn-icon:hover svg,
.btn-icon:hover .arrow,
.btn-icon:hover i {
  transform: translateX(4px);
}

/* Success / CTA green variant */
.btn-success {
  background-color: var(--color-success);
  color: var(--color-white);
  border-color: var(--color-success);
}

.btn-success:hover {
  background-color: #15803d;
  border-color: #15803d;
}


/* ============================================================
   7. SITE HEADER / NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--header-height);
  background-color: transparent;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Scrolled state: glass morphism */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

/* --- Logo --- */
.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-header__logo-text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition-base);
}

.site-header.is-scrolled .site-header__logo-text {
  color: var(--color-primary);
}

/* --- Main Nav --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav__link {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-white);
  padding: 0.5rem 0;
  transition: color var(--transition-base);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Underline hover effect */
.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.main-nav__link:hover::after,
.main-nav__link.active::after {
  transform: scaleX(1);
}

.main-nav__link.active {
  color: var(--color-accent-light);
}

/* Scrolled state - dark text */
.site-header.is-scrolled .main-nav__link {
  color: var(--color-text);
  text-shadow: none;
}

.site-header.is-scrolled .main-nav__link:hover,
.site-header.is-scrolled .main-nav__link.active {
  color: var(--color-accent);
}

/* --- Dropdown Menu --- */
.main-nav__item {
  position: relative;
}

.main-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: var(--space-xs) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.main-nav__item:hover .main-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav__dropdown a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.main-nav__dropdown a:hover {
  background-color: var(--color-surface-alt);
  color: var(--color-accent);
}

/* --- Nav CTA button --- */
.main-nav__cta {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.main-nav__cta:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}


/* ============================================================
   8. MOBILE NAVIGATION
   ============================================================ */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: calc(var(--z-mobile-menu) + 1);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.site-header.is-scrolled .mobile-menu-toggle span {
  background-color: var(--color-text);
}

/* Hamburger -> X transform */
.mobile-menu-toggle.active span {
  background-color: var(--color-white);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Full-screen overlay nav — z-index must be BELOW the header
   so the toggle button (inside header) stays clickable */
.mobile-nav {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-surface-dark);
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.mobile-nav__link {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-white);
  padding: var(--space-sm) 0;
  transition: color var(--transition-base);
  letter-spacing: -0.01em;
}

.mobile-nav__link:hover,
.mobile-nav__link.active {
  color: var(--color-accent);
}

.mobile-nav__cta {
  margin-top: var(--space-xl);
}

/* Mobile overlay backdrop (legacy drawer support) */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: calc(var(--z-mobile-menu) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ============================================================
   9. HERO SECTION
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--color-surface-dark);
  position: relative;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-3xl) var(--space-2xl);
  padding-left: max(var(--container-padding), calc((100vw - var(--container-max)) / 2 + var(--container-padding)));
}

.hero__tag {
  display: inline-block;
  background-color: rgba(232, 76, 43, 0.15);
  color: var(--color-accent);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.hero__title .accent {
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-base);
}

.hero__buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-surface-dark) 0%, transparent 30%);
}

/* Legacy carousel classes (kept so JS doesn't error) */
.hero-carousel { display: none; }


/* ============================================================
   10. STATS / METRICS BAR
   ============================================================ */

.stats-section {
  background-color: var(--color-surface-dark);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  position: relative;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: var(--space-lg) var(--space-xl);
}

/* Faint vertical dividers */
.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item__number,
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.stat-item__label,
.stat-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}


/* ============================================================
   11. SECTION HEADERS
   ============================================================ */

.section-header,
.section-title {
  margin-bottom: var(--space-block);
}

.section-header.text-center,
.section-title {
  text-align: center;
}

/* Tag / Overline */
.section-header__tag,
.section-title__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* Title */
.section-header__title,
.section-title h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section-header__title--lg,
.section-title--lg h2 {
  font-size: var(--text-3xl);
}

/* Subtitle / description */
.section-header__subtitle,
.section-title p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: var(--line-height-base);
}

.section-title p {
  margin-left: auto;
  margin-right: auto;
}

/* White variant for dark backgrounds */
.section-header--white .section-header__tag,
.section-title--white .section-title__tag {
  color: var(--color-accent-light);
}

.section-header--white .section-header__title,
.section-title--white h2 {
  color: var(--color-white);
}

.section-header--white .section-header__subtitle,
.section-title--white p {
  color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   12. ABOUT SECTION (Home)
   ============================================================ */

.about-snapshot {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-snapshot__content {
  padding-right: var(--space-xl);
}

.about-snapshot__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.about-snapshot__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.about-snapshot__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-lg);
}

.about-snapshot__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-accent);
  transition: gap var(--transition-base), color var(--transition-base);
}

.about-snapshot__link:hover {
  gap: 0.75rem;
  color: var(--color-accent-dark);
}

.about-snapshot__link .arrow {
  transition: transform var(--transition-base);
}

.about-snapshot__link:hover .arrow {
  transform: translateX(4px);
}

.about-snapshot__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-snapshot__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}


/* ============================================================
   13. PRODUCT CARDS
   ============================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-xl);
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-surface-alt);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Badge */
.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__body {
  padding: var(--space-lg);
}

.product-card__category {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.product-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.product-card__spec {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.product-card__price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.product-card__price small {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-muted);
}

.product-card__actions {
  display: flex;
  gap: var(--space-sm);
}

.product-card__actions .btn {
  flex: 1;
  padding: 0.625rem 1rem;
  font-size: var(--text-sm);
}


/* ============================================================
   14. CATEGORY TABS
   ============================================================ */

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-block);
}

.category-tab,
.tab-btn {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.category-tab:hover,
.tab-btn:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-accent);
}

.category-tab.active,
.tab-btn.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* Tab content panels */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}


/* ============================================================
   15. PRODUCT DETAIL PAGE
   ============================================================ */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Image gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.product-gallery__main {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  background-color: var(--color-surface-alt);
  aspect-ratio: 1 / 1;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.product-gallery__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
  aspect-ratio: 1 / 1;
  background-color: var(--color-surface-alt);
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
  border-color: var(--color-accent);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info panel */
.product-info {
  padding: var(--space-md) 0;
}

.product-info__category {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.product-info__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.product-info__price {
  display: inline-block;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
}

.product-info__description {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-xl);
}

/* Specs table - clean alternating rows, no borders */
.specs-table {
  width: 100%;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: var(--text-sm);
}

.specs-table th {
  font-weight: 600;
  color: var(--color-text);
  width: 40%;
}

.specs-table td {
  color: var(--color-text-muted);
}

.specs-table tr:nth-child(even) {
  background-color: var(--color-surface-alt);
}

.product-info__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.product-info__actions .btn {
  flex: 1;
  min-width: 180px;
}


/* ============================================================
   16. FEATURE CARDS (Why Choose Us)
   ============================================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-xl) var(--space-lg);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-left-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
}

.feature-card__icon svg {
  width: 48px;
  height: 48px;
}

.feature-card__icon img {
  width: 48px;
  height: 48px;
}

.feature-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-base);
}


/* ============================================================
   17. CTA BANNER
   ============================================================ */

.cta-banner {
  background-color: var(--color-surface-dark);
  padding: var(--space-section) 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-banner__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: var(--line-height-base);
}

.cta-banner__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}


/* ============================================================
   18. APPLICATION CARDS
   ============================================================ */

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-xl);
}

.application-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: pointer;
}

.application-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.application-card:hover img {
  transform: scale(1.06);
}

.application-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.2) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  transition: background var(--transition-base);
}

.application-card:hover .application-card__overlay {
  background: linear-gradient(
    to top,
    rgba(27, 111, 168, 0.9) 0%,
    rgba(27, 111, 168, 0.3) 60%,
    rgba(27, 111, 168, 0.05) 100%
  );
}

.application-card__icon {
  font-size: var(--text-xl);
  color: var(--color-accent-light);
  margin-bottom: var(--space-sm);
}

.application-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.application-card__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--line-height-snug);
}

.application-card__list {
  margin-top: var(--space-sm);
}

.application-card__list li {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  padding-left: 0.75rem;
  position: relative;
}

.application-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
}


/* ============================================================
   19. PAGE BANNER (Inner Pages)
   ============================================================ */

.page-banner {
  position: relative;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--container-padding) var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1A1A2E 0%, #0a1628 50%, #1A1A2E 100%);
  overflow: hidden;
}

/* Decorative geometric elements */
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 111, 168, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner__bg {
  position: absolute;
  inset: 0;
}

.page-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.9) 0%,
    rgba(10, 22, 40, 0.6) 100%
  );
}

.page-banner__content {
  position: relative;
  z-index: 1;
}

.page-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}

.page-banner__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-md) auto 0;
  border-radius: 2px;
}


/* ============================================================
   20. BREADCRUMBS
   ============================================================ */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs__current {
  color: var(--color-white);
  opacity: 0.7;
}

/* Light variant */
.breadcrumbs--light a {
  color: var(--color-text-muted);
}

.breadcrumbs--light a:hover {
  color: var(--color-accent);
}

.breadcrumbs--light .breadcrumbs__separator {
  color: var(--color-text-light);
}

.breadcrumbs--light .breadcrumbs__current {
  color: var(--color-text);
  opacity: 0.7;
}


/* ============================================================
   21. CONTACT PAGE
   ============================================================ */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Info cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--color-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-light);
}

.contact-info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-size: var(--text-xl);
}

.contact-info-card__content h4 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: 0;
}

.contact-info-card__content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-info-card__content a {
  color: var(--color-accent);
  font-weight: 500;
}

.contact-info-card__content a:hover {
  color: var(--color-accent-dark);
}

/* Contact form wrapper */
.contact-form-wrapper {
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-form-wrapper h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

/* Map */
.contact-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-3xl);
  border: 1px solid var(--color-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ============================================================
   22. QUOTE FORM
   ============================================================ */

.quote-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.quote-form__group {
  margin-bottom: var(--space-xl);
}

.quote-form__group-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.quote-form .form-group {
  margin-bottom: var(--space-md);
}

.quote-form__submit {
  text-align: center;
  margin-top: var(--space-xl);
}


/* ============================================================
   23. TRUST BADGES
   ============================================================ */

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  padding: var(--space-2xl) 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.trust-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.trust-badge__text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: var(--line-height-snug);
}

.trust-badge__text span {
  display: block;
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}


/* ============================================================
   24. FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--color-surface-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-section);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

/* Brand column */
.footer-brand {
  padding-right: var(--space-xl);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-brand__logo img {
  height: 40px;
  width: auto;
}

.footer-brand__logo-text {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
}

.footer-brand__text {
  font-size: var(--text-sm);
  line-height: var(--line-height-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Link columns */
.footer-column__title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.footer-column ul li {
  margin-bottom: var(--space-sm);
}

.footer-column ul li a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer-column ul li a:hover {
  color: var(--color-white);
}

/* Footer contact info */
.footer-contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

.footer-contact-item i,
.footer-contact-item .icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom__copy {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-base);
}

.footer-bottom__links a:hover {
  color: var(--color-white);
}


/* ============================================================
   25. WHATSAPP FLOAT
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-whatsapp);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-whatsapp);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: whatsapp-pulse 2s ease-in-out 1s 3;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

/* Tooltip */
.whatsapp-float__tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-white);
  color: var(--color-text);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--color-white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}


/* ============================================================
   26. BACK TO TOP
   ============================================================ */

.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: var(--z-back-to-top);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
}


/* ============================================================
   27. FORMS (General)
   ============================================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.form-group label .required {
  color: var(--color-error);
  margin-left: 2px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  line-height: var(--line-height-base);
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 76, 43, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: var(--color-text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239ca3af' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Validation states */
.form-control.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 0.25rem;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Checkbox / Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}

.form-check label {
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
}

/* Form row (2-column on desktop) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Submit */
.form-submit {
  margin-top: var(--space-lg);
}

.form-submit .btn {
  min-width: 200px;
}


/* ============================================================
   28. PAGE LOADER
   ============================================================ */

.page-loader {
  position: fixed;
  inset: 0;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-loader);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}


/* ============================================================
   29. 404 PAGE
   ============================================================ */

.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-section) var(--container-padding);
}

.page-404__code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: var(--space-md);
}

.page-404__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.page-404__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-xl);
}


/* ============================================================
   30. REVEAL ANIMATIONS (IntersectionObserver-based)
   ============================================================ */

/* Visible by default — content is never hidden if JS fails to load */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 1;
  transform: translateX(0);
}

.reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

/* Once JS adds .js-loaded to <body>, hide elements so they can animate in */
body.js-loaded .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

body.js-loaded .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Directional variants */
body.js-loaded .reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

body.js-loaded .reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

body.js-loaded .reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

body.js-loaded .reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
body.js-loaded .reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
}

body.js-loaded .reveal-stagger.is-visible > * {
  animation: reveal-up 0.6s var(--ease-out-expo) forwards;
}

body.js-loaded .reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0ms; }
body.js-loaded .reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 80ms; }
body.js-loaded .reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 160ms; }
body.js-loaded .reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 240ms; }
body.js-loaded .reveal-stagger.is-visible > *:nth-child(5) { animation-delay: 320ms; }
body.js-loaded .reveal-stagger.is-visible > *:nth-child(6) { animation-delay: 400ms; }


/* ============================================================
   31. KEYFRAMES
   ============================================================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4),
                0 0 0 12px rgba(37, 211, 102, 0.15);
  }
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4),
                0 0 0 20px rgba(37, 211, 102, 0);
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-stagger > *,
  body.js-loaded .reveal,
  body.js-loaded .reveal-left,
  body.js-loaded .reveal-right,
  body.js-loaded .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}


/* ============================================================
   32. RESPONSIVE — see responsive.css
   All breakpoint overrides are in responsive.css.
   ============================================================ */
