:root {
  --cream-bg: #f7efe6;
  --cream-card: #eee3d4;
  --text-dark: #121212;
  --pill-bg: #ffffff;
  --radius-xl: 32px;
}

/* Base / mobile-first styles */
.seo-page {
  background: var(--cream-bg);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
}

/* general container padding – smaller on mobile */
.detaile-page {
  padding-left: 16px;
  padding-right: 16px;
}

/* HERO */
.seo-hero {
  min-height: 60vh;
  position: relative;
  margin-top: 72px;
  overflow: hidden;
  padding: 3rem 0;
}

.seo-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: var(--pill-bg);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
}

.seo-hero-title {
  font-weight: 600;
  font-family: Inter, sans-serif;
  /* responsive font */
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-top: 1.2rem;
}

.seo-hero-subtitle {
  font-size: clamp(1rem, 2.6vw, 1.8rem);
  margin-top: 1.8rem;
  max-width: 100%;
  font-weight: 600;
}

.seo-cta-btn {
  margin-top: 24px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

/* hero right card */
.seo-hero-card {
  position: relative;
  border-radius: 10px 45px 10px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
  background: #000;
  padding: 1.75rem;
  /* keep aspect ratio instead of hard height */
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  margin-top: 2.5rem;
}

.seo-hero-card img,
.seo-hero-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.seo-hero-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 20px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.seo-hero-card-cta {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* WHY / STEPS */
.step-section {
  margin-top: 10vh;
}

.seo-why-label {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--pill-bg);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.seo-why-title {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  width: 100%;
}

.title-subtitle {
  font-size: 1.1rem;
  width: 100%;
  font-weight: 600;
  margin-top: 0.75rem;
}

.why-card {
  background: #eee3d4;
  border-radius: 24px !important;
}

.heading-sm {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
}

.paragraph-m {
  font-size: 1rem;
  font-weight: 600;
  padding-top: 12px;
  width: 100%;
  /* remove fixed height for better wrapping */
  height: auto;
}

/* optional: add spacing between cards on mobile */
.why-card + .why-card {
  margin-top: 1rem;
}

/* DELIVERABLES */
.deliverable-card {
  background: #eee3d4;
  border-radius: 32px;
  cursor: pointer;
  transition: 0.2s ease;
}

.deliverable-card:hover {
  background: #e6d7c4;
  transform: translateY(-2px);
}

.deliverable-title {
  font-size: 1.3em;
  font-weight: 600;
}

.deliverable-icon {
  font-size: 1.5em;
}

/* accordion */
.accordion-wrapper {
  margin-top: 2rem;
}

.deliverable-item {
  background: #eee3d4;
  border-radius: 24px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.deliverable-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.deliverable-header span:first-child {
  flex: 1;
  padding-right: 1rem;
}

.deliverable-header .icon {
  font-size: 1.5rem;
  transition: 0.3s ease;
  flex-shrink: 0;
}

.deliverable-item.active .icon {
  transform: rotate(45deg);
  color: #ff5621;
}

.deliverable-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.35s ease;
}

.deliverable-body p {
  padding: 0.4rem 0 1.2rem 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

/* ========= TABLET (≥768px) ========= */
@media (min-width: 768px) {
  .detaile-page {
    padding-left: 28px;
    padding-right: 28px;
  }

  .seo-hero {
    min-height: 65vh;
  }

  .seo-hero-card {
    margin-top: 0;
    margin-left: auto;
    margin-right: 0;
  }

  .paragraph-m {
    font-size: 1.05rem;
  }

  .deliverable-header {
    padding: 22px 26px;
    font-size: 1.25rem;
  }

  .deliverable-body {
    padding: 0 26px;
  }
}

/* ========= LAPTOP (≥992px) ========= */
@media (min-width: 992px) {
  .detaile-page {
    padding-left: 37px;
    padding-right: 37px;
  }

  .seo-hero {
    min-height: 70vh;
    padding: 4rem 0;
  }

  .seo-hero-subtitle {
    max-width: 46rem;
  }

  .step-section {
    margin-top: 16vh;
  }

  .seo-why-title {
    width: 71%;
  }

  .title-subtitle {
    width: 72%;
    font-size: 1.3rem;
  }

  .paragraph-m {
    width: 54%;
    font-size: 1.1rem;
  }

  .why-card {
    border-radius: 32px !important;
  }

  .heading-sm {
    font-size: 3.4rem;
  }

  .deliverable-title {
    font-size: 1.5em;
  }
}

/* ========= LARGE DESKTOP (≥1200px) ========= */
@media (min-width: 1200px) {
  .seo-hero-title {
    font-size: clamp(3.5rem, 5vw, 5.2rem);
  }

  .seo-why-title {
    font-size: clamp(3rem, 4.5vw, 4.2rem);
  }

  .seo-hero-card {
    max-width: 340px;
    padding: 3.125em;
  }

  .step-section {
    margin-top: 20vh;
  }

  .paragraph-m {
    font-size: 1.2em;
  }

  .title-subtitle {
    font-size: 1.5em;
  }
}
