/* ================================================
   METALTECH INGENIERÍA LÁSER - MASTER STYLESHEET
   Soul Red Crystal Color System + Dark / Light Modes
   ================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================== CSS VARIABLES — DARK MODE (Default) ===================== */
:root {
  /* Soul Red Crystal Palette — always the same */
  --soul-red: #C0392B;
  --soul-red-light: #E74C3C;
  --soul-red-dark: #96281B;
  --soul-red-crystal: #D63C2C;
  --soul-red-glow: rgba(192, 57, 43, 0.4);
  --soul-red-ultra: rgba(192, 57, 43, 0.15);

  /* Dark Metal Theme */
  --bg-primary: #0A0A0F;
  --bg-secondary: #111118;
  --bg-tertiary: #16161F;
  --bg-card: #1A1A25;
  --bg-glass: rgba(26, 26, 37, 0.7);

  /* Text Colors */
  --text-primary: #F0F0F8;
  --text-secondary: #A8A8C0;
  --text-muted: #6B6B88;
  --text-accent: #C0392B;

  /* Borders */
  --border-primary: rgba(192, 57, 43, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A0A0F 0%, #1A0808 50%, #0A0A0F 100%);
  --gradient-red: linear-gradient(135deg, var(--soul-red-dark), var(--soul-red-light));
  --gradient-card: linear-gradient(135deg, rgba(26,26,37,0.9) 0%, rgba(16,16,24,0.95) 100%);
  --gradient-shine: linear-gradient(135deg, rgba(192,57,43,0.1) 0%, transparent 50%, rgba(192,57,43,0.05) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-red: 0 8px 32px rgba(192,57,43,0.3);
  --shadow-red-lg: 0 20px 60px rgba(192,57,43,0.4);

  /* Hardcoded-override helpers (dark defaults) */
  --navbar-scrolled-bg: rgba(10, 10, 15, 0.95);
  --hero-overlay-bg: linear-gradient(135deg, rgba(10,10,15,0.97) 0%, rgba(20,5,5,0.85) 50%, rgba(10,10,15,0.75) 100%);
  --hero-img-overlay-bg: linear-gradient(to top, rgba(10,10,15,0.8) 0%, transparent 50%);
  --mobile-menu-bg: rgba(10, 10, 15, 0.98);
  --modal-overlay-bg: rgba(0, 0, 0, 0.8);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-theme: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1280px;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;
}

/* ===================== CSS VARIABLES — LIGHT MODE ===================== */
[data-theme="light"] {
  /* Backgrounds — warm-neutral industrial (inspired by BMW/Porsche light UI) */
  --bg-primary: #F5F4F2;
  --bg-secondary: #ECEAE6;
  --bg-tertiary: #E3E1DC;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 252, 248, 0.85);

  /* Text — high contrast on warm neutrals */
  --text-primary: #16140F;
  --text-secondary: #4A4540;
  --text-muted: #8A857C;
  --text-accent: #C0392B;

  /* Borders — subtle warm grays */
  --border-primary: rgba(192, 57, 43, 0.35);
  --border-subtle: rgba(22, 20, 15, 0.08);
  --border-card: rgba(22, 20, 15, 0.1);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #F5F4F2 0%, #EDE0DC 50%, #F5F4F2 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,238,234,0.98) 100%);
  --gradient-shine: linear-gradient(135deg, rgba(192,57,43,0.06) 0%, transparent 50%, rgba(192,57,43,0.03) 100%);

  /* Shadows — soft and warm, creates depth without darkening */
  --shadow-sm: 0 2px 8px rgba(22,20,15,0.08);
  --shadow-md: 0 8px 32px rgba(22,20,15,0.12);
  --shadow-lg: 0 20px 60px rgba(22,20,15,0.16);
  --shadow-red: 0 8px 32px rgba(192,57,43,0.25);
  --shadow-red-lg: 0 20px 60px rgba(192,57,43,0.35);

  /* Hardcoded-override helpers (light overrides) */
  --navbar-scrolled-bg: rgba(245, 244, 242, 0.97);
  --hero-overlay-bg: linear-gradient(135deg, rgba(245,244,242,0.95) 0%, rgba(237,224,220,0.80) 50%, rgba(245,244,242,0.70) 100%);
  --hero-img-overlay-bg: linear-gradient(to top, rgba(245,244,242,0.85) 0%, transparent 50%);
  --mobile-menu-bg: rgba(245, 244, 242, 0.98);
  --modal-overlay-bg: rgba(22, 20, 15, 0.55);
}

/* ===================== THEME TRANSITION (smooth switch) ===================== */
*, *::before, *::after {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, fill 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--soul-red);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--soul-red-light); }

/* ===================== SELECTION ===================== */
::selection {
  background: var(--soul-red);
  color: #fff;
}

/* ===================== CONTAINER ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ===================== TYPOGRAPHY ===================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  color: var(--soul-red-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--soul-red-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-title span {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: var(--transition-fast);
}

.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--gradient-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--soul-red-ultra);
  border-color: var(--border-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--soul-red-light);
  padding: 10px 0;
}

.btn-ghost:hover { gap: 16px; }

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  color: var(--soul-red-light);
  transition: var(--transition-normal);
}

.btn-icon:hover {
  background: var(--soul-red);
  color: #fff;
  transform: scale(1.1);
}

/* ===================== CARDS ===================== */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-red);
  opacity: 0;
  transition: var(--transition-normal);
}

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

.card:hover::before { opacity: 1; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  box-shadow: var(--shadow-red);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.logo-text .tagline {
  font-size: 0.65rem;
  color: var(--soul-red-light);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--soul-red-ultra);
}

.nav-link.active {
  color: var(--soul-red-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--soul-red-light);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--soul-red-light);
}

/* ===================== HERO SECTION ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--soul-red);
  opacity: 0;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-100px) scale(1.5); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  color: var(--soul-red-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  width: fit-content;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--soul-red-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #E74C3C, #C0392B, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .line-through {
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat .number span {
  color: var(--soul-red-light);
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-red-lg);
}

.hero-image-card img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transform: scale(1.02);
  transition: var(--transition-slow);
}

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

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-img-overlay-bg);
}

.hero-float-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}

.hero-float-card.card-1 {
  top: 30px;
  right: -20px;
  animation: float-card-1 6s ease-in-out infinite;
}

.hero-float-card.card-2 {
  bottom: 40px;
  left: -20px;
  animation: float-card-2 8s ease-in-out infinite;
}

@keyframes float-card-1 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes float-card-2 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(10px) rotate(1deg); }
}

.float-card-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.float-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.float-card-value {
  font-size: 0.75rem;
  color: var(--soul-red-light);
  font-weight: 600;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 1px solid var(--border-card);
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 10px;
  background: var(--soul-red-light);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(24px); opacity: 0; }
}

/* ===================== SECTIONS ===================== */
.section {
  padding: var(--section-padding);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.section-header.centered {
  align-items: center;
  text-align: center;
}

.section-header.centered .section-subtitle { text-align: center; }

/* ===================== FEATURES STRIP ===================== */
.features-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.features-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item-icon {
  width: 40px;
  height: 40px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soul-red-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-item-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-item-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===================== ABOUT SECTION ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-red-lg);
}

.about-image-main img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image-main:hover img { transform: scale(1.04); }

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--bg-primary);
  box-shadow: var(--shadow-red);
}

.about-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content { display: flex; flex-direction: column; gap: 24px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.value-item:hover {
  border-color: var(--border-primary);
  background: var(--soul-red-ultra);
}

.value-icon {
  width: 36px;
  height: 36px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soul-red-light);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.value-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.value-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===================== SERVICES SECTION ===================== */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-red);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
}

.service-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-red-lg);
}

.service-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-image img { transform: scale(1.1); }

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,10,15,0.9) 100%);
}

.service-body {
  padding: 28px;
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soul-red-light);
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--soul-red);
  color: #fff;
  border-color: var(--soul-red);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-feature::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--soul-red-light);
  flex-shrink: 0;
}

/* ===================== MATERIALS SECTION ===================== */
.materials-section { background: var(--bg-primary); }

.materials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.material-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
}

.material-card:hover {
  border-color: var(--border-primary);
  background: var(--soul-red-ultra);
  transform: translateY(-4px);
}

.material-icon {
  font-size: 2rem;
  line-height: 1;
}

.material-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
}

.material-card:hover .material-name { color: var(--soul-red-light); }

/* ===================== WHY US SECTION ===================== */
.why-us-section { background: var(--bg-secondary); }

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 28px;
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transition: var(--transition-normal);
  transform-origin: left;
}

.why-card:hover {
  border-color: var(--border-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-red);
}

.why-card:hover::before { transform: scaleX(1); }

.why-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--soul-red-ultra);
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(192, 57, 43, 0.15);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soul-red-light);
  font-size: 1.3rem;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon {
  background: var(--soul-red);
  color: #fff;
  border-color: var(--soul-red);
}

.why-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.why-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===================== CONTACT SECTION ===================== */
.contact-section { background: var(--bg-primary); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.contact-item:hover {
  border-color: var(--border-primary);
  background: var(--soul-red-ultra);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soul-red-light);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.contact-item:hover .contact-item-icon {
  background: var(--soul-red);
  color: #fff;
}

.contact-item-content strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.contact-item-content p, .contact-item-content a {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
  transition: var(--transition-fast);
}

.contact-item-content a:hover { color: var(--soul-red-light); }

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--soul-red-ultra);
  border-color: var(--border-primary);
  color: var(--soul-red-light);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  outline: none;
}

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

.form-control:focus {
  border-color: var(--soul-red);
  box-shadow: 0 0 0 3px var(--soul-red-ultra);
}

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

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px 0;
}

.form-success.visible { display: flex; }

.form-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* ===================== MAP SECTION ===================== */
.map-section {
  background: var(--bg-secondary);
  padding: 0;
  overflow: hidden;
}

.map-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-card);
  height: 480px;
  margin: 0 24px;
  box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(1) hue-rotate(180deg) saturate(0.6) brightness(0.8);
}

.map-overlay-card {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 280px;
  box-shadow: var(--shadow-md);
}

/* ===================== FAQ SECTION ===================== */
.faq-section { background: var(--bg-primary); }

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.faq-cat-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: pointer;
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
  background: var(--soul-red-ultra);
  border-color: var(--border-primary);
  color: var(--soul-red-light);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item.open {
  border-color: var(--border-primary);
  box-shadow: 0 4px 20px rgba(192, 57, 43, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

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

.faq-question-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-item.open .faq-question-text { color: var(--soul-red-light); }

.faq-toggle {
  width: 32px;
  height: 32px;
  background: var(--soul-red-ultra);
  border: 1px solid var(--border-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soul-red-light);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.faq-item.open .faq-toggle {
  background: var(--soul-red);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  transition: max-height 0.6s ease-in-out;
}

.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-top: 0;
}

.faq-answer-inner { border-top: none; }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover { color: var(--soul-red-light); gap: 10px; }

.footer-link::before {
  content: '›';
  color: var(--soul-red);
  font-size: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  color: var(--soul-red-light);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-contact-text a:hover { color: var(--soul-red-light); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
}

.footer-bottom-link:hover { color: var(--soul-red-light); }

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===================== WHATSAPP BUTTON ===================== */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: var(--transition-spring);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 108px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-normal);
  opacity: 0;
  transform: translateY(20px);
  backdrop-filter: blur(10px);
}

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

.back-to-top:hover {
  background: var(--soul-red);
  color: #fff;
  border-color: var(--soul-red);
}

/* ===================== PAGE SECTIONS (TABS) ===================== */
.page {
  display: none;
  min-height: 100vh;
}

.page.active { display: block; }

/* ===================== MODAL (POLICIES) ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--modal-overlay-bg);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: var(--transition-spring);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--soul-red);
  color: #fff;
  border-color: var(--soul-red);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.modal-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.modal-body h2:first-child { margin-top: 0; }

.modal-body p { margin-bottom: 14px; }

.modal-body ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.modal-body ul li { margin-bottom: 6px; }

/* ===================== ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===================== COUNTER ANIMATION ===================== */
.counter-item {
  text-align: center;
  padding: 40px 24px;
}

.counter-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.counter-number .suffix { color: var(--soul-red-light); }

.counter-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 500;
}

.counters-section {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.counter-item:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

/* ===================== LOADER ===================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loader-logo-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  box-shadow: var(--shadow-red-lg);
  animation: loader-pulse 1s ease-in-out infinite;
}

@keyframes loader-pulse {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-red); }
  50% { transform: scale(1.05); box-shadow: var(--shadow-red-lg); }
}

.loader-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--border-subtle);
  border-radius: 1px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: var(--gradient-red);
  border-radius: 1px;
  animation: loader-fill 1.5s ease-in-out forwards;
}

@keyframes loader-fill {
  from { width: 0; }
  to { width: 100%; }
}

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-nav-link {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 12px 24px;
  transition: var(--transition-fast);
  text-align: center;
}

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .materials-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-image-card img { height: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-accent { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-item:nth-child(2) { border-right: none; }
  .counter-item:nth-child(3) { border-top: 1px solid var(--border-subtle); }
  .counter-item:nth-child(4) { border-top: 1px solid var(--border-subtle); border-right: none; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px 0; }

  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .menu-toggle { display: flex; }

  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-float-card { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .features-strip-inner { justify-content: center; }
  .faq-categories { justify-content: flex-start; overflow-x: auto; }
  .map-wrapper { margin: 0 16px; height: 380px; }
  .map-overlay-card { display: none; }
  .section-title { font-size: 1.9rem; }
  .contact-form-card { padding: 24px; }
}

@media (max-width: 480px) {
  :root { --container-padding: 0 16px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat { flex-direction: row; align-items: center; gap: 12px; }
  .hero-stat .number { font-size: 1.5rem; }
  .whatsapp-btn { bottom: 20px; right: 20px; }
  .back-to-top { bottom: 92px; right: 20px; }
}

/* ===================== UTILITY CLASSES ===================== */
.text-red { color: var(--soul-red-light); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* ===================== THEME TOGGLE BUTTON ===================== */
.theme-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 3px;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-red);
}

.theme-toggle-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
  box-shadow: 0 2px 6px rgba(192,57,43,0.4);
  flex-shrink: 0;
}

/* Icons inside thumb */
.theme-toggle-thumb .icon-moon,
.theme-toggle-thumb .icon-sun {
  position: absolute;
  width: 12px;
  height: 12px;
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-toggle-thumb .icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }
.theme-toggle-thumb .icon-sun  { opacity: 0; transform: scale(0.6) rotate(90deg); }

/* Light mode state — thumb slides right, shows sun */
[data-theme="light"] .theme-toggle {
  background: var(--bg-card);
  border-color: var(--border-card);
}

[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(24px);
}

[data-theme="light"] .theme-toggle-thumb .icon-moon { opacity: 0; transform: scale(0.6) rotate(-90deg); }
[data-theme="light"] .theme-toggle-thumb .icon-sun  { opacity: 1; transform: scale(1) rotate(0deg); }

/* Tooltip label */
.theme-toggle-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.35s ease;
  display: none;
}

@media (min-width: 1080px) {
  .theme-toggle-label { display: block; }
}

/* ===================== LIGHT MODE: misc adjustments ===================== */
/* Mobile nav link text on light background */
[data-theme="light"] .mobile-nav-link {
  color: var(--text-secondary);
}

[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link.active {
  color: var(--soul-red);
}

/* Counters section border */
[data-theme="light"] .counters-section {
  border-top-color: var(--border-subtle);
  border-bottom-color: var(--border-subtle);
}

[data-theme="light"] .counter-item:not(:last-child) {
  border-right-color: var(--border-subtle);
}

/* Page loader */
[data-theme="light"] .page-loader {
  background: var(--bg-primary);
}

/* Loader bar & icon retain red accent */
[data-theme="light"] .loader-name {
  color: var(--text-primary);
}

/* Scrollbar in light mode */
[data-theme="light"] ::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

/* Form focus glow lighter */
[data-theme="light"] .form-control:focus {
  border-color: var(--soul-red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

/* Footer in light mode */
[data-theme="light"] .footer {
  background: var(--bg-secondary);
  border-top-color: var(--border-subtle);
}

[data-theme="light"] .footer-bottom {
  border-top-color: var(--border-subtle);
}

/* Features strip */
[data-theme="light"] .features-strip {
  border-top-color: var(--border-subtle);
  border-bottom-color: var(--border-subtle);
}

/* Hero text readable on lighter overlay */
[data-theme="light"] .hero-title {
  text-shadow: 0 2px 20px rgba(22,20,15,0.15);
}

[data-theme="light"] .hero-subtitle {
  text-shadow: 0 1px 4px rgba(22,20,15,0.1);
}

/* Back to top button */
[data-theme="light"] .back-to-top {
  background: var(--bg-card);
  border-color: var(--border-card);
  box-shadow: var(--shadow-sm);
}

