@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --blue-dark: #034C8C;
  --blue-soft: #034C8C;
  --green: #034C8C;
  --brown: #A68A56;
  --sand: #A68A56;

  --cream: #F2F1DF;
  --cream-2: #F2F1DF;
  --dark: #034C8C;
  --muted: rgba(3, 76, 140, 0.68);
  --white-soft: rgba(242, 241, 223, 0.88);

  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;

  --shadow-soft: 0 30px 80px rgba(3, 76, 140, 0.14);
  --shadow-small: 0 12px 35px rgba(3, 76, 140, 0.10);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--cream);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font-family: inherit;
}

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

::selection {
  background: var(--sand);
  color: var(--cream);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(3, 76, 140, 0.28) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(166, 138, 86, 0.18) 0 1px, transparent 1px);
  background-size: 18px 18px, 23px 23px;
  mix-blend-mode: multiply;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* Loader */

.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--cream);
  display: grid;
  place-items: center;
  transition:
    opacity 700ms ease,
    visibility 700ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  text-align: center;
  transform: translateY(10px);
  animation: loaderIn 900ms ease forwards;
}

.loader__logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(3, 76, 140, 0.12);
  border-radius: 50%;
  background: rgba(242, 241, 223, 0.62);
  box-shadow: var(--shadow-small);
}

.loader__logo img {
  width: 58px;
  height: auto;
}

.loader p {
  margin: 0;
  font-size: clamp(2rem, 8vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.92;
}

.loader span {
  display: block;
  margin-top: 18px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

@keyframes loaderIn {
  to {
    transform: translateY(0);
  }
}

/* Header */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 34px));
  transform: translateX(-50%);
  height: 72px;
  padding: 0 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(242, 241, 223, 0.42);
  border-radius: 999px;
  background: rgba(242, 241, 223, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 70px rgba(3, 76, 140, 0.08);
  transition:
    background 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(242, 241, 223, 0.88);
  box-shadow: 0 20px 60px rgba(3, 76, 140, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  font-weight: 760;
  letter-spacing: -0.04em;
  font-size: 1.02rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav a {
  position: relative;
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(3, 76, 140, 0.72);
  transition:
    color 220ms ease,
    background 220ms ease;
}

.nav a:hover {
  color: var(--dark);
  background: rgba(3, 76, 140, 0.06);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform 220ms ease,
    background 220ms ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--sand);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  cursor: pointer;
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--cream);
  border-radius: 99px;
  transition:
    transform 250ms ease,
    top 250ms ease;
}

.menu-btn span:first-child {
  top: 17px;
}

.menu-btn span:last-child {
  top: 27px;
}

body.menu-open .menu-btn span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

body.menu-open .menu-btn span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* Shared */

section {
  position: relative;
}

.section-dark {
  background: var(--blue-dark);
  color: var(--cream);
}

.section-light {
  background: var(--cream);
  color: var(--blue-dark);
}

.section-blue {
  background: var(--cream);
  color: var(--blue-dark);
}

.section-green {
  background: var(--blue-dark);
  color: var(--cream);
}

.section-brown {
  background: var(--cream);
  color: var(--blue-dark);
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(3, 76, 140, 0.56);
}

.section-dark .eyebrow,
.section-green .eyebrow,
.hero .eyebrow,
.contact .eyebrow {
  color: rgba(242, 241, 223, 0.68);
}

.eyebrow.dark {
  color: rgba(3, 76, 140, 0.56);
}

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

h1,
h2 {
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.065em;
}

h1 {
  max-width: 980px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.07em;
  word-spacing: 0.06em;
  text-transform: none;
}

h1 span {
  display: block;
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(1.9rem, 4.2vw, 4.1rem);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.055em;
  word-spacing: 0.1em;
  color: rgba(242, 241, 223, 0.86);
}

h2 {
  font-size: clamp(2.5rem, 6vw, 6.2rem);
  line-height: 0.9;
  font-weight: 850;
}

h3 {
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
  font-weight: 760;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--sand);
  color: var(--cream);
  box-shadow: 0 18px 45px rgba(166, 138, 86, 0.25);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--cream);
}

.btn-ghost {
  border: 1px solid rgba(242, 241, 223, 0.30);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: rgba(242, 241, 223, 0.72);
  background: rgba(242, 241, 223, 0.10);
}

.btn-full {
  width: 100%;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 58px;
}

.section-heading h2 {
  margin-bottom: 20px;
}

.section-subtitle {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 850ms ease,
    transform 850ms ease;
}

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

/* Hero */

.hero {
  min-height: 100svh;
  padding: 160px 0 90px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__bg-word {
  position: absolute;
  left: -0.08em;
  bottom: -0.2em;
  font-size: clamp(7rem, 24vw, 24rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.75;
  color: rgba(242, 241, 223, 0.035);
  user-select: none;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  right: -10vw;
  top: 4vh;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 241, 223, 0.12), transparent 60%);
  filter: blur(8px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 34vw;
  height: 34vw;
  left: -14vw;
  bottom: -12vw;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(166, 138, 86, 0.24), transparent 62%);
  filter: blur(8px);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.hero__text {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(242, 241, 223, 0.76);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__visual {
  position: absolute;
  z-index: 1;
  right: max(30px, calc((100vw - var(--container)) / 2));
  bottom: 88px;
  width: min(390px, 32vw);
  min-width: 300px;
}

.floating-card {
  border: 1px solid rgba(242, 241, 223, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(242, 241, 223, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.card-main {
  overflow: hidden;
  transform: rotate(-2deg);
}

.card-main__top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline: 20px;
  border-bottom: 1px solid rgba(242, 241, 223, 0.12);
}

.card-main__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-main__top span:nth-child(1) {
  background: var(--sand);
}

.card-main__top span:nth-child(2) {
  background: var(--cream);
}

.card-main__top span:nth-child(3) {
  background: var(--blue-dark);
}

.shop-preview {
  padding: 24px;
}

.shop-preview__tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(166, 138, 86, 0.18);
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 780;
}

.shop-preview h3 {
  margin-bottom: 24px;
  font-size: 1.85rem;
  color: var(--cream);
}

.product-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(242, 241, 223, 0.12);
}

.product-line strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.96rem;
}

.product-line small {
  color: rgba(242, 241, 223, 0.58);
}

.product-line button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--dark);
  font-weight: 760;
  cursor: default;
}

.card-mini {
  position: absolute;
  right: -28px;
  bottom: -32px;
  width: 150px;
  height: 150px;
  padding: 22px;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--sand);
  color: var(--cream);
  border-radius: 50%;
  transform: rotate(8deg);
}

.card-mini strong {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.08em;
}

.card-mini span {
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 760;
}

.scroll-indicator {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(242, 241, 223, 0.62);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.scroll-indicator span {
  width: 38px;
  height: 1px;
  background: rgba(242, 241, 223, 0.5);
}

/* Intro */

.intro {
  padding: 120px 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro__title h2 {
  margin-bottom: 0;
}

.intro__text {
  padding-top: 28px;
}

.intro__text p {
  margin-bottom: 24px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--muted);
}

/* Services */

.services {
  padding: 130px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(3, 76, 140, 0.12);
  border-left: 1px solid rgba(3, 76, 140, 0.12);
}

.service-card {
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  border-right: 1px solid rgba(3, 76, 140, 0.12);
  border-bottom: 1px solid rgba(3, 76, 140, 0.12);
  transition:
    background 280ms ease,
    transform 280ms ease;
}

.service-card:hover {
  background: rgba(3, 76, 140, 0.04);
  transform: translateY(-6px);
}

.service-card span {
  font-size: 0.84rem;
  color: rgba(3, 76, 140, 0.52);
}

.service-card h3 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
}

.service-card p {
  max-width: 290px;
  margin-bottom: 0;
  line-height: 1.65;
  color: rgba(3, 76, 140, 0.72);
}

/* No commission */

.no-commission {
  padding: 105px 0;
}

.no-commission__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.big-number {
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 0.75;
  letter-spacing: -0.14em;
  font-weight: 920;
  color: rgba(242, 241, 223, 0.9);
}

.no-commission h2 {
  margin-bottom: 22px;
}

.no-commission p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(242, 241, 223, 0.75);
  line-height: 1.65;
  font-size: 1.1rem;
}

/* Cases */

.cases {
  padding: 130px 0;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.case-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(242, 241, 223, 0.78);
  box-shadow: var(--shadow-small);
  border: 1px solid rgba(3, 76, 140, 0.10);
}

.case-card__media {
  height: 280px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  background: rgba(3, 76, 140, 0.06);
}

.case-card__media--image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 500ms ease, filter 500ms ease;
}

.case-card:hover .case-card__media--image img {
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
}

.case-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(3, 76, 140, 0.04),
      rgba(3, 76, 140, 0.16)
    );
}

.case-card__media--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(166, 138, 86, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(3, 76, 140, 0.94), rgba(166, 138, 86, 0.72));
}

.case-placeholder {
  width: calc(100% - 44px);
  min-height: 210px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 26px;
  border: 1px solid rgba(242, 241, 223, 0.28);
  color: var(--cream);
  position: relative;
  z-index: 2;
}

.case-placeholder span {
  width: max-content;
  margin-bottom: auto;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(242, 241, 223, 0.12);
  color: rgba(242, 241, 223, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
}

.case-placeholder strong {
  max-width: 420px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.case-placeholder small {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(242, 241, 223, 0.68);
}

.case-card__body {
  padding: 28px;
}

.case-card__body p {
  margin-bottom: 10px;
  color: rgba(3, 76, 140, 0.52);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}

.case-card__body h3 {
  margin-bottom: 12px;
  font-size: 2rem;
  color: var(--blue-dark);
}

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

/* Plans */

.plans {
  padding: 130px 0;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  min-height: 570px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: rgba(242, 241, 223, 0.76);
  border: 1px solid rgba(3, 76, 140, 0.12);
  box-shadow: 0 28px 75px rgba(3, 76, 140, 0.08);
  transition:
    transform 260ms ease,
    background 260ms ease,
    border-color 260ms ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  background: rgba(242, 241, 223, 0.96);
  border-color: rgba(3, 76, 140, 0.22);
}

.plan-card--featured {
  background: var(--blue-dark);
  color: var(--cream);
  border-color: rgba(242, 241, 223, 0.20);
}

.plan-card--featured:hover {
  background: var(--blue-dark);
  border-color: rgba(242, 241, 223, 0.34);
}

.plan-card--featured .plan-card__label {
  color: var(--cream);
  background: rgba(166, 138, 86, 0.90);
}

.plan-card__label {
  width: max-content;
  margin-bottom: 34px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(3, 76, 140, 0.08);
  color: rgba(3, 76, 140, 0.68);
  font-size: 0.78rem;
  font-weight: 760;
}

.plan-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.plan-card p:not(.plan-card__label) {
  margin-bottom: 26px;
  line-height: 1.6;
  color: currentColor;
  opacity: 0.74;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
}

.plan-card li {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid rgba(3, 76, 140, 0.12);
  line-height: 1.45;
}

.plan-card--featured li {
  border-top-color: rgba(242, 241, 223, 0.18);
}

.plan-card li::before {
  content: "✦";
  color: var(--sand);
}

.plan-card--featured li::before {
  color: var(--sand);
}

.plan-link {
  margin-top: auto;
  min-height: 54px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  background: var(--blue-dark);
  color: var(--cream);
  font-weight: 760;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.plan-link:hover {
  transform: translateY(-3px);
  background: var(--sand);
  color: var(--cream);
}

.plan-card--featured .plan-link {
  background: var(--sand);
  color: var(--cream);
}

.plan-card--featured .plan-link:hover {
  background: var(--cream);
  color: var(--blue-dark);
}

/* Contact */

.contact {
  padding: 130px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr;
  gap: 60px;
  align-items: center;
}

.contact__content h2 {
  margin-bottom: 26px;
}

.contact__content p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(242, 241, 223, 0.76);
  line-height: 1.65;
  font-size: 1.1rem;
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.contact__details div {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(242, 241, 223, 0.08);
  border: 1px solid rgba(242, 241, 223, 0.12);
}

.contact__details span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(242, 241, 223, 0.5);
}

.contact__details strong {
  font-size: 1rem;
}

.contact__panel {
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  color: var(--dark);
  box-shadow: var(--shadow-soft);
}

.contact__panel h3 {
  margin-bottom: 18px;
  font-size: 2.6rem;
}

.contact__panel p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact__panel small {
  display: block;
  margin-top: 18px;
  color: rgba(3, 76, 140, 0.56);
  line-height: 1.55;
}

/* Footer */

.footer {
  padding: 34px 0;
  background: var(--blue-dark);
  color: rgba(242, 241, 223, 0.76);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  color: var(--cream);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer p {
  margin: 0;
}

.footer span {
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 1040px) {
  .header-cta {
    display: none;
  }

  .hero__visual {
    opacity: 0.42;
    right: 24px;
    bottom: 80px;
  }

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

  .contact__grid,
  .intro__grid,
  .no-commission__grid {
    grid-template-columns: 1fr;
  }

  .intro__grid,
  .contact__grid,
  .no-commission__grid {
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    height: 66px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 12px;
    right: 12px;
    height: calc(100svh - 98px);
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border-radius: 30px;
    background: rgba(242, 241, 223, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 250ms ease,
      visibility 250ms ease,
      transform 250ms ease;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 20px;
    font-size: 1.25rem;
    font-weight: 760;
    color: var(--dark);
  }

  .menu-btn {
    display: block;
  }

  .hero {
    min-height: 100svh;
    padding: 135px 0 90px;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.035em;
    word-spacing: 0.055em;
  }

  h1 span {
    margin-top: 14px;
    font-size: clamp(1.55rem, 7.2vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.018em;
    word-spacing: 0.09em;
  }

  .hero__visual {
    position: relative;
    width: min(100%, 360px);
    min-width: 0;
    right: auto;
    bottom: auto;
    margin: 48px auto 0;
    opacity: 1;
  }

  .hero__content {
    width: min(var(--container), calc(100% - 32px));
  }

  .services,
  .cases,
  .plans,
  .contact,
  .intro {
    padding: 90px 0;
  }

  .services__grid,
  .cases__grid,
  .plans__grid,
  .contact__details {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 28px;
  }

  .case-card__media {
    min-height: 300px;
  }

  .case-card__media,
  .case-card__media--image img {
  height: 240px;
  min-height: 240px;
  }

  .case-placeholder {
  min-height: 180px;
  }

  .case-placeholder strong {
  font-size: clamp(2rem, 10vw, 3rem);
  }

  .plan-card {
    min-height: auto;
  }

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

@media (max-width: 520px) {
  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-left: 14px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .shop-preview {
    padding: 20px;
  }

  .card-mini {
    width: 124px;
    height: 124px;
    right: -10px;
    bottom: -20px;
  }

  .card-mini strong {
    font-size: 2.45rem;
  }

  .big-number {
    font-size: 8.4rem;
  }

  .contact__panel {
    padding: 24px;
  }

  .contact__panel h3 {
    font-size: 2.1rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    word-spacing: 0.06em;
  }

  h1 span {
    font-size: clamp(1.35rem, 6.4vw, 2.1rem);
    line-height: 1.14;
    letter-spacing: -0.012em;
    word-spacing: 0.1em;
  }
}