:root {
  --bg: #1b1a16;
  --bg-alt: #292721;
  --accent: #bd522b;
  --text: #d4b1a3;
  --font: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-logo: "Cormorant Garamond", Georgia, serif;
  --container: 1210px;
  --gutter: clamp(16px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--accent);
  font-weight: 300;
  line-height: 1.15;
}

h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 1.4em; letter-spacing: .01em; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.45rem); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow { max-width: calc(780px + 2 * var(--gutter)); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  min-width: 256px;
  padding: 15px 32px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  text-align: center;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background-color .25s, color .25s;
}
.btn:hover,
.btn:focus-visible { background: var(--accent); color: var(--bg); }

/* Hero */
.hero { padding: clamp(48px, 8.7vw, 126px) 0; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(40px, 5vw, 72px);
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-logo);
  font-size: 1.05rem;
  line-height: 1.15;
  text-transform: uppercase;
}
.logo img { width: 54px; opacity: .85; }

.hero__title {
  font-size: clamp(2.4rem, 4.2vw, 3.85rem);
  line-height: 1.05;
  margin-bottom: clamp(40px, 5vw, 80px);
  max-width: 13ch;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 603 / 683;
  object-fit: cover;
}

/* Sections */
.section { padding: clamp(72px, 11vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }

.section--image {
  position: relative;
  background: var(--bg) center / cover no-repeat;
}
.bg-laptop { background-image: url("../assets/img/background-laptop.jpg"); }
.bg-tablet { background-image: url("../assets/img/quote-tablet.jpg"); }
.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 26, 22, .78);
}
.section--image > .container { position: relative; }

#who-we-are { padding: clamp(96px, 13vw, 190px) 0 clamp(120px, 18vw, 260px); }
#who-we-are p { font-size: 1.15rem; line-height: 1.6; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 60px);
}

/* Services */
.service { text-align: center; }
.service img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 26px;
}
.service h3 { margin-bottom: 18px; }
.service p { max-width: 280px; margin: 0 auto; }

/* Why choose us */
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 40px 54px;
  border: 1px solid var(--accent);
  border-radius: 170px 170px 120px 120px;
  text-align: center;
  font-size: .98rem;
  transition: transform .3s;
}
.feature:hover { transform: translateY(-6px); }
.feature h3 { font-size: 1.35rem; max-width: 9ch; }
.feature img { height: 100px; width: auto; }
.feature p { margin: 0; max-width: 230px; }

/* Quote */
.section--quote { padding: clamp(140px, 22vw, 330px) 0 clamp(100px, 17vw, 250px); }
.section--quote::before { background: rgba(27, 26, 22, .72); }
.section--quote blockquote {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
}

/* Testimonials */
.testimonials { margin-top: clamp(24px, 6vw, 100px); }
.testimonial { margin: 0; }
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1.3;
}
.testimonial figcaption img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}
.testimonial blockquote { margin: 0; font-size: 1.12rem; }

/* Policy */
.section--policy { padding-top: clamp(140px, 22vw, 320px); }
.section--policy::before { background: rgba(27, 26, 22, .8); }
.policy { text-align: justify; }
.policy h2 { margin: 2.2em 0 1.1em; }
.policy h2:first-child { margin-top: 0; }
.policy p,
.policy li { line-height: 1.6; letter-spacing: .02em; }
.policy ol,
.policy ul { padding-left: 1.4em; margin: 0; }
.policy ol li::marker { font-weight: 400; }
.policy .left { text-align: left; margin-bottom: .2em; }
.policy ul { text-align: left; }

/* Contact */
.contact { padding: 0 0 clamp(48px, 6vw, 80px); background: var(--bg); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact__content { padding-top: clamp(32px, 5vw, 80px); }
.contact h2 { margin-bottom: .2em; }
.contact__lead { margin: 0 0 40px; font-size: 1.15rem; }
.contact h4 {
  margin: clamp(48px, 6vw, 96px) 0 18px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.contact h4 + .social { margin-top: 0; }
.contact .btn + h4 { margin-top: clamp(56px, 7vw, 108px); }
.contact__email + h4 { margin-top: 36px; }
.contact__email { font-size: 1.15rem; text-underline-offset: 3px; }
.contact__email:hover { color: var(--accent); }

.social { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; }
.social img { width: 30px; height: 30px; }
.copyright { margin: 56px 0 0; font-size: .85rem; opacity: .6; }

.contact__media img {
  width: 100%;
  aspect-ratio: 600 / 767;
  object-fit: cover;
}

/* Reveal on scroll (enabled only when JS runs) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .feature { transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }
  .grid-3 { grid-template-columns: 1fr; gap: 56px; }
  .service img { aspect-ratio: 4 / 3; }
  .service p { max-width: 420px; }
  .testimonial { max-width: 460px; margin: 0 auto; }
  .contact__content { padding-top: 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .btn { min-width: 0; width: 100%; }
  .policy { text-align: left; }
}
