@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;1,300&display=swap');

@font-face {
  font-family: 'ArtegraSansBlack';
  src: url('tipografia/black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;1,300&display=swap');

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --teal: #00353d;
  --cream: #f5f0e8;
  --text-muted: #5a5a5a;
}



/* ─── HERO ─── */
.header-nosotros {
  position: relative;
  width: 100%;
  min-height: 45vh;
  background: url('../recursos/DSC_0269.webp') center 30% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 53, 61, 0.559) 0%, rgba(13, 13, 13, 0.707) 100%);
}

.header-nosotros-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
}

.header-nosotros-content h1 {
  font-family: 'ArtegraSansBlack', sans-serif;
  font-weight: 900;
  font-size: 70px;
  letter-spacing: 0.09em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.1rem;
}

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  font-family: 'Crimson Pro', serif;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0.5rem;
}

.breadcrumb .current {
  color: var(--gold);
  font-weight: bold;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
}

/* ─── SECCIONES ─── */
.seccion-wrap {
  background: var(--cream);
  width: 100%;
}

.seccion-wrap-gris {
  background: #e8e3d8;
  width: 100%;
  background-image: url('../recursos/fondoazul.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.seccion {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;

}

.seccion h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.08em;
  color: var(--teal);
  text-align: center;
  margin-bottom: 0.5rem;

}

.seccion-divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

.seccion>p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ─── QUIÉNES SOMOS GRID ─── */
#quienes {
  background-image: url('../recursos/fondoazul.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.quienes-somos-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.quienes-somos-text {
  text-align: left;
  padding: 0 35px;

}

.quienes-somos-text h2 {
  text-align: left;
  color: #f1f3e6;

}

.seccion-divider-left {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 2rem;

}

.quienes-somos-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff96;
  margin-bottom: 1.5rem;
}

.quienes-somos-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 20px 20px 0 #014b57;

}

@media (max-width: 992px) {
  .quienes-somos-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .quienes-somos-text h2,
  .seccion-divider-left {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ─── CARDS MODERN ─── */
.cards-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card-modern {
  background: #fff;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 53, 61, 0.15);
}

.card-modern:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  transition: transform 0.4s ease;
}

.card-modern:hover .card-icon {
  transform: rotateY(360deg);
  background: var(--gold);
  color: #fff;
}

.card-icon img {
  filter: brightness(0) saturate(100%) invert(75%) sepia(21%) saturate(1136%) hue-rotate(9deg) brightness(89%) contrast(85%);
  transition: filter 0.4s ease;
}

.card-modern:hover .card-icon img {
  filter: brightness(0) invert(1);
}

.card-modern h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.card-modern p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.valores-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.valores-list li {
  background: rgba(0, 53, 61, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  color: var(--teal);
  font-size: 0.9rem;
}

/* ─── PILARES GRID ─── */
.pilares-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pilar-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

.pilar-img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.pilar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.pilar-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem;
  background: linear-gradient(to top, rgba(0, 53, 61, 0.9), transparent);
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.pilar-item:hover .pilar-img {
  transform: scale(1.1);
}

.pilar-item:hover .pilar-content {
  transform: translateY(0);
}

.pilar-content h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #f8e150;
}

.pilar-content p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ─── CARRUSEL ─── */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.slide img {
  width: 100%;
  height: clamp(300px, 50vw, 500px);
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 53, 61, 0.9) 0%, transparent 100%);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.slide-caption h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.slide-caption p {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  text-align: left;
  max-width: 560px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.carousel-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.carousel-btn:hover {
  background: var(--gold);
  color: #fff;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 53, 61, 0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}



/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .seccion {
    padding: 3rem 1rem;
  }

  .quienes-somos-image img {
    width: 79%;

  }

  .header-nosotros {
    background: url('../recursos/DSC_0269.jpg') center 1% / cover no-repeat;

  }

  .header-nosotros-content h1 {
    font-size: 35px;
  }
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}



    /* ───── SECCIÓN CTA ───── */
    .cta-nosotros {
      position: relative;
      overflow: hidden;
      padding: 100px 24px;
      background: #0a0a0f;
    }

    /* Fondo con mosaico de fotos */
    .cta-bg-grid {
      position: absolute;
      inset: 0;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(2, 1fr);
      opacity: 0;
      animation: bgFadeIn 1.2s ease 0.3s forwards;
    }

    @keyframes bgFadeIn {
      to { opacity: 1; }
    }

    .cta-bg-grid img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: grayscale(60%) brightness(0.35);
      transition: filter 0.4s;
    }

    /* Gradientes superpuestos */
    .cta-overlay {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(2, 43, 74, 0.55) 0%, rgba(10,10,15,0.92) 100%),
        linear-gradient(180deg, rgba(5, 55, 103, 0.7) 0%, transparent 30%, transparent 70%, rgba(10,10,15,0.9) 100%);
    }

 
    @keyframes lineGrow {
      to { height: 80px; }
    }

    /* Contenedor principal */
    .cta-nosotros-content {
      position: relative;
      z-index: 2;
      max-width: 820px;
      margin: 0 auto;
      text-align: center;
      opacity: 0;
      transform: translateY(32px);
      animation: contentUp 0.9s cubic-bezier(.22,1,.36,1) 0.7s forwards;
    }

    @keyframes contentUp {
      to { opacity: 1; transform: translateY(0); }
    }

    /* Etiqueta superior */
    .cta-tag {
      display: inline-block;
      font-family: 'Outfit', sans-serif;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #c9a84c;
      border: 1px solid rgba(201, 168, 76, 0.35);
      padding: 6px 18px;
      border-radius: 2px;
      margin-bottom: 28px;
    }

    /* Título */
    .cta-nosotros-content h2 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.4rem, 6vw, 4rem);
      font-weight: 900;
      color: #f5f0e8;
      line-height: 1.1;
      margin-bottom: 24px;
      letter-spacing: -0.5px;
    }

    .cta-nosotros-content h2 .highlight {
      color: #c9a84c;
      font-style: italic;
    }

    /* Descripción */
    .cta-nosotros-content p {
      font-size: clamp(1rem, 2.2vw, 1.15rem);
      font-weight: 300;
      color: rgba(245, 240, 232, 0.65);
      line-height: 1.8;
      max-width: 640px;
      margin: 0 auto 48px;
    }

    /* Tarjetas de stats */
    .cta-stats {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-bottom: 52px;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
      opacity: 0;
      transform: translateY(20px);
    }

    .stat-item:nth-child(1) { animation: contentUp 0.7s ease 1.1s forwards; }
    .stat-item:nth-child(2) { animation: contentUp 0.7s ease 1.25s forwards; }
    .stat-item:nth-child(3) { animation: contentUp 0.7s ease 1.4s forwards; }

    .stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 2.2rem;
      font-weight: 700;
      color: #c9a84c;
      display: block;
    }

    .stat-label {
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(245, 240, 232, 0.45);
      margin-top: 4px;
      display: block;
    }

    .stat-divider {
      width: 1px;
      height: 48px;
      background: rgba(201, 168, 76, 0.2);
      align-self: center;
    }

    /* Botones */
    .cta-nosotros-actions {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    

  
.btn-uiverse {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #f7c50f;
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #ffffff;
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-uiverse:hover {
  opacity: .95;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.btn-uiverse .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2), 0 0 0 20px rgba(255, 255, 255, 0.2), 0 0 0 40px rgba(255, 255, 255, 0.2), 0 0 0 60px rgba(255, 255, 255, 0.2);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.2), 0 0 0 40px rgba(255, 255, 255, 0.2), 0 0 0 60px rgba(255, 255, 255, 0.2), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}
  .btn-uiverse svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
    }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 15px 36px;
      background: transparent;
      color: #f5f0e8;
      font-family: 'Outfit', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.5px;
      border: 1px solid rgba(245, 240, 232, 0.3);
      border-radius: 3px;
      text-decoration: none;
      transition: transform 0.25s, border-color 0.25s, background 0.25s, color 0.25s;
    }

    .btn-outline:hover {
      transform: translateY(-3px);
      border-color: rgba(201, 168, 76, 0.6);
      background: rgba(201, 168, 76, 0.07);
      color: #c9a84c;
    }

    .btn-outline:active { transform: translateY(-1px); }
    .btn-outline svg { width: 16px; height: 16px; }

    /* Fotos flotantes decorativas */
    .floating-photos {
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 1;
    }

    .photo-float {
      position: absolute;
      border-radius: 4px;
      overflow: hidden;
      border: 1px solid rgba(201, 168, 76, 0.2);
      opacity: 0;
    }

    .photo-float img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: brightness(0.6) saturate(0.8);
    }

    .photo-float:nth-child(1) {
      width: 180px; height: 220px;
      left: 3%;
      top: 50%;
      transform: translateY(-50%) rotate(-4deg);
      animation: floatIn 0.9s ease 1s forwards, floatBob 6s ease-in-out 2s infinite;
    }

    .photo-float:nth-child(2) {
      width: 150px; height: 190px;
      right: 3%;
      top: 50%;
      transform: translateY(-50%) rotate(5deg);
      animation: floatIn 0.9s ease 1.1s forwards, floatBob2 7s ease-in-out 2.2s infinite;
    }

    .photo-float:nth-child(3) {
      width: 120px; height: 155px;
      left: 12%;
      bottom: 8%;
      transform: rotate(3deg);
      animation: floatIn 0.9s ease 1.3s forwards, floatBob 8s ease-in-out 2.5s infinite;
    }

    .photo-float:nth-child(4) {
      width: 130px; height: 160px;
      right: 10%;
      top: 8%;
      transform: rotate(-3deg);
      animation: floatIn 0.9s ease 1.2s forwards, floatBob2 9s ease-in-out 2.3s infinite;
    }

    @keyframes floatIn {
      from { opacity: 0; transform: translateY(-45%) scale(0.88) rotate(-4deg); }
      to   { opacity: 1; }
    }

    @keyframes floatBob {
      0%, 100% { transform: translateY(-50%) rotate(-4deg); }
      50%       { transform: translateY(calc(-50% - 12px)) rotate(-3deg); }
    }

    @keyframes floatBob2 {
      0%, 100% { transform: translateY(-50%) rotate(5deg); }
      50%       { transform: translateY(calc(-50% + 12px)) rotate(4deg); }
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1024px) {
      .photo-float:nth-child(1),
      .photo-float:nth-child(2) {
        width: 130px; height: 165px;
      }

      .photo-float:nth-child(3),
      .photo-float:nth-child(4) {
        display: none;
      }
    }

    @media (max-width: 768px) {
      .cta-nosotros { padding: 80px 20px; }

      .photo-float { display: none; }

      .cta-bg-grid { grid-template-columns: repeat(2, 1fr); }

      .stat-divider { display: none; }

      .cta-stats { gap: 28px 20px; }

      .cta-nosotros-actions { flex-direction: column; align-items: center; }

      .btn-gold, .btn-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
      }
    }

    @media (max-width: 480px) {
      .cta-nosotros { padding: 64px 16px; }
      .cta-bg-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
      .cta-tag { font-size: 10px; letter-spacing: 2px; }
    }

    /* Reveal animation class (para cuando se integra con scroll) */
    .reveal { animation-play-state: running; }
 