/* Package Portal Digital — warm pastel theme */
:root {
  --blush: #f7c5c0;
  --rose: #e8a0a0;
  --peach: #f8d9c8;
  --cream: #fff7f2;
  --mist: #f3ebe4;
  --sage: #b8d4c8;
  --sage-deep: #6f9a88;
  --ink: #3d3340;
  --ink-soft: #6a5d68;
  --card: #fffbf8;
  --line: rgba(61, 51, 64, 0.08);
  --shadow: 0 12px 40px rgba(120, 80, 90, 0.08);
  --shadow-soft: 0 6px 20px rgba(120, 80, 90, 0.06);
  --radius: 1.35rem;
  --radius-sm: 0.85rem;
  --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(247, 197, 192, 0.55), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(184, 212, 200, 0.45), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--mist) 48%, #f7efe8 100%);
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1.05rem;
}

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

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--rose);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 247, 242, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--blush), var(--sage));
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.05rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  background: linear-gradient(135deg, var(--rose), #d88989);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
}

.nav-cta:hover {
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.8rem;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  padding: 0.55rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

main {
  padding-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #e8a0a0, #d67f7f);
  color: #fff;
  box-shadow: 0 10px 28px rgba(214, 127, 127, 0.28);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-sage {
  background: linear-gradient(135deg, var(--sage), #9ec4b4);
  color: #2d433a;
  box-shadow: 0 10px 28px rgba(111, 154, 136, 0.22);
}

.section {
  padding: 4.5rem 0 0;
}

.section-tight {
  padding-top: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 42rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--peach);
}

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

.grid-3 {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Home hero — brand-forward, asymmetric */
.hero-home {
  padding: 3.5rem 0 1rem;
}

.hero-panel {
  position: relative;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  min-height: min(78vh, 720px);
  background:
    linear-gradient(115deg, rgba(255, 247, 242, 0.92) 0%, rgba(255, 247, 242, 0.55) 42%, rgba(247, 197, 192, 0.18) 100%),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid;
  align-items: end;
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  max-width: 34rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.hero-line {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.soft-band {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 251, 248, 0.75);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  justify-content: space-between;
  animation: rise 1s 0.15s var(--ease) both;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--ink);
}

.stat span {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.quote-first {
  margin-top: 3.5rem;
}

.quote-card {
  padding: 2rem 2.1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fff8f5, #f5ebe6);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: auto auto -12px 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush), var(--sage));
  opacity: 0.55;
  animation: floaty 5s ease-in-out infinite;
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.4;
}

.quote-meta {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.benefit {
  padding: 1.5rem;
  height: 100%;
}

.benefit-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--peach), var(--sage));
  animation: floaty 6s ease-in-out infinite;
}

.benefit:nth-child(2) .benefit-icon {
  animation-delay: 0.4s;
  background: linear-gradient(135deg, var(--blush), var(--peach));
}

.benefit:nth-child(3) .benefit-icon {
  animation-delay: 0.8s;
  background: linear-gradient(135deg, var(--sage), #d9e8e0);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.chip {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(184, 212, 200, 0.45);
  color: #355347;
  font-size: 0.8rem;
  font-weight: 700;
}

.chip-rose {
  background: rgba(232, 160, 160, 0.28);
  color: #7a4545;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 0.75rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.price-grid .card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s var(--ease);
}

.price-grid .card:hover {
  transform: translateY(-4px);
}

.price-grid .featured {
  background: linear-gradient(165deg, #fff8f5, #f6e4df);
  border-color: rgba(232, 160, 160, 0.35);
}

.price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
  margin: 0.25rem 0;
}

.price small {
  font-size: 1rem;
  color: var(--ink-soft);
  font-family: var(--font-body);
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.25rem;
}

.price-list li {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.review-grid .card-body {
  min-height: 12rem;
}

.stars {
  color: #d67f7f;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.case-study {
  padding: 2rem;
  margin-top: 1.5rem;
}

.form-card {
  padding: 1.75rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(61, 51, 64, 0.14);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(232, 160, 160, 0.2);
}

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

.field-error {
  color: #b54b4b;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.field-error.show {
  display: block;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(184, 212, 200, 0.45);
  color: #2d433a;
}

.form-status.error {
  background: rgba(232, 160, 160, 0.3);
  color: #7a3535;
}

.contact-aside {
  padding: 1.75rem;
}

.contact-aside dt {
  font-weight: 800;
  margin-top: 1rem;
}

.contact-aside dd {
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--card);
  margin: 1.25rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(248, 217, 200, 0.35);
  color: var(--ink);
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--ink);
}

.faq details p {
  margin: 0.75rem 0 0.2rem;
}

.module {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.module-num {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blush), var(--peach));
  color: var(--ink);
}

.instructor {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem;
}

.instructor img {
  width: 7rem;
  height: 7rem;
  border-radius: 1.4rem;
  object-fit: cover;
}

.blog-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.article-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.25rem 0 1.75rem;
  box-shadow: var(--shadow);
}

.not-found {
  text-align: center;
  padding: 6rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  background: linear-gradient(135deg, var(--rose), var(--sage-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: rgba(255, 251, 248, 0.72);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.75rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-legal a,
.footer-contact a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-contact {
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-legal {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 560px;
  margin-inline: auto;
  background: rgba(255, 251, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: rise 0.45s var(--ease);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.inline-error {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(232, 160, 160, 0.28);
  color: #7a3535;
}

.cta-band {
  margin-top: 3.5rem;
  padding: 2.25rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(247, 197, 192, 0.55), rgba(184, 212, 200, 0.45)),
    var(--card);
  border: 1px solid var(--line);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4,
  .footer-grid,
  .split,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 0.4rem);
    left: 1rem;
    right: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 700px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .split,
  .price-grid,
  .instructor {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 70vh;
  }
}
