/* Hominterio — site styles */

:root {
  --plaster: #f2f1ec;
  --plaster-2: #e8e8e1;
  --kota: #d5d9d0;
  --malachite: #1e3b33;
  --malachite-2: #2a4d43;
  --brass: #a8834a;
  --brass-soft: #c9a96e;
  --ink: #1c1f1d;
  --ink-2: #4a514c;
  --line: rgba(28, 31, 29, 0.14);
  --line-light: rgba(242, 241, 236, 0.22);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1320px;
  --section: clamp(72px, 11vw, 152px);

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 3.2vw, 2.625rem);
  --step-4: clamp(2.375rem, 5vw, 4rem);
  --step-5: clamp(2.875rem, 7.4vw, 6.5rem);

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  font-optical-sizing: auto;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--plaster);
  padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 500 var(--step-0)/1 var(--sans);
  text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn--solid { background: var(--malachite); color: var(--plaster); }
.btn--solid:hover { background: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--plaster); }
.btn--brass { background: var(--brass); color: #fff; }
.btn--brass:hover { background: #8f6e3b; }
.btn--light { border-color: var(--plaster); color: var(--plaster); background: transparent; }
.btn--light:hover { background: var(--plaster); color: var(--malachite); }
.btn svg { width: 18px; height: 18px; flex: none; }

.text-link {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size .3s ease;
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--plaster) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 24px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand svg { width: 26px; height: 34px; color: var(--malachite); }
.brand span {
  font-family: var(--serif); font-size: 1.625rem; letter-spacing: 0.01em; line-height: 1;
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a:not(.btn) {
  text-decoration: none; font-size: 0.975rem; color: var(--ink-2);
  padding: 6px 0; position: relative;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--brass);
}
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px;
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 84px 0 0 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 24px var(--gutter) 40px;
    background: var(--plaster);
    border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav a:not(.btn) {
    font-family: var(--serif); font-size: 2rem; color: var(--ink); padding: 8px 0;
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brass); }
  .nav .btn { margin-top: 24px; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 112px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.hero h1 {
  font-size: var(--step-5);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 11ch;
}
.hero-lede {
  margin-top: clamp(24px, 3vw, 40px);
  max-width: 46ch;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-contact {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  font-size: var(--step--1); color: var(--ink-2);
}
.hero-contact strong { display: block; color: var(--ink); font-weight: 500; font-size: var(--step-0); }
.hero-contact a { text-decoration: none; }

/* The arch: a mehrab outline drawn around a clipped photograph */
.arch {
  position: relative;
  aspect-ratio: 4 / 5.2;
  width: 100%;
  max-height: 78vh;
  justify-self: end;
}
.arch img {
  width: 100%; height: 100%; object-fit: cover;
  clip-path: url(#arch-clip);
}
.arch-line {
  position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 14px);
  color: var(--brass); pointer-events: none; overflow: visible;
}
.arch-line path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }

.hero .arch img { animation: archReveal 1.6s cubic-bezier(.2,.7,.1,1) both; }
.hero .arch-line { animation: archLine 1.4s .7s ease both; }
@keyframes archReveal {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}
@keyframes archLine {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .arch { order: -1; max-width: 460px; justify-self: center; aspect-ratio: 4 / 4.6; }
  .arch-line { inset: -9px; width: calc(100% + 18px); height: calc(100% + 9px); }
  .hero h1 { max-width: 12ch; }
}

/* ---------- Generic sections ---------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--stone { background: var(--plaster-2); }
.section--green { background: var(--malachite); color: var(--plaster); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head h2 { font-size: var(--step-4); max-width: 14ch; }
.section-head p { color: var(--ink-2); max-width: 48ch; margin: 0; }
.section--green .section-head p { color: color-mix(in srgb, var(--plaster) 78%, transparent); }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Rooms gallery (home) ---------- */

.rooms {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(16px, 2.4vw, 32px);
}
.room { margin: 0; }
.room a { text-decoration: none; display: block; }
.room-img { overflow: hidden; background: var(--kota); }
.room-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.7,.1,1);
}
.room a:hover .room-img img { transform: scale(1.035); }
.room figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 16px;
}
.room h3 { font-size: var(--step-2); }
.room figcaption p { margin: 0; color: var(--ink-2); font-size: var(--step--1); max-width: 30ch; text-align: right; }

.room--a { grid-column: 1 / span 7; }
.room--a .room-img { aspect-ratio: 7 / 5; }
.room--b { grid-column: 9 / span 4; align-self: end; }
.room--b .room-img { aspect-ratio: 3 / 4; }
.room--c { grid-column: 1 / span 4; }
.room--c .room-img { aspect-ratio: 4 / 5; }
.room--d { grid-column: 6 / span 7; align-self: center; }
.room--d .room-img { aspect-ratio: 16 / 10; }
.room--e { grid-column: 1 / span 6; }
.room--e .room-img { aspect-ratio: 4 / 3; }
.room--f { grid-column: 8 / span 5; align-self: end; }
.room--f .room-img { aspect-ratio: 4 / 4.4; }

@media (max-width: 760px) {
  .rooms { grid-template-columns: 1fr; }
  .rooms .room { grid-column: auto; }
  .rooms .room-img { aspect-ratio: 4 / 3; }
  .room figcaption { flex-direction: column; gap: 4px; }
  .room figcaption p { text-align: left; }
}

/* ---------- Approach (green) ---------- */

.approach-statement {
  font-family: var(--serif);
  font-size: var(--step-4);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin: 0 0 clamp(56px, 8vw, 104px);
}
.commitments {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 64px);
  list-style: none; margin: 0; padding: 0;
}
.commitments li { border-top: 1px solid var(--brass-soft); padding-top: 24px; }
.commitments h3 { font-size: var(--step-2); margin-bottom: 12px; }
.commitments p { margin: 0; color: color-mix(in srgb, var(--plaster) 78%, transparent); max-width: 36ch; }
@media (max-width: 860px) { .commitments { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */

.process {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.process li {
  counter-increment: step;
  padding: 28px clamp(12px, 1.6vw, 24px) 0 0;
  position: relative;
}
.process li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif); font-size: var(--step-3); line-height: 1;
  color: var(--brass); margin-bottom: 28px;
}
.process li::after {
  content: ""; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%; background: var(--malachite);
}
.process h3 { font-size: var(--step-1); font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; line-height: 1.3; }
.process p { color: var(--ink-2); font-size: var(--step--1); margin: 0; line-height: 1.6; }

@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); padding-left: 28px; gap: 36px; }
  .process li { padding: 0; }
  .process li::after { top: 6px; left: -33px; }
  .process li::before { margin-bottom: 12px; }
}

/* ---------- Split (image + text) ---------- */

.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px); align-items: center;
}
.split--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--flip .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split h2 { font-size: var(--step-4); margin-bottom: 24px; max-width: 14ch; }
.split p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3; }
}

.spec-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li {
  display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 8px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.spec-list b { font-weight: 600; }
.spec-list span { color: var(--ink-2); }
@media (max-width: 520px) { .spec-list li { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-family: var(--serif); font-size: var(--step-2); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 14px no-repeat;
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 28px; color: var(--ink-2); max-width: 64ch; }
.faq .answer p:last-child { margin: 0; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--malachite); color: var(--plaster); padding-block: clamp(72px, 10vw, 136px); }
.cta-band .wrap {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px clamp(32px, 6vw, 96px); align-items: end;
}
.cta-band h2 { font-size: var(--step-5); line-height: 1; letter-spacing: -0.02em; max-width: 10ch; }
.cta-band p { color: color-mix(in srgb, var(--plaster) 78%, transparent); max-width: 44ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: color-mix(in srgb, var(--plaster) 72%, transparent); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 0.95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--plaster); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 48px clamp(24px, 4vw, 64px);
}
.site-footer .brand { color: var(--plaster); margin-bottom: 20px; }
.site-footer .brand svg { color: var(--brass-soft); }
.footer-about { max-width: 34ch; }
.site-footer h2 {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0;
  color: var(--plaster); margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-base {
  margin-top: clamp(56px, 7vw, 88px); padding-top: 24px;
  border-top: 1px solid rgba(242, 241, 236, 0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: 0.875rem;
}
.footer-base ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */

.page-head { padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 6vw, 80px); }
.page-head h1 { font-size: var(--step-5); line-height: 1; letter-spacing: -0.025em; max-width: 14ch; }
.page-head p { margin-top: 28px; font-size: var(--step-1); color: var(--ink-2); max-width: 52ch; }

.wide-img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 760px) { .wide-img { aspect-ratio: 4 / 3; } }

/* ---------- Services page ---------- */

.service {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; padding-top: 0; }
.service:nth-child(even) .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.service h2 { font-size: var(--step-4); margin-bottom: 20px; }
.service > div > p { color: var(--ink-2); max-width: 50ch; }
.service h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin: 28px 0 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em;
  width: 12px; height: 7px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: rotate(-45deg) translateY(-3px);
}
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service-media { order: 0; }
}

.also-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 4vw, 64px);
}
.also-grid > div { border-top: 1px solid var(--line); padding-top: 24px; }
.also-grid h3 { font-size: var(--step-2); margin-bottom: 10px; }
.also-grid p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .also-grid { grid-template-columns: 1fr; } }

/* ---------- Studio page ---------- */

.studio-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px); align-items: center;
}
.studio-intro .arch { aspect-ratio: 4 / 5; max-height: none; justify-self: center; max-width: 520px; }
.prose { max-width: 60ch; }
.prose p { color: var(--ink-2); }
.prose p:first-of-type { font-size: var(--step-1); color: var(--ink); }
.prose h2 { font-size: var(--step-3); margin: 1.6em 0 0.6em; }
.prose h3 { font-size: var(--step-2); margin: 1.4em 0 0.5em; }
.prose ul { padding-left: 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: 0.4em; }
@media (max-width: 860px) {
  .studio-intro { grid-template-columns: 1fr; }
  .studio-intro .arch { max-width: 380px; }
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 7vw, 112px); align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; font-weight: 500; }
.field .hint { font-size: var(--step--1); color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 40%, transparent);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color .2s ease;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 28px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom: 2px solid var(--malachite); padding-bottom: 11px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; box-shadow: 0 2px 0 0 var(--brass);
}
.field [aria-invalid="true"] { border-bottom-color: #a1352a; }
.field .error { color: #a1352a; font-size: var(--step--1); min-height: 0; }
.field .error:empty { display: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-note { grid-column: 1 / -1; font-size: var(--step--1); color: var(--ink-2); margin: 0; max-width: 60ch; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 16px 20px; background: var(--kota); font-size: 0.95rem; }
.form-status[hidden] { display: none; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }

.contact-card { background: var(--plaster-2); padding: clamp(28px, 4vw, 44px); display: grid; gap: 28px; }
.contact-card h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; color: var(--ink-2); }
.contact-card a { text-decoration: none; color: var(--ink); }
.contact-card a:hover { color: var(--malachite); text-decoration: underline; }
.contact-card .big { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; }

.map { margin-top: clamp(56px, 8vw, 96px); }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; filter: grayscale(0.4) contrast(1.02); }

/* ---------- Legal ---------- */

.legal { max-width: 72ch; }
.legal h2 { font-size: var(--step-3); margin: 2em 0 0.6em; }
.legal h3 { font-size: var(--step-1); font-family: var(--sans); font-weight: 600; letter-spacing: 0; margin: 1.6em 0 0.4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal .updated { font-size: var(--step--1); }

/* ---------- 404 ---------- */

.not-found { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--malachite); color: var(--plaster);
  box-shadow: 0 10px 30px -10px rgba(30, 59, 51, .6);
  transition: transform .25s ease, background-color .25s ease;
}
.wa-float:hover { transform: translateY(-2px); background: var(--ink); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
