/* ==============================
   VARIABLES CSS
============================== */
:root {
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --green-500: #10b981;
  --green-600: #059669;
  --teal-600: #0d9488;
  --orange-500: #f97316;
  --red-600: #dc2626;
  --pink-500: #ec4899;
  --yellow-500: #eab308;
  --indigo-600: #4f46e5;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --white: #ffffff;
  --black: #000000;
}








/* ==========================
   Body por defecto (modo claro)
========================== */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--white);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease; /* transición suave */
}









/* ==========================
   Modo oscuro - Toggle
========================== */
.dark-mode-toggle {
  position: relative;
  width: 40px;             /* ancho del toggle */
  height: 20px;            /* alto del toggle */
  background-color: #f0f0f0;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-sizing: border-box;
  transition: background-color 0.3s;
}

/* Iconos */
.dark-mode-toggle .icon {
  width: 14px;
  height: 14px;
  stroke: #000;            /* Sol negro */
  transition: all 0.3s ease;
  z-index: 2;
}

.dark-mode-toggle .moon {
  stroke: #fff;            /* Luna blanca */
  opacity: 0;
}

/* Esfera deslizante */
.toggle-slider {
  position: absolute;
  top: 50%;                
  left: 4px;               /* posición inicial */
  width: 17px;
  height: 17px;
  background-color: #fff;  /* esfera blanca en modo claro */
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 1;              
}







/* ==========================
   🌑 MODO OSCURO GLOBAL
========================== */
body.dark-mode {
  background: #121212;
  color: #f1f1f1;
}

/* Toggle en modo oscuro */
body.dark-mode .dark-mode-toggle {
  background-color: #1e293b;  
}

body.dark-mode .toggle-slider {
  left: calc(100% - 20px); /* mueve la esfera a la derecha */
  background-color: #000;  /* esfera negra en modo oscuro */
}

/* Cambiar iconos sol ↔ luna */
.dark-mode-toggle .sun {
  opacity: 1;
}
.dark-mode-toggle .moon {
  opacity: 0;
}
body.dark-mode .sun {
  opacity: 0;
}
body.dark-mode .moon {
  opacity: 1;
}





/* ==========================
   Secciones en modo 
========================== */

/* Header scroll claro */
.header.scroll {
  background: rgba(255,255,255,0.95);
}

/* Header scroll dark */
body.dark-mode .header.scroll {
  background: rgba(0,0,0,0.6); /* sigue negro translúcido */
  border-bottom: 1px solid #333;
}





/* ==============================
   DARK MODE
============================== */

/* Header */
body.dark-mode .header {
  background: rgba(0, 0, 0, 0.6); /* negro traslúcido */
border-bottom: 1px solid #333;
}

body.dark-mode .header.scroll {
  background: rgba(0, 0, 0, 0.85);  /* más opaco si quieres */
}




body.dark-mode .nav a {
  color: #f1f1f1;
}


body.dark-mode .nav a:hover {
  color: #60a5fa; /* azul clarito al pasar */
}


body.dark-mode .btn-primary {
  background: linear-gradient(135deg, var(--purple-700), var(--blue-700)); /* gradiente más intenso al pasar */
  color: #000;
}
body.dark-mode .btn-secondary {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

/* Hero Section */
body.dark-mode .hero {
  background: #181818;
}
body.dark-mode .hero-title {
  color: #fff;
}
body.dark-mode .hero-description {
  color: #ccc;
}

/* Services - Modo oscuro */
body.dark-mode .services {
  background: #1a1a1a;
  
}


body.dark-mode .services h2 {
 background: linear-gradient(135deg, var(--purple-700), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* para compatibilidad */
  
}



body.dark-mode .services p {
   color: #f1f1f1;
  
}



body.dark-mode .service-card {
  background: #222;
  color: #f1f1f1;
  border: 1px solid #333;

}


body.dark-mode .service-card h3 {
  color: #f1f1f1; /* Títulos de las cards */
}

body.dark-mode .service-card p {
  color: #d1d5db; /* Párrafos de las cards, gris claro */
}




/* Why Choose Us- Modo oscuro */
body.dark-mode .why-choose-us {
  background: #181818;
}

body.dark-mode .why-choose-us h2 {
  background: linear-gradient(135deg, var(--purple-700), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* para compatibilidad */
}

body.dark-mode .why-choose-us p {
color: #f1f1f1;

}


body.dark-mode .feature-card {
  background: #222;
  color: #f1f1f1;
  border: 1px solid #333;
}


body.dark-mode .feature-card h3 {
  color: #f1f1f1; /* Títulos de las cards */
}

body.dark-mode .feature-card p {
  color: #d1d5db; /* Párrafos de las cards, gris claro */
}




/* Testimonials */
body.dark-mode .testimonials {
  background: #1a1a1a;
}

body.dark-mode .testimonials h2 {
 background: linear-gradient(135deg, var(--purple-700), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* para compatibilidad */
  
}



body.dark-mode .testimonials p {
   color: #f1f1f1;
  
}



body.dark-mode .testimonial-card {
  background: #222;
  color: #f1f1f1;
  border: 1px solid #333;
}

/* Portfolio */
body.dark-mode .portfolio {
  background: #121212;
}

body.dark-mode .portfolio  h2 {
 background: linear-gradient(135deg, var(--purple-700), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* para compatibilidad */
  
}



body.dark-mode .portfolio  p {
   color: #f1f1f1;
  
}






body.dark-mode .portfolio-item {
  background: #222;
  color: #f1f1f1;
}
body.dark-mode .portfolio-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* Contact */
body.dark-mode .contact {
  background: #1a1a1a;
}

body.dark-mode .contact  h2 {
 background: linear-gradient(135deg, var(--purple-700), var(--blue-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* para compatibilidad */
  
}



body.dark-mode .contact  p {
   color: #f1f1f1;
  
}




body.dark-mode .contact-form-card {
  background: #222;
  border: 1px solid #333;
}
body.dark-mode input,
body.dark-mode textarea {
  background: #333;
  border: 1px solid #555;
  color: #f1f1f1;
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #bbb;
}

/* Footer */
body.dark-mode .footer {
  background: #1e1e1e;
  color: #f1f1f1;
}
body.dark-mode .footer a {
  color: #f1f1f1;
}
body.dark-mode .footer-description {
  color: #ccc;
}










/* ==============================
   RESET Y BASE
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}







/* ==============================
   UTILIDADES
============================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple-600), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}






/* ==============================
   BOTONES
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--blue-600));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-700), var(--blue-700));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.btn-small {
  padding: 0.8rem 0.5rem;  /* más pequeño al - an */
  font-size: 1rem;      /* letra más chica */
  border-radius: 0.5rem;   /* esquinas un poco más reducidas */
}



.btn-secondary {
  background: transparent;
  color: var(--purple-600);
  border: 2px solid var(--purple-200);
}

.btn-secondary:hover {
  background: var(--purple-50);
  border-color: var(--purple-600);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}







/* ==============================
   IMÁGENES
============================== */
.logo-img,
.badge-img,
.feature-icon-img,
.service-icon-img,
.author-avatar-img,
.contact-icon-img {
  width: 2srem;
  height: 2rem;
  border-radius: 0.375rem;
  object-fit: cover;
}

.logo-img {
  width: 1.5rem;
  height: auto;
  border-radius: 0.5rem;
}

.badge-img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
}

.author-avatar-img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.feature-icon-img,
.service-icon-img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
}

.contact-icon-img {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.25rem;
}




/* ==============================
   HEADER
============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);   /* % transparente */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-600), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--dark-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--purple-700);
}

/* ==============================
   HERO SECTION
============================== */
.hero {
  position: relative;
  min-height: 120vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.05) 0%,
    rgba(59, 130, 246, 0.05) 50%,
    rgba(99, 102, 241, 0.05) 100%
  );
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25px 25px, rgba(147, 51, 234, 0.1) 2px, transparent 0),
    radial-gradient(circle at 75px 75px, rgba(59, 130, 246, 0.1) 2px, transparent 0);
  background-size: 100px 100px;
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(147, 51, 234, 0.1);
  color: var(--purple-700);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 48rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;        /* Alinea verticalmente */
  justify-content: flex-start;    /* Centra todo el bloque (imagen + texto) horizontalmente */
  gap: 0.5rem;                /* Espacio entre imagen y texto */
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 400;
  flex: 1 1 30%;            /* más flexible y responsivo */
  text-align: left;
  width: 15rem;
}






.feature-icon-img {
  width: 1.5rem;       /* tamaño más pequeño */
  height: 1.5rem;      /* mantiene proporción cuadrada */
  border-radius: 50%;   /* hace que sean circulares */
  object-fit: cover;    /* ajusta la imagen dentro del círculo */
}

.feature-icon-img2 {
  width: 4rem;       /* tamaño más pequeño */
  height: 4rem;      /* mantiene proporción cuadrada */
  border-radius: 50%;   /* hace que sean circulares */
  object-fit: cover;    /* ajusta la imagen dentro del círculo */
}

/* ==============================
   SERVICES SECTION
============================== */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  text-align: center; 
}





.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(147, 51, 234, 0.2);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1rem 0 0.75rem;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==============================
   WHY CHOOSE US SECTION
============================== */
.why-choose-us {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-50), rgba(59, 130, 246, 0.05));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}







.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 1rem 0 0.75rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==============================
   TESTIMONIALS SECTION
============================== */
.testimonials {
  padding: 5rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(147, 51, 234, 0.2);
}

.stars {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info strong {
  display: block;
  color: var(--gray-900);
  font-weight: 600;
}

.author-info span {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ==============================
   PORTFOLIO SECTION
============================== */
.portfolio {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--gray-50), rgba(59, 130, 246, 0.05));
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: auto;
}

.portfolio-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.portfolio-badge.purple {
  background: rgba(147, 51, 234, 0.1);
  color: var(--purple-700);
}

.portfolio-badge.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green-600);
}

.portfolio-badge.blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-700);
}

.portfolio-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.portfolio-btn {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-btn {
  background: var(--purple-600);
  color: var(--white);
  border-color: var(--purple-600);
}

/* ==============================
   CONTACT SECTION
============================== */
.contact {
  padding: 5rem 0;
  background: var(--white);
}

.contact-wrapper {
  max-width: 64rem;
  margin: 0 auto;
}

.contact-form-card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border: 1px solid var(--gray-100);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-600);
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-submit {
  text-align: center;
}

/* ==============================
   FOOTER
============================== */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-main {
  max-width: 20rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-img {
  width: 2 rem;
  height: auto;
  border-radius: 1 rem;
}

.footer-description {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  padding: 0.5rem;
  background: var(--gray-800);
  border-radius: 0.5rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  background: var(--purple-600);
  color: var(--white);
}

.social-link img {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-links {
  display: contents;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--white);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-800);
  color: var(--gray-300);
}

/* ==============================
   RESPONSIVE DESIGN
============================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .header-flex {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nav ul {
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }
}

/* ==============================
   ANIMACIONES
============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ==============================
   UTILIDADES DE COLOR
============================== */
.purple-100 {
  background-color: #f3e8ff;
}
.purple-200 {
  border-color: #e9d5ff;
}
.purple-50 {
  background-color: #faf5ff;
}
.purple-700 {
  color: #7c3aed;
}
.green-100 {
  background-color: #dcfce7;
}
.green-700 {
  color: #15803d;
}
.blue-100 {
  background-color: #dbeafe;
}
.blue-700 {
  color: #1d4ed8;
}
