:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --olive: #8fa86a;
  --olive-deep: #6f8752;
  --pewter: #e5e7eb;
  --pewter-mid: #d1d5db;
  --paper: #f3f4f6;
  --white: #fafafa;
  --line: rgba(28, 25, 23, 0.12);
  --font-display: "Chivo", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--pewter);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 11px,
      rgba(28, 25, 23, 0.035) 11px,
      rgba(28, 25, 23, 0.035) 12px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 17px,
      rgba(143, 168, 106, 0.05) 17px,
      rgba(143, 168, 106, 0.05) 18px
    );
  background-size: 24px 24px, 100% 36px;
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--olive-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px dashed var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-main a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 2px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-main a:hover,
.nav-main a.is-current {
  color: var(--ink);
}

.nav-main a:hover::after,
.nav-main a.is-current::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang {
  display: inline-flex;
  border: 1px dashed var(--line);
  background: var(--white);
}

.lang button {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.lang button.is-on {
  background: var(--ink);
  color: var(--pewter);
}

.nav-toggle {
  display: none;
  border: 1px dashed var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.1rem;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--pewter);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 23, 0.35) 0%, rgba(28, 25, 23, 0.72) 55%, rgba(28, 25, 23, 0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
  padding: 5rem 0 3.5rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.85rem;
  line-height: 0.95;
}

.hero__h {
  color: var(--pewter);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.hero__p {
  max-width: 36ch;
  color: rgba(229, 231, 235, 0.92);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section--ink {
  background: var(--ink);
  color: var(--pewter);
}

.section--ink h2,
.section--ink h3,
.section--ink .kicker {
  color: var(--pewter);
}

.section--ink .kicker {
  color: var(--olive);
}

.section--ink p,
.section--ink li {
  color: rgba(229, 231, 235, 0.88);
}

.section--panel {
  background: rgba(250, 250, 250, 0.72);
  border-block: 1px dashed var(--line);
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
  border-bottom: 1px dashed var(--line);
  background: rgba(250, 250, 250, 0.65);
}

.kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin: 0 0 0.55rem;
}

.lead {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split--rev > :first-child {
  order: 2;
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px dashed rgba(28, 25, 23, 0.2);
}

.figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.rail article,
.steps article,
.who article {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.rail h3,
.steps h3,
.who h3 {
  margin-bottom: 0.4rem;
}

.rail p,
.steps p,
.who p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  counter-reset: step;
}

.steps article::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--olive);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.who {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.do-dont ul {
  list-style: none;
  padding: 0;
}

.do-dont li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(229, 231, 235, 0.88);
}

.do-dont li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.55rem;
  height: 1px;
  background: var(--olive);
}

.cta-band {
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band p {
  max-width: 42ch;
  margin-inline: auto;
  color: var(--ink-soft);
}

.cta-band .btn {
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-olive {
  background: var(--olive);
  color: var(--ink);
  border-color: var(--olive);
}

.btn-olive:hover {
  background: var(--olive-deep);
  color: var(--white);
  border-color: var(--olive-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--pewter);
  border-color: rgba(229, 231, 235, 0.55);
}

.btn-ghost:hover {
  background: rgba(229, 231, 235, 0.12);
  color: var(--white);
}

.btn-ink {
  background: var(--ink);
  color: var(--pewter);
  border-color: var(--ink);
}

.btn-ink:hover {
  background: var(--ink-soft);
  color: var(--white);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--pewter);
}

/* Services extras */
.list-plain {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list-plain li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.trio article h3 {
  margin-bottom: 0.35rem;
}

.trio article p {
  margin: 0;
  color: var(--ink-soft);
}

/* Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-block + .contact-block {
  margin-top: 1.75rem;
}

.contact-block a {
  font-weight: 600;
}

.form-card {
  background: var(--white);
  border: 1px dashed rgba(28, 25, 23, 0.22);
  padding: 1.5rem;
}

.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 0.35rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--pewter-mid);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}

.form-card textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid var(--olive);
  outline-offset: 1px;
}

.faq {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.faq details {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.85rem;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
}

.privacy {
  max-width: 68ch;
}

.privacy h2 {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px dashed var(--line);
  background: var(--ink);
  color: rgba(229, 231, 235, 0.82);
  padding: 2.5rem 0 2rem;
}

.footer-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer .brand-name {
  color: var(--pewter);
}

.site-footer .brand-sub,
.site-footer p,
.site-footer a {
  color: rgba(229, 231, 235, 0.78);
}

.site-footer a:hover {
  color: var(--olive);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.foot-meta {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(229, 231, 235, 0.18);
  font-size: 0.9rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(28, 25, 23, 0.62);
}

.modal[hidden] {
  display: none;
}

.modal__panel {
  width: min(420px, 100%);
  background: var(--white);
  border: 1px dashed rgba(28, 25, 23, 0.25);
  padding: 1.5rem;
}

.modal__panel h2 {
  margin-bottom: 0.5rem;
}

.modal__panel p[hidden] {
  display: none;
}

.modal__panel .btn {
  margin-top: 1rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .rail,
  .steps,
  .who,
  .trio,
  .do-dont,
  .split,
  .contact-grid,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .split--rev > :first-child {
    order: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px dashed var(--line);
    padding: 0.75rem 1.25rem 1rem;
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-main a {
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--line);
  }

  .site-header {
    position: sticky;
  }

  .header-row {
    position: relative;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: min(100% - 1.5rem, 1120px);
  }

  .hero {
    min-height: 78vh;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 3.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .reveal {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
