

:root {
  --ink: #17191a;
  --paper: #f5f3ee;
  --white: #ffffff;
  --muted: #77736d;
  --copper: #a9683e;
  --line: rgba(23, 25, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
}

.container {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(1380px, calc(100% - 64px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 104px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.brand {
  width: max-content;
}

.brand-main {
  display: block;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.brand-sub {
  display: block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.site-header nav {
  display: flex;
  gap: 36px;
}

.site-header nav a,
.header-phone {
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: opacity 180ms ease;
}

.site-header nav a:hover,
.header-phone:hover {
  opacity: 0.62;
}

.header-phone {
  justify-self: end;
}

.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/hero.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 12, 13, 0.96) 0%, rgba(11, 12, 13, 0.72) 48%, rgba(11, 12, 13, 0.22) 100%),
    linear-gradient(0deg, rgba(11, 12, 13, 0.7) 0%, transparent 44%);
}

.hero-lines,
.contact-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lines i,
.contact-lines i {
  position: absolute;
  width: 1px;
  height: 68%;
  background: rgba(255, 255, 255, 0.55);
  transform: rotate(43deg);
  transform-origin: top;
}

.hero-lines i:first-child {
  right: 8%;
  top: -18%;
}

.hero-lines i:last-child {
  right: 2%;
  top: 3%;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(58px, 7.4vw, 112px);
  line-height: 0.94;
  font-weight: 300;
  letter-spacing: -0.06em;
}

.hero-lead {
  max-width: 660px;
  margin: 40px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 58px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-copper {
  background: var(--copper);
  color: var(--white);
}

.button-copper:hover {
  background: #bd7a4e;
}

.text-link {
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 7px;
}

.text-link span {
  margin-left: 8px;
}

.hero-facts {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-facts div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts div:first-child {
  padding-left: 0;
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong {
  font-size: 32px;
  font-weight: 300;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: 128px 0;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 110px;
}

h2 {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.about-copy {
  border-left: 1px solid var(--copper);
  padding-left: 48px;
}

.large-copy {
  margin: 0;
  font-size: 27px;
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.about-list {
  display: grid;
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.about-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #55524d;
  font-size: 15px;
}

.dark-section {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 68px;
}

.section-heading > p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.section-heading.inverse > p {
  color: rgba(255, 255, 255, 0.55);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-card {
  min-height: 310px;
  padding: 30px 28px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.advantage-card:first-child {
  padding-left: 0;
}

.advantage-card:last-child {
  border-right: 0;
}

.advantage-card > span {
  display: block;
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.advantage-card h3 {
  margin: 84px 0 18px;
  font-size: 23px;
  font-weight: 400;
}

.advantage-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.65;
}

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

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.compare-grid figure {
  margin: 0;
}

.image-wrap {
  position: relative;
  height: 650px;
  overflow: hidden;
  background: #ddd;
}

.image-wrap img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.image-wrap:hover img {
  transform: scale(1.025);
}

.image-wrap span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 11px 16px;
  background: rgba(23, 25, 26, 0.88);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}

.process-title {
  position: sticky;
  top: 60px;
  align-self: start;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding-top: 6px;
}

.steps h3 {
  margin: 0 0 9px;
  font-size: 21px;
  font-weight: 400;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.gallery-section {
  background: var(--ink);
  padding: 18px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-template-rows: 380px 380px;
  gap: 18px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.gallery-tall {
  grid-row: 1 / 3;
}

.gallery-wide {
  grid-column: 2 / 4;
}

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

.care-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 110px;
}

.care-points {
  border-top: 1px solid var(--line);
}

.care-points > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.care-points strong {
  font-size: 14px;
  font-weight: 500;
}

.care-points p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.testimonial {
  background: var(--white);
}

.testimonial-inner {
  max-width: 1000px;
  text-align: center;
}

.stars {
  color: var(--copper);
  letter-spacing: 0.18em;
  margin-bottom: 34px;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1.28;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.testimonial-inner > p {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.team-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 460px;
  background: var(--ink);
  color: var(--white);
}

.team-image {
  overflow: hidden;
  min-height: 460px;
}

.team-image img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.75);
  transition: filter 250ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}

.team-card:hover .team-image img {
  filter: saturate(1);
  transform: scale(1.025);
}

.team-content {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
}

.team-role {
  margin: 0 0 28px !important;
  color: var(--copper) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-content h3 {
  margin: 0;
  font-size: 29px;
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.team-content > p {
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.65;
}

.team-content > a {
  width: max-content;
  margin-top: auto;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: var(--ink);
  color: var(--white);
}

.contact-lines i:first-child {
  right: 10%;
  top: -12%;
}

.contact-lines i:last-child {
  right: 0;
  top: 14%;
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact h2 {
  max-width: 900px;
}

.contact-lead {
  max-width: 600px;
  margin: 34px 0 54px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 17px;
  line-height: 1.7;
}

.contact-phones {
  display: flex;
  gap: 64px;
}

.contact-phones a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(25px, 3.2vw, 42px);
  font-weight: 300;
  letter-spacing: -0.035em;
}

.contact-phones span {
  color: var(--copper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-note {
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  background: #0e0f10;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-inner span:first-child {
  color: var(--white);
  font-size: 16px;
}

.mobile-call {
  display: none;
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .about-grid,
  .process-grid,
  .care-grid {
    gap: 60px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-card:nth-child(2) {
    border-right: 0;
  }

  .advantage-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .advantage-card:nth-child(3) {
    padding-left: 0;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-image {
    min-height: 380px;
    height: 380px;
  }
}

@media (max-width: 760px) {
  .container,
  .site-header {
    width: min(100% - 36px, 1240px);
  }

  .site-header {
    min-height: 82px;
  }

  .brand-main {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 7px;
  }

  .header-phone {
    font-size: 11px;
  }

  .hero {
    min-height: 760px;
    align-items: flex-start;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(11, 12, 13, 0.95), rgba(11, 12, 13, 0.44)),
      linear-gradient(0deg, rgba(11, 12, 13, 0.82), transparent 58%);
  }

  .hero-content {
    padding-top: 155px;
  }

  .hero h1 {
    font-size: clamp(46px, 14.4vw, 70px);
    line-height: 0.98;
  }

  .hero-lead {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-facts div {
    display: block;
    padding: 18px 8px;
  }

  .hero-facts div:first-child {
    padding-left: 0;
  }

  .hero-facts strong {
    display: block;
    font-size: 23px;
  }

  .hero-facts span {
    display: block;
    margin-top: 5px;
    font-size: 8px;
    line-height: 1.35;
  }

  .section {
    padding: 82px 0;
  }

  h2 {
    font-size: 45px;
  }

  .about-grid,
  .section-heading,
  .process-grid,
  .care-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-copy {
    padding-left: 24px;
  }

  .large-copy {
    font-size: 21px;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card,
  .advantage-card:first-child,
  .advantage-card:nth-child(3) {
    min-height: auto;
    padding: 26px 0 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .advantage-card:last-child {
    border-bottom: 0;
  }

  .advantage-card h3 {
    margin-top: 36px;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .image-wrap {
    height: 490px;
  }

  .process-title {
    position: static;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 310px 310px;
  }

  .gallery-tall {
    grid-row: auto;
  }

  .gallery-wide {
    grid-column: auto;
  }

  .care-points > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 390px;
  }

  .team-image {
    height: auto;
    min-height: 390px;
  }

  .team-content {
    padding: 26px 20px;
  }

  .team-content h3 {
    font-size: 23px;
  }

  .team-content > p {
    font-size: 12px;
  }

  .contact {
    padding: 94px 0 112px;
  }

  .contact-phones {
    flex-direction: column;
    gap: 30px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    min-height: 130px;
  }

  .mobile-call {
    position: fixed;
    z-index: 40;
    right: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 50px;
    padding: 0 22px;
    background: var(--copper);
    color: var(--white);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media (max-width: 520px) {
  .header-phone {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 800px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 330px);
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-image {
    height: 460px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
