:root {
  --primary: #222222;
  --secondary: #f3f3f3;
  --accent: #111111;

  --page: #ffffff;
  --text: #1c1c1c;
  --muted: #6f6f6f;
  --border: #e9e9e9;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--page);
  color: var(--text);
}

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

.hidden {
  display: none !important;
}

.site-loading,
.site-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px clamp(22px, 5vw, 80px);

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  font-weight: 800;
  font-size: 20px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  min-height: 72vh;

  display: grid;
  align-items: center;

  padding:
    80px
    clamp(22px, 8vw, 130px);

  background:
    linear-gradient(
      135deg,
      var(--secondary),
      #ffffff
    );
}

.hero-inner {
  max-width: 820px;
}

.eyebrow,
.section-heading span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 800;
  color: var(--primary);
}

.hero h1 {
  margin: 15px 0;

  font-size:
    clamp(46px, 8vw, 100px);

  line-height: .95;
  letter-spacing: -.05em;
}

.hero p {
  max-width: 650px;

  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 24px;

  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.section {
  padding:
    90px
    clamp(22px, 8vw, 130px);
}

.section-soft {
  background: #fafafa;
}

.section-heading h2 {
  margin: 10px 0 35px;

  font-size:
    clamp(34px, 5vw, 58px);

  letter-spacing: -.04em;
}

.cards-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(230px, 1fr));

  gap: 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);

  padding: 28px;

  background: #fff;
}

.card h3 {
  margin-top: 0;
  font-size: 22px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.price {
  margin-top: 22px;

  font-size: 28px;
  font-weight: 900;

  color: var(--primary);
}

.split-section {
  display: grid;
  grid-template-columns: 1.3fr .7fr;

  gap: 60px;
  align-items: start;
}

.about-text {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}

.business-card {
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  padding: 34px;
}

.business-card h3 {
  font-size: 27px;
  margin-top: 0;
}

.business-card div {
  line-height: 1.9;
}

.gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;

  border-radius: 20px;
}

.empty-state {
  padding: 30px;

  border: 1px dashed #cfcfcf;
  border-radius: 20px;

  color: var(--muted);
  text-align: center;
}

.section-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 40px;

  background: var(--secondary);
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  flex-direction: column;

  gap: 8px;

  padding: 22px 26px;

  border-radius: 20px;

  background: #fff;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
}

.contact-card strong {
  font-size: 20px;
}

footer {
  display: flex;
  justify-content: space-between;

  padding:
    30px
    clamp(22px, 8vw, 130px);

  font-size: 14px;

  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  nav {
    display: none;
  }

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

  .hero {
    min-height: 65vh;
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===== Generic Platform Pages v2 ===== */

.page-hero {
  padding:
    100px
    clamp(22px, 8vw, 130px)
    70px;

  background:
    linear-gradient(
      135deg,
      var(--secondary),
      #fff
    );
}

.page-hero > span,
.post-type {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.page-hero h1 {
  max-width: 1000px;
  margin: 14px 0;

  font-size:
    clamp(44px, 8vw, 92px);

  line-height: 1;
  letter-spacing: -.05em;
}

.page-hero p {
  max-width: 700px;

  font-size: 19px;
  line-height: 1.7;

  color: var(--muted);
}

.text-content,
.article-body {
  max-width: 900px;

  font-size: 18px;
  line-height: 1.9;

  color: #444;
}

.text-link {
  font-weight: 800;
  color: var(--primary);
}

.embed-frame {
  width: 100%;
  min-height: 420px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 24px;

  background: #f6f6f6;
}

.embed-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.support-card {
  padding: 40px;

  border-radius: 28px;

  background: var(--secondary);
}

.support-card p {
  max-width: 800px;

  font-size: 18px;
  line-height: 1.7;
}

.lead-copy {
  font-size: 18px;
  color: var(--muted);
}

.contact-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(220px, 1fr)
    );

  gap: 15px;
}

.post-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(280px, 1fr)
    );

  gap: 24px;
}

.post-card {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 24px;

  background: #fff;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card > div {
  padding: 26px;
}

.post-card h2 {
  font-size: 28px;
}

.article-shell {
  max-width: 1000px;

  margin: 0 auto;

  padding:
    70px
    clamp(22px, 5vw, 70px);
}

.article-image {
  width: 100%;
  max-height: 600px;

  object-fit: cover;

  margin-bottom: 40px;

  border-radius: 28px;
}

.comment-card {
  padding: 20px 24px;
  margin: 12px 0;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: #fff;
}

.comment-form {
  display: grid;
  gap: 14px;

  max-width: 700px;

  margin-top: 35px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;

  padding: 15px 17px;

  border: 1px solid #d8d8d8;
  border-radius: 12px;

  font: inherit;
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

@media (max-width: 760px) {
  .page-hero {
    padding-top: 70px;
  }

  .embed-frame,
  .embed-frame iframe {
    min-height: 320px;
  }
}

/* ===== PUBLIC SERVICE PRICING V2 ===== */

.service-card {
  position: relative;
}

.service-category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 9px;

  border-radius: 999px;

  background: var(--secondary);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-pricing {
  margin-top: 20px;
  border-top: 1px solid var(--border);
}

.service-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 20px;

  padding: 12px 0;

  border-bottom:
    1px solid var(--border);
}

.service-price-row > div {
  display: grid;
  gap: 3px;
}

.service-price-row small {
  color: var(--muted);
}

.service-price-row b {
  white-space: nowrap;
  font-size: 17px;
}

@media (max-width: 520px) {
  .service-price-row {
    gap: 10px;
  }
}
