:root {
  --ink: #10283b;
  --ink-soft: #344c5f;
  --paper: #fff8ed;
  --white: #ffffff;
  --sea: #00aeb3;
  --fuchsia: #e83e8c;
  --sun: #f8be2f;
  --leaf: #76b82a;
  --clay: #f06d3a;
  --line: rgba(16, 40, 59, 0.14);
  --shadow: 0 28px 80px rgba(16, 40, 59, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Nunito Sans", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  color: var(--ink);
  background: rgba(255, 248, 237, 0.94);
  box-shadow: 0 10px 35px rgba(16, 40, 59, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  object-fit: cover;
}

.site-header.is-scrolled .brand img,
body.menu-open .brand img {
  border-color: rgba(16, 40, 59, 0.12);
}

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

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .nav a:hover,
body.menu-open .nav a:hover {
  background: rgba(0, 174, 179, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  padding: 140px clamp(20px, 5vw, 72px) 54px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 40, 59, 0.86) 0%, rgba(16, 40, 59, 0.5) 48%, rgba(16, 40, 59, 0.08) 100%),
    linear-gradient(0deg, rgba(16, 40, 59, 0.45), rgba(16, 40, 59, 0.12));
}

.hero__content {
  width: min(760px, 100%);
  margin-top: min(12vh, 110px);
}

.kicker,
.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  line-height: 1.12;
}

p {
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero__lead {
  max-width: 700px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
}

.button--primary {
  background: var(--sun);
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--white);
}

.hero__identity {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 38px;
  display: grid;
  grid-template-columns: 74px minmax(0, 190px);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero__identity img {
  width: 74px;
  height: 74px;
  border-radius: 6px;
  object-fit: cover;
}

.hero__identity span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.opening,
.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.opening {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 56px;
  padding: 84px 0 58px;
}

.section-label {
  color: var(--fuchsia);
}

.opening__copy {
  align-self: end;
}

.opening__copy p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.image-band {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 1.05fr;
  gap: 12px;
  width: min(1260px, calc(100% - 24px));
  margin: 0 auto;
}

.image-band figure {
  position: relative;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band figure:nth-child(2) {
  transform: translateY(42px);
}

.image-band figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.section {
  padding: 118px 0 84px;
}

.section__head {
  max-width: 820px;
  margin-bottom: 42px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 24px;
  min-height: 250px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.service-item__mark {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
}

.service-item--turquoise .service-item__mark {
  background: var(--sea);
}

.service-item--pink .service-item__mark {
  background: var(--fuchsia);
}

.service-item--green .service-item__mark {
  background: var(--leaf);
}

.service-item--yellow .service-item__mark {
  background: var(--sun);
  color: var(--ink);
}

.service-item p {
  margin-bottom: 0;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding: 96px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.method__media img {
  width: 100%;
  max-height: 620px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.method__content p {
  max-width: 640px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.method__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.method__grid span {
  min-height: 48px;
  padding: 13px 14px;
  border-left: 5px solid var(--sea);
  background: var(--paper);
  font-weight: 900;
}

.method__grid span:nth-child(4n + 2) {
  border-color: var(--fuchsia);
}

.method__grid span:nth-child(4n + 3) {
  border-color: var(--sun);
}

.method__grid span:nth-child(4n + 4) {
  border-color: var(--leaf);
}

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

.about__columns p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.proof__item {
  padding: 34px;
  background: var(--ink);
  color: var(--white);
}

.proof__item:nth-child(2) {
  background: #0f6f75;
}

.proof__item:nth-child(3) {
  background: #324f26;
}

.proof__item span {
  display: block;
  margin-bottom: 12px;
  color: var(--sun);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof__item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.faq {
  padding-top: 84px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 22px 0;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

.faq-list p {
  max-width: 760px;
  margin-bottom: 24px;
}

.contact {
  position: relative;
  min-height: 560px;
  padding: 92px clamp(20px, 5vw, 72px);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.contact__image,
.contact__overlay {
  position: absolute;
  inset: 0;
}

.contact__image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 40, 59, 0.92), rgba(16, 40, 59, 0.58)),
    linear-gradient(0deg, rgba(16, 40, 59, 0.52), rgba(16, 40, 59, 0.08));
}

.contact__content {
  width: min(780px, 100%);
}

.contact h2 {
  color: var(--white);
}

.contact address {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  font-style: normal;
}

.contact address span {
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 20px 20px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 22px 40px rgba(16, 40, 59, 0.12);
  }

  body.menu-open .nav {
    display: grid;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .opening,
  .method,
  .about__columns {
    grid-template-columns: 1fr;
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .image-band figure {
    min-height: 280px;
  }

  .image-band figure:nth-child(2) {
    transform: none;
  }

  .service-list,
  .proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand span {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 18px 34px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero__lead {
    font-size: 1.08rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero__identity {
    position: static;
    grid-template-columns: 58px 1fr;
    margin-top: 34px;
  }

  .hero__identity img {
    width: 58px;
    height: 58px;
  }

  .opening,
  .section {
    width: min(100% - 32px, 1160px);
  }

  .opening {
    padding-top: 62px;
  }

  .service-item {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 26px 0;
    background: transparent;
  }

  .method {
    padding: 64px 18px;
  }

  .method__grid {
    grid-template-columns: 1fr;
  }

  .proof__item {
    padding: 28px 22px;
  }

  .contact {
    min-height: 620px;
    padding: 70px 18px;
  }

  .contact address span {
    width: 100%;
    border-radius: 8px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
