/* ==========================================================================
   WRAP TECH AUTO GARAGE — Premium Automotive Design System
   Dark / Gold / Carbon-inspired theme
   Mobile-first responsive layout
   ========================================================================== */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colors */
  --gold: #D4AF37;
  --gold-light: #F0D870;
  --gold-dark: #996515;
  --gold-muted: rgba(212, 175, 55, 0.15);
  --gold-glow: rgba(212, 175, 55, 0.4);

  /* Neutrals */
  --black: #050505;
  --soft-black: #0A0A0A;
  --dark-1: #111111;
  --dark-2: #161616;
  --dark-3: #1A1A1A;
  --dark-4: #222222;
  --dark-5: #2A2A2A;
  --gray-1: #444444;
  --gray-2: #666666;
  --gray-3: #888888;
  --gray-4: #AAAAAA;
  --gray-5: #CCCCCC;
  --white: #FFFFFF;
  --off-white: #F5F5F5;

  /* Functional */
  --success: #2ECC71;
  --error: #E74C3C;
  --whatsapp: #25D366;
  --whatsapp-hover: #20BD5A;

  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #FBF5B7 50%, #AA771C 100%);
  --gold-text-gradient: linear-gradient(90deg, #D4AF37 0%, #FBF5B7 25%, #AA771C 50%, #FBF5B7 75%, #D4AF37 100%);
  --dark-gradient: linear-gradient(180deg, var(--soft-black) 0%, var(--dark-2) 100%);
  --card-gradient: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  --hero-overlay: linear-gradient(180deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.4) 40%, rgba(5,5,5,0.8) 100%);

  /* Typography */
  --font-display: 'Syncopate', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --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-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --container-padding: 1.25rem;
  --section-padding: 5rem 0;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.15);
  --shadow-gold-lg: 0 8px 50px rgba(212, 175, 55, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
  --transition-slow: 600ms var(--ease-out);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 500;
  --z-overlay: 700;
  --z-modal: 900;
  --z-whatsapp: 1000;

  /* Header */
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--gold-light); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul, ol { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 { font-size: clamp(1.75rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

p {
  font-weight: 300;
  color: var(--gray-4);
  max-width: 65ch;
}

.text-gold { color: var(--gold); }
.text-gold-gradient {
  background: var(--gold-text-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-glow { text-shadow: 0 0 25px var(--gold-glow); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  margin: var(--space-lg) auto;
  border-radius: var(--radius-full);
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--card-gradient);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.04);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg,
.btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Primary CTA — WhatsApp */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

/* Gold CTA */
.btn-gold {
  background: var(--gold-gradient);
  color: var(--black);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
}

/* Outline */
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold-muted);
  color: var(--gold-light);
  transform: translateY(-2px);
}

/* Ghost */
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Small variant */
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.site-header--transparent {
  background: transparent;
}

.site-header--solid {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header-logo img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-nav {
  display: none;
}

.header-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  padding: var(--space-sm) var(--space-md);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--gold);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.header-cta .btn-phone {
  display: none;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
  cursor: pointer;
  z-index: calc(var(--z-header) + 10);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: var(--z-overlay);
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(212, 175, 55, 0.1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-menu nav a {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition-fast);
}
.mobile-menu nav a:hover {
  color: var(--gold);
  padding-left: var(--space-sm);
}

.mobile-menu-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-xl);
}

.mobile-menu-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrapper video,
.hero-video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video Slider */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-video.active {
  opacity: 1;
}

.hero-slider-dots {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  transform: scale(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--container-padding) var(--space-3xl);
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: none;
  border: none;
  border-left: 3px solid var(--gold);
  border-radius: 0;
  padding: 0.3rem 0 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  position: relative;
}

.hero-badge svg {
  color: var(--gold-light);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--gray-4);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  align-items: center;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-4);
  letter-spacing: 0.04em;
  position: relative;
}

.trust-chip:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -2px;
  color: rgba(212, 175, 55, 0.3);
  font-size: 0.7rem;
}

.trust-chip svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
  opacity: 0.7;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.5;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-3);
}

.hero-scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Icon-based service cards (no images) */
.service-card--icon {
  padding: var(--space-xl) var(--space-lg) var(--space-xl);
  text-align: left;
  position: relative;
}

.service-card--icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card--icon:hover::before {
  opacity: 1;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  color: var(--gold);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card--icon:hover .service-card-icon {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.service-card-icon svg {
  width: 32px;
  height: 32px;
}

.service-card-body {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Fallback for image-based cards still in use */
.service-card:not(.service-card--icon) .service-card-body {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--gold);
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--gray-3);
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.service-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-4);
}

.service-benefits li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- WHY CHOOSE US / TRUST ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.trust-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: var(--radius-md);
  color: var(--gold);
}

.trust-icon svg {
  width: 28px;
  height: 28px;
}

.trust-item h4 {
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  color: var(--white);
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--gray-3);
  margin: 0 auto;
}

/* ---------- PROCESS ---------- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.process-step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.process-step-content h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--white);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

.process-step-content p {
  font-size: 0.88rem;
  color: var(--gray-3);
}

/* ---------- GALLERY ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.gallery-filter-btn {
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-3);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.gallery-filter-btn:hover {
  color: var(--white);
}

.gallery-filter-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.gallery-item-overlay span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255,255,255,0.04);
}

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9rem;
  color: var(--gray-3);
  line-height: 1.7;
}

/* ---------- CONTACT / FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: var(--radius-md);
  color: var(--gold);
}

.contact-info-text h4 {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.88rem;
  color: var(--gray-3);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  margin-top: var(--space-lg);
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.7) brightness(0.7) contrast(1.1);
}

/* Form */
.contact-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-4);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
  color: var(--gray-2);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.78rem;
  color: var(--gray-3);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--gold);
  text-decoration: underline;
}

/* Honeypot */
.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-error {
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-group.error .form-control {
  border-color: var(--error);
}

.form-group.error .form-error {
  display: block;
}

/* Form success message */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 50%;
  color: var(--success);
}

.form-success h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.form-success p {
  margin: 0 auto var(--space-lg);
  color: var(--gray-3);
}

/* ---------- LOCAL SEO ---------- */
.local-seo-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.local-seo-content p {
  margin: 0 auto var(--space-lg);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--dark-1);
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand-logo {
  height: 50px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--gray-3);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--gray-3);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: var(--gold-muted);
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links li a {
  font-size: 0.85rem;
  color: var(--gray-3);
  transition: color var(--transition-fast);
}
.footer-links li a:hover {
  color: var(--gold);
}

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

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.85rem;
  color: var(--gray-3);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--gray-2);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer-legal-links a {
  font-size: 0.75rem;
  color: var(--gray-2);
}
.footer-legal-links a:hover {
  color: var(--gold);
}

/* ---------- STICKY WHATSAPP ---------- */
.sticky-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-whatsapp);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: bottom var(--transition-base);
}

body.cookie-banner-active .sticky-whatsapp {
  bottom: calc(7.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  body.cookie-banner-active .sticky-whatsapp {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.sticky-whatsapp-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.sticky-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 35px rgba(37, 211, 102, 0.5);
}

.sticky-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.sticky-whatsapp-tooltip {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--white);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  display: none;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 35px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ---------- PRELOADER ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 180px;
  height: auto;
  margin-bottom: 2rem;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  animation: preloaderFill 2s ease-out forwards;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes preloaderFill {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

/* ---------- Page Entrance Animations ---------- */
body.page-loaded .site-header {
  animation: fadeSlideDown 0.8s ease-out;
}

body.page-loaded .hero-content {
  animation: heroEntrance 1s ease-out 0.3s both;
}

body.page-loaded .hero-scroll {
  animation: fadeIn 1s ease-out 1.2s both;
}

body.page-loaded .sticky-whatsapp {
  animation: popIn 0.5s var(--ease-spring) 1.5s both;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes popIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: var(--space-xl);
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.legal-content h2 {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--gold);
}

.legal-content p {
  margin-bottom: var(--space-md);
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content ul li {
  font-size: 0.9rem;
  color: var(--gray-4);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-md);
}

.legal-content ul li::before {
  content: '•';
  color: var(--gold);
  position: absolute;
  left: 0;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- 404 PAGE ---------- */
.page-404 {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
}

.page-404 h1 {
  font-size: clamp(4rem, 15vw, 10rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.page-404 h2 {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.page-404 p {
  margin: 0 auto var(--space-xl);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-modal);
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: var(--space-lg) var(--container-padding);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.cookie-banner p {
  font-size: 0.82rem;
  color: var(--gray-4);
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-sm);
}

/* ---------- RESPONSIVE ---------- */

/* Mobile Header, Section Padding & Trust Chips (max 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --section-padding: 3.5rem 0;
  }
  .header-logo img {
    height: 40px;
  }
  .contact-form {
    padding: var(--space-md) !important;
  }
  .hero-trust-chips {
    gap: var(--space-sm);
  }
  .trust-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.8rem;
  }
  .trust-chip:not(:last-child)::after {
    display: none !important;
  }
}

/* Mobile Screens (max 480px) */
@media (max-width: 480px) {
  h1 { font-size: 1.55rem; }
  .hero-badge { font-size: 0.65rem; padding: 0.3rem 0.7rem; }
  .hero-cta .btn { padding: 0.7rem 1.2rem; font-size: 0.82rem; width: 100%; max-width: 280px; }
  .trust-chip { font-size: 0.68rem; padding: 0.35rem 0.7rem; }
  .service-card--icon { padding: var(--space-lg) var(--space-md); }
  .service-card-icon { width: 52px; height: 52px; }
  .service-card-icon svg { width: 26px; height: 26px; }
  .btn-sm { padding: 0.5rem 1rem; font-size: 0.78rem; }
  .gallery-filter-btn { padding: 0.4rem 0.8rem; font-size: 0.7rem; }
  .faq-question { padding: var(--space-md); font-size: 0.85rem; }
  
  /* Compact header CTA on mobile */
  .header-cta #whatsapp_cta_header span {
    display: none;
  }
  .header-cta #whatsapp_cta_header {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Tablet */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: row; justify-content: center; }
  .sticky-whatsapp-tooltip { display: block; }

  .process-steps {
    position: relative;
    padding-left: 2.5rem;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(212,175,55,0.1));
  }
}

/* Tablet landscape */
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
  .contact-map { height: 320px; }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
    --section-padding: 7rem 0;
    --header-height: 90px;
  }

  .header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }

  .header-cta .btn-phone {
    display: inline-flex;
  }

  .hamburger { display: none; }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-content {
    max-width: 900px;
  }

  .cookie-banner-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .service-card--icon {
    padding: var(--space-2xl) var(--space-xl);
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Touch device optimizations */
@media (hover: none) {
  .gallery-item-overlay { opacity: 1; }
  .glass-card:hover { transform: none; }
  .service-card--icon:hover .service-card-icon { transform: none; }
}

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

/* Safe area insets for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
  .sticky-whatsapp {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
  .cookie-banner {
    padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
  }
  .mobile-menu {
    padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
  }
}

/* Print */
@media print {
  .site-header,
  .sticky-whatsapp,
  .cookie-banner,
  .preloader,
  .hero-video-wrapper video { display: none; }
  body { background: white; color: black; }
}

/* ==========================================================================
   NEW SECTIONS — Olex Films Branding, Document Cards, Form States
   Added 2026-06-07
   ========================================================================== */

/* ---------- OLEX FILMS BRANDING SECTION ---------- */
.olex-brand-section {
  background: var(--soft-black);
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  padding: var(--space-2xl) 0;
  position: relative;
}

.olex-brand-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.olex-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gold-muted);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.olex-brand-badge svg {
  width: 13px;
  height: 13px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.olex-brand-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.olex-brand-title .text-gold {
  color: var(--gold);
}

.olex-brand-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--gray-3);
  line-height: 1.7;
  max-width: 60ch;
  margin: 0 auto var(--space-lg);
}

.olex-brand-text a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.olex-brand-text strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* Olex brand feature badges */
.olex-brand-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.olex-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-4);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.olex-feature svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- DOCUMENT CARDS SECTION ---------- */
.docs-section {
  padding: var(--section-padding);
  position: relative;
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.doc-card {
  background: var(--card-gradient);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: all var(--transition-base);
}

.doc-card-thumb {
  position: relative;
  width: 100px;
  min-width: 100px;
  overflow: hidden;
  background: var(--dark-3);
}

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

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

.doc-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.doc-card-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}

.doc-card-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--gray-3);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doc-card-actions {
  margin-top: auto;
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  background: transparent;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

.btn-doc:hover {
  background: var(--gold-muted);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-doc svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- FORM LOADING & ERROR STATES ---------- */
.btn-loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.btn-loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
  margin-left: var(--space-sm);
  vertical-align: middle;
}

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

.form-error-message {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-align: center;
  line-height: 1.5;
}

/* ---------- RESPONSIVE — New Sections ---------- */

/* Mobile Screens (max 480px) — New Sections */
@media (max-width: 480px) {
  .olex-brand-title { font-size: 1.15rem; }
  .olex-brand-text { font-size: 0.85rem; }
  .olex-brand-badge { font-size: 0.65rem; padding: 0.3rem 0.75rem; }
  .olex-feature { font-size: 0.72rem; padding: 0.35rem 0.65rem; }

  .doc-card-thumb { width: 85px; min-width: 85px; }
  .doc-card-title { font-size: 0.85rem; }
  .doc-card-desc { font-size: 0.75rem; -webkit-line-clamp: 2; }
  .doc-card-body { padding: 0.85rem; }
  .btn-doc { padding: 0.45rem 0.9rem; font-size: 0.75rem; }
}

/* Tablet (640px+) */
@media (min-width: 640px) {
  .olex-brand-section { padding: var(--space-3xl) 0; }
  .olex-brand-text { font-size: 0.92rem; }

  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Switch doc cards to vertical layout at tablet */
  .doc-card {
    flex-direction: column;
  }

  .doc-card-thumb {
    width: 100%;
    min-width: auto;
    aspect-ratio: 3 / 4;
    max-height: 240px;
  }

  .doc-card-body {
    padding: var(--space-lg);
  }

  .doc-card-title { font-size: 0.95rem; }
  .doc-card-desc { font-size: 0.82rem; -webkit-line-clamp: none; }
  .btn-doc { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
}

/* Tablet landscape (768px+) */
@media (min-width: 768px) {
  .olex-brand-section { padding: var(--space-3xl) 0; }
  .olex-feature { font-size: 0.78rem; padding: 0.45rem 0.85rem; }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .doc-card-thumb {
    max-height: 280px;
  }

  .olex-brand-section {
    padding: var(--space-4xl) 0;
  }

  .olex-brand-text {
    font-size: 1.05rem;
  }

  .doc-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.04);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
  }
}

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .olex-brand-section { padding: var(--space-5xl) 0; }
}

/* Touch devices — disable hover lift on cards */
@media (hover: none) {
  .doc-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Reduced motion — disable card transitions */
@media (prefers-reduced-motion: reduce) {
  .doc-card { transition: none; }
  .doc-card-thumb img { transition: none; }
  .btn-loading::after { animation: none; }
}

