/* MENTIQA P.S.A. company site. Plain CSS, no build step. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #F7F4EC;
  --paper: #FFFDF8;
  --ink: #1F2A24;
  --body: #4A554F;
  --muted: #7D867F;
  --sage: #7E9A7A;
  --sage-dark: #4F6B4C;
  --sage-light: #E3EDE0;
  --line: #E4DFD2;
  --footer: #1C2620;
  --field: #F4F1E9;
  --error: #A3392B;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --max: 1200px;
  --radius-card: 24px;
  --radius-field: 12px;
  --section-pad: clamp(72px, 9vw, 128px);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: inherit; }

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

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */

.section__title,
.card__title,
.hero__title,
.service__title,
.step__title,
.faq summary,
.nav__logo,
.footer__logo {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section__title {
  font-size: clamp(2rem, 1.45rem + 1.9vw, 2.75rem);
  line-height: 1.12;
}

.section__sub {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 600px;
}
.section__sub a { color: var(--sage-dark); text-underline-offset: 3px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.eyebrow--light { color: #E3EDE0; }
.eyebrow__dot { display: inline-block; margin-inline: 0.7em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.9375rem/1.2 var(--sans);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 42px; padding: 10px 20px; font-size: 0.875rem; }

.btn--sage { background: var(--sage-light); color: var(--ink); }
.btn--sage:hover { background: #fff; }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sage-light); }

.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--sage-dark); }

.btn--primary { background: var(--sage-dark); color: #fff; }
.btn--primary:hover { background: #3F583D; }
.btn--primary[disabled] { opacity: .65; cursor: progress; }

.hero .btn:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.footer a:focus-visible {
  outline-color: #fff;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--footer);
  overflow: hidden;
}

.hero__media,
.hero__media picture,
.hero__image,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media { z-index: -1; }
.hero__image,
.hero__video { object-fit: cover; object-position: 60% 50%; }

.hero__video {
  opacity: 0;
  transition: opacity .8s ease;
}
.hero__video.is-playing { opacity: 1; }

/* Dark wash from the left keeps the copy readable (AA) over the bright parts of the footage. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 22, 18, .55) 0%, rgba(16, 22, 18, 0) 22%),
    linear-gradient(90deg, rgba(16, 22, 18, .9) 0%, rgba(16, 22, 18, .78) 38%, rgba(16, 22, 18, .42) 68%, rgba(16, 22, 18, .2) 100%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 16px;
}
.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}
/* Links sit in the middle, between the brand and the CTA (auto margins on both sides). */
.nav__logo { color: #fff; font-size: 1.625rem; line-height: 1; }
.nav__legal { font-size: 0.75rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, .75); }

.nav__links {
  display: flex;
  gap: 32px;
  margin-right: auto;
}
.nav__links a {
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  font-size: 0.9375rem;
  padding-block: 8px;
}
.nav__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }

.hero__content {
  margin-block: auto;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero__title {
  margin-top: 20px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.375rem, 1.35rem + 3.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero__lead {
  margin-top: 28px;
  max-width: 610px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero__motion {
  position: absolute;
  right: max(var(--gutter), calc((100% - var(--max)) / 2));
  bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 22, 18, .6);
  color: #fff;
  font: 500 0.8125rem/1 var(--sans);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.hero__motion:hover { background: rgba(16, 22, 18, .8); }
.hero__motion-icon {
  width: 10px;
  height: 12px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}
.hero__motion[aria-pressed="true"] .hero__motion-icon {
  border-right: 0;
  border-left: 0;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

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

.section { padding-block: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--ruled { border-block: 1px solid var(--line); }
.section--ruled-top { border-top: 1px solid var(--line); }
.section--ruled + .section--ruled-top { border-top: 0; }

/* Services */

.section__intro { margin-bottom: 48px; }
.section__intro .section__sub { max-width: 680px; }

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0;
  padding-block: 28px 30px;
  border-bottom: 1px solid var(--line);
}
.service__num {
  padding-top: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sage-dark);
  font-variant-numeric: tabular-nums;
}
.service__title { font-size: 1.5rem; line-height: 1.3; }
.service p { margin-top: 6px; font-size: 0.9375rem; line-height: 1.6; max-width: 470px; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 1.125rem;
}
.step__title { margin-top: 18px; font-size: 1.375rem; line-height: 1.3; }
.step p { margin-top: 12px; font-size: 0.9375rem; line-height: 1.65; max-width: 260px; }

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.card {
  border-radius: var(--radius-card);
  padding: 40px 40px 40px;
}
.card--sage { background: var(--sage-light); }
.card--paper { background: var(--paper); border: 1px solid var(--line); }
.card .eyebrow { color: var(--sage-dark); }
.card__title { margin-top: 14px; font-size: clamp(1.875rem, 1.6rem + .9vw, 2.25rem); line-height: 1.15; }
.card p:not(.eyebrow) { margin-top: 18px; font-size: 1rem; line-height: 1.7; color: var(--body); }
.card--sage p:not(.eyebrow) { color: #3E4A43; }
.card .btn { margin-top: 24px; }

.bullets { margin-top: 18px; }
.bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.bullets li + li { margin-top: 14px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.contact .section__sub { max-width: 400px; }
.contact__facts { margin-top: 28px; display: grid; gap: 18px; }
.contact__facts dt { font-size: 0.75rem; color: var(--muted); }
.contact__facts dd { margin-top: 2px; font-weight: 600; color: var(--ink); }
.contact__facts a { text-decoration: none; }
.contact__facts a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 1px 2px rgba(31, 42, 36, .03);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); font-size: 0.75rem; margin-left: 4px; }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--field);
  color: var(--ink);
  font: 400 0.9375rem/1.5 var(--sans);
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 124px; resize: vertical; }
.field ::placeholder { color: #7A827C; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC8B8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: 1px;
  background: #fff;
  border-color: var(--sage-dark);
  border-radius: var(--radius-field);
}
.field [aria-invalid="true"] { border-color: var(--error); }

.select { position: relative; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--body);
  transform: translateY(-50%);
  pointer-events: none;
}

.field--check {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 10px;
  align-items: start;
  margin-top: 4px;
}
.field--check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--sage-dark);
  cursor: pointer;
}
.field--check label { font-size: 0.8125rem; font-weight: 400; color: var(--body); line-height: 1.55; cursor: pointer; }
.field--check label a { color: var(--sage-dark); text-underline-offset: 2px; }
.field--check .field__error { grid-column: 2; }

.field__error { font-size: 0.8125rem; color: var(--error); }

.turnstile:empty { display: none; }

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-field);
  background: #FBEDEA;
  color: #7A2A20;
  font-size: 0.875rem;
  line-height: 1.55;
}
.form__status a { color: inherit; font-weight: 600; }

.form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.form__note { font-size: 0.75rem; color: var(--muted); }

.form-success {
  padding: 32px 8px;
  text-align: center;
}
.form-success:focus { outline: none; }
.form-success__title {
  font-family: var(--serif);
  font-size: 1.625rem;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.015em;
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.faq .section__sub { max-width: 380px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 40px 20px 0;
  font-size: 1.25rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--sage-dark);
  transition: transform .2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--sage-dark); }
.faq details p { padding: 0 40px 22px 0; font-size: 0.9375rem; line-height: 1.65; }

/* Footer */

.footer {
  background: var(--footer);
  color: rgba(255, 255, 255, .78);
  padding-top: 64px;
  font-size: 0.875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: 40px;
}
.footer__logo { color: #fff; font-size: 1.75rem; line-height: 1.1; }
.footer__brand p:last-child { margin-top: 12px; }
.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-style: normal;
  line-height: 1.55;
}
.footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 48px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .contact, .faq { grid-template-columns: 1fr; gap: 40px; }
  .contact .section__sub, .faq .section__sub { max-width: 600px; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .hero { min-height: max(640px, 100svh); }
  .hero__content { padding-top: 48px; padding-bottom: 88px; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(16, 22, 18, .6) 0%, rgba(16, 22, 18, .72) 45%, rgba(16, 22, 18, .82) 100%);
  }
  .services { grid-template-columns: 1fr; }
  .service__title { font-size: 1.375rem; }
}

@media (max-width: 560px) {
  .nav { padding-top: 20px; gap: 12px; }
  .nav__logo { font-size: 1.5rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .step p { max-width: none; }
  .card { padding: 28px 22px; }
  .form-card { padding: 22px 18px; border-radius: 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__footer { flex-direction: column-reverse; align-items: stretch; }
  .form__footer .btn { width: 100%; }
  .form__note { text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}

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