/* ===== GLOBAL SAFE RESET ===== */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== FREELY HERO SECTION ===== */
.freely-hero-wrap {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, #f5f7f9, #edf2f5);
  padding: 80px 16px;
  overflow: hidden;
}

.freely-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.freely-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}

.freely-hero-content {
  flex: 1 1 520px;
  max-width: 560px;
  min-width: 0;
}

.freely-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #1f2c3a;
  margin: 0 0 18px;
  word-break: break-word;
}

.freely-highlight {
  background: linear-gradient(135deg, #bf5e2e, #a53f1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.freely-tagline {
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9aa6af;
  margin-bottom: 22px;
  line-height: 1.5;
}

.freely-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #344654;
  margin-bottom: 28px;
  max-width: 100%;
}

.freely-hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  max-width: 100%;
}

.freely-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.freely-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #bf5e2e;
  line-height: 1;
}

.freely-stat-label {
  font-size: 0.9rem;
  color: #6f7d88;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.freely-stat-label i {
  color: #f4b400;
}

.freely-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 100%;
}

.freely-btn-primary,
.freely-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: 100%;
}

.freely-btn-primary {
  background: linear-gradient(135deg, #bf5e2e, #a53f1a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(191, 94, 46, 0.22);
}

.freely-btn-primary:hover {
  transform: translateY(-2px);
}

.freely-btn-secondary {
  background: #fff;
  color: #1f2c3a;
  border: 1px solid #d9e0e5;
}

.freely-btn-secondary:hover {
  background: #f8fafb;
  transform: translateY(-2px);
}

.freely-btn-primary i,
.freely-btn-secondary i {
  font-size: 1rem;
  line-height: 1;
}

.freely-hero-image {
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.freely-image-card {
  width: 100%;
  max-width: 460px;
  min-height: 320px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(191, 94, 46, 0.08), rgba(165, 63, 26, 0.03));
  border: 1px solid rgba(191, 94, 46, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 35px 24px;
  text-align: center;
}

.freely-image-icon {
  font-size: 4rem;
  color: #bf5e2e;
  margin-bottom: 18px;
}

.freely-image-card h3 {
  font-size: 1.6rem;
  color: #1f2c3a;
  margin: 0 0 10px;
}

.freely-image-card p {
  font-size: 1rem;
  color: #5f6f7c;
  max-width: 320px;
  line-height: 1.6;
  margin: 0;
}

/* ===== LARGE TABLET ===== */
@media (max-width: 992px) {
  .freely-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .freely-hero-content,
  .freely-hero-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .freely-hero-stats,
  .freely-cta-buttons {
    justify-content: center;
  }

  .freely-image-card {
    max-width: 100%;
    min-height: 260px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .freely-hero-wrap {
    padding: 60px 14px;
  }

  .freely-hero-content h1 {
    font-size: 2.4rem;
  }

  .freely-tagline {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .freely-description {
    font-size: 1rem;
  }

  .freely-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .freely-btn-primary,
  .freely-btn-secondary {
    width: 100%;
  }

  .freely-image-card {
    min-height: 220px;
    padding: 28px 18px;
  }

  .freely-image-icon {
    font-size: 3rem;
  }

  .freely-image-card h3 {
    font-size: 1.3rem;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
  .freely-hero-wrap {
    padding: 50px 12px;
  }

  .freely-hero-content h1 {
    font-size: 2rem;
  }

  .freely-stat-number {
    font-size: 1.5rem;
  }

  .freely-stat-label {
    font-size: 0.8rem;
  }

  .freely-btn-primary,
  .freely-btn-secondary {
    font-size: 0.95rem;
    padding: 13px 16px;
  }
}