/* ISM – Influencer Star Management
   Static rebuild of the WordPress/Elementor home page. Breakpoints follow the original:
   wide > 1440, laptop 1025–1440, tablet 768–1024 (menu collapses at 900), mobile ≤ 767. */

:root {
  --c-bg: #0c1014;
  --c-bg-soft: #111823;
  --c-bg-card: #1d2025;
  --c-white: #fff;
  --c-light: #e1e1e1;
  --c-muted: #cbcbcb;
  --c-pink: #ff2759;
  --c-purple: #8811ff;
  --c-violet: #a74fff;
  --c-green: #2cffa5;
  --c-gold: #ffbd10;
  --c-blue: #4a4bff;

  --g-button: linear-gradient(270deg, var(--c-purple) 0%, var(--c-pink) 100%);
  --g-button-hover: linear-gradient(270deg, var(--c-pink) 0%, var(--c-purple) 100%);
  --g-shape: linear-gradient(180deg, var(--c-green) 0%, var(--c-purple) 100%);
  --shadow-glow: 0 10px 25px rgba(152, 248, 207, .3);
  --shadow-button: 0 10px 15px rgba(248, 93, 128, .2);

  --f-head: "Raleway", Arial, sans-serif;
  --f-alt: "Poppins", Arial, sans-serif;

  --header-h: 117px;
  --gutter: 35px;
  --container: 1600px;
}

/* Base ---------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--c-bg);
  color: #444;
  font: 400 16px/1.5 var(--f-head);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
button, input, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: var(--header-h); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Czech/English sub-pages render inside the theme page container (max 1600 px, 35 px padding);
   their hero has no inner max-width. */
.is-inset main { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.is-inset .hero__inner { max-width: none; }

/* Shared pieces ------------------------------------------------------------------------- */
.eyebrow {
  margin: 0;
  color: var(--c-white);
  font: 400 20px/1.8 var(--f-alt);
}
.eyebrow--gold { color: var(--c-gold); font-size: 18px; }
.eyebrow mark {
  background: var(--c-pink);
  border-radius: 10px 0;
  color: inherit;
}

/* Buttons cross-fade a hover layer in 0.15 s, like the original theme's modern button. */
.btn {
  position: relative;
  z-index: 0;
  display: inline-block;
  border: 0;
  border-radius: 200px;
  font: 500 18px/1.5 var(--f-head);
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s ease-in-out;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--btn-hover);
  opacity: 0;
  transition: opacity .15s ease-out;
}
.btn:hover::after, .btn:focus-visible::after { opacity: 1; }
.btn--gradient {
  --btn-hover: var(--g-button-hover);
  padding: 20px 54px 19px;
  background: var(--g-button);
  box-shadow: var(--shadow-button);
  color: var(--c-white);
}
.btn--white {
  --btn-hover: var(--c-pink);
  padding: 20px 41px 19px;
  border-radius: 100px;
  background: var(--c-white);
  color: var(--c-pink);
}
.btn--white:hover, .btn--white:focus-visible { color: var(--c-white); }

.shape {
  border-radius: 45px;
  background: var(--g-shape);
  box-shadow: var(--shadow-glow);
}
.shape--round { border-radius: 71px; }

/* Header -------------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-bg);
  box-shadow: 0 5px 10px rgba(12, 16, 20, .3);
}
/* Once the page scrolls the original draws a 1 px light line under the sticky header. */
.site-header.is-stuck::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #dedede;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-top: 25px;
  padding-bottom: 25px;
}
.site-header .logo { flex-grow: .5; }
.site-header .logo img { width: 159px; height: 60px; }

.nav { flex-grow: .5; }
.nav__list { display: flex; }
.nav__list > li { position: relative; }
.nav__link {
  display: block;
  padding: 0 23.6px;
  color: var(--c-white);
  font-size: 18px;
  line-height: 1.5;
  transition: color .15s linear .015s; /* the original adds its hover class from JS, a frame late */
}
.nav__list > li:first-child .nav__link { padding-left: 0; }
.nav__link:hover, .nav__link.is-active { color: var(--c-green); font-weight: 600; }
.nav__sub {
  position: absolute;
  top: 100%;
  left: -1px;
  min-width: 222px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  background: #f3f3f3;
  visibility: hidden;
}
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { visibility: visible; }
.nav__sub a {
  display: block;
  margin: 0 10px;
  padding: 15px;
  color: #3d3d3d;
  font-size: 15px;
  line-height: 1.5;
  transition: background-color .15s linear;
}
.nav__sub a:hover, .nav__sub a:focus-visible { background-color: #eaeaea; }

.lang { display: flex; padding-right: 10px; }
.lang a { padding: 5px; }
.lang img { width: 20px; height: 13px; }

.site-header__cta { padding: 20px 55px 19px; }

.burger {
  display: none;
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  background: var(--c-white);
}
.burger span:nth-child(1) { top: 6px; }
.burger span:nth-child(2) { top: 13px; }
.burger span:nth-child(3) { top: 20px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  padding: 6px;
  border: 1px solid #707070;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.mobile-menu__close::before, .mobile-menu__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--c-white);
  transform: rotate(45deg);
}
.mobile-menu__close::after { transform: rotate(-45deg); }
.mobile-menu__list a {
  display: block;
  padding: 20px 0;
  color: var(--c-white);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}
.mobile-menu__list a:hover { color: var(--c-green); }

/* Hero ---------------------------------------------------------------------------------- */
.hero {
  padding-top: 100px;
  background: linear-gradient(180deg, var(--c-bg-soft) 0%, var(--c-bg) 51%, var(--c-bg) 100%);
}
.hero__inner { display: flex; align-items: center; }
.hero__text { flex: 0 0 43%; max-width: 43%; }
.hero__media { position: relative; flex: 0 0 57%; max-width: 57%; }

.hero__title {
  margin: 15px 0;
  color: var(--c-pink);
  font-size: 80px;
  font-weight: 600;
  line-height: 1.2;
}
.hero__title span:first-child { color: var(--c-white); }
.hero__title--spaced { letter-spacing: 1px; }
.hero__kicker { color: var(--c-gold); font-size: 18px; font-weight: 400; line-height: 1.2; }
.hero__title-accent { display: block; margin-left: 5px; }
.hero__lead { max-width: 547px; margin-bottom: 36px; color: var(--c-muted); font-size: 18px; }
.hero__lead p { margin-bottom: 16px; }

.hero__shape {
  position: absolute;
  top: 0;
  left: -10px;
  right: 10px;
  display: flex;
  justify-content: center;
}
.hero__shape .shape { flex: none; width: 864px; height: 623px; }
.hero__image { position: relative; padding: 5px 5px 12px; }
.hero__text .btn { margin-bottom: 20px; }
.hero__image img { width: 100%; max-width: 868px; border-radius: 40px; }
.hero__polygon { position: absolute; top: 0; right: 107px; width: 45px; }
.hero__dots { position: absolute; right: 167px; bottom: -50px; width: 46px; }

/* Cards (services, care, team) ---------------------------------------------------------- */
.cards-section { margin-top: 150px; }
.section-head { margin-bottom: 40px; padding-bottom: 19px; text-align: center; }
.section-head__title {
  margin-top: 7.6px;
  color: var(--c-white);
  font-size: 36px;
  font-weight: 700;
  line-height: 57px;
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }
.card {
  margin: 0 15px;
  padding: 85px 20px;
  border: 1px solid var(--c-bg-card);
  border-radius: 25px;
  text-align: center;
  transition: background-color .25s ease-in;
}
/* Hover colour follows the card position: pink, green, purple, gold (as on the original). */
.card:hover { background-color: var(--card-hover, var(--c-pink)); }
.card:nth-child(4n+2) { --card-hover: var(--c-green); }
.card:nth-child(4n+3) { --card-hover: var(--c-purple); }
.card:nth-child(4n+4) { --card-hover: var(--c-gold); }
.cards--trail .card:last-child { margin-bottom: 20px; }
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 186px;
  height: 178px;
  margin: 0 auto;
  border-radius: 25px;
}
.card:hover .card__icon { background-color: rgba(255, 255, 255, .1); }
.card__icon--red { background-color: rgba(236, 68, 65, .1); }
.card__icon--green { background-color: rgba(44, 255, 165, .1); }
.card__icon--purple { background-color: rgba(136, 17, 255, .1); }
.card__icon--gold { background-color: rgba(255, 189, 16, .1); }
.card__icon img { flex: none; width: 186px; height: 186px; border-radius: 7%; }
.card__title {
  margin: calc(70px + .2em) 0 30px;
  color: var(--c-white);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.card__text {
  padding: 0 25px;
  color: var(--c-white);
  font: 300 18px/1.5 var(--f-alt);
}

/* Feature (how it works, creativity) ---------------------------------------------------- */
.feature { margin-top: 220px; }
.feature__inner { display: flex; align-items: center; }
.feature__media {
  position: relative;
  display: flex;
  flex: 0 0 50%;
  justify-content: center;
  max-width: 50%;
}
.feature__shape {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
.feature__shape .shape { flex: none; width: 590px; height: 600px; }
.feature__image { position: relative; width: 579px; max-width: 100%; padding-bottom: 7px; }
.feature__image img { width: 100%; border-radius: 25px; }
.feature__text { flex: 0 0 50%; max-width: 50%; padding-left: 130px; }
.feature__text > div:first-child { display: flow-root; color: var(--c-white); }
.feature__text > div:first-child p { max-width: 514px; }
.feature__title {
  margin: 7.6px 0 19px;
  color: var(--c-white);
  font-size: 36px;
  font-weight: 700;
  line-height: 57px;
}
.feature__text > div:first-child p:last-child { margin-bottom: 16px; }

.checks {
  display: grid;
  grid-template-columns: 38% 61.678%;
  row-gap: 30px;
  margin-top: 50px;
}
.checks__item {
  padding: calc(81px + .2em) 30px 0 0;
  background: no-repeat 0 0 / 61px 61px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 61 61'%3E%3Crect width='61' height='61' rx='15' fill='%2398f8cf' fill-opacity='.08'/%3E%3Cpath d='M25.087 18h10.838C40.163 18 43 20.975 43 25.4v10.212C43 40.025 40.163 43 35.925 43H25.087C20.85 43 18 40.025 18 35.612V25.4c0-4.425 2.85-7.4 7.087-7.4zm4.7 16.237 5.938-5.937a1.1 1.1 0 0 0-1.55-1.55l-5.162 5.163-2.188-2.188a1.1 1.1 0 1 0-1.55 1.55l2.975 2.963a1.1 1.1 0 0 0 1.537 0z' fill='%232cffa5' fill-rule='evenodd'/%3E%3C/svg%3E");
  color: var(--c-white);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.checks__item:nth-child(even) { padding-right: 0; }
.checks__item::first-line { line-height: 1; }

/* Examples ------------------------------------------------------------------------------ */
.examples {
  margin-top: 150px;
  padding: 80px var(--gutter);
  background: linear-gradient(0deg, var(--c-bg) 0%, var(--c-bg) 53%, var(--c-bg-soft) 100%);
  overflow: hidden;
}
.examples__inner { display: flex; align-items: flex-start; max-width: 1920px; margin: 0 auto; }
.examples__text { flex: 0 1 35%; margin: 50px 0; padding-right: 30px; color: var(--c-white); }
.examples__text > div:first-child { display: flow-root; margin-bottom: 20px; }
.examples__text > div:first-child p:last-child { margin-bottom: 16px; }
.examples__text p { max-width: 458px; }
.examples__title {
  max-width: 410px;
  margin: 7.6px 0 19px;
  padding-bottom: 5px;
  color: var(--c-white);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}
.examples__carousel { flex: 0 1 65%; min-width: 0; margin-bottom: 20px; }

.carousel { position: relative; }
.examples .carousel { width: 130%; overflow: hidden; }
.carousel__track { display: flex; transition: transform .6s cubic-bezier(.25, .46, .45, .94); }
.examples .carousel__track { gap: 30px; }

/* Not links on the original either: the cards are display only. */
.project { position: relative; flex: 0 0 calc((100% - 60px) / 3); pointer-events: none; }
.project img { width: 100%; border-radius: 45px; }
.project__label {
  position: relative;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  margin: 0 35px;
  padding: 27px 35px;
  border-radius: 30px;
  background: var(--c-blue);
  box-shadow: 0 10px 20px rgba(12, 16, 20, .3);
  transition: background .25s ease-in;
}
.project__tag { margin-bottom: 5px; color: var(--c-gold); font: 400 16px/1.5 var(--f-alt); }
.project__title { color: var(--c-white); font-size: 26px; font-weight: 600; line-height: 26.4px; margin-bottom: .5em; }

.carousel__dots {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  height: 45px;
  margin: -30px 0 0 10%;
  padding-top: 8px;
}
.carousel__dot {
  width: 20px;
  height: 20px;
  margin: 10px 8px 0 0;
  padding: 0;
  border: 5px solid transparent;
  border-radius: 50%;
  background: var(--c-bg-card);
  cursor: pointer;
}
.carousel__dot[aria-selected="true"] { width: 38px; height: 38px; margin-top: 0; border-color: var(--c-green); background: transparent; }

/* Projects (Naše projekty) ------------------------------------------------------------- */
.works { margin: 180px 0 160px; }
.section-head--works { margin-bottom: 20px; padding-bottom: 19px; }
.section-head--works .section-head__title { font-size: 30px; }
.works__intro { margin: 0; padding-bottom: 36px; color: var(--c-light); text-align: center; }
.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; margin-top: 50px; }
.work {
  --work-color: var(--c-purple);
  --work-shadow: rgba(136, 17, 255, .3);
  margin: 0 15px;
  padding: 25px 25px 40px;
  border-radius: 45px;
  background: var(--work-color);
  box-shadow: 0 10px 20px var(--work-shadow);
  text-align: center;
  transition: box-shadow .25s ease-in;
}
.work:hover { box-shadow: 10px 17px 35px var(--work-shadow); }
.work--gold { --work-color: var(--c-gold); --work-shadow: rgba(255, 189, 16, .3); }
.work--blue { --work-color: var(--c-blue); --work-shadow: rgba(74, 75, 255, .3); }
.work--pink { --work-color: var(--c-pink); --work-shadow: rgba(255, 39, 89, .3); }
.work__image { width: 100%; border-radius: 45px; box-shadow: 0 5px 10px rgba(0, 0, 0, .15); }
.work__name { margin: 45.2px 0 25px; color: var(--c-bg-soft); font-size: 26px; font-weight: 600; line-height: 1; }
.work__role { margin: 0 0 10px; color: var(--c-white); font: 400 16px/1.4 var(--f-alt); letter-spacing: 1px; }
.work__action { padding: 23px 0 7px; line-height: 0; }

/* Eye button: a filled circle grows from the centre and the icon swaps colour (0.45 s). */
.eye-btn {
  --eye-line: var(--c-white);
  --eye-hover: #000;
  position: relative;
  display: inline-flex;
  overflow: hidden;
  padding: 12px 23px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px var(--eye-line);
  color: var(--eye-line);
  transition: color .45s;
}
.work--gold .eye-btn { --eye-line: #3d3d3d; --eye-hover: var(--c-white); }
.eye-btn__fill {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 87.6px;
  height: 87.6px;
  border-radius: 50%;
  background: var(--eye-line);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .45s cubic-bezier(.75, .1, .25, .9);
}
.eye-btn__icon { position: relative; width: 24.3px; height: 21.6px; fill: currentColor; }
.work:first-child .eye-btn__icon { margin-right: 2.7px; } /* the original has an empty label there */
.eye-btn:hover, .eye-btn:focus-visible { color: var(--eye-hover); }
.eye-btn:hover .eye-btn__fill, .eye-btn:focus-visible .eye-btn__fill { transform: translate(-50%, -50%) scale(1); }

/* Stats --------------------------------------------------------------------------------- */
.stats-section { margin-top: 200px; }
.stats-section__inner { position: relative; }
.stats-section__polygon { position: absolute; width: 189px; }
.stats-section__polygon--top { top: -55px; left: 36px; }
.stats-section__polygon--bottom { right: 26px; bottom: -65px; }
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 100px 20px 100px 100px;
  border-radius: 45px;
  background: linear-gradient(180deg, #121c2c 0%, var(--c-bg-soft) 100%);
}
.stat { display: flex; align-items: center; margin: 15px 30px; padding: 20px 0; }
.stat__number, .stat__suffix { color: var(--c-violet); font: 600 65px/1 var(--f-alt); }
.stat__label {
  max-width: 35px;
  margin-left: 23px;
  color: var(--c-white);
  font-size: 17px;
  line-height: 1.5;
}

/* Testimonials -------------------------------------------------------------------------- */
.testimonials { margin-top: 220px; }
.testimonials__inner { display: flex; align-items: center; max-width: 1470px; }
.testimonials__media { position: relative; display: flex; flex: 0 0 50%; justify-content: center; max-width: 50%; }
.testimonials__shape { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: center; }
.testimonials__shape .shape { flex: none; width: 550px; height: 550px; }
.testimonials__image { position: relative; width: 533px; max-width: 100%; padding-bottom: 7px; }
.testimonials__image img { width: 100%; border-radius: 25px; }
.testimonials__slider {
  position: relative;
  display: flex;
  flex: 0 0 calc(50% - 50px);
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  max-width: calc(50% - 50px);
  margin-left: 50px;
}
.testimonials .carousel { margin-bottom: 20px; overflow: hidden; }
.quote { flex: 0 0 100%; margin: 0; padding: 0 15px; color: var(--c-white); }
.quote__mark { width: 50px; margin-bottom: 20px; fill: var(--c-green); }
.quote blockquote { max-width: 460px; margin: 0 0 25px; font-size: 16px; line-height: 1.5; }
.quote figcaption { padding-top: 5.2px; }
.quote__name { display: block; font-size: 26px; font-weight: 600; line-height: 1.15; }
.quote__role {
  display: block;
  margin: 3.2px 0 22.4px;
  color: var(--c-gold);
  font: 300 16px/1.4 var(--f-alt);
  letter-spacing: 1px;
}
.arrows {
  position: absolute;
  right: 15%;
  bottom: 28%;
  display: flex;
  gap: 20px;
}
.arrows__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: var(--c-bg-card);
  color: var(--c-white);
  cursor: pointer;
  transition: background-color .15s ease-out;
}
.arrows__btn:hover { background: var(--c-pink); }
.arrows__btn svg { width: 10px; fill: currentColor; }

/* CTA ----------------------------------------------------------------------------------- */
.cta { margin: 170px 0 160px; }
.cta__container { max-width: 1470px; }
.cta__box {
  position: relative;
  display: flex;
  align-items: center;
  padding: 90px 20px 90px 100px;
  border-radius: 45px;
  background: var(--g-button);
}
.cta__text { flex: 0 0 45%; max-width: 45%; }
.cta__text > div:first-child { display: flow-root; margin-bottom: 20px; }
.cta__eyebrow { margin: 0; color: var(--c-bg-soft); font: 400 18px/1.8 var(--f-alt); }
.cta__title { margin: .2em 0 .5em; color: var(--c-white); font-size: 48px; font-weight: 700; line-height: 1.5; }
.cta__title-light { display: block; margin-left: 5px; font-weight: 500; }
.cta .btn--white { --btn-hover: var(--c-bg-card); padding: 20px 40px; border-radius: 254px; box-shadow: 0 10px 15px rgba(0, 0, 0, .16); }
.cta .btn--white:hover, .cta .btn--white:focus-visible { color: var(--c-pink); }
.cta__image {
  position: absolute;
  right: 20px;
  bottom: 0;
  left: calc(100px + (100% - 120px) * .45);
  display: flex;
  justify-content: center;
}
.cta__image img { width: 556px; border-radius: 40px; }

/* Contact ------------------------------------------------------------------------------- */
.contact { margin-top: 100px; }
.contact__inner { display: flex; align-items: center; }
.contact__image { display: flex; flex: 0 0 50%; justify-content: center; max-width: 50%; padding-bottom: 7px; }
.contact__image > div { width: 533px; max-width: 100%; }
.contact__image img { width: 100%; border-radius: 25px; }
.contact__form { flex: 0 0 50%; max-width: 50%; padding-right: 20px; }
.contact__form > div:first-child { display: flow-root; margin-bottom: 20px; }
.contact .eyebrow { margin-bottom: -10px; }
/* Elementor-style secondary heading: a 38px/1.5 line box holding the inline-block title. */
.contact__title { margin: 7.6px 0 19px; color: var(--c-white); font-size: 38px; font-weight: 700; line-height: 1.5; }
.contact__title span { display: inline-block; max-width: 410px; font-size: 30px; line-height: 1.2; }

.form { display: flex; flex-direction: column; align-items: flex-start; }
.form input, .form textarea {
  width: 98%;
  height: 60px;
  margin-bottom: 1.875em;
  padding: 21px 25px;
  border: 0;
  border-radius: 30px;
  outline: none;
  background: var(--c-bg-soft);
  color: var(--c-white);
  font-size: 16px;
  line-height: 1.5;
}
.form textarea { height: 335px; margin: -6px 0 24px; resize: vertical; }
.form ::placeholder { color: var(--c-white); opacity: 1; text-transform: capitalize; }
.form input:focus, .form textarea:focus { box-shadow: 0 0 0 2px rgba(44, 255, 165, .4); }
.form__trap { position: absolute; left: -9999px; }
.form__submit { padding: 20px 40px; border-radius: 254px; line-height: 18px; }
.form__submit::after { transition: none; } /* the original swaps this gradient instantly */
.form__status { min-height: 16px; margin: 18px 0 0; color: var(--c-light); }
.form__status.is-error { color: var(--c-pink); }

/* Partners ------------------------------------------------------------------------------ */
.partners { margin: 100px 0 30px; padding: 10px 10px 0; }
.partners__title {
  margin-bottom: 0;
  color: var(--c-white);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.partners__line { height: 1px; margin: 35px 0 25px; border: 0; background: #4d4d4d; }
.partners__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 10px; }
.partners__logos a { display: flex; justify-content: center; padding: 30px 0 40px; }
.partners__logos img { width: 150px; transition: transform .3s; }
.partners__logos a:hover img { transform: scale(.9); }
.partners__logos > span { display: flex; justify-content: center; padding: 30px 0 40px; }
.partners--four .partners__logos { grid-template-columns: repeat(4, 1fr); }
.partners--four .partners__logos img { width: 200px; }

/* Footer -------------------------------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, var(--c-bg-soft) 0%, var(--c-bg) 53%, var(--c-bg) 100%); }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 70px; }
.site-footer__about { padding-right: 55px; }
.site-footer__about .logo { display: inline-block; margin-bottom: 20px; }
.site-footer__about p:first-child { margin-top: 19px; }
.site-footer__about .logo img { width: 159px; }
.site-footer__about p { max-width: 408px; margin-bottom: 1em; color: var(--c-light); font: 300 18px/1.5 var(--f-alt); }
.site-footer__about strong { font-weight: 600; }
.site-footer__col { padding-right: 30px; }
.site-footer__title {
  margin: 3.6px 0 29px;
  color: var(--c-white);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.site-footer__links { margin-top: -10px; }
.site-footer__links a { display: inline-block; padding: 8px 0; color: var(--c-light); font: 300 18px/1.5 var(--f-alt); transition: color .15s linear .015s; }
.site-footer__links a:hover { color: var(--c-pink); }
.site-footer__contacts { padding-top: 20px; }
.site-footer__contacts li { display: flex; }
.site-footer__contacts li + li { margin-top: 40px; }
.site-footer__contacts a { display: inline-flex; gap: 10px; color: var(--c-light); font: 300 18px/1.5 var(--f-alt); }
.site-footer__contacts span:first-child { color: var(--c-pink); font-weight: 400; }
.site-footer__copy {
  margin: 50px 0 0;
  padding: 50px 0 40px;
  border-top: 1px solid rgba(44, 255, 165, .5);
  color: var(--c-light);
  font-size: 16px;
}
.site-footer__copy small { font-size: inherit; }

/* Back to top --------------------------------------------------------------------------- */
/* Back-to-top: a dark circle grows from the centre while the arrow slides out upwards and a
   white one slides in from below (same curves and timings as the original). */
.to-top {
  --ease: cubic-bezier(.77, 0, .175, 1);
  position: fixed;
  right: 50px;
  bottom: 30px;
  z-index: 140;
  width: 35px;
  height: 35px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: inset 0 0 0 1px #7e2a9e;
  color: #4c4c4c;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
}
.to-top.is-shown { opacity: 1; visibility: visible; }
.to-top::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36.75px;
  height: 36.75px;
  border-radius: 50%;
  background: #3d3d3d;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .45s var(--ease);
}
.to-top svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  fill: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.to-top .to-top__hover { color: var(--c-white); opacity: 0; transform: translate(-50%, 50%); transition-duration: .7s; }
.to-top:hover::before, .to-top:focus-visible::before { transform: translate(-50%, -50%) scale(1); }
.to-top:hover svg, .to-top:focus-visible svg { opacity: 0; transform: translate(-50%, -150%); }
.to-top:hover .to-top__hover, .to-top:focus-visible .to-top__hover { opacity: 1; transform: translate(-50%, -50%); }


/* Entrance animations (IntersectionObserver adds .is-visible) ----------------------------- */
.js [data-appear] { opacity: 0; }
.js [data-appear].is-visible { animation: var(--appear) 1s cubic-bezier(.19, 1, .22, 1) both; }
[data-appear="fade-in"] { --appear: fade-in; }
[data-appear="fade-in-up"] { --appear: fade-in-up; }
[data-appear="fade-in-left"] { --appear: fade-in-left; }
[data-appear="fade-in-left-1"] { --appear: fade-in-left-1; }
[data-appear="fade-in-left-2"] { --appear: fade-in-left-2; }
[data-appear="fade-in-right"] { --appear: fade-in-right; }
[data-appear="fade-in-right-1"] { --appear: fade-in-right-1; }
[data-appear="fade-in-right-2"] { --appear: fade-in-right-2; }
[data-appear="scale-up"] { --appear: scale-up; }
[data-appear="scale-down"] { --appear: scale-down; }
[data-appear="rotate-in"] { --appear: rotate-in; }
[data-appear="slide-from-bot"] { --appear: slide-from-bot; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(27px); } to { opacity: 1; transform: none; } }
@keyframes fade-in-left { from { opacity: 0; transform: translateX(-27px); } to { opacity: 1; transform: none; } }
@keyframes fade-in-left-1 { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: none; } }
@keyframes fade-in-left-2 { from { opacity: 0; transform: translateX(-75px); } to { opacity: 1; transform: none; } }
@keyframes fade-in-right { from { opacity: 0; transform: translateX(27px); } to { opacity: 1; transform: none; } }
@keyframes fade-in-right-1 { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: none; } }
@keyframes fade-in-right-2 { from { opacity: 0; transform: translateX(75px); } to { opacity: 1; transform: none; } }
@keyframes scale-up { from { transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes scale-down { from { transform: scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes rotate-in { from { transform: rotate(-200deg); } to { opacity: 1; transform: none; } }
@keyframes slide-from-bot { from { opacity: 1; transform: translateY(100%); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-appear] { opacity: 1; }
  .js [data-appear].is-visible { animation: none; }
}

/* Laptop 1025–1440 ---------------------------------------------------------------------- */
@media (max-width: 1440px) and (min-width: 1025px) {
  .hero__title { font-size: 68px; }
  .hero__lead { font-size: 16px; }
  .hero__shape { top: 25px; }
  .hero__shape .shape { width: 750px; height: 500px; }
  .card__title { font-size: 22px; }
  .card__text { font-size: 16px; }
  .feature__text { padding-left: 40px; }
  .checks__item { padding-left: 40px; background-position: 40px 0; }
  .project__label { padding: 27px 20px; }
  .project__title { font-size: 21px; }
  .stats { padding: 100px 40px; }
}

@media (min-width: 1700px) {
  .examples__text { margin-left: 160px; }
}

/* Tablet ≤ 1024 ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Longer (English) menus push the button to a second row, as on the original. */
  .site-header__inner { flex-wrap: wrap; gap: 0; }
  .site-header .logo { max-width: 35%; }
  .nav__link, .nav__list > li:first-child .nav__link { padding: 0 10px; font-size: 16px; }
  .site-header__cta { align-self: flex-start; margin-top: 2px; padding: 15px 40px 14px; font-size: 15px; }

  .hero__inner { flex-wrap: wrap; }
  .hero__text { flex-basis: 100%; max-width: 100%; }
  .hero__media { flex-basis: calc(100% - 60px); max-width: calc(100% - 60px); }
  .hero__text { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; font-size: 16px; }
  .eyebrow--gold, .hero__kicker { font-size: 16px; }
  .hero__title { font-size: 70px; }
  .hero .btn--white { padding: 17px 36px 16px; font-size: 16px; }
  .hero__media { margin: 50px 30px 0; }

  .section-head .eyebrow, .feature .eyebrow, .examples .eyebrow, .contact .eyebrow { font-size: 18px; }
  .section-head__title, .feature__title, .examples__title { font-size: 30px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { margin: 15px; }
  .cards--trail .card:last-child { margin-bottom: 35px; }

  .feature { margin-top: 140px; }
  .feature__shape { top: 70px; }
  .feature__shape .shape { width: 450px; height: 500px; }
  .feature__text { padding-left: 50px; margin-top: 40px; }
  .checks__item { font-size: 18px; }
  .checks { grid-template-columns: 50% 50%; }

  .examples .btn--gradient { padding: 18px 48px 17px; font-size: 15px; }
  .project { flex-basis: calc((100% - 30px) / 2); }

  .stats-section { margin-top: 150px; }
  .stats-section__polygon--top { top: -35px; left: 56px; }
  .stats-section__polygon--bottom { right: 16px; bottom: -55px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 50px 0; }
  .stat { margin: 20px 0; padding: 20px 50px; }
  .stat__number, .stat__suffix { font-size: 70px; }
  .stat__label { font-size: 18px; }

  .testimonials__shape .shape { width: 500px; height: 500px; }
  .testimonials__slider { margin: 50px 0 0 75px; }
  .arrows { bottom: 12%; }

  .cta__box { padding: 70px 30px; }
  .cta__eyebrow { font-size: 16px; }
  .cta__title { font-size: 34px; }
  .cta__image { bottom: -70px; }

  .contact__title span { font-size: 28px; }

  .section-head--works .section-head__title { font-size: 28px; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .work { margin: 15px; }
  .form input, .form textarea { width: 100%; }

  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__about, .site-footer__col { margin: 30px 0; }
}

@media (max-width: 1024px) and (min-width: 900px) {
  .arrows { bottom: 22%; }
  .works__grid { margin: 50px 70px 0; }
}

/* Menu collapses ≤ 900 ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .nav, .site-header__cta { display: none; }
  .burger { display: block; order: 1; margin-left: 20px; }
  .site-header .logo { flex-grow: 0; margin-right: auto; }
  .lang { margin-left: auto; }

  .feature__media, .feature__text, .examples__text, .examples__carousel,
  .testimonials__media, .testimonials__slider, .contact__image, .contact__form { flex-basis: 100%; max-width: 100%; }
  .feature__inner, .examples__inner, .testimonials__inner, .contact__inner { flex-wrap: wrap; }
  .feature__text { padding-left: 0; }
  .contact__form { padding-right: 0; }
  .examples .carousel { width: 100%; }
  .project { flex-basis: calc((100% - 30px) / 2); }
}

@media (max-width: 900px) and (min-width: 768px) {
  .hero__shape .shape { width: 650px; height: 450px; }
  .feature__shape { top: 0; }
  .feature__shape .shape { width: 580px; height: 580px; }
  .testimonials__shape .shape { width: 530px; height: 530px; }
  .testimonials__slider { margin-top: 50px; }
}

/* Mobile ≤ 767 -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --header-h: 97px; }
  .site-header__inner { padding-top: 25px; padding-bottom: 25px; min-height: 97px; }
  .site-header .logo { max-width: 70%; margin-right: 50px; }
  .site-header .logo img { width: 106px; height: 40px; }
  .mobile-menu__list a { font-size: 28px; }

  .eyebrow--gold, .hero__kicker { font-size: 14px; }
  .hero__title { font-size: 44px; }
  .hero__lead { font-size: 14px; line-height: 1.5; }
  .hero__lead p { margin-bottom: 14px; }
  .hero .btn--white { font-size: 14px; }
  .hero__media { flex-basis: calc(100% - 20px); max-width: calc(100% - 20px); margin: 50px 10px 0; }
  .hero__shape .shape { width: 350px; height: 230px; }

  .section-head .eyebrow, .feature .eyebrow, .examples .eyebrow, .contact .eyebrow { font-size: 16px; }
  .section-head__title, .feature__title, .examples__title { font-size: 26px; }
  .cards { grid-template-columns: 1fr; }
  .card { margin: 20px 0; }
  .cards--trail .card:last-child { margin-bottom: 40px; }
  .card__title { font-size: 23px; }
  .card__text { font-size: 16px; }

  .feature__shape { top: 0; }
  .feature__shape .shape { width: 350px; height: 350px; }
  .feature__image img { width: 100%; }
  .feature__text { margin-top: 50px; }
  .checks { grid-template-columns: 1fr; row-gap: 0; }
  .checks__item { margin: 15px 0; padding-left: 0; background-position: 0 0; }
  .checks__item:nth-child(3) { margin-top: 45px; }

  .examples .carousel { width: 100%; }
  .examples .carousel__track { gap: 30px; }
  .project { flex-basis: 100%; }
  .project__label { padding: 20px 23px; }
  .project__title { font-size: 20px; }
  .project__tag { font-size: 14px; }
  .carousel__dots { justify-content: center; margin-left: 0; }

  .stats { grid-template-columns: 1fr; }
  .stat { margin: 20px 0; padding: 0; }
  .stat__number, .stat__suffix { font-size: 62px; }

  .testimonials__shape .shape { width: 350px; height: 350px; }
  .testimonials__image img { width: 100%; }
  .testimonials__slider { margin-left: 0; }
  .quote__name { font-size: 22px; }
  .quote__role { font-size: 14px; }
  .quote blockquote { font-size: 15px; }

  .cta__box { flex-wrap: wrap; justify-content: center; text-align: center; }
  .cta__text { flex-basis: 100%; max-width: 100%; }
  .cta__eyebrow { font-size: 15px; }
  .cta__title { font-size: 30px; }
  /* As on the original: in flow, but drawn 70 px lower so it hangs out of the box. */
  .cta__image { position: relative; top: 70px; left: auto; right: auto; bottom: auto; padding-bottom: 7px; }

  .contact__title span { font-size: 24px; }

  .section-head--works .section-head__title { font-size: 25px; }
  .works__grid { grid-template-columns: 1fr; }
  .work__name { font-size: 24px; }
  .work__role { font-size: 15px; }
  .form input, .form textarea { font-size: 14px; }

  .partners__logos { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .partners__logos a, .partners__logos > span { padding: 40px 0; }
  .partners--four .partners__logos { grid-template-columns: 1fr; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__about, .site-footer__col { padding: 0; }
  .site-footer__about .logo img { width: 106px; }
  .site-footer__contacts { padding-top: 16px; }
  .site-footer__about p, .site-footer__links a, .site-footer__contacts a { font-size: 15px; }
  .site-footer__copy { text-align: center; font-size: 14px; }
}
