/* Nosotros Page Specific Styles */

/* Mobile horizontal scroll prevention only */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
}

/* Variables básicas */
:root {
  --nosotros-bg-light: #e8e8e8;
  --nosotros-text-dark: #333;
  --nosotros-green: #90d624;
  --nosotros-light-green: var(--nosotros-green);
  --nosotros-white: #fff;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body con fondo gris */
.page-body {
  background-color: #ffffff;
}

/* Social Icons - Dark for light background in nosotros page */
body .hero-header .nav-actions .social-icons .social-icon {
  background: rgba(0, 0, 0, 0.1);
}

body .hero-header .nav-actions .social-icons .social-icon:hover {
  background: #90d624;
  transform: translateY(-2px);
}

body .hero-header .nav-actions .social-icons .social-icon img {
  filter: brightness(0) invert(0);
}

body .hero-header .nav-actions .social-icons .social-icon:hover img {
  filter: brightness(0) invert(1);
}

/* Hero Header - Fondo transparente */
body .hero-header {
  background: transparent;
  min-height: auto;
}

/* Navigation styles now inherit from main styles.css */

/* Mobile menu now inherits from main styles.css */

/* Hamburger now inherits from main styles.css */

/* All hamburger styles now inherit from main styles.css */

/* Hero Section - Exact match to image */
.nosotros-hero-section {
  padding: 4rem 64px 6rem 64px;
  background: transparent;
  text-align: center;
}

.nosotros-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.nosotros-hero-content h1 {
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  color: var(--nosotros-text-dark);
  text-align: center;
}

.nosotros-hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  color: var(--nosotros-text-dark);
  text-align: center;
  max-width: 600px;
}

/* Hero Cards Container */
.nosotros-hero-cards-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Hero Cards - 4 cards with outer ones elevated - FULL WIDTH RESPONSIVE */
.nosotros-hero-cards {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nosotros-hero-card {
  flex: 1;
  width: 100%;
  height: 300px; /* Increased height significantly */
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Remove all effects and shadows */
  box-shadow: none;
  border: none;
  transition: none;
  max-width: 280px; /* Prevent cards from getting too wide */
}

.nosotros-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Outer cards elevated (positioned higher) */
.nosotros-card-elevated {
  transform: translateY(-40px); /* Increased elevation */
}

/* Center cards at normal position */
.nosotros-card-center {
  transform: translateY(0);
}

/* Remove any hover effects */
.nosotros-hero-card:hover {
  transform: none;
  box-shadow: none;
}

.nosotros-card-elevated:hover {
  transform: translateY(-40px);
}

.nosotros-card-center:hover {
  transform: translateY(0);
}

/* Slider dots - hidden by default */
.slider-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(51, 51, 51, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #333;
}

/* Animation Classes */
.nosotros-animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.nosotros-animate-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.nosotros-is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nosotros-animate-delay-1 {
  transition-delay: 0.1s;
}
.nosotros-animate-delay-2 {
  transition-delay: 0.2s;
}
.nosotros-animate-delay-3 {
  transition-delay: 0.3s;
}
.nosotros-animate-delay-4 {
  transition-delay: 0.4s;
}

/* Override consultation-section styles ONLY for the story section (first one) */
body .consultation-section:first-of-type {
  background-color: transparent;
  background-image: none;
}

body .consultation-section:first-of-type .consultation-content p {
  font-size: 40px !important; /* H2 size to match other sections - needs !important to override base styles */
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #333 !important;
}

/* Team Grid - Simple 4x2 layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* TEAM CARD BASE STYLES - ULTRA SPECIFIC */
.team-grid .team-member .team-card {
  width: 300px;
  height: 300px;
  background-color: #fff;
  border-radius: 12px;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  z-index: 1;
  transform: scale(1);
  box-shadow: none;
}

.team-grid .team-member .team-card .team-card-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.team-grid .team-member .team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.team-grid .team-member .team-card:hover img {
  transform: scale(1.05);
}

.team-grid .team-member .team-card .team-expand-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background-color: var(--nosotros-green);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

/* BUTTON ICON STATES - ULTRA SPECIFIC */
.team-grid .team-member .team-card .team-expand-btn .minus-icon {
  display: none;
}

.team-grid .team-member .team-card .team-expand-btn[data-expanded="true"] .plus-icon {
  display: none;
}

.team-grid .team-member .team-card .team-expand-btn[data-expanded="true"] .minus-icon {
  display: block;
}

/* SOCIAL BAR BASE STYLES - DENTRO DE LA TARJETA */
.team-grid .team-member .team-card .team-social-bar {
  position: absolute;
  bottom: 0px; /* Cambiar de -60px a 0px para que esté dentro */
  left: 0; /* Cambiar de 50% a 0 para que ocupe todo el ancho */
  right: 0; /* Agregar right: 0 */
  transform: none; /* Remover translateX(-50%) */
  background-color: var(--nosotros-green);
  padding: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 20;
  width: auto;
  min-width: auto;
}

/* EXPANDED STATE - MAXIMUM SPECIFICITY */
.team-grid .team-member .team-card.expanded {
  transform: scale(1.05);
  z-index: 100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-grid .team-member .team-card.expanded .team-social-bar {
  opacity: 1;
  visibility: visible;
}

/* SOCIAL LINKS - ULTRA SPECIFIC */
.team-grid .team-member .team-card .team-social-bar .social-link {
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: var(--nosotros-green);
  text-decoration: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-grid .team-member .team-card .team-social-bar .social-link:hover {
  background-color: #f5f5f5;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team-grid .team-member .team-card .team-social-bar .social-link svg {
  width: 20px;
  height: 20px;
}

.team-info {
  text-align: center;
}

.team-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: #fff;
}

.team-info p {
  font-size: 14px;
  font-weight: 300;
  margin: 0;
  color: #fff;
  opacity: 0.9;
}

/* Mission and Vision Section */
.mission-vision-section {
  background-color: #e8e8e8;
  padding: 8rem 64px 10rem 64px;
  text-align: center;
}

.mission-vision-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mission-card,
.vision-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  padding: 5rem 4rem;
  border-radius: 12px;
  border: none;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card::before,
.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #90D624 0%, #90D624 30%, transparent 100%);
  border-radius: 12px 12px 0 0;
}

.mission-card::after,
.vision-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #90D624 70%, #90D624 100%);
  border-radius: 12px 12px 0 0;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
}

.mission-card h2,
.vision-card h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  color: #333;
  line-height: 1.3;
}

.mission-card p,
.vision-card p {
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  color: #666;
  line-height: 1.5;
  text-align: center;
}

/* Gallery Section */
.gallery-section {
  background-color: #ffffff;
  padding: 8rem 64px 10rem 64px;
  text-align: center;
  color: #333;
}

.gallery-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-grid {
  margin-top: 2rem;
}

.gallery-content h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 0;
  color: #333;
  line-height: 1.3;
}

.gallery-content p {
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  color: #666;
  line-height: 1.5;
  text-align: center;
  max-width: 500px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
}

.gallery-item {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27, 58, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(27, 58, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}


/* Simple Footer Styles */
.simple-footer {
  background-color: #fff;
  color: #333;
  margin-top: 0;
  position: relative;
  border-top: 1px solid #e0e0e0;
}

.simple-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.simple-footer-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  text-align: left;
}

.simple-footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.simple-footer-logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.simple-footer-cta h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: #333;
  text-align: left;
}

.simple-footer-cta p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 2rem 0;
  color: #666;
  text-align: left;
}

.simple-footer-btn {
  background-color: #90d624;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 2rem;
  height: 55px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 300px;
  white-space: nowrap;
}

.simple-footer-btn:hover {
  opacity: 0.9;
}

.simple-footer-right {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}

.simple-footer-nav {
  text-align: left;
}

.simple-footer-nav h4 {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 1rem 0;
  color: #333;
  text-align: left;
}

.simple-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.simple-footer-nav-list li a {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  transition: color 0.2s;
  text-align: left;
}

.simple-footer-nav-list li a:hover {
  color: #333;
}

.simple-footer-bottom {
  background-color: #f5f5f5;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.simple-footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #999;
  font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1000px) {
  .nosotros-hero-section {
    padding: 3rem 32px 5rem 32px;
  }

  .nosotros-hero-content h1 {
    font-size: 42px;
  }

  .nosotros-hero-subtitle {
    font-size: 15px;
  }

  .nosotros-hero-cards {
    gap: 1.5rem;
  }

  .nosotros-hero-card {
    height: 250px;
    max-width: 220px;
  }

  .nosotros-card-elevated {
    transform: translateY(-30px);
  }

  .nosotros-card-elevated:hover {
    transform: translateY(-30px);
  }

  body .consultation-section:first-of-type .consultation-content p {
    font-size: 36px !important;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Mission and Vision responsive */
  .mission-vision-section {
    padding: 6rem 32px 4rem 32px;
  }

  .mission-vision-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-card,
  .vision-card {
    padding: 4rem 3rem;
  }

  .mission-card h2,
  .vision-card h2 {
    font-size: 28px;
  }

  /* Gallery responsive */
  .gallery-section {
    padding: 6rem 32px 8rem 32px;
  }

  .gallery-content h2 {
    font-size: 28px;
  }

  .gallery-content p {
    font-size: 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .gallery-item img {
    height: 200px;
  }


  /* Simple Footer responsive */
  .simple-footer-content {
    padding: 3rem 32px;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .simple-footer-right {
    justify-content: flex-start;
  }

  .simple-footer-cta h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .nosotros-hero-section {
    padding: 2rem 24px 4rem 24px;
  }

  .nosotros-hero-content h1 {
    font-size: 32px;
  }

  .nosotros-hero-subtitle {
    font-size: 14px;
  }

  .nosotros-hero-cards {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nosotros-hero-card {
    height: 200px;
    max-width: 180px;
    min-width: 160px;
  }

  .nosotros-card-elevated {
    transform: translateY(-20px);
  }

  .nosotros-card-elevated:hover {
    transform: translateY(-20px);
  }

  body .consultation-section:first-of-type .consultation-content p {
    font-size: 32px !important;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-grid .team-member .team-card {
    width: 150px;
    height: 150px;
  }

  .team-grid .team-member .team-card.expanded {
    transform: scale(1.02);
  }

  /* Mission and Vision responsive */
  .mission-vision-section {
    padding: 5rem 24px 3rem 24px;
  }

  .mission-vision-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-card,
  .vision-card {
    padding: 3.5rem 2.5rem;
  }

  .mission-card h2,
  .vision-card h2 {
    font-size: 24px;
  }

  .mission-card p,
  .vision-card p {
    font-size: 15px;
  }

  /* Gallery responsive */
  .gallery-section {
    padding: 5rem 24px 7rem 24px;
  }

  .gallery-content {
    gap: 0.75rem;
  }

  .gallery-grid {
    margin-top: 1.5rem;
  }

  .gallery-content h2 {
    font-size: 24px;
  }

  .gallery-content p {
    font-size: 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .gallery-item img {
    height: 180px;
  }


  /* Simple Footer responsive */
  .simple-footer-content {
    padding: 2.5rem 24px;
  }

  .simple-footer-left {
    gap: 1.5rem;
  }

  .simple-footer-cta h3 {
    font-size: 22px;
  }

  .simple-footer-btn {
    width: 100%;
    max-width: none;
  }
}

/* MOBILE SLIDER - 480px and below */
@media (max-width: 480px) {
  .nosotros-hero-section {
    padding: 1.5rem 20px 3rem 20px;
  }

  .nosotros-hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .nosotros-hero-subtitle {
    font-size: 13px;
  }

  /* Convert to slider on mobile */
  .nosotros-hero-cards-container {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .nosotros-hero-cards {
    display: flex;
    transition: transform 0.3s ease;
    gap: 0;
    width: 400%; /* 4 slides * 100% */
    align-items: center;
  }

  .nosotros-hero-card {
    width: 25%; /* Each card takes 25% of the slider width */
    height: 280px;
    flex-shrink: 0;
    margin: 0 auto;
    max-width: none;
    min-width: auto;
  }

  /* Remove elevation effects on mobile */
  .nosotros-card-elevated,
  .nosotros-card-center {
    transform: translateY(0);
  }

  .nosotros-card-elevated:hover,
  .nosotros-card-center:hover {
    transform: translateY(0);
  }

  /* Show slider dots on mobile */
  .slider-dots {
    display: flex;
  }

  body .consultation-section:first-of-type .consultation-content p {
    font-size: 28px !important;
    line-height: 1.4 !important;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .team-member .team-card {
    width: 200px;
    height: 200px;
  }

  /* Mission and Vision responsive */
  .mission-vision-section {
    padding: 4rem 20px 2.5rem 20px;
  }

  .mission-vision-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mission-card,
  .vision-card {
    padding: 3.5rem 2.5rem;
  }

  .mission-card h2,
  .vision-card h2 {
    font-size: 22px;
  }

  .mission-card p,
  .vision-card p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Gallery responsive */
  .gallery-section {
    padding: 4rem 20px 6rem 20px;
  }

  .gallery-content {
    gap: 0.5rem;
  }

  .gallery-grid {
    margin-top: 1rem;
  }

  .gallery-content h2 {
    font-size: 22px;
  }

  .gallery-content p {
    font-size: 14px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-item img {
    height: 160px;
  }


  /* Simple Footer responsive */
  .simple-footer-content {
    padding: 2rem 20px;
  }

  .simple-footer-cta h3 {
    font-size: 20px;
  }

  .simple-footer-cta p {
    font-size: 16px;
  }

  .simple-footer-logo-icon {
    width: 50px;
    height: 50px;
  }
}

