/* ==========================================================================
   0) RESET / BASE
   ========================================================================== */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Roboto-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Roboto-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto/Roboto-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


html {
  box-sizing: border-box;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: 0;
}

a {
  outline: transparent;
  text-decoration-color: transparent;
  color: inherit;
}

button {
  padding: 0;
  border: transparent;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

/* body {
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  background-color: #fff;
} */

body {
  min-height: 100vh;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #333333;
  background-color: #fff;
}




/* ==========================================================================
   1) UTILITARE / HELPERS
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.animation:hover {
  text-decoration-line: underline;
  color: #fff;
}

/* .animation:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  border-radius: 1px;
} */

.animation:focus {
  box-shadow: 0 0 0 2px rgb(255 255 255 / 3%);
  border-radius: 1px;
}

.animation:active {
  opacity: 0.3;
}

.mixitup-control-active {
  color: #ffc700;
  text-decoration: underline rgba(117, 113, 113, 0.096);
}

/* ==========================================================================
   2) LAYOUT GLOBAL
   ========================================================================== */

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.section {
  padding: 140px 0;
}

.section__title {
  font-weight: 900;
  font-size: 45px;
  line-height: 1.3;
  display: inline-block;
  position: relative;
  margin-bottom: 60px;
  text-shadow: 0px 4px 25px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.section__title--color {
  color: #ffc700;
}

.color-title {
  color: #ffc700;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}

.color-title--mod {
  font-size: 75px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   3) COMPONENTE COMUNE
   ========================================================================== */

/* Button */
.btn {
  background-color: #ffbb00;
  border: 1px solid transparent;
  padding: 12px 24px;
  font-weight: 600;
  line-height: 1.3;
  color: rgb(37, 35, 35);
  transition: color 0.5s, opacity 0.5s, border 0.5s, box-shadow 0.5s,
    background-color 0.5s;
}

.btn:hover {
  background-color: #ffffff;
  border-color: #35363a;
  color: #242427;
}

.btn:focus {
  box-shadow: 0 0 0 3px rgba(168, 169, 172, 0.5);
}

.btn:active {
  background-color: #252527;
  box-shadow: inset 0 7px 4px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

/* Brand (logo) */
.brand {
  z-index: 1;
  transition: opacity 0.5s, box-shadow 0.5s;
}

.brand:hover {
  opacity: 0.7;
}

.brand:focus {
  box-shadow: 0 0 0 3px #424449;
}

.brand:active {
  opacity: 0.5;
}

/* Burger */
.burger {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  top: 0;
  right: 0;
}

.burger__line,
.burger__line::before,
.burger__line::after {
  position: absolute;
  height: 2px;
  width: 30px;
  background-color: #fff;
}

.burger__line {
  right: 0;
  top: 50%;
  transition: transform 0.3s ease-in-out;
}

.burger__line::before,
.burger__line::after {
  content: "";
  left: 0;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger__line::before {
  top: -10px;
}

.burger__line::after {
  top: 10px;
}

.burger--active .burger__line {
  background-color: transparent;
}

.burger--active .burger__line::before {
  transform: rotate(45deg);
  top: 50%;
  z-index: 2;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger--active .burger__line::after {
  transform: rotate(-45deg);
  top: 50%;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

/* === FIX: albastru la tap pe touch screen (Chrome) === */
.burger,
.site-header__menu-item,
.site-header__menu-link,
.site-header__menu-link * {
  -webkit-tap-highlight-color: transparent;
}

/* Social */
.social {
  display: flex;
}

.social__item:not(:last-child) {
  margin-right: 20px;
}

.social__link {
  display: block;
  width: 44px;
  height: 44px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: box-shadow 0.5s, opacity 0.5s;
}

.social__link:hover {
  opacity: 0.7;
}

.social__link:focus {
  box-shadow: 0 0 0 2px rgba(35, 82, 222, 0.3);
}

.social__link:active {
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   4) SITE HEADER (site-header)
   ========================================================================== */

/*.site-header {*/
/*  position: relative;*/
/*  height: 100vh;*/
/*  background-repeat: no-repeat;*/
/*  background-size: cover;*/
/*  background-position: center center;*/
/*  color: #fff;*/
/*  z-index: 1;*/
/*  padding-top: 75px;*/
/*}*/

.site-header {
  position: relative;
  height: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #fff;
  z-index: 1;
  padding-top: 75px;
}


.site-header::before {
  position: absolute;
  content: "";
  background-color: rgb(0 0 0 / 80%);
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  z-index: -1;
}

.site-header__top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 25px 0 15px;
  z-index: 1;
  transition: all 0.5s;
}

.site-header__top--bg {
  padding: 15px 0;
  background-color: #000000;
}

.site-header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}




/* =========================
   Language switch – MINIMAL
   (desktop: .lang--header, mobile: .lang--menu in burger)
   ========================= */

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.lang__item {
  list-style: none;
}

.lang__link {
  color: #ffc700;
  opacity: 0.45;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.lang__link:hover {
  opacity: 0.8;
}

.lang__link--active {
  opacity: 1;
  font-weight: 700;
  cursor: default;
}

/* focus (TAB) – discret, fără underline */
.lang__link:focus-visible {
  outline: none;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(255, 199, 0, 0.35);
  border-radius: 2px;
  padding: 2px 4px;
  margin: -2px -4px;
}

.lang__sep {
  color: #ffc700;
  opacity: 0.3;
}

/* desktop: arătăm doar header switch */
.lang--header {
  margin-left: 36px;
}

/* desktop: ascundem switch-ul din burger */
.site-header__menu-item--lang {
  display: none;
}

/* mobile: ascundem header switch + arătăm switch-ul din burger */
@media (max-width: 991px) {
  .lang--header {
    display: none;
  }

  .site-header__menu-item--lang {
    display: block;
    margin-top: 24px;
  }

  .lang--menu {
    justify-content: center;
  }
}

.site-header__menu {
  display: flex;
}

.site-header__menu-item:not(:last-child) {
  margin-right: 35px;
}

.site-header__menu-link {
  font-size: 16px;
  font-weight: 600;
  color: #ffc700;
  line-height: 1.3;
  transition: text-decoration 0.5s, box-shadow 0.5s, opacity 0.5s;
}

/* .site-header__content {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
} */

.site-header__content {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  padding-bottom: 150px;
}

.site-header__title {
  max-width: 960px;
  font-size: 75px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
}

.site-header__subtitle {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  text-transform: none;
  color: #fff;
  display: block;
  padding-top: 15px;
  text-shadow: 0px 4px 4px rgb(0 0 0 / 50%);
}

.site-header__scroll-btn {
  position: absolute;
  /* bottom: 30px; */
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: rgb(255 255 255 / 16%);
  padding-bottom: 65px;
  background-image: url("../images/btnw_arrow.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 60px;
  transition: text-decoration 0.5s, box-shadow 0.5s, opacity 0.5s;
}

/* ==========================================================================
   5) ABOUT
   ========================================================================== */

.about {
  padding-bottom: 0;
}

.about__inner {
  position: relative;
  display: flex;
  align-items: center;
}

.about__lead {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #181818;
  text-shadow: 0 0.3px #0000008f;
}

.about__text p:not(:last-child) {
  margin-bottom: 15px;
}

.about__text {
  margin-bottom: 50px;
}

.about__btn {
  position: absolute;
  bottom: 30px;
  right: 200px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: rgb(255 255 255 / 16%);
  padding-bottom: 75px;
  background-image: url(../images/btn_arrow.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 70px;
  transition: text-decoration 0.5s, box-shadow 0.5s, opacity 0.5s;
}

/* ==========================================================================
   6) SKILLS
   ========================================================================== */

/* zone cu background comun */
.skills,
.reviews,
.stats__item,
.contact-form__input {
  background-color: #f6f6f8;
}

.skills__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skills__img {
  margin-right: 10px;
}

.skills__img--shadow {
  border-radius: 10px;
  box-shadow: 11px -8px 20px 0px #2a292645;
}

.skills__list {
  max-width: 665px;
  width: 100%;
}

.skills__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skills__item:not(:last-child) {
  margin-bottom: 65px;
}

.skills__label {
  width: 150px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.skills__bar {
  max-width: 600px;
  width: 100%;
  height: 32px;
  background-color: #dbdbed;
}

.skills__fill {
  display: block;
  height: 100%;
  background-color: #2a2926;
}

/* ==========================================================================
   7) SERVICES
   ========================================================================== */

.services {
  padding-bottom: 0;
}

.services__list {
  display: flex;
  justify-content: space-between;
}

.services__item {
  position: relative;
  width: 30%;
  padding-top: 90px;
}

.services__item::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.services__item--code::before {
  background-image: url("../images/code-icon.png");
}

.services__item--dev::before {
  background-image: url("../images/dev-icon.png");
}

.services__item--chat::before {
  background-image: url("../images/chat-icon.png");
}

.services__title {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 25px;
}

.services__text {
  font-size: 16px;
}

/* ==========================================================================
   8) PORTFOLIO
   ========================================================================== */

.portfolio {
  text-align: center;
}

.portfolio__filters {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.portfolio__filter-item:not(:last-child) {
  margin-right: 35px;
}

.portfolio__filter-btn {
  font-weight: 600;
  font-size: 24px;
  text-shadow: 0 0 #000000b7;
  transition: text-decoration 0.5s, color 0.5s, box-shadow 0.5s;
}

.portfolio__filter-btn:hover {
  color: #524d3f;
  text-decoration-line: underline;
}

.portfolio__filter-btn:focus {
  box-shadow: 0 0 0 2px rgba(214, 215, 216, 0.315);
  border-radius: 3px;
}

.portfolio__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 45px;
  grid-row-gap: 45px;
  margin-bottom: 60px;
}

/* ==========================================================================
   9) REVIEWS
   ========================================================================== */

.reviews {
  text-align: center;
}

.reviews__content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.reviews__blockquote {
  max-width: 400px;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.3;
}

.reviews__author {
  display: block;
  font-style: normal;
  font-weight: 600;
  line-height: 1.3;
  color: #ffbb00;
  margin-bottom: 20px;
}

.reviews__avatar {
  width: 200px;
  height: 206px;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.reviews__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  max-width: 570px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.reviews__link::after {
  position: absolute;
  content: "";
  width: 86px;
  height: 100px;
  background-image: url("../images/play.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s;
}

.reviews__link::before {
  position: absolute;
  content: "";
  background-color: rgba(0 0 0 / 10%);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
  transition: background-color 0.5s, box-shadow 0.5s;
}

.reviews__link:hover:after {
  transform: scale(1.5);
}

.reviews__link:active:after {
  transform: scale(0.6);
}

.reviews__link:hover:before {
  background-color: rgba(0, 0, 0, 0.322);
}

.reviews__link:active:before {
  background-color: rgba(0, 0, 0, 0.45);
}

.reviews__link:focus:before {
  box-shadow: 0 0 0 3px rgba(19, 22, 32, 0.304);
}

/* ==========================================================================
   10) STATS
   ========================================================================== */

.stats__list {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-position: center 50px;
  width: 24%;
  padding: 150px 10px 50px;
  background-repeat: no-repeat;
}

.stats__item--works {
  background-image: url("../images/icons/works-icon.png");
}

.stats__item--clients {
  background-image: url("../images/icons/clients-icon.png");
}

.stats__item--coffee {
  background-image: url("../images/icons/coffee-icon.png");
}

.stats__item--review {
  background-image: url("../images/icons/chat-icon.png");
}

.stats__label {
  font-weight: 400;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.3;
}

.stats__value {
  font-weight: 600;
  font-size: 44px;
  line-height: 100%;
  text-shadow: 0 1px #c4ab34c9;
  color: #ffc600;
}

/* ==========================================================================
   11) CONTACT + FORM
   ========================================================================== */

.contact {
  padding-bottom: 140px;
}

.contact__inner {
  display: flex;
  justify-content: space-between;
}

.contact__box {
  max-width: 530px;
  font-size: 16px;
  margin-bottom: 30px;
  margin-right: 15px;
}

.contact__box p {
  margin-bottom: 20px;
}

.contact__list {
  color: rgb(0 0 0 / 85%);
  font-weight: 900;
  margin-bottom: 25px;
  font-style: normal;
}

.contact__item:not(:last-child) {
  margin-bottom: 15px;
}

.contact__link {
  transition: text-decoration 0.5s, box-shadow 0.5s;
}

.contact__link:hover {
  text-decoration-color: #2352de;
}

.contact__link:focus {
  box-shadow: 0 0 0 2px rgba(19, 22, 32, 0.5);
}

.contact__link--marked {
  text-decoration: underline;
  text-decoration-color: rgb(255 187 0);
}

.contact__link--marked:hover {
  text-decoration-line: underline;
  text-decoration-color: rgb(17, 17, 17);
  color: rgb(255 187 0);
}

.contact__link--marked:focus {
  box-shadow: 0 0 0 2px rgba(206, 203, 195, 0.342);
}

/* Form */
.contact-form {
  max-width: 540px;
  width: 100%;
}

.contact-form__items {
  display: flex;
  justify-content: space-between;
}

.contact-form__item:not(:last-child) {
  margin-right: 10px;
}

.contact-form__label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.contact-form__input::placeholder {
  color: #9c9cab;
  transition: color 0.5s;
}

.contact-form__input:hover::placeholder {
  color: #000;
}

.contact-form__input {
  width: 255px;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.3;
  color: #000;
  border-color: transparent;
  margin-bottom: 25px;
  transition: box-shadow 0.5s;
}

.contact-form__input:focus {
  box-shadow: 0 0 0 3px rgba(74, 109, 225, 0.158);
}

.contact-form__input--textarea {
  width: 100%;
  min-height: 115px;
  resize: vertical;
}

.contact-form__status {
  font-size: 14px;
  margin-top: 10px;
}

.contact-form__status:empty {
  display: none;
}

/* ==========================================================================
   12) FOOTER
   ========================================================================== */

.site-footer {
  display: flex;
  justify-content: center;
  background-color: #000000;
  padding: 50px 0;
}

/* =========================
   FOOTER
   ========================= */

.site-footer__inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.site-footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.site-footer__link {
  color: #ffc700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__link:hover {
  opacity: 0.8;
}

/* =====================================================================
   LEGAL PAGES (Terms / Privacy)
   ===================================================================== */

.legal {
  padding: 60px 0 0;
}

.legal__section {
  padding: 70px 0;
}

.legal__title {
  font-weight: 900;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 0px 4px 25px rgba(0, 0, 0, 0.08);
}

.legal__meta {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 25px;
}

.legal__lead {
  font-size: 18px;
  margin-bottom: 25px;
  max-width: 900px;
}

.legal__h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 30px 0 12px;
}

.legal__list {
  padding-left: 18px;
  margin: 0 0 18px;
}

.legal__list li {
  list-style: disc;
  margin-bottom: 8px;
}

.legal__link {
  text-decoration: underline;
  text-decoration-color: rgba(255, 187, 0, 0.8);
  text-underline-offset: 3px;
}

.legal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.legal__btn {
  display: inline-block;
}

/* =====================================================================
   FOOTER (legal version)
   ===================================================================== */

.site-footer--legal {
  padding: 26px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.site-footer__sep {
  opacity: 0.5;
  color: #ffc700;
}

.site-footer__link {
  color: #ffc700;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.site-footer__link:hover {
  opacity: 1;
}

.site-footer__link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.25);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .legal__title {
    font-size: 28px;
  }

  .site-footer__inner {
    justify-content: center;
    text-align: center;
  }

  .site-footer__nav {
    justify-content: center;
  }
}

/* ==========================================================================
   FOOTER (updated)
   ========================================================================== */

.site-footer {
  background-color: #000;
  padding: 40px 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  opacity: 0.9;
}

.site-footer__link {
  color: #ffc700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__link:hover {
  opacity: 0.75;
}

.site-footer__sep {
  color: #ffc700;
  opacity: 0.45;
}

.site-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   COOKIE NOTICE (minimal)
   ========================================================================== */

.cookie {
  position: fixed;
  left: 15px;
  right: 15px;
  bottom: 15px;
  z-index: 9999;
}

.cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie__text {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.cookie__btn.btn {
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1;
}

@media (max-width: 576px) {
  .cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie__btn.btn {
    width: 100%;
  }
}

/* === STICKY FOOTER (footer jos când pagina e scurtă) === */
html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ==========================================================================
   13) MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1200px) {
  .site-header__subtitle {
    font-size: 20px;
    line-height: 1;
  }

  .site-header__title {
    font-size: 60px;
  }

  .stats__item {
    margin-bottom: 15px;
  }

  .color-title--mod {
    font-size: 60px;
  }

  .about__inner {
    display: block;
  }

  .about__img {
    margin-bottom: 25px;
  }

  .about__text {
    padding-bottom: 35px;
  }

  .about__btn {
    position: absolute;
    bottom: -45px;
    right: 43%;
  }

  .skills__img--shadow,
  .skills__img {
    display: none;
  }

  .skills__inner {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  body.lock {
    overflow-y: hidden;
  }

  .section {
    padding: 70px 0;
  }

  .title {
    display: block;
    width: fit-content;
    margin: 0 auto 60px;
  }

  .site-header__menu-item {
    margin: 0;
    padding: 15px 0;
  }

  .site-header__menu-item:not(:last-child) {
    margin: 0;
  }

  .site-header__menu {
    position: absolute;
    z-index: 1;
    flex-direction: column;
    left: 0;
    right: 0;
    top: 0;
    height: 100vh;
    padding: 80px 0;
    overflow-y: auto;
    transform: translateY(-200%);
    text-align: center;
    background-color: rgb(0 0 0 / 94%);
    transition: all 0.5s;
  }

  .site-header__menu--active {
    transform: translateY(0);
  }

  .site-header__menu-item:active {
    background-color: rgba(55, 55, 57, 0.7);
  }

  .burger {
    display: block;
    z-index: 2;
  }

  .site-header__top {
    padding-top: 15px;
  }

  .brand {
    position: relative;
    z-index: 2;
    width: 110px;
    height: 36px;
  }

  .site-header__title {
    margin-bottom: 0;
  }

  .site-header__scroll-btn {
    z-index: 0;
    font-size: 14px;
    /* bottom: 23px; */
  }

  .skills__img {
    margin-right: 15px;
  }

  .services__title {
    font-size: 23px;
  }

  .reviews__content {
    flex-direction: column;
  }

  .reviews__blockquote {
    margin-bottom: 15px;
  }

  .stats__item {
    background-size: 53px;
    padding: 120px 10px 15px;
  }

  .contact__inner {
    flex-direction: column;
  }

  .about__img {
    margin-bottom: 10px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .site-header {
    padding-top: 0;
  }

  .site-header__title {
    font-size: 32px;
  }

  .site-header__subtitle {
    font-size: 22px;
  }

  .contact {
    padding-bottom: 60px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 50px 0;
  }

  .title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
  }

  .title::after {
    height: 8px;
  }

  .site-header__top--bg {
    padding: 5px 0;
  }

  .site-header__title {
    font-size: 28px;
    max-width: 500px;
  }

  .site-header__subtitle {
    font-size: 18px;
    line-height: 1.5;
  }

  .color-title--mod {
    padding: 0 2px;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .skills__inner {
    flex-direction: column;
  }

  .skills__item:not(:last-child) {
    margin-bottom: 28px;
  }

  .services__list {
    flex-direction: column;
  }

  .services__item:not(:last-child) {
    margin-bottom: 15px;
  }

  .services__item {
    width: 100%;
    padding-top: 70px;
  }

  .skills__img {
    margin-right: 0;
    margin-bottom: 26px;
  }

  .portfolio__filter-btn {
    font-size: 18px;
  }

  .portfolio__filters {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .portfolio__filter-item:not(:last-child) {
    margin-right: 0;
  }

  .portfolio__filter-item {
    padding: 10px 0;
  }

  .portfolio__list {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    margin-bottom: 40px;
  }
  
  
  /* FIX CLS: cardurile din portfolio au înălțime stabilă */
    .portfolio__item {
      aspect-ratio: 360 / 825;
      overflow: hidden;
    }
    
    .portfolio__item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

  
  

  .stats__list {
    flex-wrap: wrap;
  }

  .stats__item {
    width: 48%;
    background-size: 44px;
  }

  .stats__value {
    font-size: 30px;
  }

  .stats__label {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .site-header {
    padding-top: 20px;
  }

  .site-header__scroll-btn {
    /* bottom: 18px;
    padding-bottom: 80px; */
    transform: translateX(-50%);
  }

  .about__text p:not(:last-child) {
    margin-bottom: 25px;
  }

  .skills__item {
    display: block;
    text-align: center;
  }

  .skills__item:not(:last-child) {
    margin-bottom: 20px;
  }

  .skills__img {
    width: 300px;
    height: 325px;
  }

  .skills__list {
    padding: 0 25px;
  }

  .services {
    padding-bottom: 10px;
  }

  .services__item::before {
    width: 40px;
    height: 40px;
  }

  .services__title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .services__item {
    padding-top: 50px;
  }

  .services__item:not(:last-child) {
    margin-bottom: 32px;
  }

  .portfolio__list {
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 45px;
    margin-bottom: 35px;
    justify-items: center;
  }

  .portfolio__filters {
    margin-bottom: 30px;
  }

  .portfolio__filter-item {
    padding: 7px 0;
  }

  .reviews__content {
    position: relative;
  }

  .reviews__avatar {
    margin: 0 auto 30px;
  }

  .reviews__link {
    position: absolute;
    top: 89px;
    left: 50%;
    transform: translateX(25px);
    height: 60px;
    width: 60px;
    border-radius: 50%;
  }

  .reviews__link::before {
    border-radius: 50%;
  }

  .reviews__link::after {
    width: 17px;
    height: 20px;
  }

  .reviews__blockquote {
    font-size: 16px;
    margin-bottom: 0;
  }

  .reviews__author {
    font-size: 20px;
  }

  .stats__item {
    background-position: center 28px;
    padding: 75px 29px 25px;
  }

  .stats__label {
    margin-bottom: 13px;
  }

  .stats__item--coffee,
  .stats__item--review {
    background-size: 32px;
  }

  .contact {
    margin-top: -20px;
    padding-bottom: 43px;
  }

  .contact__list {
    margin-bottom: 9px;
  }

  .contact__item:not(:last-child) {
    margin-bottom: 0;
  }

  .contact__item {
    padding: 10px 0;
  }

  .contact-form__items {
    flex-direction: column;
  }

  .contact-form__item:not(:last-child) {
    margin-right: 0;
  }

  .contact-form__input {
    margin-bottom: 13px;
    width: 100%;
  }

  .site-footer {
    padding: 30px 0;
  }
}
