/* TODO: Adjust --astim-green to the exact green from the ASTIM logo once the logo file is supplied. */
:root {
  --paper: #ffffff;
  --paper-soft: #fbf9fc;
  --paper-tint: #f3eef5;
  --ink: #22172d;
  --ink-muted: #665b70;
  --plum: #4b185f;
  --plum-deep: #2f173d;
  --astim-green: #2f8f6b;
  --gold: #b88a3d;
  --line: #e7dde9;
  --shadow: 0 22px 70px rgba(34, 23, 45, 0.13);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(47, 143, 107, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 1rem;
  z-index: 1000;
  padding: 0.65rem 0.9rem;
  background: var(--plum-deep);
  color: var(--paper);
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 221, 233, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  min-width: 0;
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid rgba(184, 138, 61, 0.55);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--plum), var(--plum-deep));
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-weight: 750;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 0.18rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.45rem 0.72rem;
  border-radius: var(--radius);
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.language-switch,
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  cursor: pointer;
}

.language-switch {
  padding: 0 0.75rem;
}

.language-switch:hover,
.menu-toggle:hover {
  border-color: rgba(47, 143, 107, 0.5);
  color: var(--plum);
}

.menu-toggle {
  display: none;
  position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  margin: 5px 0;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: var(--paper-soft);
}

.section-plum {
  background: linear-gradient(135deg, var(--plum-deep), var(--plum));
  color: var(--paper);
}

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

.narrow {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--astim-green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-plum .eyebrow,
.hero .eyebrow {
  color: #86d8ba;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: 3.85rem;
}

h2 {
  font-size: 2.35rem;
}

h3 {
  font-size: 1.34rem;
}

h4 {
  font-size: 1.05rem;
}

.section-plum h2,
.section-plum h3,
.hero h1,
.hero p {
  color: var(--paper);
}

.lead {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 1.12rem;
}

.section-plum .lead,
.hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  padding: 7rem 0 4.5rem;
  background:
    linear-gradient(90deg, rgba(33, 20, 47, 0.92) 0%, rgba(48, 24, 61, 0.76) 43%, rgba(48, 24, 61, 0.36) 100%),
    url("../img/hero-negotiation.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(33, 20, 47, 0.5), rgba(33, 20, 47, 0));
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.76rem 1.08rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--plum);
  color: var(--paper);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--plum-deep);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.button-secondary {
  background: var(--paper);
  color: var(--plum);
  border-color: rgba(75, 24, 95, 0.18);
}

.button-secondary:hover {
  background: var(--paper-tint);
  color: var(--plum);
}

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--paper);
}

.button-arrow {
  font-size: 1.1em;
}

.proof-strip {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.proof-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.proof-item strong {
  display: block;
  color: var(--paper);
  font-size: 1rem;
}

.page-hero {
  padding: 6.5rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(48, 23, 61, 0.98), rgba(75, 24, 95, 0.92)),
    var(--plum);
  color: var(--paper);
}

.page-hero h1,
.page-hero p {
  color: var(--paper);
}

.breadcrumbs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.grid {
  display: grid;
  gap: 1.3rem;
}

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

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

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

.section-grid {
  margin-top: 2rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 35px rgba(34, 23, 45, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 24, 95, 0.28);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
}

.service-card p,
.value-card p,
.step-card p,
.contact-card p {
  margin: 0.7rem 0 0;
  color: var(--ink-muted);
}

.service-card a {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--plum);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.portrait-panel {
  position: relative;
}

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

.portrait-caption {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.1rem;
  border-left: 3px solid var(--astim-green);
  background: var(--paper-soft);
}

.stat strong {
  display: block;
  color: var(--plum);
  font-size: 1.4rem;
}

.value-card,
.step-card,
.contact-card {
  padding: 1.35rem;
}

.feature-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--ink-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--astim-green);
  box-shadow: 0 0 0 4px rgba(47, 143, 107, 0.12);
}

.process {
  counter-reset: step;
}

.step-card {
  position: relative;
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--plum);
  color: var(--paper);
  font-weight: 850;
}

.highlight-band {
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 143, 107, 0.11), rgba(184, 138, 61, 0.11)),
    var(--paper);
  border: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
}

.contact-link {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-link strong {
  display: block;
  color: var(--ink);
}

.contact-link span {
  color: var(--ink-muted);
}

.form-card {
  padding: 1.5rem;
}

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

.form-grid-spaced {
  margin-top: 1.2rem;
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8cedc;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0.82rem 0.9rem;
}

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

input:focus,
textarea:focus {
  border-color: var(--astim-green);
  outline: 3px solid rgba(47, 143, 107, 0.18);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.checkbox input {
  width: auto;
  min-width: 20px;
  height: 20px;
  margin-top: 0.18rem;
}

.hidden {
  display: none;
}

.map-placeholder {
  min-height: 320px;
  display: grid;
  align-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  padding: 2rem;
  border: 1px dashed rgba(75, 24, 95, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 143, 107, 0.12), rgba(75, 24, 95, 0.1)),
    var(--paper);
}

.map-placeholder p {
  margin: 0;
  color: var(--ink-muted);
}

.privacy-content {
  display: grid;
  gap: 1.5rem;
}

.privacy-content section {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.privacy-content h2 {
  font-size: 1.45rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--ink-muted);
}

.privacy-content ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.cta-panel h2 {
  color: var(--paper);
}

.site-footer {
  background: #191124;
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--paper);
}

.footer-brand {
  display: grid;
  gap: 0.8rem;
}

.footer-brand p,
.footer-col p {
  margin: 0;
}

.footer-col ul {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.site-footer a:hover {
  color: #86d8ba;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .hero .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .split,
  .contact-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    align-items: start;
  }
}

@media (max-width: 780px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-subtitle {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .js .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
  }

  .site-nav a {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: 72vh;
    padding: 6rem 0 3rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 4rem 0;
  }

  .proof-strip,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-row,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .container,
  .hero-content {
    width: min(100% - 1.25rem, var(--max));
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .hero-actions,
  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-item,
  .highlight-band,
  .form-card {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
