/* MTL Réno: site styles */
:root {
  --ink: #16181b;
  --ink-2: #2a2d31;
  --text: #3d4148;
  --muted: #6b7079;
  --line: #e4e1db;
  --paper: #ffffff;
  --tint: #f6f3ee;
  --accent: #b07a45;
  --accent-dark: #93622f;
  --accent-soft: #f1e6da;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --shadow: 0 1px 2px rgba(22,24,27,.06), 0 8px 24px rgba(22,24,27,.08);
  --header-h: 76px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow--light { color: #d8b28a; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(22,24,27,.06); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__text { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .02em; }
.logo__text span { font-weight: 400; margin-left: 4px; color: var(--accent); }
.logo--light { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 30px; }
.nav__list a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav__list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__list a:not(.btn):hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--ink); font-size: 15px; }
.header__phone svg { width: 16px; height: 16px; color: var(--accent); }
.lang { background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .06em; }
.lang:hover { border-color: var(--ink-2); }
.burger { display: none; width: 42px; height: 42px; border: 0; background: none; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding-top: var(--header-h); overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,17,19,.82) 0%, rgba(16,17,19,.55) 45%, rgba(16,17,19,.15) 100%), linear-gradient(0deg, rgba(16,17,19,.7) 0%, rgba(16,17,19,0) 40%); }
.hero__content { position: relative; padding-top: 80px; padding-bottom: 72px; }
.hero__title { font-family: var(--serif); font-weight: 500; color: #fff; font-size: clamp(40px, 6vw, 76px); line-height: 1.04; letter-spacing: -.015em; max-width: 13ch; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; color: rgba(255,255,255,.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { position: relative; border-top: 1px solid rgba(255,255,255,.18); background: rgba(16,17,19,.55); backdrop-filter: blur(6px); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 2px; }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust strong { font-size: 15px; font-weight: 600; }
.trust span { font-size: 13px; color: rgba(255,255,255,.65); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--compact { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.75); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.01em; }
.section__title--sm { font-size: clamp(26px, 3vw, 34px); }
.section__lead { margin-top: 18px; font-size: 18px; color: var(--muted); }
.section--dark .section__lead { color: rgba(255,255,255,.7); }
.link-arrow { font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--accent-dark); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: 26px 26px 30px; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 10px; }
.service p { font-size: 16px; color: var(--muted); }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; object-position: 30% 50%; width: 100%; }
.split__badge { position: absolute; right: -28px; bottom: 40px; background: var(--ink); color: #fff; padding: 22px 26px; border-radius: var(--radius); max-width: 230px; box-shadow: var(--shadow); }
.split__badge strong { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; color: #fff; }
.split__badge span { font-size: 14px; color: rgba(255,255,255,.7); }
.checks { margin-top: 36px; display: grid; gap: 24px; }
.checks li { position: relative; padding-left: 40px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23b07a45' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checks h3 { font-size: 17px; font-weight: 600; font-family: var(--sans); margin-bottom: 4px; }
.checks p { font-size: 16px; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 32px 28px 8px; border-top: 1px solid rgba(255,255,255,.18); position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step__num { display: block; font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 22px; }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 15.5px; }
.step + .step { border-left: 1px solid rgba(255,255,255,.08); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; gap: 20px; }
.gallery__item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item a { display: block; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(0deg, rgba(16,17,19,.78), rgba(16,17,19,0)); color: #fff; display: flex; flex-direction: column; pointer-events: none; }
.gallery__item figcaption strong { font-weight: 600; font-size: 16px; }
.gallery__item figcaption span { font-size: 13px; color: rgba(255,255,255,.75); }

.gallery__cta { border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .25s; }
.gallery__cta:hover { background: var(--ink-2); }
.gallery__cta .eyebrow { margin-bottom: 10px; }
.gallery__cta strong { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; }
.gallery__cta-link { margin-top: 16px; color: #d8b28a; font-weight: 600; font-size: 15px; }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.area__list { display: flex; flex-wrap: wrap; gap: 10px; }
.area__list li { padding: 8px 16px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-weight: 600; font-size: 17.5px; color: var(--ink); position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .25s, margin-top .25s; }
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { padding: 0 40px 24px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.contact__list { margin-top: 40px; display: grid; gap: 22px; }
.contact__list li { display: flex; flex-direction: column; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact__label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.contact__list a, .contact__list li > span:last-child { color: #fff; font-size: 19px; text-decoration: none; font-weight: 500; }
.contact__list a:hover { color: #d8b28a; }

.form { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 40px; display: grid; gap: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1px solid #d6d2ca; border-radius: var(--radius); background: #fff; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid select { border-color: #b3261e; }
.hp { position: absolute; left: -5000px; }
.form__status { font-size: 14.5px; min-height: 1.4em; }
.form__status.ok { color: #2e6b3a; }
.form__status.err { color: #b3261e; }

/* ---------- Footer ---------- */
.footer { background: #0f1012; color: rgba(255,255,255,.6); padding: 72px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__tag { margin-top: 16px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; font-weight: 600; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,12,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 4px; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__phone span { display: none; }
  .nav__list { gap: 22px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .section { padding: 84px 0; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 0; padding: 12px 24px 32px; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a:not(.btn) { display: block; padding: 18px 0; font-size: 19px; }
  .nav__list a::after { display: none; }
  .nav__mobile-cta { display: block; border: 0 !important; padding-top: 24px; }
  .nav__mobile-cta .btn { width: 100%; padding: 16px; }
  .header__actions { margin-left: auto; gap: 10px; }
  .header__phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); }

  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li { padding: 18px 0 18px 18px; }
  .trust li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }

  .services { grid-template-columns: repeat(2, 1fr); }
  .split, .faq, .contact__grid, .area { grid-template-columns: 1fr; gap: 48px; }
  .split__media img { aspect-ratio: 16 / 11; }
  .split__badge { right: 16px; bottom: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .step:nth-child(3) { border-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .section__head { margin-bottom: 36px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .hero__content { padding-top: 48px; padding-bottom: 40px; }
  .hero__ctas .btn { width: 100%; }
  .trust strong { font-size: 14px; }
  .trust span { font-size: 12px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0 !important; padding: 28px 0 4px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: auto; }
  .gallery__item--tall { grid-row: span 1; }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo__text { font-size: 20px; }
}
