@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --bg: #fffdf9;
  --surface: #ffffff;
  --surface-soft: #fff7ed;
  --line: #f1dfcc;
  --line-strong: #eac9a5;
  --text: #251403;
  --muted: #6f5138;
  --muted-soft: #8b694d;
  --blue: #f97316;
  --blue-strong: #c2410c;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow-sm: 0 10px 24px rgba(12, 19, 37, 0.06);
  --shadow-md: 0 22px 54px rgba(12, 19, 37, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(760px 460px at -8% 0%, rgba(249, 115, 22, 0.16), transparent 62%),
    radial-gradient(900px 460px at 108% 10%, rgba(251, 146, 60, 0.12), transparent 60%), var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(255, 252, 246, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.site-header.is-scrolled {
  border-color: rgba(234, 201, 165, 0.8);
  box-shadow: 0 8px 22px rgba(71, 36, 11, 0.08);
  background: rgba(255, 250, 244, 0.94);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 236px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), #fb923c);
  color: #fff;
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 700;
  color: var(--text);
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.93rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu a:hover {
  background: #fff1e6;
  color: var(--text);
  transform: translateY(-1px);
}

.search-form {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.search-form::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid #d48946;
  border-radius: 50%;
  transform: translateY(-60%);
}

.search-form::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 56%;
  width: 7px;
  height: 2px;
  background: #d48946;
  transform: rotate(38deg);
  border-radius: 999px;
}

.search-form input {
  width: min(320px, 34vw);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  padding: 12px 12px 12px 36px;
  font-size: 0.94rem;
  color: var(--text);
}

.search-form input::placeholder {
  color: #9b6f49;
}

.search-form input:focus {
  outline: none;
  border-color: #f7a565;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.search-form button,
.btn {
  border: 0;
  border-radius: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background-color 0.22s ease;
}

.search-form button {
  padding: 12px 15px;
  color: #fff;
  background: linear-gradient(120deg, var(--blue), #fb923c);
}

.search-form button:hover,
.btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.02);
}

main {
  padding: 0 0 44px;
}

.hero-panel {
  padding: 42px 0 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hero-copy {
  padding: 36px 34px;
}

.kicker,
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #ffd6b0;
  background: #fff0e4;
  color: #a13f00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 6px 11px;
}

.tag.tag-solid {
  background: linear-gradient(120deg, #f97316, #fb923c);
  border-color: transparent;
  color: #fff;
}

.hero-title {
  margin: 12px 0 10px;
  max-width: 680px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.hero-description {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.description-text {
  text-align: justify;
  text-justify: inter-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--blue), #fb923c);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.28);
}

.btn-outline {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost {
  border: 1px dashed #e7ba8f;
  background: #fff7f1;
  color: #9b4f17;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.trust-pill {
  border: 1px solid #f3d2b2;
  background: #fff8f1;
  color: #8a5d36;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
}

.hero-showcase {
  background: linear-gradient(150deg, #ffffff, #fff7ee);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.showcase-stack {
  min-height: 300px;
  position: relative;
}

.showcase-card {
  position: absolute;
  width: min(210px, 52%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(44, 24, 9, 0.16);
  border: 1px solid rgba(249, 115, 22, 0.14);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.showcase-card-1 {
  left: 4%;
  top: 0;
  transform: rotate(-6deg);
}

.showcase-card-2 {
  left: 32%;
  top: 26px;
  transform: rotate(5deg);
}

.showcase-card-3 {
  right: 2%;
  bottom: -4px;
  transform: rotate(-3deg);
}

.showcase-empty {
  min-height: 220px;
  border: 1px dashed #efbf93;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #9a5f31;
  text-align: center;
  padding: 14px;
}

.showcase-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.showcase-metrics article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px 11px;
}

.showcase-metrics strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.4rem;
}

.showcase-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted-soft);
  font-weight: 600;
  font-size: 0.88rem;
}

.featured-section {
  padding: 12px 0 18px;
}

.featured-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #ffffff, #fff8f1);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.featured-media {
  min-width: 0;
}

.featured-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.featured-content h2 {
  margin: 10px 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  line-height: 1.1;
}

.featured-content p {
  margin: 0;
  color: var(--muted);
}

.featured-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.featured-benefits {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.featured-benefits li {
  color: #5f462f;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.featured-benefits li::before {
  content: "•";
  color: #f97316;
  font-size: 1.1rem;
  line-height: 1;
}

.hero-empty {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.hero-empty h2 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.hero-empty p {
  margin: 0;
  color: var(--muted);
}

.subhub-section {
  padding: 10px 0 20px;
}

.subhub-grid {
  margin-top: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subhub-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, #ffffff, #fff7ef);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.subhub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(71, 36, 11, 0.12);
  border-color: #efbc8d;
}

.subhub-card h3 {
  margin: 10px 0 8px;
  font-size: 1.24rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.subhub-card p {
  margin: 0;
  color: var(--muted);
}

.subhub-cover {
  margin: 10px 0 10px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 2 / 3;
  object-fit: contain;
  object-position: center;
  background: #fffdf9;
}

.subhub-cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--blue);
}

.subhub-cta::after {
  content: "→";
}

.catalog {
  padding: 24px 0 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.12;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 74ch;
}

.section-pills {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #684428;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 13px;
  transition: all 0.2s ease;
}

.pill:hover,
.pill.active {
  background: #fff1e6;
  border-color: #ffc894;
  color: #b45309;
}

.catalog-row + .catalog-row {
  margin-top: 28px;
}

.row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.row-head h3 {
  margin: 0;
  font-size: 1.28rem;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.row-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--blue);
}

.row-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.row-link:hover::after {
  transform: translateX(2px);
}

.cards-row,
.grid-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ebook-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.ebook-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(71, 36, 11, 0.14);
  border-color: #efbc8d;
}

.card-link {
  display: block;
  height: 100%;
}

.card-cover-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f4f4f8;
}

.card-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.14));
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(23, 15, 8, 0.8);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 8px;
}

.card-meta {
  padding: 12px 12px 14px;
}

.card-meta h3,
.card-meta h4 {
  margin: 0;
  font-size: 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.3;
}

.card-meta p {
  margin: 6px 0 9px;
  font-size: 0.88rem;
  color: var(--muted-soft);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  color: var(--blue);
  font-size: 0.86rem;
}

.card-cta::after {
  content: "→";
}

.detail-page,
.catalog-page {
  padding: 32px 0 0;
}

.detail-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.detail-cover {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info h1 {
  margin: 12px 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.12;
  font-size: clamp(1.55rem, 3.8vw, 2.55rem);
}

.short {
  color: var(--muted);
  margin: 0 0 8px;
}

.long-text {
  color: #3f2c1d;
}

.page-head {
  margin-bottom: 16px;
}

.page-head h1 {
  margin: 10px 0 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 3.7vw, 2.5rem);
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.empty-state {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.legal-page {
  padding: 28px 0 0;
}

.legal-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.legal-card h2 {
  margin: 18px 0 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.08rem, 2.3vw, 1.28rem);
  line-height: 1.2;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
}

.legal-card p + p {
  margin-top: 8px;
}

.legal-card a {
  color: #c2410c;
  font-weight: 700;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
}

.contact-card {
  height: 100%;
}

.form-alert {
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-alert-error {
  border: 1px solid #f6c2c2;
  color: #991b1b;
  background: #fef2f2;
}

.form-alert-success {
  border: 1px solid #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label {
  font-weight: 700;
  font-size: 0.93rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #f7a565;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-row input[type="checkbox"] {
  margin-top: 3px;
}

.hp-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-9999px);
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fffaf5, #fff7ef);
}

.footer-wrap {
  padding: 28px 0 30px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.footer-brand strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.02rem;
}

.footer-brand p {
  margin: 8px 0 10px;
  color: var(--muted);
  max-width: 62ch;
}

.footer-brand small {
  color: #9a795d;
  font-weight: 600;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.footer-col h4 {
  margin: 0 0 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #7c4316;
  font-weight: 700;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

[data-animate] {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.58s ease;
}

[data-animate].is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1140px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-cover {
    max-width: 360px;
  }

  .cards-row,
  .grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .subhub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 74px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    z-index: 20;
    box-shadow: var(--shadow-sm);
  }

  .menu.open {
    display: flex;
  }

  .search-form {
    width: 100%;
    margin-left: 0;
  }

  .search-form input {
    width: 100%;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-wrap {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrap,
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    padding: 26px 20px;
  }

  .hero-showcase {
    padding: 18px;
  }

  .showcase-stack {
    min-height: 220px;
  }

  .showcase-card {
    width: 44%;
  }

  .showcase-card-1 {
    left: 0;
  }

  .showcase-card-2 {
    left: 28%;
  }

  .showcase-card-3 {
    right: 0;
  }

  .cards-row,
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card {
    padding: 18px;
  }

  .featured-cover {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .cards-row,
  .grid-cards {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
