@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  /* Typography Scale */
  --font-family-main: "PF Din Text Comp Pro", sans-serif;
  
  /* Font Sizes */
  --fs-hero: clamp(60px, 11vw, 180px);
  --fs-h1: 116px; /* Section Titles */
  --fs-h2: 60px;  /* Card/Item Titles */
  --fs-h3: 40px;  /* Smaller Titles/Years */
  --fs-body: 18px;
  --fs-small: 14px;
  --fs-large-text: 28px; /* Quotes, Team text */
  
  /* Colors */
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #909090;
}

@font-face {
  font-family: "PF Din Text Comp Pro";
  src: url("../fonts/PFDinTextCompPro-Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "PF Din Text Comp Pro";
  src: url("../fonts/PFDinTextCompPro-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "PF Din Text Comp Pro";
  src: url("../fonts/PFDinTextCompPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "PF Din Text Comp Pro";
  src: url("../fonts/PFDinTextCompPro-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: var(--font-family-main);
    font-size: var(--fs-body);
    color: var(--color-black);
}

.container {
  padding: 10px;
  width: 100%;
  max-width: 1255px;
  margin: 0 auto;
}

.btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  background: var(--color-black);
  padding: 26px 34px;
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-family-main);
  font-size: var(--fs-body);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  border: none;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
}

.section__title {
  color: var(--color-black);
  text-align: justify;
  font-family: var(--font-family-main);
  font-size: var(--fs-h1);
  font-style: normal;
  font-weight: 400;
  line-height: 0.92; /* 107px / 116px approx */
  text-transform: uppercase;
  margin-bottom: 95px;
}

.header__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Header styles are mainly in header.css, keeping fallback here minimal */
.header__container .logoText {
  font-family: "DM Sans", sans-serif; /* Fallback if header.css fails */
  font-weight: 500;
  text-align: center;
  font-size: 20px;
  color: var(--color-black);
}

/* Hero Section */
.hero {
  padding: 60px 0 100px;
  border-bottom: 1px solid var(--color-black);
}

.hero__title {
  font-family: var(--font-family-main);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--color-black);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 40px;
}

.hero__title_indent {
  display: block;
  text-align: right;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.hero__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-right: 40px;
  border-right: 1px solid var(--color-black);
}

.hero__subtitle {
  font-family: var(--font-family-main);
  font-size: 24px; /* Distinct from body */
  line-height: 1.3;
  color: var(--color-black);
  text-transform: uppercase;
  max-width: 90%;
}

.hero__btn {
  width: fit-content;
  border-radius: 0;
  padding: 20px 40px;
  font-size: 20px; /* Slightly larger for hero CTA */
}

.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero__visual_item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.hero__visual_item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 1px solid var(--color-black);
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.hero__visual_item:hover img {
  filter: grayscale(0%);
}

.hero__visual_label {
  font-family: var(--font-family-main);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--color-black);
  padding-top: 5px;
}

/* Services */
.services {
  margin-top: 130px;
  margin-bottom: 130px;
}
.services__title {
  color: var(--color-black);
  text-align: justify;
  font-family: var(--font-family-main);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 95px;
}
.services__item {
  display: block;
  text-decoration: none;
  color: var(--color-black) !important;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  border-bottom: 1px solid var(--color-black);
}
.services__item_title {
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: var(--color-black);
  font-family: var(--font-family-main);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 61px;
}
.services__item_link {
  display: inline-block;
  text-align: center;
  font-family: var(--font-family-main);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-black);
}
.services__item_link svg path {
  stroke: var(--color-black);
  fill: none;
}
.services__item:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}
.services__item:hover p {
  color: var(--color-white);
}
.services__item:hover .services__item_link {
  color: var(--color-white);
}
.services__item:hover .services__item_link svg path {
  stroke: var(--color-white);
  fill: none;
}
.services .item_first {
  border-top: 1px solid var(--color-black);
}

/* Cases */
.cases {
  display: none;
}
.cases__title {
  color: var(--color-black);
  text-align: justify;
  font-family: var(--font-family-main);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}
.cases__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  column-gap: 20px;
}
.cases__items_item {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding: 20px 0;
}
.cases__items_item img {
  width: 100%;
  max-width: 598px;
}
.cases__items_item .case__name {
  color: var(--color-black);
  font-family: var(--font-family-main);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 0.92;
  text-transform: uppercase;
}
.cases__items_item .case__year {
  color: var(--color-black);
  font-family: var(--font-family-main);
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: 1.37;
  text-transform: uppercase;
}
.cases__items_item:nth-child(3) {
  border-top: none;
}
.cases__items_item:nth-child(4) {
  border-top: none;
}

/* Reviews */
.reviews {
  display: none;
}
.reviews__title {
  color: var(--color-black);
  text-align: justify;
  font-family: var(--font-family-main);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 130px 0;
}
.reviews .swiper {
  width: 100%;
  height: 100%;
}
.reviews .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.reviews .swiper-slide {
  text-align: center;
  font-size: var(--fs-body);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding: 32px;
  width: 100%;
  max-width: 388px;
}
.reviews .swiper-slide .slider__text {
  color: var(--color-black);
  font-family: var(--font-family-main);
  font-size: var(--fs-large-text);
  font-weight: 400;
  line-height: 1.07;
  text-align: justify;
  flex: 1;
}
.reviews .swiper-slide .slider__reviewer {
  color: var(--color-black);
  font-family: var(--font-family-main);
  font-size: var(--fs-large-text);
  font-weight: 500;
  line-height: 1.07;
  text-align: start;
}
.reviews .swiper-slide img {
  display: block;
  width: 100%;
  max-width: 178px;
  object-fit: cover;
}

/* Team */
.team__pic {
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding: 20px 0;
  width: 100%;
}
.team__pic img {
  width: 100%;
}
.team__text {
  color: var(--color-black);
  font-family: var(--font-family-main);
  font-size: var(--fs-large-text);
  font-weight: 400;
  line-height: 1.07;
  margin-top: 29px;
  margin-bottom: 50px;
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-black);
}
.team__grid_item {
  position: relative;
  overflow: hidden;
}
.team__grid_item .worker img {
  display: block;
  width: 100%;
  height: auto;
}
.team__grid_item .worker .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.66) 50%, rgba(0, 212, 255, 0) 100%);
  color: var(--color-white);
  padding: 20px 30px;
  text-align: start;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.team__grid_item .worker .info .name {
  color: var(--color-white);
  font-family: var(--font-family-main);
  font-size: var(--fs-large-text);
  font-weight: 700;
  line-height: 1.35;
}
.team__grid_item .worker .info .position {
  color: var(--color-white);
  font-family: var(--font-family-main);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.team__grid_item:hover .info {
  opacity: 1;
}

/* Slogan */
.slogan__text {
  color: var(--color-black);
  text-align: left;
  font-family: var(--font-family-main);
  font-size: clamp(60px, 15vw, 220px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.slogan__container {
  display: flex;
  flex-direction: column;
}
.slogan__container .btn {
  width: fit-content;
  align-self: flex-end;
}

/* Footer */
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 66px 0;
  flex-wrap: wrap;
  gap: 30px;
}
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer__container .copyright {
  color: var(--color-grey);
  font-family: var(--font-family-main);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1;
}
.footer__contacts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__contact {
  color: var(--color-black);
  font-family: var(--font-family-main);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__contact:hover {
  color: #555;
}
.footer__menu {
  display: flex;
  list-style: none;
}
.footer__menu li, .footer__menu li > a {
  color: var(--color-grey);
  text-align: right;
  font-family: var(--font-family-main);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  padding: 0 5px;
}
.footer__menu li {
  border-right: 1px solid var(--color-grey);
}
.footer__menu li:last-child {
  border: none;
}

/* Media Queries */
@media (max-width: 900px) {
  .hero__title {
    font-size: 12vw;
    text-align: left;
  }
  .hero__title_indent {
    text-align: left;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero__info {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 40px 0 60px;
  }
  .hero__title {
    font-size: 48px;
  }
  .hero__subtitle {
    font-size: var(--fs-body);
  }
  .slogan__text {
    font-size: 60px;
  }
}

@media screen and (max-width: 550px) {
  .container {
    max-width: 355px;
  }
  .hero__title {
    font-size: 36px;
  }
  .hero__visual {
    flex-direction: row;
    gap: 15px;
  }
  .hero__btn {
    width: 100%;
    justify-content: center;
  }
  .section__title {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  .services__item_title {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 30px;
  }
  .reviews__title {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .slogan__text {
    font-size: 36px;
    white-space: normal;
    line-height: 1.1;
  }
  .footer__container {
    flex-direction: column;
    padding: 40px 10px;
    gap: 20px;
  }
}
