:root {
  --coffee: #2b180f;
  --coffee-2: #3a2115;
  --cream: #f8efdF;
  --cream-2: #fff7eb;
  --ink: #25150e;
  --muted: #715a4b;
  --line: rgba(60, 30, 20, 0.17);
  --red: #c93529;
  --shadow: 0 22px 58px rgba(15, 7, 4, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -6%, rgba(201, 53, 41, 0.22), transparent 24rem),
    radial-gradient(circle at 15% 14%, rgba(255, 226, 189, 0.1), transparent 18rem),
    linear-gradient(110deg, rgba(255, 242, 222, 0.025) 1px, transparent 1px),
    var(--coffee);
  background-size: auto, auto, 42px 42px, auto;
  color: var(--cream);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

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

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

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

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: screen;
  background:
    repeating-radial-gradient(circle at 0 0, rgba(255, 239, 216, 0.14) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(102deg, rgba(255, 239, 216, 0.04) 0 1px, transparent 1px 10px);
}

.page {
  width: 100%;
  max-width: 525px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  padding: clamp(28px, 7vw, 42px) clamp(18px, 5vw, 30px) 38px;
  position: relative;
  isolation: isolate;
}

.page::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 238, 213, 0.09);
  border-radius: 28px;
  background: rgba(255, 237, 210, 0.025);
}

.intro {
  padding: 6px 0 clamp(44px, 11vw, 62px);
  text-align: center;
}

.portrait {
  width: clamp(96px, 27vw, 124px);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(10, 5, 3, 0.34);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}

.intro h1 {
  margin: 0 auto 28px;
  max-width: 420px;
  color: var(--cream-2);
  font-size: clamp(29px, 7.7vw, 37px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
  text-wrap: balance;
  animation: title-in 720ms ease both;
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.intro__theses {
  max-width: 430px;
  margin: 0 auto 17px;
  color: rgba(255, 239, 216, 0.88);
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.52;
  font-weight: 600;
}

.intro__copy {
  max-width: 435px;
  margin: 0 auto;
  color: rgba(255, 239, 216, 0.78);
  font-size: clamp(15px, 3.95vw, 16px);
}

.services {
  padding-bottom: 16px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 17px;
  font-size: clamp(23px, 6.2vw, 28px);
  line-height: 1.1;
  font-weight: 800;
  text-align: left;
}

.section-title::before {
  content: "";
  flex: 0 0 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
}

.tariff {
  position: relative;
  margin-bottom: 16px;
  padding: clamp(18px, 5vw, 24px);
  border-radius: 14px;
  border: 1px solid rgba(255, 243, 224, 0.66);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 238, 213, 0.92)),
    var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.tariff::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 3px;
  height: 70px;
  border-radius: 0 4px 4px 0;
  background: var(--red);
}

.tariff__head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 17px;
}

.tariff__head>span {
  color: rgba(37, 21, 14, 0.16);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  font-size: 31px;
  font-weight: 550;
  font-variation-settings: "wght" 550;
  line-height: 0.95;
}

.tariff h3 {
  margin: 0 0 7px;
  font-size: clamp(22px, 5.8vw, 26px);
  line-height: 1.06;
  letter-spacing: 0;
}

.tariff__head strong {
  display: block;
  color: var(--red);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  font-size: clamp(25px, 6.6vw, 30px);
  line-height: 1;
  font-weight: 550;
  font-variation-settings: "wght" 550;
}

.tariff__items {
  display: grid;
  gap: 14px;
}

.tariff__items section {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tariff__items b {
  grid-row: span 2;
  color: var(--red);
  font-family: "Jost", "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 550;
  font-variation-settings: "wght" 550;
  line-height: 1.35;
}

.tariff h4 {
  margin: 0 0 7px;
  font-size: clamp(15px, 4vw, 16px);
  line-height: 1.27;
  font-weight: 700;
}

.tariff p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 3.7vw, 15px);
  line-height: 1.45;
}

.tariff__lead {
  padding: 0 0 15px 45px;
}

.tariff__items--compact {
  gap: 11px;
}

.tariff__items--compact h4 {
  margin-bottom: 0;
}

.tariff--full {
  border-color: rgba(201, 53, 41, 0.34);
  box-shadow: 0 26px 68px rgba(15, 7, 4, 0.34);
}

.tariff__label {
  position: absolute;
  top: -13px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: lowercase;
  box-shadow: 0 8px 18px rgba(15, 7, 4, 0.25);
}

.custom {
  margin-top: 4px;
  padding: clamp(17px, 4.8vw, 22px);
  border: 1px solid rgba(255, 239, 216, 0.14);
  border-radius: 14px;
  background: rgba(255, 239, 216, 0.065);
}

.custom p {
  margin: 0;
  color: var(--cream-2);
  font-size: clamp(15px, 4vw, 16px);
  line-height: 1.45;
}

.contact {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding: clamp(18px, 5.5vw, 26px);
  border: 1px solid rgba(255, 239, 216, 0.13);
  border-radius: 24px;
  background: rgba(255, 239, 216, 0.045);
}

.bracket-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 310px);
  min-height: 62px;
  padding: 0 15px 0 clamp(20px, 6vw, 28px);
  border: 1px solid rgba(255, 239, 216, 0.82);
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(248, 225, 197, 0.96)),
    var(--cream-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 18px 40px rgba(12, 5, 2, 0.28);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.bracket-button::after {
  content: "↗";
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--cream-2);
  background: var(--red);
  box-shadow: 0 10px 20px rgba(113, 23, 18, 0.25);
  font-size: 17px;
  font-weight: 800;
}

.bracket-button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 239, 216, 0.98);
  background:
    linear-gradient(120deg, #fff8ed, #f4d5af),
    var(--cream-2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 52px rgba(12, 5, 2, 0.36);
}

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

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

@media (min-width: 526px) {
  .page {
    box-shadow: 0 30px 100px rgba(9, 4, 2, 0.28);
  }
}

@media (max-width: 365px) {
  .page {
    padding-inline: 16px;
  }

  .tariff__head,
  .tariff__items section {
    grid-template-columns: 1fr;
  }

  .tariff__items b {
    grid-row: auto;
    margin-bottom: 5px;
  }

  .tariff__lead {
    padding-left: 0;
  }
}

@media (max-width: 525px) {
  body {
    background:
      linear-gradient(110deg, rgba(255, 242, 222, 0.025) 1px, transparent 1px),
      var(--coffee);
    background-size: 42px 42px, auto;
  }

  .site-noise {
    background: repeating-linear-gradient(102deg, rgba(255, 239, 216, 0.04) 0 1px, transparent 1px 10px);
  }

  .contact {
    padding: clamp(4px, 1.5vw, 26px);
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}