:root {
  --paper: #f7f5f0;
  --paper-strong: #efede6;
  --ink: #161817;
  --muted: #5f625f;
  --forest: #0f3326;
  --forest-deep: #08251a;
  --ochre: #b98a2b;
  --line: #cbc8c0;
  --serif: "Libre Caslon Display", "Bodoni 72", Didot, Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --page-gutter: clamp(1.25rem, 4vw, 4rem);
  --content-max: 96rem;
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ochre), white 15%);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--forest);
  color: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: 5.5rem;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper), transparent 4%);
  backdrop-filter: blur(14px);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.98rem;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: var(--ochre);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button--primary {
  background: var(--forest);
  color: white;
}

.button--primary:hover {
  background: var(--forest-deep);
}

.button--outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  background: var(--ink);
  color: white;
}

.button--light {
  background: var(--paper);
  color: var(--forest-deep);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: white;
}

.button--ghost:hover {
  background: white;
  color: var(--forest);
}

.hero {
  display: grid;
  height: 41.5rem;
  min-height: min(41.5rem, calc(100vh - 5.5rem));
  grid-template-columns: minmax(28rem, 42%) minmax(0, 58%);
  border-bottom: 1px solid var(--line);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2.75rem, 4.3vw, 4.5rem) var(--page-gutter);
}

h1,
h2,
h3,
.price,
.fact strong,
.use-case__number {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 10.5ch;
  margin: 0;
  font-size: clamp(3.25rem, 4.7vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 0.97;
  text-wrap: balance;
}

.accent-rule {
  display: block;
  width: 5rem;
  height: 3px;
  margin: 2rem 0 1.75rem;
  background: var(--ochre);
}

.accent-rule--small {
  width: 2.65rem;
  height: 2px;
  margin: 1rem 0 1.25rem;
}

.hero__lead {
  max-width: 24rem;
  margin: 0;
  color: #2c2f2d;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.45;
}

.price {
  margin: 1.7rem 0 1.8rem;
  color: var(--forest);
  font-size: clamp(3.2rem, 5vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.price small {
  font-family: var(--sans);
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__media,
.opportunity__media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--paper-strong);
}

.hero__media img,
.opportunity__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media figcaption,
.opportunity__media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 26rem;
  padding: 0.45rem 0.65rem;
  background: rgba(247, 245, 240, 0.92);
  color: #343735;
  font-size: 0.72rem;
  line-height: 1.3;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.75rem var(--page-gutter);
  border-bottom: 1px solid var(--line);
}

.fact {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.6rem clamp(1rem, 2.2vw, 2.5rem);
  text-align: center;
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact strong {
  color: var(--forest);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.05;
}

.fact span {
  font-size: 0.95rem;
}

.opportunity {
  border-bottom: 1px solid var(--line);
}

.opportunity__intro {
  display: grid;
  grid-template-columns: minmax(25rem, 42%) minmax(0, 58%);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.opportunity__copy {
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3.5rem, 5vw, 5rem) var(--page-gutter);
}

.opportunity__side-media {
  min-width: 0;
  min-height: 25rem;
  margin: 0;
  overflow: hidden;
}

.opportunity__side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5.1rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.opportunity__copy p {
  max-width: 34rem;
  margin: 0;
  color: #343735;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.opportunity__media {
  width: 100%;
  aspect-ratio: 2.13 / 1;
}

.use-cases {
  display: grid;
  max-width: var(--content-max);
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 6rem) var(--page-gutter) 2.75rem;
}

.use-case {
  min-width: 0;
  padding: 0 clamp(1rem, 3.2vw, 3.5rem);
}

.use-case + .use-case {
  border-left: 1px solid var(--line);
}

.use-case__number {
  color: var(--forest);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1;
}

.use-case h3 {
  max-width: 11ch;
  margin: 0.45rem 0 0;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.05;
}

.use-case p {
  max-width: 20rem;
  margin: 0;
  color: #3c3f3d;
  line-height: 1.55;
}

.caveat {
  margin: 0;
  padding: 0 var(--page-gutter) clamp(3.5rem, 6vw, 5rem);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.dossier-location {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border-bottom: 1px solid var(--line);
}

.dossier,
.location {
  padding: clamp(3.5rem, 6vw, 6rem) var(--page-gutter);
}

.location {
  border-left: 1px solid var(--line);
}

.dossier h2,
.location h2 {
  max-width: none;
  font-size: clamp(2.25rem, 3.4vw, 3.5rem);
}

.document-list {
  margin: 2.75rem 0 2rem;
}

.document-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.document-item span:last-child {
  color: var(--forest);
  font-size: 1.3rem;
  transition: transform 160ms ease;
}

.document-item[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.document-detail {
  margin: 0;
  padding: 0.85rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.location > p {
  max-width: 33rem;
  margin: 1rem 0 0;
  color: #3d403e;
  font-size: 1.05rem;
}

.location-map {
  aspect-ratio: 16 / 10;
  margin: 1.5rem 0 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper-strong);
  box-shadow: 0 14px 34px rgba(15, 51, 38, 0.12);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location > .location-caption {
  margin: -0.25rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--forest);
  font-weight: 600;
  text-underline-offset: 0.3rem;
}

.location-link svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(4rem, 7vw, 7.5rem) var(--page-gutter);
  background: var(--forest);
  color: white;
}

.contact h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 5vw, 5.15rem);
}

.contact__intro p {
  max-width: 27rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  justify-items: start;
  gap: 0.55rem;
  margin-top: 2rem;
  font-style: normal;
}

.contact-details .contact-person {
  margin: 0 0 0.15rem;
  color: white;
  font-size: 1.08rem;
  font-weight: 600;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: anywhere;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.25rem;
}

.contact-details a:hover {
  color: white;
  text-decoration-color: var(--ochre);
}

.contact-details .contact-whatsapp {
  margin-top: 0.5rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 3px;
  text-decoration: none;
}

.contact-form {
  position: relative;
  align-self: center;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.contact-form label > span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.02);
  color: white;
}

.contact-form input {
  min-height: 3.25rem;
  padding: 0 0.85rem;
}

.contact-form textarea {
  min-height: 7.6rem;
  padding: 0.85rem;
  resize: vertical;
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #f7c69c;
  box-shadow: 0 0 0 2px rgba(247, 198, 156, 0.18);
}

.consent-field {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem !important;
  margin: 0.35rem 0 1.15rem !important;
}

.consent-field input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--ochre);
}

.consent-field input[aria-invalid="true"] {
  outline: 2px solid #f7c69c;
  outline-offset: 2px;
}

.consent-field span {
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.8rem !important;
  line-height: 1.45;
}

.form-actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
}

.form-status[data-state="success"] {
  color: #d9f1e5;
}

.form-status[data-state="error"] {
  color: #ffd4ae;
}

.contact-form.is-submitting {
  cursor: wait;
}

.contact-form.is-submitting button,
.contact-form.is-submitting input,
.contact-form.is-submitting textarea {
  pointer-events: none;
  opacity: 0.72;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 2rem var(--page-gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--forest-deep);
  color: white;
}

.wordmark--light {
  flex: 0 0 auto;
}

.site-footer p {
  max-width: 48rem;
  margin: 0;
  padding-left: clamp(2rem, 4vw, 4rem);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }

  .site-nav {
    gap: 1.15rem;
  }

  .header-cta {
    min-height: 3.15rem;
    padding-inline: 1.15rem;
  }

  .hero {
    grid-template-columns: minmax(25rem, 47%) minmax(0, 53%);
  }

  .facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0;
  }

  .fact:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 4.75rem;
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-content: center;
    gap: 0.45rem;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 1.25rem;
    height: 1px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(0.24rem) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-0.22rem) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    inset: 4.75rem 0 auto;
    display: grid;
    gap: 0;
    padding: 1rem var(--page-gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-top: 4.25rem;
  }

  .hero__media {
    min-height: 30rem;
  }

  .opportunity__intro,
  .dossier-location,
  .contact {
    grid-template-columns: 1fr;
  }

  .opportunity__copy,
  .opportunity__side-media {
    min-height: 0;
  }

  .opportunity__copy p {
    max-width: 40rem;
  }

  .opportunity__side-media {
    aspect-ratio: 1.65 / 1;
  }

  .use-cases {
    grid-template-columns: 1fr;
  }

  .use-case {
    padding: 2rem 0;
  }

  .use-case + .use-case {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .location {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact {
    gap: 3rem;
  }
}

@media (max-width: 580px) {
  :root {
    --page-gutter: 1.25rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.9rem, 14vw, 4rem);
  }

  .hero__content {
    padding-block: 3.5rem 3rem;
  }

  .hero__media {
    min-height: 22rem;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .price {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .price small {
    font-size: 0.85rem;
  }

  .facts {
    grid-template-columns: 1fr;
    padding-block: 1.5rem;
  }

  .fact,
  .fact:nth-child(3) {
    padding-block: 1.25rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .fact:first-child {
    border-top: 0;
  }

  h2,
  .contact h2 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .opportunity__media {
    aspect-ratio: 1.1 / 1;
  }

  .opportunity__media img {
    object-position: 43% center;
  }

  .dossier,
  .location,
  .contact {
    padding-block: 3.5rem;
  }

  .field-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 0;
  }
}

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