/* MaYaRe — landing page styles
   Mobile-first. Breakpoints: 560 / 900 / 1000 / 1120 px. */

:root {
  --ink: #15181b;
  --ink-2: #1c2024;
  --ink-3: #2c3137;
  --ink-deep: #0f1113;
  --paper: #f3f1ec;
  --paper-2: #e8e5dd;
  --white: #fbfaf7;
  --line: #d2cec4;
  --line-strong: #a9a59b;
  --text: #15181b;
  --muted: #595e64;
  --on-dark: #f3f1ec;
  --on-dark-2: #c8ccd0;
  --on-dark-3: #9da2a8;
  --accent: #ff5a1f;
  --accent-hover: #ff7442;
  --error: #b3260e;

  --font-display: 'Sofia Sans Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1240px;
  --gutter: 20px;
  --header-h: 60px;
  --section-y: 72px;
}

@media (min-width: 560px) { :root { --gutter: 32px; } }
@media (min-width: 1000px) { :root { --gutter: 40px; --header-h: 68px; --section-y: 120px; } }

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 12px 16px; background: var(--accent); color: var(--ink);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Shared pieces ---------- */

h1, h2, h3 { overflow-wrap: break-word; }

/* Smallest text on the page is 14px (0.875rem). */
.label, .eyebrow, .cgroup__title, .ecard__label, .roles__title {
  font: 500 0.875rem/1.3 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.num { font: 500 0.875rem/1 var(--font-mono); letter-spacing: 0.06em; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 2px;
  font: 600 1rem/1.1 var(--font-body);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.36); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.07); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.arr { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.2s; }
a:hover > .arr, button:hover > .arr { transform: translateX(4px); }

.ticks li { position: relative; padding-left: 22px; }
.ticks li + li { margin-top: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.58em; width: 8px; height: 8px; background: var(--accent); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Messenger links: brand-coloured icon + name, two side by side. */
.messengers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.msg {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 8px 10px;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 2px;
  font-size: 0.9375rem; font-weight: 600; line-height: 1.1; text-decoration: none; color: var(--on-dark);
  transition: border-color 0.2s, background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.msg svg { width: 20px; height: 20px; fill: var(--brand); flex: none; }
.msg:hover { border-color: var(--brand); }
.msg--wa { --brand: #25d366; }
.msg--tg { --brand: #26a5e4; }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid var(--ink-3);
}
.header__row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }

.logo {
  display: inline-flex; align-items: center; gap: 9px; margin-right: auto;
  font: 800 1.55rem/1 var(--font-display); letter-spacing: 0.01em;
  text-decoration: none; color: #fff;
}
.logo svg { width: 22px; height: 22px; flex: none; }

.nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 4px var(--gutter) 20px;
  background: var(--ink); border-bottom: 1px solid var(--ink-3);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
}
.site-header.is-open .nav { display: block; }
.nav a {
  display: flex; align-items: center; min-height: 52px;
  border-bottom: 1px solid var(--ink-3);
  font-weight: 500; text-decoration: none;
}
.nav a:last-child { border-bottom: 0; }

.lang { display: flex; border: 1px solid var(--ink-3); border-radius: 2px; }
.lang a {
  display: grid; place-items: center; min-width: 42px; height: 36px; padding: 0 8px;
  font: 500 0.875rem/1 var(--font-mono); letter-spacing: 0.04em;
  color: var(--on-dark-3); text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.lang a:hover { color: #fff; }
.lang a[aria-current] { background: var(--on-dark); color: var(--ink); }

.header__cta { display: none; }

.burger {
  display: grid; align-content: center; gap: 5px;
  width: 44px; height: 44px; margin-right: -10px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
.burger span { height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
.site-header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full navigation needs ~1100px; below that the menu button is used. */
@media (min-width: 1120px) {
  .logo { margin-right: 36px; font-size: 1.7rem; }
  .nav {
    display: flex; gap: 26px; position: static; margin-right: auto;
    padding: 0; border: 0; background: none; box-shadow: none;
  }
  .nav a {
    min-height: 0; padding: 8px 0; border: 0;
    font-size: 0.9375rem; color: var(--on-dark-2); white-space: nowrap;
    background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
    transition: color 0.2s, background-size 0.25s;
  }
  .nav a:hover { color: #fff; background-size: 100% 2px; }
  .nav .nav__contact { display: none; }
  .header__cta { display: inline-flex; min-height: 42px; margin-left: 4px; font-size: 0.9375rem; white-space: nowrap; }
  .burger { display: none; }
}

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

.hero {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink); color: var(--on-dark); overflow: hidden;
}
.hero__inner { order: 1; padding-block: 34px 32px; }
.hero__media { order: 2; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero .facts { order: 3; }

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--on-dark-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }

.hero h1 {
  margin: 18px 0 20px;
  font: 800 clamp(2.85rem, 13vw, 4.25rem)/0.92 var(--font-display);
  letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance;
}
.hero__lead { max-width: 36em; color: var(--on-dark-2); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

.facts { padding-block: 6px 20px; }
.fact { padding: 16px 0; border-bottom: 1px solid var(--ink-3); }
.fact:last-child { border-bottom: 0; }
.fact dt { margin-bottom: 6px; font: 800 1.6rem/1 var(--font-display); text-transform: uppercase; }
.fact dd { font-size: 0.9375rem; line-height: 1.4; color: var(--on-dark-3); }

@media (min-width: 560px) {
  .hero__actions { flex-direction: row; }
  .hero__media img { aspect-ratio: 16 / 9; }
}

@media (min-width: 900px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 880px); }
  .hero__media { order: 0; position: absolute; inset: 0; }
  .hero__media picture, .hero__media img { width: 100%; height: 100%; }
  .hero__media img { aspect-ratio: auto; object-position: 50% 70%; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(21, 24, 27, 0.97) 0%, rgba(21, 24, 27, 0.92) 38%, rgba(21, 24, 27, 0.5) 62%, rgba(21, 24, 27, 0.1) 100%),
      linear-gradient(0deg, rgba(21, 24, 27, 0.92) 0%, rgba(21, 24, 27, 0) 34%),
      linear-gradient(rgba(21, 24, 27, 0.16), rgba(21, 24, 27, 0.16));
  }
  .hero__inner {
    position: relative; flex: 1;
    display: flex; flex-direction: column; justify-content: center;
    padding-block: 72px 56px;
  }
  /* Sized so the headline stays on the dark left half and never runs over the people in the photo. */
  .hero h1 { max-width: 7.4em; margin: 22px 0 26px; font-size: clamp(3.9rem, 6.3vw, 5.9rem); line-height: 0.9; }
  .hero__lead { max-width: 30em; font-size: 1.1875rem; line-height: 1.55; }
  .hero__actions { margin-top: 36px; }

  .hero .facts {
    position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
    padding-block: 0; border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
  .fact { padding: 22px 28px 28px 0; border-bottom: 0; }
  .fact + .fact { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
  .fact dt { margin-bottom: 8px; font-size: 2rem; }
  .fact dd { color: var(--on-dark-2); }
}

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero__inner > :nth-child(2) { animation-delay: 0.08s; }
  .hero__inner > :nth-child(3) { animation-delay: 0.16s; }
  .hero__inner > :nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

/* ---------- Audience ---------- */

.audience { background: var(--white); border-bottom: 1px solid var(--line); }
.audience__row { display: grid; gap: 18px; padding-block: 28px; }
.audience__intro .label { color: var(--muted); margin-bottom: 8px; }
.audience__intro p { font-weight: 500; line-height: 1.45; }
.audience__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); column-gap: 20px; }
.audience__list li {
  display: flex; gap: 10px; padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem; line-height: 1.35;
}
.audience__list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.42em; background: var(--accent); }

@media (min-width: 900px) {
  .audience__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 56px; align-items: center; padding-block: 36px; }
  .audience__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .audience__list li { display: block; padding: 4px 16px 4px 20px; border-top: 0; border-left: 1px solid var(--line); font-weight: 500; }
  .audience__list li::before { display: block; margin: 0 0 12px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-2); }
.section--dark {
  background-color: var(--ink); color: var(--on-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* Section heading: orange number + section name, one line of big display type. */
.section-head { margin-bottom: 36px; }
.section h2 {
  font: 800 clamp(2.3rem, 9.4vw, 3rem)/0.95 var(--font-display);
  text-transform: uppercase; text-wrap: balance;
}
.h-num { margin-right: 0.3em; color: var(--accent); }

@media (min-width: 900px) {
  .section-head { margin-bottom: 56px; }
  .section h2 { font-size: clamp(3rem, 4.9vw, 4.4rem); max-width: 16em; }
}

.media { position: relative; overflow: hidden; background: var(--line); }
.media img { width: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 01 Directions ---------- */

.dcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.dcard .media img { aspect-ratio: 16 / 10; }
.dcard__body { display: grid; gap: 10px; padding: 20px 20px 24px; }
.dcard h3 { font: 800 clamp(1.4rem, 7vw, 1.9rem)/1 var(--font-display); text-transform: uppercase; }
.dcard p { color: var(--muted); }

@media (min-width: 900px) {
  .dcard .media img { aspect-ratio: 4 / 3; }
  .dcard__body { padding: 26px 26px 32px; gap: 12px; }
  .dcard h3 { font-size: 2.1rem; }
}
@media (hover: hover) {
  .dcard:hover .media img, .ecard:hover .media img { transform: scale(1.04); }
}

/* ---------- 02 Clients ---------- */

.cgroup { padding: 22px 0 10px; border-top: 1px solid var(--line-strong); }
.cgroup:first-child { border-top-color: var(--ink); }
.cgroup__title { color: var(--muted); margin-bottom: 6px; }

.client {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 3px;
  align-items: center; padding: 14px 0;
}
.client + .client { border-top: 1px dashed var(--line-strong); }
.client__icon {
  grid-row: 1 / span 2;
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--white); border: 1px solid var(--ink);
}
.client__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.client__name { align-self: end; font: 700 1.7rem/1 var(--font-display); letter-spacing: 0.005em; }
.client__desc { align-self: start; font-size: 0.9rem; line-height: 1.35; color: var(--muted); }
.client--more .client__icon { background: none; border: 1px dashed var(--line-strong); color: var(--muted); }
.client--more .client__desc { grid-row: 1 / span 2; align-self: center; font-size: 0.9375rem; color: var(--text); }

@media (min-width: 900px) {
  .cgroup { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; padding: 30px 0; }
  .cgroup__title { margin: 0; padding-top: 20px; }
  .cgroup__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .client { padding: 6px 0; }
  .client + .client { border-top: 0; }
  .client--wide { grid-column: 1 / -1; margin-top: 16px; padding-top: 20px; border-top: 1px dashed var(--line-strong) !important; }
  .client__name { font-size: 1.9rem; }
}

/* ---------- 03 Why ---------- */

.why { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.years { display: flex; align-items: flex-end; gap: 14px; margin-top: 36px; }
.years__num {
  font: 800 clamp(8.5rem, 40vw, 13rem)/0.72 var(--font-display);
  letter-spacing: -0.02em; color: var(--accent);
}
.years__unit { padding-bottom: 0.06em; font: 800 2.4rem/1 var(--font-display); text-transform: uppercase; }
.years__text { max-width: 24em; margin-top: 22px; color: var(--on-dark-2); }

.principles li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px 8px;
  padding: 24px 0; border-top: 1px solid var(--ink-3);
}
.principles .num { padding-top: 0.75em; color: var(--accent); }
.principles h3 { font: 800 clamp(1.5rem, 7.6vw, 2rem)/1 var(--font-display); text-transform: uppercase; }
.principles p { grid-column: 2; color: var(--on-dark-2); }

.permits {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px;
  padding: 20px; background: var(--ink-2); border: 1px solid var(--ink-3);
}
.permits svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.permits p { font-size: 0.9688rem; color: var(--on-dark-2); }
.permits strong { color: var(--on-dark); font-weight: 600; }

@media (min-width: 1000px) {
  .why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .why__lead { position: sticky; top: calc(var(--header-h) + 40px); }
  .years { margin-top: 56px; }
  .principles li { grid-template-columns: 52px 15.5rem minmax(0, 1fr); gap: 0 12px; align-items: baseline; padding: 30px 0; }
  .principles li:first-child { border-top-color: var(--on-dark-3); }
  .principles .num { padding-top: 0; }
  .principles h3 { font-size: 2.2rem; }
  .principles p { grid-column: 3; }
  .permits { padding: 24px 28px; }
}

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

.steps { display: grid; grid-template-columns: minmax(0, 1fr); margin-left: 22px; }
.step { position: relative; padding: 0 0 36px 40px; border-left: 1px solid var(--ink); }
.step:last-child { padding-bottom: 0; border-left-color: transparent; }
.step__node {
  position: absolute; left: -22.5px; top: -4px;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--accent);
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
  font: 800 1.35rem/1 var(--font-display); color: var(--ink);
}
.step h3 { margin-bottom: 8px; font: 800 clamp(1.4rem, 7vw, 1.9rem)/1 var(--font-display); text-transform: uppercase; }
.step p { color: var(--muted); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 22px 0 0; }
  .step { padding: 44px 40px 0 0; border-left: 0; border-top: 1px solid var(--ink); }
  .step:last-child { border-top-color: var(--ink); }
  .step__node { left: 0; top: -22.5px; }
  .step h3 { font-size: 2.1rem; margin-bottom: 12px; }
}

.roles { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 48px; background: var(--white); border: 1px solid var(--line); }
.roles__title { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.roles__col { padding: 20px; }
.roles__col + .roles__col { border-top: 1px solid var(--line); }
.roles__col .label { margin-bottom: 14px; }

@media (min-width: 900px) {
  .roles { grid-template-columns: 3fr 2fr; margin-top: 72px; }
  .roles__title { grid-column: 1 / -1; padding: 16px 32px; }
  .roles__col { padding: 28px 32px 32px; }
  .roles__col + .roles__col { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- 05 Examples ---------- */

.ecard { display: flex; flex-direction: column; }
.ecard .media { border-top: 3px solid var(--ink); }
.ecard .media img { aspect-ratio: 16 / 9; }
.ecard__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.ecard__label { color: var(--muted); margin-bottom: 10px; }
.ecard h3 { margin-bottom: 8px; font: 800 clamp(1.4rem, 7vw, 1.9rem)/1 var(--font-display); text-transform: uppercase; }
.ecard p { color: var(--muted); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  min-height: 44px; margin-top: auto; padding-top: 10px;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) left bottom 6px / 100% 2px no-repeat;
}

@media (min-width: 900px) {
  .ecard .media img { aspect-ratio: 3 / 2; }
  .ecard__body { padding-top: 22px; }
  .ecard h3 { font-size: 2.1rem; }
  .link-arrow { padding-top: 16px; }
}

/* ---------- 06 Contact ---------- */

/* Source order is heading → form → details, so on a phone the form comes right after the heading. */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.contact__extra .contact__block:first-child { margin-top: 0; }
.contact__lead { max-width: 28em; margin-top: 18px; font-size: 1.125rem; color: var(--on-dark-2); }
.contact__block { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--ink-3); }
.contact__block .label { margin-bottom: 14px; color: var(--on-dark-3); }
.contact__block .ticks { color: var(--on-dark); }
.contact__direct { display: grid; gap: 4px; justify-items: start; }
.contact__direct a {
  display: inline-flex; align-items: center; min-height: 40px;
  font: 700 1.75rem/1.1 var(--font-display); letter-spacing: 0.01em; text-decoration: none;
}
.contact__direct a + a { font: 500 1.0625rem/1.2 var(--font-body); color: var(--on-dark-2); letter-spacing: 0; }
.contact__direct a:hover { color: var(--accent); }

.panel { padding: 24px 20px 26px; background: var(--paper); color: var(--text); border-top: 4px solid var(--accent); }
.panel__title { margin-bottom: 20px; font: 800 clamp(1.5rem, 7.4vw, 1.9rem)/1 var(--font-display); text-transform: uppercase; }

.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 0.9063rem; font-weight: 600; line-height: 1.3; }
.field__hint { margin: -2px 0 9px; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.field input, .field textarea, .draft__text {
  display: block; width: 100%; min-height: 52px; padding: 13px 14px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 2px;
  font-size: 1rem; line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a8e93; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus, .draft__text:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.35);
}
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 3px 0 0 var(--error); }
.field__error { margin-top: 6px; font-size: 0.875rem; line-height: 1.35; color: var(--error); }

.form .btn { margin-top: 8px; }

.draft__intro { margin: -8px 0 16px; color: var(--muted); }
.draft__text { min-height: 0; font: 500 0.875rem/1.6 var(--font-mono); resize: vertical; }
.draft__actions { display: grid; gap: 10px; margin-top: 16px; }
.draft__status { min-height: 1.5em; margin-top: 12px; font-size: 0.9375rem; font-weight: 600; }
.draft__status.is-error { color: var(--error); }
.draft__send { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.draft__send .label { margin-bottom: 12px; color: var(--muted); }
.panel .msg { background: #fff; border-color: var(--line-strong); color: var(--text); }
.panel .msg--wa { --brand: #1fb857; }

@media (min-width: 560px) {
  .panel { padding: 32px; }
  .draft__actions { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; gap: 0 80px; align-items: start; }
  .contact__head { grid-column: 1; grid-row: 1; }
  .contact__extra { grid-column: 1; grid-row: 2; }
  .contact__extra .contact__block:first-child { margin-top: 32px; }
  .contact__grid .panel { grid-column: 2; grid-row: 1 / span 2; }
  .panel { padding: 40px; }
  .panel__title { font-size: 2.1rem; margin-bottom: 24px; }
}

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

.footer { background: var(--ink-deep); color: var(--on-dark-2); font-size: 0.9375rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 36px; }
.footer .logo { margin: 0 0 14px; }
.footer__brand p { max-width: 26em; color: var(--on-dark-3); }
.footer .label { margin-bottom: 12px; color: var(--on-dark-3); }
.footer__contact { line-height: 1.75; color: var(--on-dark); }
.footer__msg { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.footer__msg a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-dark-2); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__bottom {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center;
  padding-block: 14px 24px; border-top: 1px solid var(--ink-3);
  font-size: 0.875rem; color: var(--on-dark-3);
}
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: 56px; padding-block: 72px 56px; }
  .footer__bottom { padding-block: 12px; }
}

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(21, 24, 27, 0.96); border-top: 1px solid var(--ink-3);
  transform: translateY(105%); visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.3s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .cards > :nth-child(2), .steps > :nth-child(2), .principles > :nth-child(2) { transition-delay: 0.08s; }
  .cards > :nth-child(3), .steps > :nth-child(3), .principles > :nth-child(3) { transition-delay: 0.16s; }
}

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

@media print {
  .site-header, .sticky-cta { position: static; }
  .sticky-cta, .burger { display: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
