/* Tips section honeycomb grid - YouTube approach */
.section.tips { 
  padding: 60px 12px; 
}

.section.tips .section-title { 
  text-align: center; 
  margin-bottom: 3rem; 
  font-size: clamp(24px, 3vw, 32px); 
}

.hex-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hex-row {
  display: flex;
  justify-content: center;
}

.hex-row.offset {
  transform: translateY(-40px);
}

.hex-card {
  position: relative;
  width: 160px;
  height: 185px;
  margin: 0 1px;
  cursor: pointer;
  transition: transform 0.3s ease;
  perspective: 1000px;
}

.hex-card:hover {
  transform: scale(1.05) translateY(-5px);
}

.hex-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.hex-card.flipped .hex-card-inner {
  transform: rotateY(180deg);
}

.hex-card-front, .hex-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  backface-visibility: hidden;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  clip-path: polygon(0 25%, 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%);
}

.hex-card-front {
  background: white;
  color: #FB004B;
}

.hex-card-back {
  transform: rotateY(180deg);
  background: #FB004B;
  color: white;
}

.hex-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}



.hex-title {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0;
}

.hex-description {
  font-size: clamp(0.65rem, 1.2vw, 0.8rem);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
}

.tips-cta { 
  margin-top: 4rem; 
  text-align: center; 
}

/* Responsive breakpoints */
@media (max-width: 768px) {
  .hex-container {
    max-width: 600px;
  }
  
  .hex-card {
    width: 130px;
    height: 150px;
    margin: 0 1px;
  }
  
  .hex-row.offset {
    transform: translateY(-37px);
  }
  
  .hex-card-front::before {
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
  }
}

@media (max-width: 640px) {
  .hex-container {
    max-width: 500px;
  }
  
  .hex-card {
    width: 110px;
    height: 125px;
    margin: 0 1px;
  }
  
  .hex-row.offset {
    transform: translateY(-32px);
  }
  
  .hex-title {
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
  }
  
  .hex-description {
    font-size: clamp(0.55rem, 1vw, 0.7rem);
  }
}

@media (max-width: 520px) {
  .section.tips {
    padding: 40px 8px;
  }
  
  .hex-container {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .hex-row {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .hex-row.offset {
    transform: none;
  }
  
  .hex-card {
    width: 90px;
    height: 105px;
    margin: 0;
  }
  
  .hex-card-front::before {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
  }
  
  .hex-title {
    font-size: clamp(0.55rem, 1vw, 0.65rem);
  }
  
  .hex-description {
    font-size: clamp(0.5rem, 0.9vw, 0.6rem);
  }
}

@media (max-width: 400px) {
  .hex-card {
    width: 80px;
    height: 95px;
  }
  
  .section.tips .section-title { 
    font-size: clamp(20px, 5vw, 24px); 
  }
}

/* Accessibility helper */
.sr-only {
  position: absolute !important;
  height: 1px; 
  width: 1px;
  overflow: hidden; 
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}