/* =============================================
   PROYECTOS FITNESS - Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
  --color-primary: #000000;
  --color-secondary: #DC2626;
  --color-accent: #EF4444;
  --color-white: #FFFFFF;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Validacion */
.contact-form  #sendmessage {
  color: #14469d;
  border: 1px solid #14469d;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-form #sendmessage.show, .contact-form #errormessage.show, .contact-form .show {
  display: block;
}

.form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 16px;
}
/* Fin Validacion */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
}

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

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-secondary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition-normal);
}

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

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

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

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 77px;
  z-index: 400;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 500;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 600;
}

.slide.active {
  opacity: 1;
   z-index: 610; 
}

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

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
  display: flex;
  align-items: center;
  z-index: 720;
}

.slide-content {
  max-width: 650px;
  padding: 2rem;
  margin-left: 5%;
  color: var(--color-white);
  z-index: 730;
}

.slide-content h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 750;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-normal);
  z-index: 770;
}

.slider-dot.active,
.slider-dot:hover {
  background-color: var(--color-secondary);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 780;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition-normal);
  font-size: 1.25rem;
}

.slider-arrow:hover {
  background-color: var(--color-secondary);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
  background-color: #B91C1C;
  border-color: #B91C1C;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

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

.btn-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-dark:hover {
  background-color: var(--color-gray-800);
  border-color: var(--color-gray-800);
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 5rem 0;
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-gray {
  background-color: var(--color-gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-gray-600);
}

.section-header.light p {
  color: var(--color-gray-300);
}

.accent-line {
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  margin: 1rem auto;
}

/* =============================================
   ABOUT SECTION (Home)
   ============================================= */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-item h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: 0;
}

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 3px solid var(--color-secondary);
  border-radius: 12px;
  z-index: -1;
}

/* =============================================
   BRANDS CAROUSEL
   ============================================= */

.brands-section {
  padding: 3rem 0;
  background-color: var(--color-gray-100);
  overflow: hidden;
}

.brands-title {
  text-align: center;
  margin-bottom: 2rem;
}

.brands-title h3 {
  font-size: 1.25rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

.brands-track {
  display: flex;
  gap: 4rem;
  padding: 0 2rem;
  width: max-content;
  /* BORRAMOS LA ANIMACIÓN DE AQUÍ */
  will-change: transform; /* Esto acelera la tarjeta gráfica para que el JS vuele */
}

.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-normal);
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-item img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
}

/* BORRAMOS EL @keyframes */

/* .brands-section {
  padding: 3rem 0;
  background-color: var(--color-gray-100);
  overflow: hidden;
}

.brands-title {
  text-align: center;
  margin-bottom: 2rem;
}

.brands-title h3 {
  font-size: 1.25rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

.brands-track {
  display: flex;
  animation: scroll 20s linear infinite;
}

.brands-slide {
  display: flex;
  gap: 4rem;
  padding: 0 2rem;
}

.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-normal);
}

.brand-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-item img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
 */
 
 
/* =============================================
   SERVICES SECTION
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--color-gray-200);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-secondary);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-gray-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--color-secondary);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
}

/* =============================================
   PRODUCTS CATALOG
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--color-gray-200);
}

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

.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: var(--color-gray-100);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-content {
  padding: 1.5rem;
}

.product-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--color-gray-900);
  line-height: 1.3;
}

.product-description {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  border-top: 1px solid var(--color-gray-200);
  padding-top: 1rem;
  margin-top: 1rem;
}

.product-specs h4 {
  font-size: 0.85rem;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem;
}

.specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-tag {
  background-color: var(--color-gray-100);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--color-gray-600);
}

.product-cta {
  margin-top: 1.5rem;
}

.product-cta .btn {
  width: 100%;
}

/* Product Details (Expanded View) */
.product-details {
  display: block;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
}

.product-card.expanded .product-details {
  display: block;
}

.product-features {
  margin-bottom: 1rem;
}

.product-features h4,
.product-tech-specs h4 {
  font-size: 0.9rem;
  color: var(--color-gray-800);
  margin-bottom: 0.75rem;
}

.product-features ul,
.product-tech-specs ul {
  font-size: 0.85rem;
  color: var(--color-gray-600);
}

.product-features li,
.product-tech-specs li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.product-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

.product-tech-specs li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-gray-400);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  background-color: var(--color-gray-900);
  color: var(--color-white);
  padding: 3rem;
  border-radius: 12px;
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--color-gray-300);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-text h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  color: var(--color-gray-400);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.contact-item-text a {
  color: var(--color-gray-300);
}

.contact-item-text a:hover {
  color: var(--color-secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-700);
}

.social-link {
  width: 44px;
  height: 44px;
  background-color: var(--color-gray-800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-normal);
}

.social-link:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--color-gray-600);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-normal);
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* =============================================
   PAGE HERO (Internal Pages)
   ============================================= */
.page-hero {
  background-color: var(--color-gray-900);
  padding: 5rem 0 4rem;
  margin-top: 77px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary) 100%);
  opacity: 0.95;
}

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

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
.page-hero h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--color-gray-400);
}

.breadcrumb a:hover {
  color: var(--color-secondary);
}

.breadcrumb span {
  color: var(--color-secondary);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-gray-800);
}

.footer-brand p {
  color: var(--color-gray-400);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: var(--color-gray-800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.footer-social a:hover {
  background-color: var(--color-secondary);
}

.footer-links h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-gray-400);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.2);
}

@keyframes pulse {
  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); }
}

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.about-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-full-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--color-gray-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--color-secondary);
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--color-gray-300);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-content {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  max-width: 350px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  margin-bottom: 0;
}

/* =============================================
   SERVICES PAGE SPECIFIC
   ============================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-content h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.service-detail-content p {
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
}

.service-detail-content ul {
  margin-bottom: 2rem;
}

.service-detail-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-gray-700);
}

.service-detail-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

.service-detail-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.service-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* =============================================
   MAP
   ============================================= */
.map-section {
  height: 400px;
  width: 100%;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-content,
  .about-full,
  .contact-wrapper,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detail:nth-child(even) {
    direction: ltr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 77px;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    padding: 2rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition-normal);
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-slider {
    margin-top: 77px;
    height: 80vh;
  }
  
  .slide-content {
    padding: 1.5rem;
    margin-left: 0;
    text-align: center;
  }
  
  .slide-content h1 {
    font-size: 1.75rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .slider-arrows {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-info,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .product-image {
    height: 220px;
  }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }
