

/* Start:/local/templates/dobrosite_black/css/styles.css?178971399940120*/
/* ===== Tokens ===== */
:root {
  --color-navy: #020618;
  --color-navy-card: #0f172b;
  --color-green: #62a336;
  --color-green-soft: #71ba43;
  --color-green-deep: #599533;
  --color-orange: #f45107;
  --color-mute: #d8d3d3;
  --color-light: #f9fafb;
  --color-white: #fff;

  --font: "Outfit", system-ui, sans-serif;
  --radius-btn: 15px;
  --radius-card: 15px;
  --radius-panel: 20px;
  --radius-sm: 10px;

  --container: 1920px;
  --gutter: 1rem;
  --section-y: 4rem;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-h2: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  --text-h1: clamp(2rem, 2.5vw + 1rem, 2.625rem);
  --leading: 1.5;

  color-scheme: dark;
}

@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --gutter: 150px;
    --section-y: 5rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading);
  background: var(--color-navy);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Layout ===== */
.container {
  width: min(100% - 2 * var(--gutter), var(--container) - 2 * var(--gutter));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
}

.section--muted {
  background: var(--color-navy-card);
}

.section--about {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 6vw, 6rem);
  background: rgb(255 255 255 / 0.2);
}

.section--portfolio {
  padding-block-start: 0;
  padding-block-end: clamp(4rem, 6vw, 6rem);
}

/* ===== Typography helpers ===== */
.eyebrow {
  margin-bottom: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--color-green-soft);
}

.heading {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: var(--leading);
}

.text-mute {
  color: var(--color-mute);
}

.text-green {
  color: var(--color-green-soft);
}

.text-orange {
  color: var(--color-orange);
}

.text-gradient {
  background: linear-gradient(90deg, var(--color-green) 47.6%, var(--color-orange) 66.8%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-base);
  transition: opacity 0.2s;
}

.link-arrow:hover {
  text-decoration: underline;
}

.link-arrow img {
  width: 20px;
  height: 8px;
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding-inline: 1.25rem;
  border-radius: var(--radius-btn);
  font-size: var(--text-lg);
  font-weight: 700;
  border: 1px solid transparent;
  transition: filter 0.2s, background-color 0.2s;
}

.btn:hover {
  filter: brightness(1.1);
}

.btn--green {
  background: var(--color-green);
  color: var(--color-white);
}

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

.btn--orange {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--ghost {
  background: rgb(255 255 255 / 0.2);
  border-color: rgb(255 255 255 / 0.2);
  color: var(--color-white);
}

.btn--ghost:hover {
  background: rgb(255 255 255 / 0.3);
  filter: none;
}

.btn--sm {
  height: 54px;
  width: 188px;
}

.btn--offer {
  width: 261px;
}

.btn--wide {
  min-width: min(100%, 280px);
}

.btn--cases {
  min-width: min(100%, 203px);
}

.btn--start {
  width: 188px;
}

.btn--block {
  width: 100%;
  margin-top: 1rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
  background: var(--color-navy);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: min(248px, 56vw);
  height: auto;
  aspect-ratio: 248 / 55;
}

.nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav a {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-mute);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--color-white);
}

.nav a.is-active {
  color: var(--color-orange);
}

.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.nav__item img {
  width: 4px;
  height: 7px;
  rotate: -90deg;
}

.header__actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.header__phone {
  line-height: 1;
}

.header__phone a {
  display: block;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-mute);
  transition: color 0.2s;
}

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

.header__phone span {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--text-sm);
  letter-spacing: -0.02em;
  color: var(--color-green-soft);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-btn);
}

.menu-btn__lines {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.menu-btn__lines span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-white);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem var(--gutter) 1.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  background: var(--color-navy);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-mute);
}

.nav-mobile__phone {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .menu-btn,
  .nav-mobile {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .header__actions {
    display: flex;
  }
}

/* ===== Hero ===== */
.hero {
  padding-block: 4rem var(--section-y);
}

@media (min-width: 1024px) {
  .hero {
    padding-block-start: 6.25rem;
  }
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 637px) minmax(0, 658px);
    justify-content: space-between;
  }
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero__badge img {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.hero__badge p {
  font-size: var(--text-sm);
  font-weight: 300;
}

.hero h1 {
  margin-bottom: 2rem;
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: var(--leading);
}

.hero__lead {
  max-width: 637px;
  margin-bottom: 2.5rem;
  font-size: var(--text-lg);
  color: var(--color-mute);
}

.hero__lead span {
  color: var(--color-white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero__divider {
  max-width: 621px;
  height: 1px;
  margin-bottom: 2.5rem;
  background: rgb(255 255 255 / 0.1);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 621px;
}

.stat__value {
  margin-bottom: 0.25rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
}

.stat__label {
  font-size: var(--text-sm);
  line-height: 1.125rem;
  color: var(--color-mute);
}

@media (min-width: 640px) {
  .stat__label {
    font-size: var(--text-base);
  }
}

.hero__panel {
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-panel);
  background: var(--color-navy-card);
}

@media (min-width: 1024px) {
  .hero__panel {
    padding: 3rem;
  }
}

.hero__panel > img {
  width: 50px;
  height: 10px;
  margin-bottom: 1.25rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem 0.625rem 0.625rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-btn);
  background: var(--color-navy);
}

.service-row--simple {
  justify-content: space-between;
  padding: 1.125rem 1rem;
}

.service-row__label {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.125rem;
  color: var(--color-mute);
}

.service-row__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 43px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.2);
  font-size: var(--text-base);
  font-weight: 300;
}

.service-row__body {
  flex: 1 1 10rem;
  min-width: 0;
}

.service-row__body strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.125rem;
  color: var(--color-mute);
}

.service-row__body span {
  display: block;
  margin-top: 5px;
  font-size: var(--text-base);
  line-height: 1.125rem;
  color: var(--color-mute);
}

.service-row__price {
  flex-shrink: 0;
  margin-inline-start: auto;
  font-size: var(--text-lg);
  font-weight: 700;
  text-align: right;
}

/* ===== Services ===== */
.services__head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.services__head .heading {
  max-width: 489px;
}

.services__intro {
  max-width: 602px;
  font-size: var(--text-lg);
  color: var(--color-mute);
}

@media (min-width: 1024px) {
  .services__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
  }

  .services__intro {
    text-align: right;
  }
}

.services__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .services__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 265px;
  padding: 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-card);
  background: var(--color-navy);
}

.card--accent {
  border-color: var(--color-orange);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 43px;
  margin-bottom: 1rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.2);
}

.card__icon img {
  max-width: 26px;
  max-height: 30px;
  width: auto;
  height: auto;
}

.card__icon--full {
  padding: 0;
  border: 0;
  background: transparent;
}

.card__icon--full img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.card h3 {
  margin-bottom: 5px;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.25rem;
}

.card p {
  margin-bottom: auto;
  font-size: var(--text-base);
  line-height: 1.25rem;
  color: var(--color-mute);
}

.card__foot {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(217 217 217 / 0.1);
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card__meta p {
  margin: 0;
  color: var(--color-mute);
}

/* ===== Pricing ===== */
.pricing .heading {
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .pricing .heading {
    margin-bottom: 3rem;
  }
}

.pricing__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.plan {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-card);
  background: var(--color-navy-card);
}

.plan--featured {
  border-color: var(--color-orange);
  background: var(--color-navy);
}

.plan h3 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  font-weight: 700;
  line-height: 1.166;
}

.plan__desc {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-mute);
}

.plan__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.plan__price {
  color: var(--color-mute);
  text-align: left;
}

.plan__price strong {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: var(--leading);
}

.plan__price span {
  font-size: var(--text-lg);
  font-weight: 700;
}

@media (min-width: 1024px) {
  .plan {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 220px);
    gap: 2.5rem;
    padding: 3rem;
  }

  .plan__side {
    align-items: flex-end;
  }

  .plan__price {
    text-align: right;
  }
}

/* ===== About ===== */
.about__decor {
  display: none;
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}

.about__decor--orange {
  left: -2rem;
  top: 2.5rem;
  width: min(280px, 22vw);
}

.about__decor--green {
  right: -1rem;
  top: 4rem;
  width: min(320px, 24vw);
}

@media (min-width: 1024px) {
  .about__decor {
    display: block;
  }
}

.about__content {
  position: relative;
  width: min(100% - 2rem, 1168px);
  margin-inline: auto;
}

.about__content .heading {
  margin-bottom: 1.25rem;
}

.about__lead {
  margin-bottom: 2rem;
  font-size: var(--text-lg);
}

.about__divider {
  width: 100%;
  height: 1px;
  margin-bottom: 2rem;
  background: rgb(217 217 217 / 0.2);
}

.about__content h3 {
  margin-bottom: 1.25rem;
  font-size: var(--text-xl);
  font-weight: 700;
}

.about__note {
  margin-bottom: 1.25rem;
  font-size: var(--text-lg);
}

.about__list {
  padding-left: 1.5rem;
  list-style: disc;
  font-size: var(--text-lg);
}

.about__list li + li {
  margin-top: 5px;
}

/* ===== Contacts ===== */
.contacts__intro {
  max-width: 1168px;
  margin: 0 auto 3rem;
  text-align: center;
}

.contacts__intro .heading {
  margin-bottom: 1.25rem;
}

.contacts__intro p {
  margin-bottom: 1.25rem;
  font-size: var(--text-lg);
  color: var(--color-mute);
}

.contacts__intro p:last-child {
  margin-bottom: 0;
}

.contacts__intro a {
  color: var(--color-green-soft);
  text-decoration: underline;
}

.contacts__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .contacts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.person {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--color-light);
  color: var(--color-navy);
}

.person img {
  width: 178px;
  height: 247px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.person__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.person h3 {
  margin-bottom: 0.625rem;
  font-size: var(--text-lg);
  font-weight: 700;
}

.person__role {
  margin-bottom: 0.625rem;
  font-size: var(--text-base);
}

.person__bio {
  margin-bottom: 1.5rem;
  font-size: var(--text-base);
  font-weight: 300;
}

.person .btn {
  margin-top: auto;
}

@media (min-width: 640px) {
  .person {
    flex-direction: row;
    gap: 2rem;
    padding: 1.875rem;
  }
}

/* ===== Portfolio ===== */
.portfolio__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .portfolio__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.portfolio__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.portfolio__nav {
  display: flex;
  gap: 0.75rem;
}

.portfolio__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 50%;
  background: var(--color-navy-card);
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.portfolio__btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-green-soft);
  border-right: 2px solid var(--color-green-soft);
}

.portfolio__btn--prev::before {
  margin-left: 3px;
  rotate: -135deg;
}

.portfolio__btn--next::before {
  margin-right: 3px;
  rotate: 45deg;
}

.portfolio__btn:hover {
  border-color: var(--color-green-soft);
  background: rgb(113 186 67 / 0.12);
}

.portfolio__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.portfolio-slider {
  overflow: hidden;
  padding-bottom: 2.5rem;
}

.portfolio-slider .swiper-slide {
  height: auto;
}

.portfolio-slider__pagination {
  bottom: 0 !important;
}

.portfolio-slider__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgb(255 255 255 / 0.35);
  opacity: 1;
}

.portfolio-slider__pagination .swiper-pagination-bullet-active {
  background: var(--color-green-soft);
}

.project {
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-card);
  background: var(--color-navy-card);
}

.project--accent {
  border-color: var(--color-orange);
  background: var(--color-navy);
}

.project__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.project__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.project__price {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 26px;
  padding-inline: 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 7px;
  background: var(--color-navy);
  font-size: var(--text-base);
}

.project__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 1.25rem;
}

.project h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.25rem;
  color: var(--color-mute);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgb(255 255 255 / 0.2);
  background: var(--color-navy);
}

.footer__inner {
  padding-block: 3rem;
}

@media (min-width: 1024px) {
  .footer__inner {
    padding-block: 3.125rem;
  }
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: minmax(0, 401px) repeat(3, 1fr) auto;
  }

  .footer__badge {
    justify-self: end;
  }
}

.footer__brand .logo {
  margin-bottom: 2rem;
}

.footer__brand > p {
  margin-bottom: 2rem;
  font-size: var(--text-lg);
  color: var(--color-mute);
}

.footer__contacts {
  margin-bottom: 1.5rem;
}

.footer__contacts a {
  display: block;
  font-size: var(--text-lg);
  line-height: 1.375rem;
  color: var(--color-mute);
  transition: color 0.2s;
}

.footer__contacts a:first-child {
  font-weight: 700;
}

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

.footer__socials {
  display: flex;
  gap: 5px;
}

.social {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
}

.social--round {
  border-radius: 50%;
}

.social img {
  width: 48px;
  height: 48px;
}

.social__icon {
  position: absolute;
  inset: 18% 17%;
  width: auto !important;
  height: auto !important;
}

.footer__col h3 {
  margin-bottom: 0.625rem;
  font-size: var(--text-lg);
  font-weight: 700;
}

.footer__col li + li {
  margin-top: 0.625rem;
}

.footer__col a {
  font-size: var(--text-lg);
  color: var(--color-mute);
  transition: color 0.2s;
}

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

.footer__col a.is-accent {
  color: var(--color-orange);
}

.footer__badge img {
  width: 108px;
  height: 63px;
  object-fit: cover;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: var(--text-lg);
  color: var(--color-mute);
}

.footer__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__note img {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ===== Scroll top ===== */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.to-top:hover {
  transform: scale(1.05);
}

.to-top img {
  width: 40px;
  height: 40px;
}

/* ===== Reveal animations ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--stagger, 0ms);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Portfolio page ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7rem) clamp(3rem, 5vw, 4.5rem);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  animation: float-orb 12s ease-in-out infinite;
}

.page-hero__orb--green {
  top: -4rem;
  right: 8%;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  background: radial-gradient(circle, rgb(98 163 54 / 0.55), transparent 70%);
}

.page-hero__orb--orange {
  bottom: -6rem;
  left: 5%;
  width: min(22rem, 45vw);
  height: min(22rem, 45vw);
  background: radial-gradient(circle, rgb(244 81 7 / 0.4), transparent 70%);
  animation-delay: -4s;
}

.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

.page-hero__content {
  position: relative;
  max-width: 760px;
}

.page-hero__content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.page-hero__lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  font-size: var(--text-lg);
  color: var(--color-mute);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.page-hero__meta strong {
  display: block;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.page-hero__meta span {
  font-size: var(--text-sm);
  color: var(--color-mute);
}

.portfolio-toolbar {
  position: sticky;
  top: 100px;
  z-index: 20;
  padding-block: 1rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, var(--color-navy) 60%, transparent);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.7rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 999px;
  background: rgb(15 23 43 / 0.8);
  color: var(--color-mute);
  font-size: var(--text-base);
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s, transform 0.2s;
}

.filter-btn:hover {
  color: var(--color-white);
  border-color: rgb(255 255 255 / 0.28);
}

.filter-btn.is-active {
  color: var(--color-white);
  border-color: var(--color-green-soft);
  background: rgb(98 163 54 / 0.18);
  box-shadow: 0 0 0 1px rgb(113 186 67 / 0.2);
}

.portfolio-board {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: var(--section-y);
}

@media (min-width: 900px) {
  .portfolio-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.portfolio-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 20px;
  background: var(--color-navy-card);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.35s ease;
}

@media (min-width: 640px) {
  .portfolio-card {
    grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 220px;
  }
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card:hover {
  border-color: rgb(113 186 67 / 0.45);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.35);
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--shine-x, 50%) var(--shine-y, 30%),
    rgb(255 255 255 / 0.1),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.25s;
}

.portfolio-card:hover::after {
  opacity: 1;
}

.portfolio-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 100%;
}

@media (min-width: 640px) {
  .portfolio-card__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.portfolio-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.06);
}

.portfolio-card__tags {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  z-index: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding-inline: 0.65rem;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(2 6 24 / 0.75);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 700;
}

.tag--green {
  color: var(--color-green-soft);
}

.tag--orange {
  color: var(--color-orange);
}

.portfolio-card__price {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding-inline: 0.65rem;
  border-radius: 7px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(2 6 24 / 0.8);
  font-size: 0.8125rem;
  font-weight: 700;
}

.portfolio-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem 1.25rem;
}

@media (min-width: 640px) {
  .portfolio-card__body {
    justify-content: center;
    padding: 1.25rem 1.35rem;
  }
}

.portfolio-card__body h2 {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
}

.portfolio-card__body p {
  color: var(--color-mute);
  font-size: 0.9375rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.portfolio-card__meta {
  font-size: var(--text-sm);
  color: var(--color-mute);
}

.portfolio-cta {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--section-y);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgb(98 163 54 / 0.25), transparent 40%),
    radial-gradient(circle at 10% 90%, rgb(244 81 7 / 0.18), transparent 35%),
    var(--color-navy-card);
}

.portfolio-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 42rem;
}

.portfolio-cta h2 {
  font-size: var(--text-h2);
  font-weight: 700;
}

.portfolio-cta p {
  color: var(--color-mute);
  font-size: var(--text-lg);
}

.portfolio-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-2%, 4%, 0) scale(1.08);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-enter > * {
  animation: rise-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-enter > *:nth-child(2) {
  animation-delay: 0.08s;
}

.page-enter > *:nth-child(3) {
  animation-delay: 0.16s;
}

.page-enter > *:nth-child(4) {
  animation-delay: 0.24s;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .portfolio-card {
    transform: none;
  }
}
/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .portfolio-card {
    transform: none;
  }
}

/* ===== Contacts Page ===== */
.contacts-section {
  padding-block: var(--section-y);
}

.contacts-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contacts-content {
    flex-direction: row;
    gap: 4rem;
  }
}

.contacts-info {
  flex: 1;
  min-width: 0;
}

.contacts-info h2 {
  font-size: var(--text-h2);
  margin-bottom: 1.5rem;
}

.contact-text {
  margin-bottom: 2rem;
  font-size: var(--text-lg);
  color: var(--color-mute);
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h3 {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
  color: var(--color-green);
}

.contact-item p {
  font-size: var(--text-base);
  color: var(--color-mute);
}

.contacts-form {
  flex: 1;
  min-width: 0;
  background: var(--color-navy-card);
  padding: 2rem;
  border-radius: var(--radius-card);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.contacts-form h2 {
  font-size: var(--text-h2);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgb(255 255 255 / 0.1);
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font);
  font-size: var(--text-base);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 2px rgba(98, 163, 54, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contacts-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: var(--text-base);
}

/* ===== Modules ===== */

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-block: 2rem;
}

.module-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-navy-card);
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.module-card__image {
  height: 200px;
  overflow: hidden;
}

.module-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.module-card:hover .module-card__image img {
  transform: scale(1.05);
}

.module-card__content {
  padding: 1.5rem;
}

.module-card__title {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.module-card__description {
  color: var(--color-mute);
  margin-bottom: 1rem;
}

.module-card__features {
  margin-bottom: 1rem;
}

.module-card__features li {
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1.5rem;
}

.module-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
}

.modules-section {
  padding-block: 4rem 2rem;
}

.modules-section__title {
  font-size: var(--text-h2);
  margin-bottom: 1rem;
  text-align: center;
}

.modules-section__description {
  color: var(--color-mute);
  margin-bottom: 2rem;
  text-align: center;
}

.modules-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-block: 2rem;
}

.module-item {
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--color-navy-card);
  transition: all 0.3s ease;
}

.module-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.module-item__title {
  font-size: var(--text-xl);
  margin-bottom: 0.5rem;
}

.module-item__description {
  color: var(--color-mute);
}

/* ===== Articles ===== */
.articles-board {
  display: grid;
  gap: 1.25rem;
  padding-bottom: var(--section-y);
}

@media (min-width: 768px) {
  .articles-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .articles-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-card--featured {
    grid-column: span 2;
  }
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 20px;
  background: var(--color-navy-card);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.article-card:hover {
  border-color: rgb(113 186 67 / 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.28);
}

.article-card.is-hidden {
  display: none;
}

.article-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgb(98 163 54 / 0.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgb(244 81 7 / 0.25), transparent 45%),
    var(--color-navy);
}

.article-card--featured .article-card__media {
  aspect-ratio: 21 / 9;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.6s ease, opacity 0.3s;
}

.article-card:hover .article-card__media img {
  transform: scale(1.05);
  opacity: 0.7;
}

.article-card__label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1;
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: var(--text-sm);
  color: var(--color-mute);
}

.article-card h2 {
  font-size: clamp(1.1rem, 0.4vw + 1rem, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.article-card p {
  color: var(--color-mute);
  font-size: 0.975rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

/* ===== Vacancies ===== */
.vacancies-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.vacancy-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 20px;
  background: var(--color-navy-card);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.vacancy-card:hover {
  border-color: rgb(113 186 67 / 0.4);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.25);
}

.vacancy-card.is-hidden {
  display: none;
}

@media (min-width: 900px) {
  .vacancy-card {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    align-items: center;
    padding: 1.75rem 2rem;
  }
}

.vacancy-card__title {
  font-size: clamp(1.2rem, 0.5vw + 1rem, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.vacancy-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.vacancy-card__desc {
  color: var(--color-mute);
  font-size: 0.975rem;
  line-height: 1.5;
}

.vacancy-card__side {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vacancy-card__side dt {
  font-size: var(--text-sm);
  color: var(--color-mute);
}

.vacancy-card__side dd {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.vacancy-card__action {
  display: flex;
  align-items: center;
}

.vacancies-perks {
  display: grid;
  gap: 1rem;
  margin-bottom: var(--section-y);
}

@media (min-width: 768px) {
  .vacancies-perks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.perk-card {
  padding: 1.35rem 1.4rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 16px;
  background: rgb(15 23 43 / 0.8);
}

.perk-card h3 {
  margin-bottom: 0.5rem;
  font-size: var(--text-lg);
}

.perk-card p {
  color: var(--color-mute);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== Contacts page ===== */
.contacts-page {
  padding-bottom: var(--section-y);
}

.contacts-layout {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .contacts-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

.contacts-info-card,
.contacts-form-card {
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 20px;
  background: var(--color-navy-card);
}

@media (min-width: 768px) {
  .contacts-info-card,
  .contacts-form-card {
    padding: 2rem;
  }
}

.contacts-info-card h2,
.contacts-form-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem);
  font-weight: 700;
}

.contacts-info-card > p {
  margin-bottom: 1.5rem;
  color: var(--color-mute);
  line-height: 1.5;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-list__item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-green-soft);
}

.contact-list__item a,
.contact-list__item span {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
}

.contact-list__item a:hover {
  color: var(--color-green-soft);
}

.contact-list__item p {
  margin-top: 0.25rem;
  color: var(--color-mute);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid--stack {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.btn--block-full {
  width: 100%;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-mute);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 12px;
  background: var(--color-navy);
  color: var(--color-white);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-green-soft);
  box-shadow: 0 0 0 3px rgb(113 186 67 / 0.18);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 0.75rem 0 1.25rem;
  font-size: var(--text-sm);
  color: var(--color-mute);
}

.contacts-team {
  margin-top: 1rem;
}

.contacts-team h2 {
  margin-bottom: 1.25rem;
  font-size: var(--text-h2);
  font-weight: 700;
}

/* End */
/* /local/templates/dobrosite_black/css/styles.css?178971399940120 */
