/**
 * Customer Care Page Styles
 *
 * Sections:
 *   1. Hero (title + gray box description)
 *   2. Feature grid (2x2 with icons)
 *   3. Quick Help (1 + 3 layout)
 *   4. Our Commitment (label + big statement)
 *   5. Send Us A Message form (shared partial)
 */

/* ==========================================
   PAGE WRAP — outer container, 96px / 150px
   ========================================== */

.cc-page {
  padding: 96px 150px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Horizontal divider above every section after the first.
   Pseudo-element extends to full viewport width by overshooting
   the parent's 150px horizontal padding. */
.cc-page > section + section {
  position: relative;
  padding-top: 97.5px;
  margin-top: 96px;
}

.cc-page > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150px;
  right: -150px;
  height: 1px;
  background: #e5e5e5;
}

/* ==========================================
   SECTION 1 — INTRO (hero + feature grid combined)
   ========================================== */

.cc-intro {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cc-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cc-hero-title {
  font-family: "Inter", sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  color: #2d1f1f;
  margin: 0;
  text-transform: none;
}

.cc-hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 150%;
  color: rgba(45, 31, 31, 0.7);
  margin: 0;
  padding: 16px;
  background: #f5f5f5;
}

/* ==========================================
   SECTION 2 — FEATURE GRID (2x2)
   ========================================== */

.cc-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.cc-feature {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.cc-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-feature-icon > svg {
  display: block;
  /* Native size from inline width/height attributes on the <svg> */
}

.cc-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.cc-feature-title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -2%;
  color: #000000;
  margin: 0;
}

.cc-feature-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0;
  color: #2d1f1f;
  margin: 0;
}

/* ==========================================
   SECTION 3 — QUICK HELP (1 + 3 layout)
   ========================================== */

.cc-quick-help {
  display: grid;
  grid-template-columns: minmax(0, 434px) 1fr;
  gap: 76px;
  align-items: start;
}

.cc-quick-help-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.cc-quick-help-title {
  font-family: "Inter", sans-serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0;
  color: #2d1f1f;
  margin: 0;
  text-transform: none;
}

.cc-quick-help-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: #000000;
  margin: 0;
}

.cc-quick-help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.cc-quick-help-card {
  display: flex;
  flex-direction: column;

  margin-top: 23.5px;
}

.cc-quick-help-card-title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -2%;
  color: #000000;
  margin: 0;
}

.cc-quick-help-card-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0;
  color: #666666;
  margin: 8px 0 0;
}

.cc-quick-help-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  height: 48px;
  padding: 0 24px;
  background: #fff;
  color: #2d1f1f;
  border: 1px solid #2d1f1f;
  border-radius: 900px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.cc-quick-help-card-btn:hover {
  background: #2d1f1f;
  color: #fff;
}

/* ==========================================
   SECTION 4 — OUR COMMITMENT
   ========================================== */

.cc-commitment {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.cc-commitment-label {
  font-family: "Inter", sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
  color: #2d1f1f;
  margin: 0;
  text-transform: none;
}

.cc-commitment-text {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 136%;
  letter-spacing: 0;
  color: #2d1f1f;
  margin: 0;
  max-width: 1085px;
  text-transform: none;
}

/* ==========================================
   RESPONSIVE — TABLET (max-width: 1023px)
   ========================================== */

@media (max-width: 1023px) {
  .cc-page {
    padding: 64px 40px;
  }

  .cc-page > section + section {
    padding-top: 64px;
    margin-top: 64px;
  }

  .cc-page > section + section::before {
    left: -40px;
    right: -40px;
  }

  .cc-hero-title,
  .cc-quick-help-title {
    font-size: 48px;
  }

  .cc-intro {
    gap: 48px;
  }

  .cc-features {
    gap: 40px 48px;
  }

  .cc-quick-help {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cc-commitment-text {
    font-size: 14px;
  }
}

/* ==========================================
   RESPONSIVE — MOBILE (max-width: 767px)
   ========================================== */

@media (max-width: 767px) {
  .cc-page {
    padding: 48px 24px;
  }

  .cc-page > section + section {
    padding-top: 48px;
    margin-top: 48px;
  }

  .cc-page > section + section::before {
    left: -24px;
    right: -24px;
  }

  .cc-hero {
    gap: 20px;
  }

  .cc-hero-title,
  .cc-quick-help-title {
    font-size: 32px;
  }

  .cc-intro {
    gap: 32px;
  }

  .cc-features {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cc-feature {
    gap: 24px;
  }

  .cc-feature-icon {
    width: 32px;
    height: 32px;
  }

  .cc-quick-help {
    gap: 32px;
  }

  .cc-quick-help-cards {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Reset desktop alignment offset */
  .cc-quick-help-card {
    margin-top: 0;
  }

  /* Horizontal divider between stacked cards (full viewport width).
     Pseudo-element overshoots the page's 24px horizontal padding. */
  .cc-quick-help-card + .cc-quick-help-card {
    position: relative;
    margin-top: 32px;
    padding-top: 32px;
  }

  .cc-quick-help-card + .cc-quick-help-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -24px;
    right: -24px;
    height: 1px;
    background: #E5E5E5;
  }

  .cc-commitment {
    gap: 24px;
  }

  .cc-commitment-label {
    font-size: 32px;
    line-height: 100%;
  }

  .cc-commitment-text {
    font-size: 14px;
  }

  .cc-hero-subtitle{
    font-size: 12px;
  }
}
