:root {
  --ink: #183b3c;
  --ink-soft: #526b69;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dce4df;
  --sage: #dce7d5;
  --sage-deep: #aebfa4;
  --sand: #eee4d6;
  --sky: #d6e7e8;
  --accent: #d66b46;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, Arial, sans-serif;
  --shadow: 0 20px 50px rgba(24, 59, 60, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


.post-list {list-style: circle;}

button {
  color: inherit;
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section-space {
  padding: 110px 0;
}

.eyebrow,
.footer-label {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  background: #fcfcfc;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  min-width: 190px;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  
  max-height: 80px;
  width:444px; 
  object-fit:cover;
}

.brand-fallback {
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
}

.brand-fallback em {
  color: var(--accent);
  font-weight: 400;
}

.site-navigation {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--ink);
}

.nav-list a.is-active {
  position: relative;
}

.nav-list a.is-active::after {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.partners img{
  margin: 4% auto; 
  border-radius:34px; 
  object-fit:cover; 
  max-height:80px; 
  width: 288px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 1px;
  display: block;
  margin: 4px auto;
  background: var(--ink);
}

.hero-section {
  overflow: hidden;
  background: var(--white);
}

.hero-grid {
  min-height: 530px;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 90px;
}

.hero-content h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-content h1 {
  max-width: 650px;
  font-size: clamp(48px, 6vw, 80px);
}

.hero-content h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-intro {
  max-width: 530px;
  margin: 27px 0 31px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-text {
  min-height: auto;
  padding: 0;
  color: var(--ink);
}

.button-text span,
.text-link span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 180ms ease;
}

.button-text:hover span,
.text-link:hover span {
  transform: translateX(4px);
}

.hero-art {
  min-height: 390px;
  background: var(--sage);
  position: relative;
  overflow: hidden;
}

.shape {
  position: absolute;
}

.shape-large {
  width: 285px;
  height: 390px;
  border: 1px solid rgba(24, 59, 60, 0.3);
  border-radius: 160px 160px 0 0;
  right: 45px;
  bottom: -68px;
}

.shape-circle {
  width: 170px;
  height: 170px;
  background: var(--sand);
  border-radius: 50%;
  top: 46px;
  left: 50px;
}

.shape-small {
  width: 86px;
  height: 86px;
  background: var(--accent);
  border-radius: 50% 50% 0 50%;
  right: 83px;
  top: 60px;
}

.hero-note {
  width: 154px;
  min-height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.1;
  position: absolute;
  bottom: 36px;
  left: 40px;
}

.note-mark {
  color: var(--accent);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 115px;
}

.main-content h2,
.section-heading h2,
.closing-inner h2 {
  font-size: clamp(37px, 4vw, 56px);
}

.main-content > p:not(.eyebrow) {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.text-link {
  display: inline-block;
  margin-top: 31px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.sidebar-box {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.box-heading h3 {
  font-size: 30px;
}

.post-list,
.partner-list {
  min-height: 60px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.partners-box {
  min-height: 170px;
  background: var(--sky);
  border-color: transparent;
}

.feature-section {
  background: var(--white);
}

.section-heading {
  margin-bottom: 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
}

.section-heading .text-link {
  margin: 0 0 8px;
  white-space: nowrap;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 204px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.feature-card-sage {
  background: var(--sage);
}

.feature-card-sand {
  background: var(--sand);
}

.feature-card-blue {
  background: var(--sky);
}

.card-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin-top: auto;
  font-size: 38px;
}

.feature-card p {
  max-width: 280px;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.card-arrow {
  color: var(--ink);
  font-size: 27px;
  position: absolute;
  top: 24px;
  right: 27px;
}

.closing-section {
  padding: 105px 0;
  color: var(--white);
  text-align: center;
  background: var(--ink);
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing-inner .eyebrow {
  color: var(--accent);
}

.closing-inner h2 {
  margin-bottom: 31px;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.site-footer {
  padding: 58px 0 20px;
  background: #f1f2ec;
}

.footer-top {
  padding-bottom: 55px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-links {
  display: flex;
  gap: 90px;
}

.footer-label {
  color: var(--ink-soft);
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: var(--ink);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-soft);
  border-top: 1px solid #d4d9d2;
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.not-found-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.not-found-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 100px 24px;
  text-align: center;
}

.not-found-content {
  max-width: 620px;
}

.not-found-code {
  margin: 0 0 15px;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(80px, 15vw, 170px);
  line-height: 0.8;
}

.not-found-content h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.not-found-content p {
  max-width: 470px;
  margin: 22px auto 30px;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .section-space {
    padding: 75px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-navigation {
    width: 100%;
    padding: 18px 24px 24px;
    display: none;
    background: var(--paper);
    border-top: 1px solid var(--line);
    position: absolute;
    top: 72px;
    left: 0;
  }

  .site-navigation.is-open {
    display: block;
  }

  .nav-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .nav-list a.is-active::after {
    display: none;
  }

  .hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-art {
    min-height: 310px;
  }

  .content-layout {
    gap: 45px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 250px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 55px;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-art {
    min-height: 270px;
  }

  .shape-large {
    width: 210px;
    height: 300px;
    right: 20px;
  }

  .shape-circle {
    width: 120px;
    height: 120px;
    left: 25px;
  }

  .shape-small {
    right: 34px;
    top: 35px;
  }

  .hero-note {
    bottom: 20px;
    left: 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    gap: 42px;
  }
}
