@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Karla:wght@400;700&display=swap");

/* ------------------------------------------------------------------
   Lakshyaa Solutions — Patio de Arcadas
   brick #7C2D19 · clay #E8D5B7 · terracotta #C56A3E · umber #4E2E1A · linen #FAF4EA
   ------------------------------------------------------------------ */

:root {
  --brick: #7c2d19;
  --clay: #e8d5b7;
  --terracotta: #c56a3e;
  --umber: #4e2e1a;
  --linen: #faf4ea;
  --hairline: 1px solid var(--umber);
  --pad: clamp(88px, 9vw, 120px);
  --font-display: "DM Serif Display", "Times New Roman", serif;
  --font-body: Karla, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--umber);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.18;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 0.95em;
}

p:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: 40rem;
}

.lede {
  font-size: 1.08rem;
}

.surface-brick {
  background: var(--brick);
  color: var(--linen);
}

.surface-clay {
  background: var(--clay);
  color: var(--umber);
}

.surface-linen {
  background: var(--linen);
  color: var(--umber);
}

.surface-terracotta {
  background: var(--terracotta);
  color: var(--linen);
}

section,
.site-footer,
.cookie-banner,
.page-opener {
  padding: var(--pad) 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(640px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--terracotta);
  color: var(--linen);
  padding: 0.55rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--linen);
  color: var(--umber);
  border-bottom: var(--hairline);
}

.header-inner {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.6rem;
  gap: 1.2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.monogram {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  background: var(--brick);
  color: var(--linen);
  font-family: var(--font-display);
  font-size: 0.95rem;
  position: relative;
}

.monogram::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 5px;
  height: 2px;
  background: var(--umber);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: var(--hairline);
  width: 2.7rem;
  height: 2.7rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1px;
  background: var(--umber);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--umber);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--terracotta);
}

@media (max-width: 880px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--linen);
    border-bottom: var(--hairline);
    padding: 0.6rem 1.2rem 1.2rem;
  }

  .is-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.7rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--terracotta);
  cursor: pointer;
  transition: background 200ms var(--ease);
}

.btn-primary,
a.btn-primary {
  background: var(--terracotta);
  color: var(--linen);
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: #b45c34;
}

.btn-secondary {
  background: transparent;
  color: currentColor;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — Patio de Arcadas */
.hero-arcade {
  min-height: 100vh;
  padding: 0;
  display: grid;
  align-items: stretch;
}

.hero-arcade .wrap {
  display: grid;
  grid-template-columns: 1fr 46%;
  gap: 2.4rem;
  min-height: 100vh;
  align-items: center;
  padding: 3.2rem 0;
  width: min(1180px, calc(100% - 2.4rem));
}

.hero-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-arcade h1 em {
  font-style: italic;
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.trust-strip {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arcade-mat {
  margin: 0;
  position: relative;
  height: min(78vh, 640px);
}

.arcade-mat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(1.05) brightness(0.98);
  clip-path: polygon(
    6% 8%,
    32% 8%,
    32% 4%,
    36% 0,
    40% 4%,
    40% 8%,
    60% 8%,
    60% 4%,
    64% 0,
    68% 4%,
    68% 8%,
    94% 8%,
    94% 96%,
    6% 96%
  );
}

.arcade-mat::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 18% 8%, transparent 36%, var(--umber) 37%, var(--umber) 38%, transparent 39%),
    radial-gradient(120% 70% at 50% 8%, transparent 36%, var(--umber) 37%, var(--umber) 38%, transparent 39%),
    radial-gradient(120% 70% at 82% 8%, transparent 36%, var(--umber) 37%, var(--umber) 38%, transparent 39%);
  opacity: 0.85;
}

@media (max-width: 860px) {
  .hero-arcade {
    min-height: 82vh;
  }

  .hero-arcade .wrap {
    grid-template-columns: 1fr;
    min-height: 82vh;
    padding: 2.2rem 0 2.8rem;
  }

  .arcade-mat {
    height: 42vh;
    order: -1;
  }
}

/* Frosted-glass principle trio */
.frost-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.frost-card {
  background: rgba(250, 244, 234, 0.62);
  backdrop-filter: blur(10px);
  border: var(--hairline);
  border-radius: 48% 48% 8px 8px / 28% 28% 8px 8px;
  padding: 2.1rem 1.4rem 1.7rem;
  box-shadow: 8px 14px 0 rgba(197, 106, 62, 0.22);
}

.frost-card h3 {
  font-size: 1.35rem;
}

@media (max-width: 800px) {
  .frost-trio {
    grid-template-columns: 1fr;
  }

  .frost-card {
    border-radius: 40% 40% 8px 8px / 18% 18% 8px 8px;
  }
}

/* Partner letter */
.letter {
  max-width: 38rem;
  margin: 0 auto;
}

.letter p {
  text-indent: 1.2em;
}

.letter p:first-of-type {
  text-indent: 0;
}

.letter .sign {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  text-indent: 0;
}

/* Tabular label matrix */
.matrix {
  width: 100%;
  border-collapse: collapse;
  border: var(--hairline);
}

.matrix th,
.matrix td {
  border: var(--hairline);
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
}

.matrix th {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  background: rgba(124, 45, 25, 0.06);
}

.chip {
  display: inline-block;
  border: var(--hairline);
  padding: 0.18rem 0.55rem;
  margin: 0.15rem 0.2rem 0.15rem 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.figure-frame {
  margin: 0;
}

.figure-frame img {
  width: 100%;
  object-fit: cover;
}

.arcade-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.arcade-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  clip-path: ellipse(50% 58% at 50% 50%);
}

.intro-strip {
  max-width: 40rem;
}

.format-grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 2rem;
}

.case-notes {
  display: grid;
  gap: 1.4rem;
}

.cta-band .wrap {
  display: grid;
  gap: 1rem;
}

/* FAQ two-column */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.4rem;
  align-items: start;
}

.faq-jump {
  position: sticky;
  top: 5.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-jump a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.accordion details {
  border-bottom: var(--hairline);
  padding: 1rem 0;
}

.accordion summary {
  font-family: var(--font-display);
  font-size: 1.28rem;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion details p {
  margin-top: 0.75rem;
}

@media (max-width: 800px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-jump {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .arcade-strip {
    grid-template-columns: 1fr;
  }
}

.mandate-list,
.capability-list {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.map-tile {
  min-height: 440px;
  border: var(--hairline);
  line-height: 0;
  height: 100%;
}

.map-tile iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  filter: sepia(0.15) saturate(0.92) brightness(0.96);
}

@media (max-width: 860px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  color: var(--umber);
  background: var(--linen);
  border: var(--hairline);
  padding: 0.7rem 0.8rem;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.92rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.has-error input,
.has-error textarea {
  outline: 1px solid var(--terracotta);
  background: #f6e6d4;
}

.field-error {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: #7c2d19;
}

.field-error:empty {
  display: none;
}

.alert {
  border: var(--hairline);
  padding: 0.95rem 1rem;
  margin-bottom: 1.2rem;
  background: var(--clay);
}

.form-ok:empty {
  display: none;
}

.form-ok:not(:empty) {
  border: var(--hairline);
  padding: 0.95rem 1rem;
  margin-bottom: 1.2rem;
  background: var(--clay);
}

.site-footer {
  padding-top: clamp(70px, 8vw, 108px);
  padding-bottom: 2.2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.15rem;
  margin: 1.8rem 0 0;
  padding: 1.1rem 0 0;
  border-top: var(--hairline);
  font-size: 0.82rem;
  font-weight: 700;
}

.disclaimer {
  margin-top: 1.4rem;
  max-width: 52rem;
  font-size: 0.86rem;
  line-height: 1.6;
}

.copy {
  margin-top: 1.3rem;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.cookie-banner {
  position: sticky;
  bottom: 0;
  z-index: 90;
  padding: 1rem 0;
  border-top: var(--hairline);
}

.cookie-banner.is-dismissed,
html.cookies-set .cookie-banner {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.cookie-panel {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: var(--hairline);
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-panel label {
  font-weight: 400;
  margin: 0.4rem 0;
}

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8rem;
}

.crumbs {
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.underline-accent {
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 0.18em;
}

.legal-prose h2 {
  margin-top: 1.8rem;
}

.error-hero h1 {
  max-width: 18ch;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
