/* ============================================================
   Anteng México & Latinoamérica — Design System
   Based on the original atvibro.com with LATAM enhancements
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --color-primary: #B22222;
  --color-primary-dark: #8B1A1A;
  --color-primary-light: #D44A4A;
  --color-accent: #E8A723;
  --color-accent-dark: #C78B0A;

  /* Neutrals */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F5;
  --color-bg-dark: #1A1A1A;
  --color-text: #2D2D2D;
  --color-text-light: #6B6B6B;
  --color-text-white: #FFFFFF;
  --color-border: #E0E0E0;

  /* Mexico Flag Accents */
  --mx-green: #006847;
  --mx-red: #CE1126;
  --mx-white: #FFFFFF;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #B22222, #D44A4A);
  --gradient-dark: linear-gradient(135deg, #1A1A1A, #2D2D2D);
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(178, 34, 34, 0.4));
  --gradient-card: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85));

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Mexico Flag Top Bar --- */
.mx-flag-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--mx-green) 33.33%, var(--mx-white) 33.33%, var(--mx-white) 66.66%, var(--mx-red) 66.66%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 20px;
  font-family: var(--font-heading);
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.logo-text .region {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 0.5rem 1rem;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  background: white;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.nav-cta {
  padding: 8px 20px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  margin-top: 76px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  padding: 0 var(--space-xl);
}

.hero-content .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .flag {
  font-size: 1.2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(178, 34, 34, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(178, 34, 34, 0.4);
  color: white;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
  transform: translateY(-3px);
}

.btn-dark {
  background: var(--gradient-dark);
  color: white;
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.hero-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Hero Stats Bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  padding: var(--space-md) 0;
  z-index: 3;
}

.hero-stats .container {
  display: flex;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Section Base --- */
.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(178, 34, 34, 0.08);
  color: var(--color-primary);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* --- Product Categories Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-card {
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.product-card-img {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: var(--color-bg-alt);
  overflow: hidden;
}

.product-card-img img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img img {
  transform: scale(1.08);
}

.product-card-body {
  padding: var(--space-md);
  text-align: center;
}

.product-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.product-card:hover .product-card-title {
  color: var(--color-primary);
}

.product-card-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.product-card .arrow-icon {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  transition: all var(--transition-base);
}

.product-card:hover .arrow-icon {
  background: var(--color-primary);
  color: white;
}

/* --- Applications Section --- */
.section-applications {
  background: var(--color-bg-alt);
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.app-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.app-card:hover img {
  transform: scale(1.1);
}

.app-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md);
  background: var(--gradient-card);
  color: white;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.app-card:hover .app-card-overlay {
  transform: translateY(0);
}

.app-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.app-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* --- About / Who We Are --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.about-image .play-btn {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(178, 34, 34, 0.9);
  color: white;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
}

.about-image .play-btn:hover {
  background: var(--color-primary);
  transform: scale(1.05);
}

.about-content h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
}

.about-content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.stat-box {
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
}

.stat-box .num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--color-primary);
}

.stat-box .num span {
  color: var(--color-accent);
  font-size: 1.4rem;
}

.stat-box .label {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* --- Why Choose Us --- */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.advantage-card {
  padding: var(--space-lg);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.advantage-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.advantage-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* --- Partners --- */
.partners-section {
  background: var(--color-bg-alt);
}

.partners-track {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-md) 0;
}

.partner-logo {
  height: 50px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- News Section --- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.news-card-main {
  grid-row: span 2;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.news-card-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  transition: transform var(--transition-slow);
}

.news-card-main:hover img {
  transform: scale(1.05);
}

.news-card-main .news-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md);
  background: var(--gradient-card);
  color: white;
}

.news-card-main .news-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.news-card-main .news-card-desc {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
}

.news-card-main .news-card-date {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 8px;
}

.news-card-side {
  display: flex;
  gap: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.news-card-side:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.news-card-side img {
  width: 160px;
  min-height: 140px;
  object-fit: cover;
}

.news-card-side .news-card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-side .news-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--color-text);
}

.news-card-side .news-card-desc {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.news-card-side .news-card-date {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* --- CTA / Quote Section --- */
.cta-section {
  background: var(--gradient-primary);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-family: var(--font-body);
  min-width: 220px;
}

.cta-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.cta-form button {
  padding: 14px 32px;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
}

.cta-form button:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-icon {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-logo .brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

.footer-logo .region {
  font-size: 0.7rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-base);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  opacity: 1;
  padding-left: 8px;
  color: var(--color-accent);
}

.footer-col p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.7;
}

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-col .contact-item i {
  margin-top: 3px;
  min-width: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: var(--space-lg);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Counter Animation --- */
.counter {
  display: inline;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .about-grid {
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats .container {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .stat-item {
    flex: 1;
    min-width: 120px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-md);
  }

  .news-card-main {
    grid-row: span 1;
  }

  .news-card-side {
    flex-direction: column;
  }

  .news-card-side img {
    width: 100%;
    min-height: 160px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 400px;
    height: 60vh;
  }

  .hero-content {
    padding: 0 var(--space-sm);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input {
    min-width: 100%;
  }
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
  border: none;
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}