html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  background: var(--white);
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

img {
  height: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 10000;
  background: var(--heading);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 4px;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-wide {
  width: min(var(--wide), calc(100% - 48px));
  margin-inline: auto;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 68ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 100%;
  width: min(1360px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: 210px;
}

.logo img {
  width: 210px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a,
.nav button.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--nav);
  padding: 10px 0;
  background: none;
}

.nav a:hover,
.nav button.nav-link:hover,
.nav a[aria-current="page"] {
  color: var(--red);
}

.menu-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
}

.dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  padding: 10px 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}

.menu-item:hover > .dropdown,
.menu-item:focus-within > .dropdown,
.menu-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-weight: 500;
  color: rgba(102, 102, 102, 0.95);
}

.dropdown a:hover {
  color: var(--red);
  background: #fff6f5;
}

a.nav-contact {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
}

.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--nav);
  padding: 6px;
}

.flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn-pill {
  min-height: 36px;
  padding: 7px 16px;
  border-radius: var(--pill);
  font-size: 13.2px;
  font-weight: 700;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background: #d4332a;
}

.btn-deep {
  background: var(--red-dark);
  color: var(--white);
}

.btn-deep:hover {
  background: #a3261f;
}

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: #d9d9d9;
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--heading);
  transition: transform var(--ease), opacity var(--ease);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 72px 0 120px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.18) 42%, rgba(255, 255, 255, 0) 70%),
    repeating-linear-gradient(
      90deg,
      #fff7f6 0px,
      #fff7f6 70px,
      #fde7e4 70px,
      #fde7e4 140px,
      #f8cfcb 140px,
      #f8cfcb 210px,
      #f3b7b2 210px,
      #f3b7b2 280px,
      #ee9d97 280px,
      #ee9d97 350px
    );
  overflow: hidden;
}

.hero-copy {
  width: min(820px, calc(100% - 80px));
  margin-left: max(48px, calc((100% - 1170px) / 2));
}

.hero h1 {
  font-size: 61.6px;
  line-height: 1.4;
  font-weight: 700;
  color: #555;
  max-width: 16ch;
  letter-spacing: -0.02em;
}

.hero h2 {
  margin-top: 22px;
  font-size: 20px;
  color: #222;
}

.hero p {
  margin-top: 8px;
  max-width: 62ch;
  color: #6d6d6d;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero {
  padding: 72px 0 64px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(90deg, #fff7f6 0 64px, #fde7e4 64px 128px, #f6c6c1 128px 192px, #ee9d97 192px 256px);
}

.page-hero h1 {
  font-size: clamp(36px, 4vw, 52px);
  color: #3d3d3d;
  max-width: 16ch;
}

.page-hero p {
  margin-top: 14px;
  max-width: 62ch;
  color: #666;
}

.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.mist {
  background: var(--mist);
}

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

.site-footer {
  background: var(--dark);
  color: #d7d7d7;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr;
  gap: 40px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: #cfcfcf;
  font-size: 14.5px;
}

.site-footer a:hover {
  color: var(--white);
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.legal {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #aaa;
}

.to-top,
.fab {
  position: fixed;
  right: 18px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 8px 20px rgba(238, 64, 54, 0.35);
}

.to-top {
  bottom: 78px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.fab {
  bottom: 22px;
}

.fab-menu {
  position: fixed;
  right: 18px;
  bottom: 76px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--ease), transform var(--ease);
}

.fab-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.fab-menu a {
  background: var(--white);
  color: var(--heading);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
