/* ============================================
   AMAWTA - Enhanced Landing Page Styles
   Modern, Dynamic Educational Platform
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* El Profe. IA Color Palette */
  --color-primary: #facc15;
  /* Bright Yellow for accents/text */
  --color-primary-dark: #06402b;
  /* Deep Green for buttons/backgrounds */
  --color-primary-light: #67e8f9;
  /* Cyan/Light Blue for "IA" text */
  --color-secondary: #0a2e15;
  /* Dark Green Background */

  --color-accent: #facc15;
  --color-success: #10b981;
  --color-warning: #fbbf24;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #facc15 0%, #fbbf24 100%);
  --gradient-hero: linear-gradient(135deg, #0a2e15 0%, #06402b 100%);
  --gradient-text: linear-gradient(135deg, #facc15 0%, #fbbf24 100%);

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-50: #f0fdf4;
  --color-gray-100: #dcfce7;
  --color-gray-200: #bbf7d0;
  --color-gray-300: #86efac;
  --color-gray-400: #4ade80;
  --color-gray-500: #22c55e;
  --color-gray-600: #16a34a;
  --color-gray-700: #15803d;
  --color-gray-800: #166534;
  --color-gray-900: #14532d;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --spacing-4xl: 8rem;

  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Organic Shapes (Border Radius) */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(250, 204, 21, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-secondary);
  background-image:
    linear-gradient(to bottom, rgba(10, 46, 21, 0.9) 0%, rgba(10, 46, 21, 0.7) 100%),
    url('/static/images/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: normal;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Remove floating shapes for cleaner look */
.floating-shapes {
  display: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1400px;
  width: 95%;
  /* Push content further to the sides */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  /* Fully transparent header */
  padding-top: var(--spacing-sm);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 46, 21, 0.9);
  backdrop-filter: blur(10px);
  padding-top: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-white);
  transition: var(--transition-base);
}

.logo-icon {
  display: none;
  /* Hide icon */
}

.logo-text {
  color: var(--color-white);
  /* background: none; - Removing gradient text for logo */
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  margin: 0;
}

@media (min-width: 769px) {
  .nav {
    position: relative;
    /* Ensure container is relative */
  }

  .nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-white);
  /* White text */
  font-weight: 600;
  transition: var(--transition-base);
  position: relative;
  font-size: 1.1rem;
}

.nav-menu a:hover {
  color: var(--color-primary);
  /* Yellow hover */
}

.nav-buttons {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  margin-left: auto;
  /* Ensure it pushes to the right if flex container allows */
}

/* ============================================
   BUTTONS (Minimalist / Ghost)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: none;
  /* Transparent background */
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-primary);
}

.btn-primary {
  color: var(--color-white);
  padding: 0;
  /* Text link style */
}

.btn-primary:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-secondary {
  /* Iniciar Sesion */
  color: var(--color-white);
  padding: 0;
}

.btn-secondary:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-background {
  /* Removed gradient overly to show image background clearly */
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: none;
  /* Hide badge as per design request */
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 5rem);
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  color: var(--color-primary);
  /* Yellow "El Profe." */
}

/* Specific styling for "IA" text */
.highlight-ia {
  color: var(--color-primary-light);
  /* Light Blue */
  font-size: 1.2em;
  /* Slightly larger */
  display: inline-block;
  transform: translateY(40px);
  /* Push it down significantly */
}

.hero-description {
  font-size: 2.5rem;
  /* "Eleva tu nivel de desempeño" needs to be large */
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  margin-top: 110px;
  /* Lower it significantly (~3cm) */
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.hero-subtext {
  /* The smaller text below */
  font-size: 1.1rem;
  color: #fbbf24;
  /* Yellowish text for description */
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
  max-width: 90%;
}

.hero-cta {
  display: none;
  /* Hide standard CTA buttons in hero content area as per request */
}

.hero-bottom-text {
  margin-top: var(--spacing-xl);
  font-family: var(--font-secondary);
}

.small-text {
  font-size: 0.9rem;
  color: var(--color-gray-200);
  margin-bottom: 0.2rem;
  opacity: 0.8;
}

.hero-image {
  position: relative;
  animation: fadeInRight 1s ease-out 0.5s backwards;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  border-radius: 0;
  /* Remove rounded corners */
  overflow: visible;
  box-shadow: none;
  /* Remove shadow */
  background: transparent;
  padding: 20px;
  border: 4px solid #65a30d;
  /* Green border frame */
}

.parallax-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
}

.image-decoration {
  display: none;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(250, 204, 21, 0.1);
  /* Yellow tint */
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-primary);
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.section-title {
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  /* White text */
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-200);
  /* Light green/gray text */
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   TOOLS SECTION
   ============================================ */
.tools {
  background: transparent;
  /* Let body gradient show through */
}

.tools-preview {
  margin-bottom: var(--spacing-3xl);
  text-align: center;
}

.tools-dashboard {
  max-width: 900px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  transition: transform var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tools-dashboard:hover {
  transform: scale(1.02);
}

.tools-categories {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
}

/* Tool Card Updates */
.tool-category {
  background: rgba(6, 64, 43, 0.6);
  /* Dark Green glass */
  backdrop-filter: blur(15px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-base);
}

.tool-category:hover {
  box-shadow: var(--shadow-2xl);
  transform: translateY(-5px);
  background: rgba(6, 64, 43, 0.8);
  border-color: rgba(250, 204, 21, 0.3);
}

.category-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.1);
}

.category-icon {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #065f46, #047857);
  /* Darker green gradient */
  color: var(--color-primary);
  /* Yellow icon */
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: var(--transition-bounce);
}

.category-title {
  color: var(--color-white);
}

.tool-category:hover .category-icon {
  transform: rotate(5deg) scale(1.1);
  border-radius: 50%;
}

.tool-card {
  background: rgba(10, 46, 21, 0.6);
  /* Darker card background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  border-bottom-right-radius: 2rem;
  padding: var(--spacing-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

.tool-card:hover::before {
  transform: scaleX(1);
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: rgba(6, 64, 43, 0.9);
  border-color: var(--color-primary);
}

.tool-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.tool-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
  /* White title */
}

.tool-description {
  color: var(--color-gray-200);
  /* Light text */
  font-size: 0.9375rem;
  line-height: 1.6;
}

.tool-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  padding: 0.25rem 0.75rem;
  background: var(--gradient-primary);
  color: #06402b;
  /* Dark text on yellow badge */
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ============================================
   MISSION & VISION SECTION
   ============================================ */
.mission-vision {
  background: transparent;
  /* Let body gradient show */
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.mission-vision-image {
  position: relative;
}

.mission-vision-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--color-primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
}

.mission-box,
.vision-box {
  background: rgba(6, 64, 43, 0.6);
  /* Dark glass */
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-box:hover,
.vision-box:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-xl);
  background: rgba(6, 64, 43, 0.8);
  border-color: rgba(250, 204, 21, 0.3);
}

.box-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.mission-box h3,
.vision-box h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.mission-box p,
.vision-box p {
  color: var(--color-gray-200);
  line-height: 1.8;
}

.values-list {
  background: rgba(6, 64, 43, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.values-list h4 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.values-list ul {
  list-style: none;
  padding: 0;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  color: var(--color-gray-200);
  font-size: 1rem;
}

.value-icon {
  font-size: 1.5rem;
}

/* ============================================
   PRIVACY SECTION
   ============================================ */
.privacy {
  color: var(--color-gray-200);
}

.privacy-content {
  background: rgba(6, 64, 43, 0.6);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.privacy-updated {
  color: var(--color-gray-400);
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  display: block;
}

.privacy-intro strong {
  color: var(--color-white);
}

.privacy-section {
  margin-bottom: var(--spacing-xl);
}

.privacy-section h3 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.privacy-section ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.privacy-section li {
  margin-bottom: 0.5rem;
}

.privacy-section strong {
  color: var(--color-white);
}

.privacy-contact a {
  color: var(--color-primary);
  text-decoration: none;
}

.privacy-contact a:hover {
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(6, 40, 25, 0.95);
  /* Very dark green */
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  color: var(--color-gray-300);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-description {
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  color: var(--color-gray-400);
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
  font-size: 1.125rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
  display: inline-block;
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   PRIVACY SECTION
   ============================================ */
.privacy {
  background: rgba(255, 255, 255, 0.7);
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-updated {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  font-style: italic;
  margin-bottom: var(--spacing-xl);
}

.privacy-intro {
  background: rgba(102, 126, 234, 0.05);
  border-left: 4px solid var(--color-primary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xl);
}

.privacy-intro p {
  color: var(--color-gray-700);
  line-height: 1.8;
}

.privacy-section {
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.privacy-section h3 {
  font-size: 1.5rem;
  color: var(--color-gray-900);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-gray-200);
}

.privacy-section p {
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.privacy-section ul {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.privacy-section li {
  color: var(--color-gray-700);
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

.privacy-section strong {
  color: var(--color-gray-900);
  font-weight: 600;
}

.privacy-contact {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  margin-top: var(--spacing-xl);
}

.contact-details {
  margin: var(--spacing-md) 0;
}

.contact-details p {
  margin-bottom: var(--spacing-sm);
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
}

.contact-details a:hover {
  text-decoration: underline;
}

.privacy-footer-note {
  margin-top: var(--spacing-md);
  font-size: 0.9375rem;
  color: var(--color-gray-600);
}

.privacy-footer-note a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.privacy-footer-note a:hover {
  text-decoration: underline;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-2xl);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
}

.cta-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.cta-content p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin: 0;
}

.cta-actions {
  text-align: center;
}

.cta-note {
  margin-top: var(--spacing-sm);
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: var(--color-gray-300);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: var(--color-gray-400);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

/* Footer Social Removed (Moved to Sidebar) */

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: var(--spacing-sm);
}

.footer-col a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-col a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--color-gray-500);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {

  .hero-grid,
  .mission-vision-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .hero-image {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .category-tools {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   AUTH MODAL (Clean & Pituco)
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 20000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  width: 90%;
  max-width: 480px;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
  text-align: center;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #374151;
}

.modal-header h2 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* Google Button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-secondary);
  font-size: 1rem;
}

.btn-google:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #9ca3af;
  font-size: 0.875rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.divider span {
  padding: 0 10px;
}

/* Form Fields */
.auth-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.5;
}

small {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: #4f46e5;
  /* Using the Blue/Purple from reference image */
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 1rem;
}

.btn-submit:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.auth-footer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.5;
}

.auth-footer a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
}


/* ============================================
   STICKY SOCIAL SIDEBAR (3D Glossy "Pituco")
   ============================================ */
.social-sidebar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* More space between bubbles */
  z-index: 10000;
}

.social-side-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* Perfect circles */
  text-decoration: none;
  background: white;
  color: white;

  /* 3D Glossy Effects */
  border: 4px solid #ffffff;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    /* Drop shadow */
    inset 0 4px 6px rgba(255, 255, 255, 0.4),
    /* Top shine */
    inset 0 -4px 6px rgba(0, 0, 0, 0.1);
  /* Bottom shade */

  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Bouncy pop */
  overflow: hidden;
}

/* Expand on hover */
.social-side-btn:hover {
  width: 180px;
  border-radius: 50px;
  /* Pill shape on expand */
  padding-right: 20px;
  transform: scale(1.1);
}

.social-side-btn .icon {
  min-width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  /* Make icons look crisp */
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.social-side-btn .label {
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.social-side-btn:hover .label {
  opacity: 1;
  transform: translateX(0);
}

/* 3D BRAND COLORS */
.social-side-btn.whatsapp {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4), inset 0 4px 6px rgba(255, 255, 255, 0.5);
}

.social-side-btn.facebook {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4), inset 0 4px 6px rgba(255, 255, 255, 0.5);
}

.social-side-btn.tiktok {
  background: linear-gradient(135deg, #2a2a2a 0%, #000000 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 4px 6px rgba(255, 255, 255, 0.2);
}

.social-side-btn.tiktok .icon {
  background: -webkit-linear-gradient(45deg, #00f2ea, #ff0050);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  /* Stronger shadow for visibility */
}

/* Pulse Animation */
@keyframes pulse-pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.social-side-btn.whatsapp {
  animation: pulse-pop 3s infinite ease-in-out;
}