:root {
  --ink: #18201d;
  --muted: #617069;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --line: #d8d0c1;
  --accent: #1f6f5a;
  --accent-dark: #144839;
  --clay: #b76e4b;
  --shadow: 0 24px 60px rgba(24, 32, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--surface);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.compact {
  color: var(--ink);
  background: rgba(247, 244, 237, 0.94);
  box-shadow: 0 1px 0 rgba(24, 32, 29, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 48%;
  background: var(--surface);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 86px) 72px;
  overflow: hidden;
  color: var(--surface);
  background:
    linear-gradient(90deg, rgba(18, 35, 29, 0.95) 0%, rgba(20, 72, 57, 0.82) 46%, rgba(32, 111, 90, 0.55) 100%),
    #174936;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 11vw, 10.5rem);
  line-height: 0.86;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 760px;
  margin: 26px 0 0;
  font-size: clamp(1.35rem, 2.8vw, 2.25rem);
  font-weight: 760;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  color: rgba(255, 253, 248, 0.9);
}

.hero-copy.small {
  max-width: 590px;
  margin-top: 14px;
  font-size: clamp(0.98rem, 1.45vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 760;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--surface);
  color: var(--accent-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 253, 248, 0.42);
  color: var(--surface);
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-logo-art {
  position: absolute;
  top: 14%;
  right: clamp(18px, 8vw, 128px);
  width: min(31vw, 390px);
  min-width: 240px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 47%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0.94;
}

.paper-stack {
  position: absolute;
  right: clamp(-70px, 7vw, 80px);
  width: min(45vw, 520px);
  height: min(57vw, 650px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(238, 231, 216, 0.9)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(31, 111, 90, 0.11) 42px 43px);
  box-shadow: var(--shadow);
}

.stack-one {
  top: 18%;
  transform: rotate(-7deg);
  opacity: 0.22;
}

.stack-two {
  top: 25%;
  right: clamp(-140px, 2vw, 20px);
  transform: rotate(6deg);
  opacity: 0.18;
}

.stack-three {
  top: 34%;
  right: clamp(-190px, -4vw, -40px);
  transform: rotate(14deg);
  opacity: 0.12;
}

.office-line {
  position: absolute;
  right: 0;
  bottom: 15%;
  width: min(50vw, 620px);
  height: 3px;
  background: rgba(255, 253, 248, 0.62);
  transform: translateX(14%);
}

.identity-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-band div {
  padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 54px);
  background: var(--surface);
}

.identity-band span,
.contact-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.identity-band strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 6vw, 86px);
}

.intro {
  max-width: 1010px;
}

.intro h2,
.section-heading h2,
.contact-copy h2,
.legal-content h1 {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.intro p:not(.section-kicker),
.contact-copy p,
.split-section p,
.legal-content p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.plain-list {
  max-width: 760px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.04rem;
}

.compact-list {
  margin: 10px 0 24px;
}

.compact-list li {
  padding: 10px 0;
}

.whatsapp-panel {
  max-width: 760px;
  margin: -22px 0 0 auto;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.whatsapp-panel p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.04rem;
}

.services {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1.28fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  margin-bottom: 54px;
}

.compact-heading {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  min-height: 278px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.service:hover {
  background: #f7f4ed;
  transform: translateY(-4px);
}

.service span {
  color: var(--clay);
  font-weight: 760;
}

.service h3 {
  margin: 54px 0 12px;
  font-size: 1.25rem;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: start;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-grid div {
  min-height: 156px;
  padding: 26px;
  background: var(--surface);
}

.contact-grid a {
  color: var(--accent-dark);
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-form {
  grid-column: 2;
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.consent-check {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
}

.consent-check input {
  width: auto;
  margin-top: 5px;
}

.form-button {
  border: 0;
  background: var(--accent-dark);
  color: var(--surface);
  cursor: pointer;
}

.hidden-field {
  display: none;
}

.contact-card {
  margin: 34px 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-card p {
  margin: 0;
}

.contact-card p + p {
  margin-top: 20px;
}

.standalone-form {
  grid-column: auto;
  max-width: 760px;
}

address {
  font-style: normal;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: rgba(255, 253, 248, 0.82);
  background: var(--ink);
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  gap: 18px;
}

.footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-page {
  min-height: 86svh;
  padding: 128px clamp(20px, 6vw, 86px) 80px;
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin: 38px 0 10px;
  font-size: 1.18rem;
}

.legal-list {
  margin-top: 12px;
}

.updated {
  color: var(--muted);
  font-weight: 650;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    color: var(--ink);
    background: rgba(247, 244, 237, 0.96);
  }

  .nav {
    gap: 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
  }

  .paper-stack {
    right: -180px;
    width: 360px;
    height: 460px;
  }

  .identity-band,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .whatsapp-panel {
    margin: 28px 0 0;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .brand-logo {
    width: 30px;
    height: 30px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    padding: 72px 18px 56px;
  }

  .hero-logo-art {
    display: none;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 6.8rem);
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .identity-band,
  .service-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .legal-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service {
    min-height: 220px;
  }

  .contact-grid div {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
