/* ============================================
   SMART STAY — Nosotros (Rewrite v2)
   Prefix: sn-
   Colors: --blue #3FA3DD | --navy #0A1A3B
           --text #474747  | --bg-light #F6F6F6
   Fonts:  Inter 700 (headings) | Poppins 600 (subtitles)
           Manrope 400 (body)   | Lato 300 (captions)
   ============================================ */

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.sn-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sn-animate.sn-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   NAVBAR ACTIVE LINK
   ============================================ */
.ss-nav-link.active {
  color: var(--blue);
}

/* ============================================
   1. IMMERSIVE HEADER (50vh)
   ============================================ */
.sn-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.sn-hero-bg {
  position: absolute;
  inset: 0;
}

.sn-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.sn-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,59,0.9) 0%, rgba(10,26,59,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

/* Breadcrumb */
.sn-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 120px 88px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.sn-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.3s;
}

.sn-breadcrumb a:hover {
  color: #3FA3DD;
}

.sn-breadcrumb span:last-child {
  color: rgba(255,255,255,0.8);
}

/* Bottom content: accent + título + subtítulo */
.sn-hero-bottom {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 88px 60px;
}


.sn-hero-bottom h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.1;
}

.sn-hero-bottom p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ============================================
   2. PROPUESTA DE VALOR
   ============================================ */
.sn-propuesta {
  padding: 120px 88px;
  background: #fff;
  overflow: hidden;
}

.sn-propuesta-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* Label reutilizable */
.sn-label {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 18px;
}

.sn-label--white {
  color: rgba(255, 255, 255, 0.50);
}

/* Texto principal */
.sn-propuesta-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin-bottom: 28px;
}

.sn-propuesta-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 48px;
}

/* Stats */
.sn-propuesta-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.sn-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.sn-stat-number {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -1px;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
  transition: opacity 0.6s, transform 0.6s;
}

.sn-stat-label {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
}

.sn-stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(63,163,221,0.3), transparent);
  flex-shrink: 0;
}

/* Imagen con card */
.sn-propuesta-img {
  position: relative;
}

.sn-propuesta-img-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

.sn-propuesta-img-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.sn-propuesta-img:hover .sn-propuesta-img-card img {
  transform: scale(1.03);
}

/* Accent decorativo */
.sn-propuesta-img-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--blue), rgba(63,163,221,0.4));
  border-radius: 20px;
  z-index: 1;
}

.sn-propuesta-img-dots {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 100px;
  height: 100px;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(63,163,221,0.25) 2px, transparent 2px);
  background-size: 14px 14px;
}

/* ============================================
   3. FILOSOFÍA (fondo navy, glassmorphism)
   ============================================ */
.sn-filosofia {
  background: var(--navy);
  padding: 120px 88px;
  position: relative;
  overflow: hidden;
}

/* Decorative shapes */
.sn-filosofia-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.sn-filosofia-shape--1 {
  top: -160px;
  right: -80px;
  width: 500px;
  height: 500px;
  border: 80px solid rgba(63,163,221,0.04);
}

.sn-filosofia-shape--2 {
  bottom: -100px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(63,163,221,0.06) 0%, transparent 70%);
}

.sn-filosofia-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sn-filosofia-header {
  text-align: center;
  margin-bottom: 72px;
}

.sn-filosofia-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0;
}

/* Glassmorphism cards */
.sn-filosofia-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sn-filosofia-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 48px 36px;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}

.sn-filosofia-card:hover {
  background: rgba(63, 163, 221, 0.10);
  border-color: rgba(63, 163, 221, 0.30);
  transform: translateY(-8px);
}

.sn-filosofia-card-icon {
  width: 72px;
  height: 72px;
  background: rgba(63, 163, 221, 0.12);
  border: 1px solid rgba(63, 163, 221, 0.20);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background 0.3s, border-color 0.3s;
}

.sn-filosofia-card:hover .sn-filosofia-card-icon {
  background: var(--blue);
  border-color: var(--blue);
}

.sn-filosofia-card-icon i {
  font-size: 32px;
  color: var(--blue);
  transition: color 0.3s;
}

.sn-filosofia-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: filter 0.3s;
}

.sn-filosofia-card:hover .sn-filosofia-card-icon i {
  color: #fff;
}

.sn-filosofia-card:hover .sn-filosofia-card-icon img {
  filter: brightness(0) invert(1);
}

.sn-filosofia-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.sn-filosofia-card p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.70);
  margin: 0;
}

/* ============================================
   4. TIMELINE (fondo #F6F6F6)
   ============================================ */
.sn-timeline {
  background: var(--bg-light);
  padding: 120px 88px;
  overflow: hidden;
}

.sn-timeline-inner {
  max-width: 900px;
  margin: 0 auto;
}

.sn-timeline-header {
  text-align: center;
  margin-bottom: 80px;
}

.sn-timeline-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin: 0;
}

/* Track */
.sn-timeline-track {
  position: relative;
  padding: 0;
}

/* Línea vertical */
.sn-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(63,163,221,0.15));
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Item */
.sn-timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 64px;
  width: 50%;
}

.sn-timeline-item:last-child {
  margin-bottom: 0;
}

/* Left items */
.sn-timeline-item--left {
  margin-left: 0;
  padding-right: 60px;
  justify-content: flex-end;
  text-align: right;
}

/* Right items */
.sn-timeline-item--right {
  margin-left: 50%;
  padding-left: 60px;
  text-align: left;
}

/* Dot */
.sn-timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--blue);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(63,163,221,0.18);
  transition: box-shadow 0.4s;
}

.sn-timeline-item:hover .sn-timeline-dot {
  box-shadow: 0 0 0 12px rgba(63,163,221,0.15);
}

.sn-timeline-dot span {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}

.sn-timeline-item--left .sn-timeline-dot {
  right: -10px;
}

.sn-timeline-item--right .sn-timeline-dot {
  left: -10px;
}

/* Card */
.sn-timeline-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: transform 0.4s, box-shadow 0.4s;
  max-width: 360px;
}

.sn-timeline-item:hover .sn-timeline-card {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.sn-timeline-year {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.sn-timeline-card h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.sn-timeline-card p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* ============================================
   5. CTA FINAL
   ============================================ */
.sn-cta {
  position: relative;
  padding: 140px 52px;
  overflow: hidden;
  text-align: center;
}

.sn-cta-bg {
  position: absolute;
  inset: 0;
}

.sn-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sn-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 26, 59, 0.90) 0%,
    rgba(10, 26, 59, 0.70) 100%
  );
}

.sn-cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.sn-cta-content h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: #fff;
  margin-bottom: 20px;
}

.sn-cta-content p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 44px;
}


/* ============================================
   RESPONSIVE — 1200px
   ============================================ */
@media (max-width: 1200px) {
  .sn-propuesta {
    padding: 88px 52px;
  }
  .sn-propuesta-title {
    font-size: 40px;
  }
  .sn-propuesta-img-card img {
    height: 440px;
  }

  .sn-filosofia {
    padding: 88px 52px;
  }
  .sn-filosofia-title {
    font-size: 44px;
  }

  .sn-timeline {
    padding: 88px 52px;
  }
  .sn-timeline-title {
    font-size: 44px;
  }

  .sn-hero-bottom h1 {
    font-size: 48px;
  }

  .sn-stat-number {
    font-size: 34px;
  }
}

/* ============================================
   RESPONSIVE — 991px
   ============================================ */
@media (max-width: 991px) {
  .sn-hero {
    min-height: 400px;
  }
  .sn-breadcrumb {
    padding: 100px 40px 0;
    flex-wrap: wrap;
  }
  .sn-hero-bottom {
  text-align: center;
    padding: 0 40px 48px;
  }
  .sn-hero-bottom h1 {
    font-size: 42px;
  }

  .sn-propuesta {
    padding: 72px 36px;
  }
  .sn-propuesta-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sn-propuesta-title {
    font-size: 36px;
  }
  .sn-propuesta-img-card img {
    height: 380px;
  }
  .sn-propuesta-img-accent {
    display: none;
  }
  .sn-propuesta-img-dots {
    display: none;
  }

  .sn-filosofia {
    padding: 72px 36px;
  }
  .sn-filosofia-title {
    font-size: 36px;
  }
  .sn-filosofia-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sn-timeline {
    padding: 72px 36px;
  }
  .sn-timeline-title {
    font-size: 36px;
  }

  /* Timeline stacks */
  .sn-timeline-line {
    left: 20px;
  }
  .sn-timeline-item {
    width: 100%;
    padding-left: 60px !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .sn-timeline-item--left .sn-timeline-dot,
  .sn-timeline-item--right .sn-timeline-dot {
    left: 10px;
    right: auto;
  }
  .sn-timeline-card {
    max-width: 100%;
  }

  .sn-cta-content h2 {
    font-size: 38px;
  }
  .sn-cta {
    padding: 100px 36px;
  }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  .sn-hero {
    min-height: 380px;
  }
  .sn-breadcrumb {
    padding: 100px 24px 0;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .sn-hero-bottom h1 { font-size: 36px; }
  .sn-propuesta-title { font-size: 32px; }
  .sn-propuesta-desc { font-size: 16px; }
  .sn-propuesta-img-card img { height: 320px; }
  .sn-propuesta-stats { flex-wrap: wrap; gap: 20px; justify-content: center; }
  .sn-stat-number { font-size: 30px; }
  .sn-filosofia-title { font-size: 32px; }
  .sn-filosofia-card { padding: 36px 28px; }
  .sn-filosofia-card h3 { font-size: 21px; }
  .sn-filosofia-card p { font-size: 15px; }
  .sn-timeline-title { font-size: 32px; }
  .sn-timeline-item { margin-bottom: 48px; }
  .sn-cta-content h2 { font-size: 32px; }
}

/* ============================================
   RESPONSIVE — 576px
   ============================================ */
@media (max-width: 576px) {
  .sn-hero {
    min-height: 360px;
  }
  .sn-breadcrumb {
    padding: 90px 16px 0;
    font-size: 11px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .sn-hero-bottom {
  text-align: center;
    padding: 0 20px 36px;
  }
  .sn-hero-bottom h1 {
    font-size: 32px;
  }
  .sn-hero-bottom p {
    font-size: 15px;
  }

  .sn-propuesta {
    padding: 56px 24px;
  }
  .sn-propuesta-title {
    font-size: 28px;
  }
  .sn-propuesta-desc {
    font-size: 16px;
  }
  .sn-propuesta-img-card img {
    height: 280px;
  }
  .sn-propuesta-stats {
    flex-direction: column;
    gap: 24px;
  }
  .sn-stat-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(63,163,221,0.3), transparent);
  }
  .sn-stat-number {
    font-size: 32px;
  }

  .sn-filosofia {
    padding: 56px 24px;
  }
  .sn-filosofia-title {
    font-size: 28px;
  }
  .sn-filosofia-card {
    padding: 36px 28px;
  }

  .sn-timeline {
    padding: 56px 24px;
  }
  .sn-timeline-title {
    font-size: 28px;
  }
  .sn-timeline-header {
    margin-bottom: 56px;
  }
  .sn-timeline-item {
    padding-left: 48px !important;
    margin-bottom: 40px;
  }
  .sn-timeline-card {
    padding: 24px 24px;
  }
  .sn-timeline-card h4 {
    font-size: 19px;
  }

  .sn-cta {
    padding: 80px 24px;
  }
  .sn-cta-content h2 {
    font-size: 28px;
  }
  .sn-cta-content p {
    font-size: 16px;
  }
  .sn-cta-content .ss-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 18px 32px;
  }
  .sn-propuesta-title { letter-spacing: -0.5px; }
  .sn-filosofia-card-icon { width: 60px; height: 60px; }
  .sn-filosofia-card-icon i { font-size: 26px; }
  .sn-filosofia-card-icon img { width: 26px; height: 26px; }
  .sn-timeline-card h4 { font-size: 18px; }
  .sn-timeline-card p { font-size: 14px; }
}
