/* ========================================
   SALES FINDER - MAIN CSS
   Modern, responsive design for recruitment consultancy
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */
   html {
  scroll-behavior: smooth;
}

/* Prevenir scroll automático al cargar */
body {
  overflow-x: hidden;
}
:root {
  /* Primary Color Palette - NUEVA PALETA AZUL CORPORATIVA */
   --primary-blue: #3366cc;        /* Azul del logo (exacto) */
  --secondary-blue: #4478db;      /* Azul medio-oscuro */
  --accent-blue: #5588ee;         /* Azul medio */
  --light-blue: #6699ff;          /* Azul claro */
  --lightest-blue: #c1d4fb;       /* Azul muy claro */
  --dark-blue: #224488;           /* Azul muy oscuro */
  --white: #ffffff;

  
  /* Additional Colors */
  --text-dark: #2d2d2d;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --background-light: #f9fafb;
  --border-light: #e5e7eb;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Layout */
  --container-max-width: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Z-index levels */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-gray);
}

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

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

/* Highlight text */
.highlight {
  background: linear-gradient(50deg, var(--accent-blue), var(--light-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
/* Highblue text */

.highblue {
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.blue {
  background: linear-gradient(135deg, var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.brave_blue {
  background: linear-gradient(135deg, var(--primary-blue), var(--lightest-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.dark {
  background: linear-gradient(135deg, var(--text-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

/* Section spacing */
section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-24) 0;
  }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(74, 143, 217, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 143, 217, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .btn {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
  }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}
.header.hidden {
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
}

.navbar {
  padding: var(--space-4) 0;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-logo .logo {
  height: 100px;
  width: auto;
}

.nav-logo .logo-text {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-blue);
}

.nav-menu {
  display: none;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
   font-size: var(--font-size-xl);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-blue);
}

.nav-link.cta-button {
  background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
  color: var(--white) !important;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius);
  transition: transform var(--transition-fast);
}

.nav-link.cta-button:hover {
  transform: translateY(-2px);
}

/* Mobile menu toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  transition: all var(--transition-fast);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .nav-container {
    padding: 0 var(--space-6);
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, 
    rgba(74, 143, 217, 0.05) 0%, 
    rgba(108, 180, 240, 0.05) 100%),
    url('../images/backgrounds/hero-team-index.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-20) var(--space-4) var(--space-16);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero-content {
  text-align: center;
  padding-top: var(--space-14);
}

.hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-6);
    line-height: 1.2;
    color: white;
    font-weight: 700;
    text-align: center;
}

/* ============================================
   HERO TITLES - MOBILE/DESKTOP VERSIONS
   ============================================ */ 
.hero-title {

  font-size: var(--foot-size-2xl);
  margin-bottom: var(--pace-6);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  line-height: 1.6;
}

.hero-description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.hero-visual {
  display: none;
  /*justify-content: center;
  align-items: center;*/
}

/*
}

.hero-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}*/

.shape {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));
  top: 50%;
  right: 20%;
  animation-delay: 1s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

.shape-4 {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--light-blue), var(--lightest-blue));
  top: 10%;
  right: 10%;
  animation-delay: 3s;
}

/* Hero variations for different pages */
.hero-team {
  background: linear-gradient(135deg,
    rgba(91, 155, 213, 0.05) 0%, 
    rgba(139, 202, 249, 0.05) 100%),
     url('../images/backgrounds/hero-team-background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

  /* Ocultar versión móvil en desktop */
  .hero .hero-title-mobile{
    font-size: 2.5rem !important;  /* Era 2.25rem */
    line-height: 1.2 !important;
}

.hero-description-mobile {
  font-size: 1.25rem !important;  /* Era 1.125rem */
  line-height: 1.6 !important;
}
  .hero .hero-description-mobile {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  /* Mostrar versión desktop */
  .hero .hero-title-desktop,
  .hero .hero-description-desktop {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
  }
  
  .hero .hero-title-desktop {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
  
  .hero .hero-description-desktop {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    margin-top: 4rem;
  } 
  /* Ajuste específico para team.html */
  .hero-team .hero-description-desktop {
  margin-top:5rem;  /* Mueve la descripción hacia abajo SOLO en team.html */
  }  

  .hero-team .hero-title-desktop {
  margin-top: 3rem;  /* Mueve el titulo hacia abajo SOLO en team.html */
  }  

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-24) var(--space-6) var(--space-20);
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-title {
    font-size: var(--font-size-5xl);
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .hero-graphic {
    width: 400px;
    height: 400px;
  }
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.footer-logo .logo {
  height: 40px;
  width: auto;
}

.footer-logo .logo-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-4);
}

.footer-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--lightest-blue);
}

.footer-contact p {
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typeform container */
.typeform-widget {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow-medium);
}
.blue-text {
  color: #4A8FD9;
}
/* Profiles section background */
.profiles {
    background: var(--primary-blue);  /* Ahora será #3366cc, igual que el footer */
    color: white;
}

.profiles .section-title,
.profiles .section-description {
    color: white;
}
.profiles .profile-card {
    background: #ffffff;
    color: var(--text-dark);
}