/* Hero Section */
.work-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.work-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46.27%, rgba(0, 0, 0, 0.75) 100%);
  z-index: 1;
}

.work-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.work-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--white);
  max-width: 1200px;
  padding: 0 0 80px 80px;
}

.work-hero-content h1 {
  font-size: 54px;
  font-weight: var(--font-weight-black);
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.work-hero-content p {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 600px;
}

@media (max-width: 1200px) {
  .work-hero-content h1 {
    font-size: 40px;
  }
  .work-hero-content p {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .work-hero {
    height: 70vh;
    min-height: 400px;
  }
  .work-hero-content {
    padding: 0 0 40px 24px;
  }
  .work-hero-content h1 {
    font-size: 32px;
  }
  .work-hero-content p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .work-hero {
    height: 50vh;
    min-height: 220px;
  }
  .work-hero-content {
    padding: 0 0 24px 12px;
  }
  .work-hero-content h1 {
    font-size: 22px;
  }
}

/* Banner Section */
.work-banner {
  background: var(--primary-blue);
  padding: var(--spacing-lg);
  width: 100%;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-banner-content {
  max-width: 950px;
  color: var(--white);
  margin: 0 auto;
  text-align: center;
}

.work-banner-content p {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

/* Products Section */
.start-pilot-btn {
  display: block;
  margin: 0 auto clamp(40px, 3vw, 60px) auto;
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  width: clamp(220px, 22vw, 321px);
  height: clamp(48px, 3.7vw, 64px);
  line-height: clamp(48px, 3.7vw, 64px);
  transition: background 0.2s;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px 0 #0001;
}

.start-pilot-btn:hover {
  background: var(--primary-blue-hover);
}

.work-products-desc {
  font-size: 24px;
  color: var(--text-gray);
  text-align: center;
  max-width: 950px;
  margin: 0 auto 32px auto;
  font-weight: 400;
}

.products .product h3 {
  color: var(--primary-blue);
  font-size: clamp(20px, 1.85vw, 32px);
  font-weight: 700;
  margin-bottom: clamp(16px, 1.16vw, 20px);
  line-height: 1.2;
  text-transform: uppercase;
}

/* Reducir altura de las cards de productos */
.products-section .product {
  height: clamp(320px, 20vw, 400px);
  padding-top: clamp(32px, 2.5vw, 48px);
}

.products-section .product img {
  margin-top: calc(-1.5 * clamp(70px, 6vw, 120px));
  object-fit: cover;
  object-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poor-sleep-section {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.poor-sleep-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.poor-sleep-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  height: 520px;
  position: relative;
}

.poor-sleep-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  grid-column: span 1;
}

.poor-sleep-text {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  font-size: clamp(22px, 2.7vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  padding: 24px 40px 24px 40px;
  letter-spacing: 1px;
  z-index: 2;
  max-width: 900px;
  line-height: 1.1;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .poor-sleep-images {
    height: 340px;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .poor-sleep-text {
    font-size: clamp(16px, 3vw, 26px);
    padding: 14px 18px 14px 18px;
  }
}

@media (max-width: 600px) {
  .work-banner {
    height: 240px;
    padding: 32px 8px;
  }
  .products-section .product {
    min-height: 260px;
    height: auto;
    padding-top: 24px;
  }
  .poor-sleep-images {
    display: block;
    height: auto;
  }
  .poor-sleep-images img {
    width: 100%;
    height: 180px;
  }
  .poor-sleep-images img:first-child,
  .poor-sleep-images img:last-child {
    display: none;
  }
  .poor-sleep-text {
    position: static;
    font-size: 14px;
    padding: 10px 8px;
    max-width: 100%;
    border-radius: 0;
  }
}

.poor-sleep-mobile {
  display: none;
}

@media (max-width: 600px) {
  .poor-sleep-desktop {
    display: none !important;
  }
  .poor-sleep-mobile {
    display: block;
    width: 100%;
    position: relative;
    text-align: left;
  }
  .poor-sleep-mobile img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .poor-sleep-mobile .poor-sleep-text {
    position: absolute;
    left: 0;
    bottom: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 8px;
    max-width: 100%;
    border-radius: 0;
    background: none;
    letter-spacing: 1px;
    line-height: 1.1;
    display: block;
  }
}

.sleep-quality-section {
  width: 100%;
  background: #fff;
  padding: 64px 0 48px 0;
}

.sleep-quality-container {
  max-width: clamp(1200px, 78vw, 1400px);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.sleep-quality-title {
  color: #1a2747;
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 0.2em;
  line-height: 1.1;
}

.sleep-quality-subtitle {
  color: var(--primary-blue);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.1;
}

.sleep-quality-desc {
  color: var(--text-gray);
  font-size: 24px;
  margin-bottom: 100px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.sleep-quality-features {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-top: 24px;
}

.sleep-feature {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(32px, 6vw, 96px);
  text-align: left;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

.sleep-feature img {
  width: 80px;
  /* height: 64px; */
  flex-shrink: 0;
  margin-top: 4px;
}

.sleep-feature h4 {
  color: #1a2747;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.sleep-feature p {
  color: var(--text-gray);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .sleep-quality-title {
    font-size: 40px;
  }
  .sleep-quality-subtitle {
    font-size: 28px;
  }
  .sleep-quality-features {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .sleep-feature {
    max-width: 100%;
    margin-bottom: 24px;
  }
  .sleep-feature img {
    width: 48px;
    height: 48px;
  }
  .sleep-feature h4, .sleep-feature p {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .sleep-quality-section {
    padding: 40px 0 24px 0;
  }
  .sleep-quality-title {
    font-size: 28px;
  }
  .sleep-quality-subtitle {
    font-size: 18px;
  }
  .sleep-quality-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .sleep-feature h4, .sleep-feature p {
    font-size: 16px;
  }
  .sleep-feature img {
    width: 36px;
    height: 36px;
  }
  .sleep-feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

.sleep-fitter-workforce-section {
  width: 100%;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 0 16px;
}

.sleep-fitter-workforce-content {
  max-width: clamp(320px, 75vw, 1300px);
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sleep-fitter-workforce-content h2 {
  font-size: clamp(32px, 3.7vw, 64px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: 1px;
}

.sleep-fitter-workforce-content p {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 12px 0;
}

.sleep-fitter-workforce-content .workforce-desc {
  font-size: clamp(18px, 1.5vw, 28px);
  margin-top: 18px;
  color: var(--white);
  font-weight: 400;
}

@media (max-width: 700px) {
  .sleep-fitter-workforce-section {
    min-height: 200px;
    padding: 32px 8px;
  }
  .sleep-fitter-workforce-content h2 {
    font-size: clamp(20px, 6vw, 32px);
  }
  .sleep-fitter-workforce-content p {
    font-size: clamp(14px, 3vw, 20px);
  }
  .sleep-fitter-workforce-content .workforce-desc {
    font-size: clamp(13px, 2vw, 16px);
  }
}

.powerful-tools-section {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(24px, 3vw, 40px) 0 0 0;
  margin-bottom: clamp(48px, 6vw, 120px);
}

.powerful-tools-content {
  max-width: clamp(320px, 69.5vw, 1200px);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.powerful-tools-title {
  color: #1a2747;
  font-size: clamp(40px, 3.3vw, 60px);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(40px, 3vw, 60px);
  margin-top: 0;
}

.powerful-tools-cards {
  display: flex;
  flex-direction: row;
  gap: clamp(32px, 4vw, 64px);
  width: 100%;
  justify-content: center;
  align-items: stretch;
  margin-top: clamp(32px, 3vw, 60px);
  max-width: 1100px;
}

.powerful-card {
  border-radius: 24px;
  box-shadow: 0px 4px 32px 0px #00000018;
  padding: clamp(32px, 3vw, 48px) clamp(24px, 2vw, 40px);
  min-width: 260px;
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  flex: 1 1 0;
}

.powerful-card-pilot {
  background: var(--blue-light);
  color: var(--primary-blue);
}

.powerful-card-sbfit {
  background: var(--primary-blue);
  color: var(--white);  
}

.powerful-card-enterprise {
  background: var(--blue-light);
  color: var(--primary-blue);
}

.powerful-card h4 {
  font-size: clamp(16px, 1.39vw, 24px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
  color: inherit;
}

.card-price {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
  color: inherit;
}

.powerful-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: inherit;
}

.powerful-card ul li {
  font-size: clamp(13px, 0.9vw, 16px);
  margin-bottom: 8px;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.powerful-card ul li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url('../images/icons/check-blue-light.svg') no-repeat center center/contain;
  margin-right: 8px;
}

.powerful-card-sbfit ul li::before {
  background: url('../images/icons/check-white.svg') no-repeat center center/contain;
}

.powerful-tools-note {
  width: 100%;
  text-align: center;
  color: var(--text-gray);
  font-size: clamp(14px, 1vw, 18px);
  margin-top: 32px;
}

@media (max-width: 1100px) {
  .powerful-tools-cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 100%;
  }
  .powerful-card {
    min-width: 180px;
    max-width: 100%;
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .powerful-tools-section {
    padding: 32px 0 0 0;
  }
  .powerful-tools-content {
    max-width: 98vw;
  }
  .powerful-tools-cards {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .powerful-tools-title {
    font-size: clamp(18px, 7vw, 26px);
  }
  .powerful-card {
    min-width: 0;
    flex: unset;
    max-width: 95vw;
  }
  .powerful-tools-note {
    font-size: 13px;
    margin-top: 18px;
  }
}

