/* ==========================================
   CLASES DETALLE - WAYA SURF SCHOOL
   Shared styles for all class detail pages
   ========================================== */

/* ---- HERO ---- */
.cls-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.cls-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.cls-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.08) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.cls-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3.5rem;
}

.cls-hero-tag {
  display: inline-block;
  border: 2px solid #FDD802;
  color: #FDD802;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.cls-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cls-hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.6;
  margin: 0;
}

/* ---- INTRO ---- */
.cls-intro-section {
  padding: 6rem 0;
}

.cls-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.cls-intro-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.1;
  margin: 0.5rem 0 0 0;
}

.cls-intro-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
  margin: 0 0 1.25rem 0;
}

.cls-intro-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* ---- FEATURES ---- */
.cls-features-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.cls-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cls-feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cls-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cls-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #FDD802;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

.cls-feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
}

.cls-feature-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* ---- DETAILS + PRICING ---- */
.cls-details-section {
  padding: 5rem 0;
}

.cls-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  max-width: 950px;
  margin: 0 auto;
}

.cls-details-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 2rem 0;
}

.cls-details-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.cls-spec {
  background: #f8f9fa;
  border-radius: 14px;
  padding: 1.25rem;
}

.cls-spec-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: 0.3rem;
}

.cls-spec-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
}

.cls-bring {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 1.5rem 2rem;
}

.cls-bring-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #FDD802;
  margin: 0 0 0.75rem 0;
}

.cls-bring-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cls-bring-list li {
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cls-bring-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: #FDD802;
}

/* Price Card */
.cls-price-card {
  background: #FDD802;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: sticky;
  top: 100px;
}

.cls-price-tag {
  display: inline-block;
  background: #1a1a1a;
  color: #FDD802;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.cls-price-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
}

.cls-price-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cls-price-from {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
}

.cls-price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
}

.cls-price-note {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.cls-price-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.cls-price-includes li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cls-price-includes li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: #1a1a1a;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23FDD802' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2.5-2.5a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.cls-price-btn {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  background: #1a1a1a;
  color: #FDD802;
  border: 2px solid #1a1a1a;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.cls-price-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #FDD802;
}

.cls-price-btn--secondary {
  background: transparent;
  color: #1a1a1a;
  border-color: rgba(0, 0, 0, 0.2);
  margin-bottom: 0;
}

.cls-price-btn--secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.3);
  color: #1a1a1a;
  box-shadow: none;
}

/* ---- PRICING GRID (Multi-pack pages) ---- */
.cls-pricing-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.cls-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto 0;
  align-items: start;
}

.cls-pack-card {
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cls-pack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.cls-pack-card--featured {
  border-color: #FDD802;
  background: #FDD802;
  box-shadow: 0 8px 24px rgba(253, 216, 2, 0.2);
}

.cls-pack-card--featured:hover {
  box-shadow: 0 16px 36px rgba(253, 216, 2, 0.3);
}

.cls-pack-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #FDD802;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.3rem 1rem;
  border-radius: 0 0 10px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cls-pack-header {
  margin-bottom: 1rem;
}

.cls-pack-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
}

.cls-pack-card--featured .cls-pack-label {
  color: rgba(0, 0, 0, 0.5);
}

.cls-pack-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.cls-pack-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
}

.cls-pack-per {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
}

.cls-pack-card--featured .cls-pack-per {
  color: rgba(0, 0, 0, 0.5);
}

.cls-pack-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
}

.cls-pack-card--featured .cls-pack-desc {
  color: rgba(0, 0, 0, 0.6);
}

.cls-pack-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.cls-pack-features li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.85rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cls-pack-card--featured .cls-pack-features li {
  border-bottom-color: rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.7);
}

.cls-pack-features li::before {
  content: '';
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  background: #1a1a1a;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23FDD802' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2.5-2.5a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}

.cls-pack-btn {
  display: block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  background: #FDD802;
  color: #1a1a1a;
  border: 2px solid #FDD802;
  transition: all 0.3s ease;
}

.cls-pack-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 216, 2, 0.3);
  color: #1a1a1a;
}

.cls-pack-btn--dark {
  background: #1a1a1a;
  color: #FDD802;
  border-color: #1a1a1a;
}

.cls-pack-btn--dark:hover {
  background: #333;
  color: #FDD802;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* ---- BRING SECTION (Full width box) ---- */
.cls-bring-section {
  padding: 5rem 0;
}

.cls-bring-box {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 3.5rem 4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}

.cls-bring-box-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #FDD802;
  margin: 0 0 1.25rem 0;
}

.cls-bring-box-cta {
  text-align: center;
}

.cls-bring-box-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
}

.cls-bring-box-btn {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  background: #FDD802;
  color: #1a1a1a;
  border: 2px solid #FDD802;
  transition: all 0.3s ease;
}

.cls-bring-box-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 216, 2, 0.3);
  color: #1a1a1a;
}

/* ---- IDEAL PARA (Privadas) ---- */
.cls-ideal-section {
  padding: 5rem 0;
}

.cls-ideal-box {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 3.5rem 4rem;
}

.cls-ideal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #FDD802;
  margin: 0 0 2.5rem 0;
  text-align: center;
}

.cls-ideal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.cls-ideal-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.cls-ideal-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #FDD802;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.cls-ideal-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1024px) {
  .cls-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cls-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cls-details-grid {
    grid-template-columns: 1fr;
  }

  .cls-price-card {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .cls-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .cls-bring-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }

  .cls-bring-list li {
    justify-content: center;
  }

  .cls-ideal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cls-ideal-box {
    padding: 3rem 2.5rem;
  }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
  .cls-hero {
    height: 40vh;
    min-height: 280px;
  }

  .cls-hero-title {
    font-size: 2.2rem;
  }

  .cls-hero-desc {
    font-size: 1rem;
  }

  .cls-hero-content {
    padding-bottom: 2.5rem;
  }

  .cls-intro-section {
    padding: 4rem 0;
  }

  .cls-intro-title {
    font-size: 2rem;
  }

  .cls-features-section {
    padding: 3rem 0;
  }

  .cls-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .cls-feature {
    padding: 1.5rem 1rem;
  }

  .cls-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .cls-feature-title {
    font-size: 1rem;
  }

  .cls-feature-desc {
    font-size: 0.85rem;
  }

  .cls-details-section {
    padding: 3rem 0;
  }

  .cls-details-title {
    font-size: 1.6rem;
  }

  .cls-details-specs {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .cls-spec {
    padding: 1rem;
  }

  .cls-price-card {
    padding: 2rem 1.5rem;
  }

  .cls-price-value {
    font-size: 2.8rem;
  }

  .cls-pricing-section {
    padding: 3rem 0;
  }

  .cls-pack-card {
    padding: 2rem 1.5rem;
  }

  .cls-pack-value {
    font-size: 2.2rem;
  }

  .cls-bring-section {
    padding: 3rem 0;
  }

  .cls-bring-box {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .cls-bring-box-title {
    font-size: 1.4rem;
  }

  .cls-ideal-section {
    padding: 3rem 0;
  }

  .cls-ideal-box {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .cls-ideal-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .cls-ideal-grid {
    gap: 1rem;
  }

  .cls-ideal-num {
    font-size: 1.8rem;
  }

  .cls-ideal-item p {
    font-size: 0.85rem;
  }
}

@media (max-width: 375px) {
  .cls-hero-title {
    font-size: 1.9rem;
  }

  .cls-features-grid {
    grid-template-columns: 1fr;
  }

  .cls-intro-title {
    font-size: 1.7rem;
  }

  .cls-ideal-grid {
    grid-template-columns: 1fr;
  }
}
