/* ========================================
   MTZ Voltcool Solutions - Main Stylesheet
   ======================================== */

/* --- CSS Variables --- */
:root {
  --navy: #0f1a2e;
  --navy-light: #1a2d4a;
  --navy-dark: #0a1220;
  --red: #c41e3a;
  --red-hover: #a8182f;
  --red-light: rgba(196, 30, 58, 0.1);
  --teal: #00b4d8;
  --teal-hover: #0096b7;
  --teal-light: rgba(0, 180, 216, 0.1);
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-900: #212529;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-glow-teal: 0 0 20px rgba(0, 180, 216, 0.15);
  --shadow-glow-red: 0 0 20px rgba(196, 30, 58, 0.15);
  --shadow-3d: 0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);
  --shadow-3d-hover: 0 30px 80px rgba(0,0,0,0.2), 0 12px 30px rgba(0,0,0,0.15);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-bg-light: rgba(255,255,255,0.7);
  --glass-border-light: rgba(255,255,255,0.8);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* --- Language Toggle --- */
.lang-es { display: none !important; }
body.es .lang-en { display: none !important; }
body.es .lang-es { display: inline !important; }
/* Restore flex display for flex elements */
body.es a.lang-es.btn,
body.es a.lang-es.contact-phone { display: inline-flex !important; }
a.lang-en.btn { display: inline-flex !important; }
a.lang-en.contact-phone { display: inline-block !important; }
a.lang-es.btn { display: none !important; }
a.lang-es.contact-phone { display: none !important; }
body.es a.lang-en.btn { display: none !important; }
body.es a.lang-en.contact-phone { display: none !important; }
body.es a.lang-es.btn { display: inline-flex !important; }
body.es a.lang-es.contact-phone { display: inline-block !important; }
body.es p .lang-es,
body.es li .lang-es,
body.es strong .lang-es,
body.es label .lang-es,
body.es h1 .lang-es,
body.es h2 .lang-es,
body.es h3 .lang-es,
body.es h4 .lang-es { display: inline; }
body.es p .lang-en,
body.es li .lang-en,
body.es strong .lang-en,
body.es label .lang-en,
body.es h1 .lang-en,
body.es h2 .lang-en,
body.es h3 .lang-en,
body.es h4 .lang-en { display: none; }

/* Block-level language elements in specific contexts */
.hero__title .lang-en,
.hero__badge .lang-en { display: inline; }
.hero__title .lang-es,
.hero__badge .lang-es { display: none; }
body.es .hero__title .lang-en,
body.es .hero__badge .lang-en { display: none; }
body.es .hero__title .lang-es,
body.es .hero__badge .lang-es { display: inline; }

/* --- Utility --- */
.text-red { color: var(--red); }
.text-teal { color: var(--teal); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(196,30,58,0.3), 0 4px 10px rgba(0,0,0,0.15);
}
.btn--red:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(196,30,58,0.2);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn--red-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--red-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--teal-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--teal-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Scroll Reveal --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}
.nav--scrolled {
  background: rgba(15, 26, 46, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), inset 0 -1px 0 rgba(255,255,255,0.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}
.nav__logo-icon { flex-shrink: 0; }
.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__cta { font-size: 0.85rem; padding: 10px 20px; }

/* Language Toggle */
.lang-toggle {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.lang-toggle__en { color: var(--white); }
.lang-toggle__divider { color: rgba(255,255,255,0.3); }
.lang-toggle__es { color: rgba(255,255,255,0.5); }
body.es .lang-toggle__en { color: rgba(255,255,255,0.5); }
body.es .lang-toggle__es { color: var(--white); }

/* Mobile nav lang toggle hidden on desktop, desktop one hidden on mobile */
.nav__links .lang-toggle { display: none; }
.lang-toggle--desktop { display: flex; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav--open .nav__hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav--open .nav__hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  overflow: hidden;
}
/* Circuit board / electric panel background */
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    /* Circuit traces - horizontal */
    linear-gradient(0deg, transparent 49.5%, rgba(0,180,216,0.04) 49.5%, rgba(0,180,216,0.04) 50.5%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(196,30,58,0.03) 49.5%, rgba(196,30,58,0.03) 50.5%, transparent 50.5%),
    /* Circuit grid pattern */
    linear-gradient(0deg, transparent 98%, rgba(0,180,216,0.03) 98%),
    linear-gradient(90deg, transparent 98%, rgba(196,30,58,0.02) 98%),
    /* Glow spots */
    radial-gradient(circle at 20% 30%, rgba(0, 180, 216, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(196, 30, 58, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0, 180, 216, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 10% 70%, rgba(196, 30, 58, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 90% 60%, rgba(0, 180, 216, 0.06) 0%, transparent 35%);
  background-size: 200px 200px, 200px 200px, 60px 60px, 60px 60px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  animation: heroPulse 8s ease-in-out infinite alternate;
}
/* Circuit node dots */
.hero__bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px, rgba(0,180,216,0.15) 100%, transparent 100%),
    radial-gradient(circle 1.5px, rgba(196,30,58,0.12) 100%, transparent 100%);
  background-size: 60px 60px, 120px 120px;
  background-position: 30px 30px, 60px 60px;
}
/* Animated scan line */
.hero__bg-pattern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,180,216,0.4), transparent);
  animation: scanLine 4s linear infinite;
}
@keyframes scanLine {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes heroPulse {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}
.hero__content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  perspective: 1000px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 100px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  background: rgba(0, 180, 216, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: translateZ(20px);
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1);
  transform: translateZ(40px);
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
/* ========================================
   HERO EFFECTS - Electricity & Cold Air
   ======================================== */
.hero__effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Electric sparks */
.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red), 0 0 16px var(--red), 0 0 32px rgba(196,30,58,0.4);
  animation: sparkFloat 4s ease-in-out infinite;
}
.spark--1 { top: 15%; left: 10%; animation-delay: 0s; animation-duration: 3.5s; }
.spark--2 { top: 40%; left: 85%; animation-delay: 0.8s; animation-duration: 4.2s; }
.spark--3 { top: 70%; left: 15%; animation-delay: 1.5s; animation-duration: 3.8s; }
.spark--4 { top: 25%; left: 75%; animation-delay: 2.2s; animation-duration: 4.5s; }
.spark--5 { top: 60%; left: 90%; animation-delay: 0.5s; animation-duration: 3.2s; }

@keyframes sparkFloat {
  0%, 100% { opacity: 0; transform: scale(0.5) translateY(0); }
  10% { opacity: 1; transform: scale(1.5); }
  15% { opacity: 0.3; transform: scale(0.8); }
  20% { opacity: 1; transform: scale(2); }
  30% { opacity: 0; transform: scale(0.5) translateY(-20px); }
}

/* Snowflake / cold air particles */
.snowflake {
  position: absolute;
  color: rgba(0, 180, 216, 0.25);
  font-size: 16px;
  animation: snowfall linear infinite;
  pointer-events: none;
}
.snowflake--1 { left: 5%; font-size: 14px; animation-duration: 12s; animation-delay: 0s; }
.snowflake--2 { left: 20%; font-size: 10px; animation-duration: 15s; animation-delay: 2s; }
.snowflake--3 { left: 35%; font-size: 18px; animation-duration: 10s; animation-delay: 4s; color: rgba(0,180,216,0.15); }
.snowflake--4 { left: 55%; font-size: 12px; animation-duration: 14s; animation-delay: 1s; }
.snowflake--5 { left: 70%; font-size: 16px; animation-duration: 11s; animation-delay: 3s; color: rgba(0,180,216,0.2); }
.snowflake--6 { left: 82%; font-size: 10px; animation-duration: 13s; animation-delay: 5s; }
.snowflake--7 { left: 92%; font-size: 14px; animation-duration: 16s; animation-delay: 0.5s; }
.snowflake--8 { left: 45%; font-size: 8px; animation-duration: 18s; animation-delay: 7s; }

@keyframes snowfall {
  0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Electric bolt traces */
.electric-bolt {
  position: absolute;
  height: 100%;
  width: 80px;
  opacity: 0;
  animation: boltFlash 6s ease-in-out infinite;
}
.electric-bolt--1 { left: 8%; animation-delay: 0s; }
.electric-bolt--2 { right: 12%; animation-delay: 3s; }

@keyframes boltFlash {
  0%, 100% { opacity: 0; }
  48% { opacity: 0; }
  50% { opacity: 0.8; filter: brightness(2); }
  52% { opacity: 0; }
  54% { opacity: 0.5; }
  56% { opacity: 0; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .spark, .snowflake, .electric-bolt { animation: none; opacity: 0; }
  .hero__bg-pattern { animation: none; }
  .hero__scroll-indicator { animation: none; }
}

/* Hero Phone Cards */
.hero__phones {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero__phone-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: var(--radius-md);
  background: var(--red);
  color: var(--white);
  transition: all 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  border: 2px solid var(--red);
  transform-style: preserve-3d;
  box-shadow: 0 8px 24px rgba(196,30,58,0.3), 0 4px 8px rgba(0,0,0,0.2);
}
.hero__phone-card:hover {
  transform: translateY(-6px) rotateX(-5deg) scale(1.05);
  box-shadow: 0 16px 40px rgba(196,30,58,0.4), 0 8px 16px rgba(0,0,0,0.2);
  background: var(--red-hover);
}
.hero__phone-card--teal {
  background: rgba(0,180,216,0.08);
  border-color: var(--teal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,180,216,0.15), 0 4px 8px rgba(0,0,0,0.2);
}
.hero__phone-card--teal:hover {
  background: rgba(0, 180, 216, 0.2);
  box-shadow: 0 16px 40px rgba(0,180,216,0.25), 0 8px 16px rgba(0,0,0,0.2);
  transform: translateY(-6px) rotateX(-5deg) scale(1.05);
}
.hero__phone-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}
.hero__phone-label {
  font-size: 0.78rem;
  opacity: 0.8;
  font-weight: 500;
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 12px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
  padding: 96px 0;
}
.section--light { background: var(--gray-100); }
.section--dark {
  background: var(--navy);
  color: var(--white);
  position: relative;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1.5px, rgba(0,180,216,0.08) 100%, transparent 100%),
    linear-gradient(0deg, transparent 98%, rgba(0,180,216,0.03) 98%),
    linear-gradient(90deg, transparent 98%, rgba(196,30,58,0.02) 98%);
  background-size: 80px 80px, 80px 80px, 80px 80px;
  pointer-events: none;
  z-index: 0;
}
.section--dark > .container { position: relative; z-index: 1; }
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section__title--left { text-align: left; }
.section--dark .section__title { color: var(--white); }
.section__subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}
.section--dark .section__subtitle { color: rgba(255,255,255,0.6); }

/* ========================================
   SERVICES
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  perspective: 1200px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-3d);
  transition: all 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  border-top: 4px solid transparent;
  transform-style: preserve-3d;
  transform: rotateX(2deg) rotateY(0deg);
  position: relative;
  overflow: hidden;
}
/* 3D shine overlay */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.05) 45%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0.05) 55%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.service-card:hover::after {
  transform: translateX(30%);
}
.service-card--red { border-top-color: var(--red); }
.service-card--teal { border-top-color: var(--teal); }
.service-card:hover {
  transform: rotateX(-2deg) rotateY(3deg) translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-3d-hover), 0 0 30px rgba(0,180,216,0.08);
}
.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transform: translateZ(30px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.service-card:hover .service-card__icon {
  transform: translateZ(50px) scale(1.15) rotateZ(-5deg);
}
.service-card__icon--red { background: var(--red-light); box-shadow: 0 4px 16px rgba(196,30,58,0.12); }
.service-card__icon--teal { background: var(--teal-light); box-shadow: 0 4px 16px rgba(0,180,216,0.12); }
.service-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 20px;
  color: var(--navy);
}
.service-card__list {
  margin-bottom: 28px;
}
.service-card__list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-600);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-200);
}
.service-card__list li:last-child { border-bottom: none; }
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  perspective: 1200px;
}
.trust-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transform: translateZ(0);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
.trust-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), 0 0 30px rgba(0,180,216,0.1), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateZ(20px) translateY(-8px) scale(1.03);
}
.trust-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.trust-card__icon--teal { background: rgba(0, 180, 216, 0.12); color: var(--teal); }
.trust-card__icon--red { background: rgba(196, 30, 58, 0.12); color: var(--red); }
.trust-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.trust-card__text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.about-text {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.7;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.about-stat { text-align: center; }
.about-stat__number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.about-stat__label {
  font-size: 0.82rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}
.about-visual__graphic {
  width: 100%;
  max-width: 320px;
  transform-style: preserve-3d;
  animation: float3d 6s ease-in-out infinite;
}
@keyframes float3d {
  0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
  25% { transform: rotateY(3deg) rotateX(-2deg) translateY(-10px); }
  50% { transform: rotateY(5deg) rotateX(3deg) translateY(-5px); }
  75% { transform: rotateY(-3deg) rotateX(-3deg) translateY(-12px); }
}
.about-visual__svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

/* ========================================
   CONTACT
   ======================================== */
.section--contact { padding-bottom: 0; padding-bottom: 96px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-desc {
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.contact-phone {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 32px;
  transition: color var(--transition);
}
.contact-phone:hover { color: var(--teal); }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail svg { flex-shrink: 0; margin-top: 3px; }
.contact-detail strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.contact-detail p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
  transform-style: preserve-3d;
  transform: perspective(800px) rotateY(-2deg);
  transition: transform 0.4s ease;
}
.contact-form-wrapper:hover {
  transform: perspective(800px) rotateY(0deg);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}
.form-group select {
  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='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }

.contact-form__success {
  text-align: center;
  padding: 48px 24px;
}
.contact-form__success svg { margin: 0 auto 16px; }
.contact-form__success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}
.contact-form__success p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
  padding: 64px 0 0;
  background: var(--gray-100);
}
.map-wrapper {
  margin-top: 32px;
  line-height: 0;
}
.map-wrapper iframe {
  width: 100%;
  filter: saturate(0.8) contrast(1.1);
  transition: filter var(--transition);
}
.map-wrapper iframe:hover { filter: saturate(1) contrast(1); }

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition);
  animation: whatsappPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav__logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer-links a,
.footer-contact a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--teal); }
.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-credit {
  margin-top: 6px;
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.25) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .about-visual__graphic { max-width: 240px; }
  .section__title--left { text-align: center; }
  .about-stats { justify-content: center; }
  .about-text { text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Nav mobile */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }
  .nav--open .nav__links { right: 0; }
  .nav__link { font-size: 1.1rem; }
  .nav__hamburger { display: flex; }
  .lang-toggle--desktop { display: none; }
  .nav__links .lang-toggle { display: flex; }
  .nav__cta, a.nav__cta.btn, a.lang-en.nav__cta, a.lang-es.nav__cta { display: none !important; }

  /* Mobile overlay */
  .nav--open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .nav__links { z-index: 1000; }

  /* Hero mobile */
  .hero__content { padding: 100px 16px 60px; }
  .hero__phones { flex-direction: column; align-items: center; }
  .hero__phone-card { width: 100%; max-width: 320px; justify-content: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Services mobile */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px; }

  /* Trust grid mobile */
  .trust-grid { grid-template-columns: 1fr; }

  /* About mobile */
  .about-stats { flex-direction: row; gap: 24px; flex-wrap: wrap; justify-content: center; }

  /* Contact mobile */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px; }
  .contact-phone { font-size: 1.6rem; }

  /* Footer mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand .nav__logo { justify-content: center; }
}

/* Small phones */
@media (max-width: 380px) {
  .hero__title { font-size: 1.8rem; }
  .container { padding: 0 16px; }
  .service-card { padding: 24px; }
  .about-stats { gap: 16px; }
}
