:root {
  --page-width: 1383px;
  --cream: #f5f2ee;
  --white: #ffffff;
  --dark: #111111;
  --black: #000000;
  --cta-gold: #d8a24c;
  --cta-gold-hover: #efbd68;
  --cta-olive: #3f4a35;
  --cta-olive-hover: #566647;
  --sand-100: #f5f2ee;
  --sand-200: #e0dcd2;
  --sand-300: #c7beb1;
  --sand-400: #b6ac9d;
  --sand-600: #888074;
  --muted: rgba(245, 242, 238, 0.72);
  --line: rgba(199, 190, 177, 0.28);
  --radius: 8px;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--sand-400);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
}

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

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

.section-frame {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.top-nav {
  position: fixed;
  z-index: 50;
  top: clamp(24px, 3.9vw, 54px);
  left: 50%;
  display: flex;
  width: min(1000px, calc(100vw - 96px));
  justify-content: center;
  gap: clamp(32px, 7vw, 118px);
  padding: 15px 28px;
  border-radius: var(--radius);
  background: rgba(199, 190, 177, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.top-nav a {
  position: relative;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
}

.top-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  min-height: min(52.45vw, 725px);
  display: grid;
  align-items: center;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(78, 70, 60, 0.92), rgba(181, 170, 155, 0.58)),
    var(--sand-400);
  animation: photoIn 1s ease both;
}

.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/drive-final/head1.jpg");
  background-repeat: no-repeat;
}

.hero-photo::before {
  background-position: center;
  background-size: cover;
  filter: none;
  transform: scaleX(-1);
}

.hero-photo::after {
  display: none;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 31%, rgba(0, 0, 0, 0.16) 58%, transparent 82%);
  animation: shadeIn 0.8s ease 0.25s both;
}

.hero-watermark {
  position: absolute;
  left: 4.8%;
  top: 18%;
  color: rgba(224, 220, 210, 0.075);
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 900;
  writing-mode: vertical-rl;
  letter-spacing: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: min(560px, 44%);
  margin-left: 13.7%;
  padding-top: 4.5%;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.58);
}

.brand {
  display: inline-block;
  width: 164px;
  margin-bottom: 28px;
}

.brand img {
  width: 100%;
  height: auto;
}

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

h1 {
  max-width: 545px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(2.05rem, 2.78vw, 2.45rem);
  line-height: 1.12;
  font-weight: 600;
}

h1 strong,
h2 strong {
  font-weight: 700;
}

.hero p {
  max-width: 430px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.5;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 22px 48px;
  color: var(--black);
  background: var(--cta-gold);
  box-shadow: 0 18px 44px rgba(216, 162, 76, 0.34), 0 14px 34px rgba(0, 0, 0, 0.3);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--cta-gold-hover);
  box-shadow: 0 24px 58px rgba(216, 162, 76, 0.42), 0 18px 46px rgba(0, 0, 0, 0.34);
  transform: scale(1.045);
}

.hero-button {
  min-width: min(560px, 100%);
}

.button-small {
  min-height: 68px;
  min-width: min(560px, 100%);
  padding: 22px 48px;
  font-size: 1rem;
}

.button.dark {
  color: var(--black);
  background: var(--cta-gold);
}

.button.dark:hover,
.button.dark:focus-visible {
  background: var(--cta-gold-hover);
}

.section-notch {
  position: absolute;
  z-index: 3;
  top: -19px;
  left: 50%;
  width: 42px;
  height: 42px;
  border-right: 2px solid rgba(199, 190, 177, 0.5);
  border-bottom: 2px solid rgba(199, 190, 177, 0.5);
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.process > .section-notch {
  display: none;
}

.reasons::before,
.projects::before,
.process::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(199, 190, 177, 0.42);
}

.section-title h2,
.projects-copy h2,
.feedback-title h2,
.footer h2 {
  margin-bottom: 0;
  font-size: clamp(1.72rem, 3.2vw, 2.65rem);
  line-height: 1.08;
  font-weight: 600;
}

.center {
  text-align: center;
}

.reasons {
  display: grid;
  min-height: min(100vh, 760px);
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 50%, rgba(136, 128, 116, 0.42), transparent 52%),
    #111111;
  isolation: isolate;
}

.reason-grid-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--grid-cols, 18), minmax(0, 1fr));
  grid-auto-rows: 72px;
  opacity: 0.78;
  contain: paint;
  overflow: hidden;
  pointer-events: auto;
}

.reason-grid-bg::before,
.reason-grid-bg::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.reason-grid-bg::before {
  background: radial-gradient(circle at 50% 48%, rgba(216, 162, 76, 0.16), transparent 64%);
}

.reason-grid-bg::after {
  background:
    radial-gradient(circle at 22% 36%, rgba(216, 162, 76, 0.22), transparent 18%),
    radial-gradient(circle at 72% 64%, rgba(245, 242, 238, 0.13), transparent 24%),
    linear-gradient(115deg, transparent 0%, rgba(216, 162, 76, 0.14) 42%, transparent 64%);
  filter: blur(2px);
  opacity: 0.72;
}

.reason-grid-cell {
  position: relative;
  z-index: 1;
  min-height: 72px;
  border-right: 1px solid rgba(216, 162, 76, 0.12);
  border-bottom: 1px solid rgba(216, 162, 76, 0.12);
  background: rgba(245, 242, 238, 0);
  transition: background 1.05s ease, border-color 1.05s ease, box-shadow 1.05s ease;
}

.reason-grid-cell:hover,
.reason-grid-cell.is-lit {
  border-color: rgba(245, 242, 238, 0.72);
  background: rgba(245, 242, 238, 0.28);
  box-shadow: inset 0 0 30px rgba(245, 242, 238, 0.26), 0 0 34px rgba(245, 242, 238, 0.16);
  transition-duration: 0.16s;
}

.reason-grid-cell.is-fading {
  border-color: rgba(245, 242, 238, 0.28);
  background: rgba(245, 242, 238, 0.12);
  box-shadow: inset 0 0 24px rgba(245, 242, 238, 0.14), 0 0 24px rgba(245, 242, 238, 0.08);
  transition-duration: 1.2s;
}

.reason-wrap {
  position: relative;
  z-index: 5;
  width: min(860px, 72%);
  margin: 0 auto;
  padding: clamp(82px, 7vw, 106px) 0;
  pointer-events: none;
}

.reason-card {
  pointer-events: auto;
}

.reasons .section-title {
  pointer-events: none;
}

.reasons .section-title h2,
.reason-card h3 {
  color: var(--white);
}

.reasons .section-title h2 {
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 1;
}

.reasons .section-title h2,
.reasons .section-title h2 strong {
  background: linear-gradient(90deg, var(--white), rgba(245, 242, 238, 0.76));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px) clamp(32px, 8vw, 104px);
  margin-top: min(4.2vw, 58px);
}

.reason-card.reveal {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.5vw, 30px) clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(245, 242, 238, 0.12);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.34);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  text-align: center;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    border-color 0.82s ease 0.18s,
    box-shadow 0.82s ease 0.18s,
    background 0.82s ease 0.18s,
    transform 0.62s ease 0.12s,
    opacity 0.72s ease;
}

.reason-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(245, 242, 238, 0.12), transparent 58%);
}

.reason-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(rgba(245, 242, 238, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 238, 0.24) 1px, transparent 1px),
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(245, 242, 238, 0.42), transparent 54%);
  background-size: 36px 36px, 36px 36px, 100% 100%;
  -webkit-mask-image: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), black 0%, black 36%, transparent 68%);
  mask-image: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), black 0%, black 36%, transparent 68%);
  opacity: 0;
  transition: opacity 0.82s ease 0.18s;
}

.reason-card:hover,
.reason-card:focus-within {
  border-color: rgba(245, 242, 238, 0.38);
  background: rgba(245, 242, 238, 0.08);
  box-shadow: 0 24px 64px rgba(245, 242, 238, 0.1), 0 18px 46px rgba(0, 0, 0, 0.22);
  transform: translateY(-4px);
  transition:
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease,
    transform 0.32s ease;
}

.reason-card:hover::after,
.reason-card:focus-within::after {
  opacity: 1;
  transition: opacity 0.32s ease;
}

.reason-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 7px;
  color: var(--dark);
  background: rgba(245, 242, 238, 0.92);
  font-size: 0.7rem;
  font-weight: 900;
  transition: background 0.45s ease, color 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}

.reason-icon svg,
.step-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
  line-height: 1.2;
  font-weight: 700;
}

.reason-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.projects {
  min-height: auto;
  padding: clamp(96px, 8.8vw, 136px) 0;
  color: var(--sand-600);
  background: var(--white);
}

.projects-wrap {
  width: min(1228px, calc(100% - 128px));
  margin: 0 auto;
  padding-top: 0;
}

.projects-copy h2 {
  max-width: 360px;
  margin: 0 auto 16px;
  color: var(--sand-600);
  font-size: clamp(1.8rem, 2.2vw, 1.95rem);
  line-height: 1.15;
  font-weight: 600;
}

.projects-copy p {
  max-width: 360px;
  margin: 0 auto;
  color: rgba(136, 128, 116, 0.84);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.45;
}

.projects-copy .title-line {
  display: block;
  width: min(310px, 100%);
  height: 1px;
  margin: 0 auto 17px;
  background: linear-gradient(90deg, transparent 0%, rgba(136, 128, 116, 0.32) 18%, rgba(136, 128, 116, 0.86) 50%, rgba(136, 128, 116, 0.32) 82%, transparent 100%);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.project-card {
  position: relative;
  height: clamp(420px, 36vw, 548px);
  min-height: 0;
  overflow: hidden;
  display: block;
  border-radius: 0;
  border: 0;
  background: var(--sand-200);
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  transform-origin: center;
  transition: transform 0.32s ease;
  will-change: transform;
}

.projects-copy {
  width: min(560px, 100%);
  margin: 0 auto clamp(42px, 4vw, 64px);
  text-align: center;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 4;
  outline: 0;
  transform: scale(1.015);
}

.project-card img {
  height: 100%;
  object-fit: cover;
  filter: none;
  transform: none;
  transition: transform 0.55s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(180, 165, 148, 0.58);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 1;
}

.project-card h3 {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: max-content;
  min-width: 114px;
  max-width: calc(100% - 48px);
  padding: 13px 26px;
  background: rgba(181, 170, 155, 0.96);
  margin: 0;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-shadow: none;
  text-transform: uppercase;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.project-card:hover h3,
.project-card:focus-visible h3 {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.process {
  min-height: auto;
  color: var(--white);
  background-color: #25221d;
  background-image: url("assets/drive-selected/process-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.process::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 14, 12, 0.68), rgba(85, 78, 68, 0.42), rgba(15, 14, 12, 0.7));
  backdrop-filter: blur(2px);
}

.process-wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, 86%);
  margin: 0 auto;
  padding: clamp(72px, 6vw, 96px) 0 clamp(82px, 6.6vw, 112px);
}

.process .section-title h2 {
  font-size: clamp(1.34rem, 2.2vw, 1.9rem);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.3vw, 34px);
  width: 100vw;
  min-height: 0;
  align-items: start;
  margin: clamp(42px, 4vw, 58px) 0 clamp(42px, 4vw, 60px) calc(50% - 50vw);
  padding: clamp(42px, 4vw, 56px) max(7vw, calc((100vw - 1180px) / 2 + 70px));
  background: rgba(21, 19, 16, 0.36);
  box-shadow: inset 0 1px rgba(245, 242, 238, 0.08), inset 0 -1px rgba(245, 242, 238, 0.08);
  backdrop-filter: blur(2px);
}

.step.reveal {
  text-align: center;
  border-radius: var(--radius);
  padding: 10px 12px;
  transition: transform 0.24s ease, background 0.24s ease, opacity 0.72s ease;
}

.step-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 2px solid rgba(245, 242, 238, 0.64);
  border-radius: 50%;
  color: rgba(245, 242, 238, 0.82);
  background: rgba(245, 242, 238, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease, color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.step h3 {
  font-size: 1.08rem;
  transition: color 0.24s ease, transform 0.24s ease;
}

.step p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
  transition: color 0.24s ease;
}

.step:hover,
.step:focus-within {
  background: rgba(245, 242, 238, 0.08);
  transform: translateY(-8px);
}

.step:hover .step-icon,
.step:focus-within .step-icon {
  border-color: rgba(245, 242, 238, 0.95);
  color: var(--black);
  background: rgba(245, 242, 238, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transform: scale(1.12) rotate(-4deg);
}

.step:hover h3,
.step:focus-within h3 {
  color: var(--white);
  transform: translateY(-2px);
}

.step:hover p,
.step:focus-within p {
  color: rgba(245, 242, 238, 0.9);
}

.process .button-small {
  width: min(600px, 100%);
  min-width: min(600px, 100%);
  color: var(--black);
  background: var(--cta-gold);
  box-shadow: 0 18px 44px rgba(216, 162, 76, 0.34), 0 14px 34px rgba(0, 0, 0, 0.3);
}

.process .center:last-child,
.feedbacks .center:last-child {
  margin-top: clamp(12px, 2vw, 24px);
}

.process .button-small:hover,
.process .button-small:focus-visible {
  background: var(--cta-gold-hover);
}

.feedbacks {
  min-height: auto;
  color: var(--black);
  background: var(--sand-100);
}

.feedback-bg {
  position: absolute;
  inset: 0;
  background: url("assets/drive-final/feedback-bg.jpeg") center / cover no-repeat;
  opacity: 0.13;
  filter: grayscale(0.2) saturate(0.72) brightness(1.14);
}

.feedbacks::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 242, 238, 0.82);
}

.feedback-wrap {
  position: relative;
  z-index: 2;
  width: min(1138px, 84%);
  margin: 0 auto;
  padding: clamp(104px, 8vw, 132px) 0 clamp(90px, 7vw, 118px);
}

.feedback-title {
  max-width: 320px;
  margin: 0 auto min(4.6vw, 62px);
  text-align: center;
}

.feedback-title h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.25vw, 2rem);
  line-height: 1.02;
  font-weight: 600;
}

.feedback-title h2 span {
  font-weight: 600;
}

.feedback-title h2 strong {
  font-weight: 700;
}

.feedback-title p {
  color: rgba(136, 128, 116, 0.8);
  font-size: 1.04rem;
  line-height: 1.35;
}

.feedback-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.feedbacks .button-small {
  width: min(600px, 100%);
  min-width: min(600px, 100%);
  color: var(--black);
  background: var(--cta-gold);
  box-shadow: 0 18px 44px rgba(216, 162, 76, 0.28), 0 14px 34px rgba(0, 0, 0, 0.18);
}

.feedbacks .button-small:hover,
.feedbacks .button-small:focus-visible {
  background: var(--cta-gold-hover);
}

.slider-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(136, 128, 116, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  color: var(--black);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(6px);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(136, 128, 116, 0.46);
  transform: scale(1.1);
}

.feedback-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.stars {
  color: var(--sand-600);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin: -7px 0 16px;
}

.feedback-card {
  min-height: 267px;
  padding: 23px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(136, 128, 116, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feedback-card:hover {
  box-shadow: 0 24px 58px rgba(136, 128, 116, 0.22);
  transform: translateY(-8px);
}

.person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.person span {
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sand-600);
  font-size: 0.84rem;
  font-weight: 900;
}

.person strong {
  font-size: 0.98rem;
}

.feedback-card p {
  color: rgba(0, 0, 0, 0.68);
  font-size: 1rem;
  line-height: 1.42;
}

.footer {
  min-height: min(57vw, 788px);
  color: var(--sand-400);
  background-color: #171512;
  background-image: url("assets/drive-selected/footer-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.66), rgba(8, 7, 6, 0.74));
  backdrop-filter: blur(2px);
}

.footer-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  grid-template-areas:
    "title logo"
    "address logo"
    "socials logo"
    "cta logo";
  column-gap: clamp(48px, 8vw, 120px);
  row-gap: 0;
  align-items: start;
  width: min(1120px, 84%);
  margin: 0 auto;
  padding-top: min(9vw, 126px);
  padding-bottom: min(8vw, 110px);
  text-align: left;
}

.footer h2 {
  grid-area: title;
  max-width: 500px;
  margin-bottom: 0;
}

.socials {
  grid-area: socials;
  display: flex;
  gap: 12px;
  margin: 22px 0 0;
}

.socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--black);
  background: var(--cta-gold);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(216, 162, 76, 0.24);
  transition: transform 0.18s ease, background 0.18s ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--cta-gold-hover);
  transform: scale(1.14);
}

address {
  grid-area: address;
  display: grid;
  gap: 8px;
  width: min(520px, 100%);
  margin: 34px 0 0;
  color: rgba(245, 242, 238, 0.72);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.45;
  text-align: left;
}

address strong {
  margin-top: 10px;
  color: var(--sand-200);
  font-size: 1rem;
}

.footer-brand {
  grid-area: logo;
  align-self: center;
  justify-self: end;
  width: min(430px, 100%);
  margin: 0;
  opacity: 0.82;
}

.footer-button {
  grid-area: cta;
  min-width: min(600px, 100%);
  margin-top: 28px;
  color: var(--black);
  background: var(--cta-gold);
}

.footer-button:hover,
.footer-button:focus-visible {
  background: var(--cta-gold-hover);
}

.footer-signature {
  position: relative;
  z-index: 2;
  width: min(1120px, 84%);
  margin: 0 auto 18px;
  color: rgba(245, 242, 238, 0.48);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(9px);
}

.gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-100);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.gallery-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--black);
  background: rgba(245, 242, 238, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-media {
  position: relative;
  height: min(68vh, 650px);
  min-height: 360px;
  background: #211f1b;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 242, 238, 0.44);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: rgba(0, 0, 0, 0.62);
  transform: translateY(-50%) scale(1.08);
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 12px;
  color: var(--black);
}

.gallery-info h2 {
  margin: 0;
  color: var(--sand-600);
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-counter {
  color: rgba(0, 0, 0, 0.56);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.gallery-thumbs {
  display: grid;
  grid-auto-columns: minmax(84px, 1fr);
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  padding: 0 22px 22px;
}

.gallery-thumb {
  height: 66px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--sand-200);
  cursor: pointer;
  opacity: 0.62;
  padding: 0;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.gallery-thumb.is-active,
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: var(--sand-600);
  opacity: 1;
  transform: translateY(-1px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.gallery-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes photoIn {
  from {
    filter: saturate(0.8) brightness(0.75);
    transform: scale(1.03);
  }
  to {
    filter: saturate(1) brightness(1);
    transform: scale(1);
  }
}

@keyframes shadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 920px) {
  .top-nav {
    top: 16px;
    width: calc(100vw - 28px);
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    overflow-x: auto;
  }

  .top-nav a {
    min-width: max-content;
    font-size: 0.94rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    width: calc(100% - 44px);
    margin-left: 22px;
    padding-top: 92px;
  }

  .hero h1,
  .hero p {
    max-width: 520px;
  }

  .reason-wrap,
  .projects-wrap,
  .process-wrap,
  .feedback-wrap,
  .footer-wrap {
    width: calc(100% - 34px);
  }

  .footer-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
    gap: 40px;
  }

  .reasons,
  .process,
  .feedbacks,
  .footer {
    min-height: auto;
  }

  .reason-wrap,
  .process-wrap,
  .feedback-wrap,
  .footer-wrap {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .projects-wrap {
    display: block;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 88px;
  }

  .reason-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .projects-copy {
    width: auto;
    margin-right: auto;
    margin-left: auto;
  }

  .projects-copy h2 {
    max-width: 320px;
    font-size: 2rem;
  }

  .feedback-title {
    margin-left: 0;
  }

  .step-grid {
    width: 100%;
    margin: 40px 0;
    padding: 34px 24px;
  }

  .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4),
  .project-card:nth-child(5),
  .project-card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    left: auto;
    margin-left: 0;
    min-height: 260px;
  }

  .project-card h3 {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .top-nav {
    top: 10px;
    right: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: auto;
    gap: 4px;
    padding: 9px 8px;
    overflow: hidden;
    transform: none;
  }

  .top-nav a {
    min-width: 0;
    font-size: 0.74rem;
    text-align: center;
    white-space: nowrap;
  }

  .hero {
    min-height: 620px;
    padding: 82px 0 54px;
    align-items: end;
  }

  .hero-photo::before {
    background-position: 57% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.2) 100%);
  }

  .hero-watermark {
    display: none;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 0;
  }

  .brand {
    width: 136px;
    margin-bottom: 24px;
  }

  .reasons,
  .projects,
  .process,
  .feedbacks,
  .footer {
    padding: 0;
  }

  .reason-wrap,
  .projects-wrap,
  .process-wrap,
  .feedback-wrap,
  .footer-wrap {
    width: calc(100% - 28px);
    padding-top: 76px;
    padding-bottom: 76px;
  }

  h1 {
    max-width: 100%;
    font-size: 1.75rem;
    line-height: 1.16;
    overflow-wrap: break-word;
  }

  .hero h1 br {
    display: none;
  }

  .hero p {
    max-width: 100%;
  }

  .section-title h2,
  .feedback-title h2,
  .footer h2 {
    font-size: 1.85rem;
    line-height: 1.12;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .button {
    width: 100%;
    min-width: 0;
    min-height: 62px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .hero-button {
    min-height: 62px;
    font-size: 0.9rem;
  }

  .reason-grid,
  .project-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid {
    gap: 34px;
  }

  .projects-wrap {
    padding-top: 76px;
  }

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

  .feedback-slider {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
  }

  .slider-arrow {
    display: none;
  }

  .step-grid {
    gap: 24px;
    margin: 36px 0;
    padding: 30px 18px;
  }

  .step {
    padding: 6px 8px;
  }

  .feedback-title {
    max-width: none;
    margin-bottom: 34px;
  }

  .feedback-card {
    min-height: auto;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "address"
      "socials"
      "cta"
      "logo";
    gap: 34px;
    text-align: left;
  }

  .footer h2,
  address,
  .socials,
  .footer-button,
  .footer-brand {
    grid-column: 1;
  }

  .footer h2 {
    grid-row: 1;
  }

  address {
    grid-row: 2;
    margin: 28px 0 0;
    text-align: left;
  }

  .socials {
    grid-row: 3;
    justify-content: flex-start;
    margin-top: 20px;
  }

  .footer-button {
    grid-row: 4;
    margin-top: 6px;
  }

  .footer-brand {
    grid-row: 5;
    justify-self: start;
    width: min(300px, 82vw);
    margin-top: 10px;
  }

  .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4),
  .project-card:nth-child(5),
  .project-card:nth-child(6) {
    height: 320px;
    min-height: 0;
  }

  .gallery-modal {
    padding: 12px;
  }

  .gallery-dialog {
    max-height: calc(100vh - 24px);
  }

  .gallery-media {
    height: 62vh;
    min-height: 280px;
  }

  .gallery-control {
    width: 38px;
    height: 38px;
    font-size: 1.55rem;
  }

  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 14px 14px 10px;
  }

  .gallery-info h2 {
    font-size: 0.98rem;
  }

  .gallery-thumbs {
    grid-auto-columns: 78px;
    padding: 0 14px 14px;
  }
}

@media (max-width: 380px) {
  .top-nav a {
    font-size: 0.66rem;
  }

  h1 {
    font-size: 1.58rem;
  }

  .section-title h2,
  .feedback-title h2,
  .footer h2 {
    font-size: 1.64rem;
  }

  .button {
    font-size: 0.82rem;
  }
}
