:root {
  --bg: #f7f3ec;
  --bg-soft: #f1ece2;
  --panel: #fffdf9;
  --panel-strong: #ffffff;
  --panel-alt: #efe5d7;
  --border: #e3d8c7;
  --text: #211b14;
  --muted: #70675c;
  --muted-soft: #a2988b;
  --accent: #c86b31;
  --accent-dark: #8e471d;
  --accent-soft: #f3ddcf;
  --ink: #1f2630;
  --shadow: 0 28px 60px rgba(41, 28, 12, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 107, 49, 0.08), transparent 30%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 100%);
}

body.cookie-lock {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea,
button {
  appearance: none;
}

.site-shell {
  min-height: 100vh;
}

.home-container,
.site-header__inner,
.site-footer__inner,
.site-footer__meta,
.content-band__inner,
.page-shell,
.contact-grid {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 250, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(227, 216, 199, 0.6);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.brand {
  display: grid;
  gap: 4px;
}

.brand__eyebrow,
.footer-kicker,
.section-heading__eyebrow,
.hero-kicker,
.sidebar-copy__eyebrow,
.cookie-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.brand__name {
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--text);
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.button,
.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.button-primary,
.header-action {
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-color: var(--border);
}

.home-modern {
  padding-bottom: 48px;
}

.hero-intro {
  padding: 40px 0 32px;
}

.hero-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 40px;
  align-items: start;
}

.hero-intro h1 {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-intro__aside {
  padding-top: 20px;
}

.hero-intro__aside p,
.section-heading p,
.page-intro,
.page-side-note p,
.highlight-card p,
.quote-card p,
.faq-card p,
.process-card p,
.structure-card p,
.contact-form-card,
.footer-brand p,
.footer-links p,
.site-footer__meta p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.dashboard-stage {
  padding: 10px 0 28px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.31fr) minmax(0, 0.69fr);
  gap: 28px;
  padding: 28px;
  background: rgba(255, 253, 249, 0.84);
  border: 1px solid rgba(227, 216, 199, 0.8);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.dashboard-sidebar,
.mini-card,
.highlight-card,
.structure-card,
.metric-card,
.process-card,
.quote-card,
.faq-card,
.page-hero-card,
.cookie-modal {
  background: var(--panel-strong);
  border: 1px solid rgba(227, 216, 199, 0.7);
  box-shadow: 0 12px 30px rgba(41, 28, 12, 0.04);
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 28px;
}

.sidebar-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 999px;
  background: #faf6f0;
  border: 1px solid var(--border);
}

.sidebar-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--muted-soft);
}

.sidebar-search__icon {
  width: 14px;
  height: 14px;
  border: 2px solid var(--muted-soft);
  border-radius: 50%;
  position: relative;
}

.sidebar-search__icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  background: var(--muted-soft);
  transform: rotate(45deg);
}

.site-graphic {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(243, 221, 207, 0.85), rgba(255, 245, 235, 0.9)),
    var(--panel-alt);
  overflow: hidden;
}

.site-graphic__sun {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffc457 0%, #f2a81e 100%);
  box-shadow: 0 18px 40px rgba(242, 168, 30, 0.32);
}

.site-graphic__bars {
  position: absolute;
  right: 52px;
  bottom: 38px;
  display: flex;
  gap: 6px;
}

.site-graphic__bars span {
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5a78ff 0%, #214bd6 100%);
}

.site-graphic__bars span:nth-child(1) { height: 62px; }
.site-graphic__bars span:nth-child(2) { height: 84px; }
.site-graphic__bars span:nth-child(3) { height: 96px; }
.site-graphic__bars span:nth-child(4) { height: 76px; }

.sidebar-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1;
}

.sidebar-copy p {
  margin: 0;
}

.sidebar-list {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sidebar-list__item {
  display: flex;
  gap: 12px;
}

.sidebar-list__dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

.sidebar-list__dot--alt {
  background: #4668ff;
}

.sidebar-list__item strong,
.site-card span,
.mini-card span,
.highlight-card span,
.metric-card span,
.footer-links h3 {
  display: block;
  font-weight: 800;
}

.sidebar-list__item span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.site-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 116px;
}

.site-card__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 44, 62, 0.2), rgba(19, 44, 62, 0.72)),
    linear-gradient(120deg, #6ab0c9 0%, #154d63 100%);
}

.site-card__image::before,
.site-card__image::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.82);
}

.site-card__image::before {
  left: 16px;
  width: 26px;
  height: 58px;
  box-shadow: 36px 0 0 rgba(255, 255, 255, 0.68), 82px 0 0 rgba(255, 255, 255, 0.62), 122px 0 0 rgba(255, 255, 255, 0.8);
}

.site-card__image::after {
  right: 24px;
  width: 42px;
  height: 76px;
}

.site-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 0.9rem;
}

.dashboard-main {
  padding: 4px 0 0;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-tabs,
.dashboard-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-tabs a {
  padding-bottom: 8px;
  font-weight: 800;
  color: var(--muted-soft);
}

.dashboard-tabs a.is-active,
.dashboard-tabs a:hover {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}

.dashboard-badge {
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.dashboard-badge--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.dashboard-badge--accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-dark);
}

.mini-cards,
.highlights-grid,
.structure-grid,
.metrics-grid,
.process-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.mini-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 26px;
}

.mini-card,
.highlight-card,
.structure-card,
.metric-card,
.process-card,
.quote-card,
.faq-card {
  border-radius: 24px;
  padding: 24px;
}

.mini-card strong,
.highlight-card strong,
.metric-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.dashboard-section h2,
.section-heading h2,
.page-hero-card h1,
.footer-brand h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.dashboard-section h2 {
  margin-bottom: 18px;
}

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

.content-band {
  padding: 32px 0;
}

.content-band--soft .content-band__inner,
.content-band--warm .content-band__inner {
  padding: 34px;
  border-radius: 32px;
}

.content-band--soft .content-band__inner {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(227, 216, 199, 0.7);
}

.content-band--warm .content-band__inner {
  background: linear-gradient(135deg, rgba(243, 221, 207, 0.5), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(227, 216, 199, 0.8);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading h2 {
  max-width: 860px;
}

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

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

.metric-card {
  min-height: 150px;
}

.metric-card--soft {
  background: #fff7ef;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

.quote-card h3,
.faq-card h3,
.process-card h3,
.structure-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
}

.inner-page {
  padding: 28px 0 48px;
}

.page-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  padding: 32px;
  border-radius: 32px;
}

.page-intro {
  margin: 16px 0 0;
  max-width: 760px;
}

.page-side-note {
  align-self: start;
  padding: 22px;
  border-radius: 24px;
  background: #fff7ef;
  border: 1px solid var(--border);
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-form-card {
  padding: 28px;
}

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

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

.field,
.checkbox-field {
  display: grid;
  gap: 8px;
}

.field span,
.checkbox-field span {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fffdfa;
  color: var(--text);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.honeypot {
  display: none;
}

.checkbox-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
}

.checkbox-field input:checked {
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-color: transparent;
}

.notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
}

.notice--success {
  background: #ebf7ef;
  color: #246d39;
}

.notice--error {
  background: #fbeceb;
  color: #8b2f26;
}

.site-footer {
  padding: 26px 0 40px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.63fr));
  gap: 24px;
  padding: 34px;
  border-radius: 32px;
  background: rgba(30, 38, 48, 0.98);
  color: rgba(255, 255, 255, 0.94);
}

.footer-brand p,
.footer-links p,
.site-footer__meta p,
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(26, 19, 13, 0.68);
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 100;
  width: min(540px, calc(100% - 24px));
  padding: 28px;
  border-radius: 28px;
  transform: translate(-50%, -50%);
}

.cookie-modal h2 {
  margin: 8px 0 12px;
  font-size: 1.7rem;
  line-height: 1.2;
}

.cookie-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .dashboard-shell,
  .hero-intro__grid,
  .page-hero-card,
  .contact-grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .mini-cards,
  .highlights-grid,
  .structure-grid,
  .metrics-grid,
  .process-grid,
  .process-grid--wide,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__meta,
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    min-height: 78px;
    gap: 14px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: rgba(255, 253, 249, 0.98);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-action {
    display: none;
  }

  .hero-intro,
  .inner-page {
    padding-top: 20px;
  }

  .dashboard-shell,
  .content-band--soft .content-band__inner,
  .content-band--warm .content-band__inner,
  .site-footer__inner,
  .page-hero-card,
  .contact-form-card {
    padding: 22px;
  }

  .mini-cards,
  .highlights-grid,
  .structure-grid,
  .metrics-grid,
  .process-grid,
  .process-grid--wide,
  .testimonial-grid,
  .faq-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
