/* panels.css — sections, cards, grids */

section { padding: 64px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--surface); }

.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }

/* Hero — class "stage" */
.stage {
  padding: 56px 0 72px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(153,204,255,.40), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
}
.stage-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
.stage-copy h1 { margin-bottom: 18px; }
.stage-copy .meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin: 22px 0 28px;
  color: var(--ink-2); font-size: 14px;
}
.stage-copy .meta span { display: inline-flex; align-items: center; gap: 8px; }
.stage-copy .meta b { color: var(--ink); }
.stage-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stage-figure {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
}
.stage-figure img { width: 100%; height: 100%; object-fit: cover; }
.stage-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.92);
  border-radius: var(--radius-m);
  padding: 10px 14px;
  font-size: 13px; color: var(--ink);
  box-shadow: var(--shadow-1);
}

@media (min-width: 900px) {
  .stage-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* Trust strip */
.trust {
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between;
  color: var(--ink-2); font-size: 14px;
}
.trust-row b { color: var(--ink); }

/* Service grid */
.svc-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.svc-card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { margin-bottom: 14px; color: var(--ink-2); }
.svc-card .price { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.svc-card .price b { color: var(--ink); font-size: 18px; font-family: var(--display); }
.svc-card a.svc-link {
  font-size: 14px; font-weight: 600; color: var(--teal-deep);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.svc-card a.svc-link::after { content: "→"; transition: transform .2s ease; }
.svc-card a.svc-link:hover::after { transform: translateX(3px); }

/* Numbered process */
.process-list {
  counter-reset: step;
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-list { grid-template-columns: repeat(4, 1fr); } }
.process-list li {
  counter-increment: step;
  position: relative;
  padding: 24px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 28px; color: var(--teal-deep);
  margin-bottom: 8px;
  font-weight: 700;
}
.process-list h3 { font-size: 18px; margin-bottom: 6px; }
.process-list p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Stats */
.stats {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  overflow: hidden;
}
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div {
  padding: 28px 22px;
  text-align: center;
  border-block-end: 1px solid var(--line);
}
@media (min-width: 720px) { .stats div { border-block-end: 0; border-inline-end: 1px solid var(--line); } }
.stats div:last-child { border: 0; }
.stats b {
  display: block; font-family: var(--display); font-size: clamp(28px, 3.4vw, 42px);
  color: var(--teal-deep); font-weight: 700; line-height: 1.1;
}
.stats span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* Bento — used on inner pages */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .bento { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .bento > .b1 { grid-column: 1; grid-row: 1 / span 2; }
}
.bento article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 22px 24px;
}
.bento article h3 { font-size: 18px; margin-bottom: 6px; }
.bento article p { font-size: 15px; color: var(--ink-2); margin: 0; }
.bento article.b1 { background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%); }

/* Pricing table */
.pricing { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.pricing caption { caption-side: top; text-align: left; padding: 0 0 12px; font-size: 14px; color: var(--ink-3); }
.pricing th, .pricing td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pricing th { background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.pricing tr:last-child td { border-bottom: 0; }
.pricing td.price { font-family: var(--display); font-weight: 600; color: var(--teal-deep); white-space: nowrap; }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}
.faq details[open] { border-color: var(--teal); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--teal-deep); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq .answer p:last-child { margin: 0; }

/* Team */
.team-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { text-align: left; }
.team-card .portrait { aspect-ratio: 2 / 3; border-radius: var(--radius-m); overflow: hidden; margin-bottom: 14px; background: var(--surface-2); }
.team-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 19px; margin-bottom: 2px; }
.team-card .role { color: var(--teal-deep); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(120deg, var(--teal-deep) 0%, #134f4f 100%);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 44px 32px;
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1fr;
}
.cta-strip h2 { color: #fff; margin-bottom: 6px; }
.cta-strip p { color: #d4ebec; margin: 0; max-width: 56ch; }
.cta-strip .btn-primary { background: #fff; color: var(--teal-deep); }
.cta-strip .btn-primary:hover { background: var(--surface); }
@media (min-width: 820px) {
  .cta-strip { grid-template-columns: 1fr auto; padding: 52px 48px; }
}

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--ink-3); margin: 28px 0 12px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--teal-deep); text-decoration: underline; }
.crumbs span[aria-current="page"] { color: var(--ink); }

/* Article inner-page hero */
.page-hero { padding: 36px 0 24px; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { max-width: 70ch; }

/* Two-column prose */
.prose-2col { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .prose-2col { grid-template-columns: 1.6fr 1fr; gap: 56px; } }
.prose-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px;
  align-self: start;
  position: sticky; top: 96px;
}
.prose-aside h3 { font-size: 17px; margin-bottom: 10px; }
.prose-aside ul { padding-left: 18px; margin: 0; font-size: 14px; }

/* Contact grid */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}
.contact-card h3 { font-size: 18px; margin-bottom: 6px; }
.contact-card p { color: var(--ink-2); margin: 4px 0; font-size: 15px; }
.contact-card a { color: var(--teal-deep); font-weight: 600; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
