/* =========================================================
   Honus — landing page styles
   ========================================================= */

:root {
  --cream: #F6F1EA;
  --cream-2: #FBF8F3;
  --ink: #141826;
  --ink-2: #2D3240;
  --muted: #6A6E79;
  --muted-2: #8C8F98;
  --line: #E6DFD4;

  --red: #B3343C;
  --olive: #8C6A22;
  --green: #2E7A68;
  --purple: #5B3A7A;
  --navy: #1E2433;

  --gold-hi: #B08E4B;
  --gold: #8A6A2E;
  --gold-lo: #5C4317;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(40, 30, 15, .06), 0 2px 8px rgba(40, 30, 15, .05);
  --shadow-md: 0 10px 30px -12px rgba(50, 35, 15, .22);
  --gutter: clamp(20px, 4.2vw, 72px);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- Page shell ---------- */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(24px, 3.4vw, 48px) var(--gutter) clamp(20px, 2.4vw, 32px);
  isolation: isolate;
}

/* ---------- Background ---------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 72% 38%, #FFFFFF 0%, rgba(255,255,255,.65) 35%, rgba(255,255,255,0) 70%),
    radial-gradient(900px 600px at 0% 100%, #F1E6D8 0%, rgba(241,230,216,0) 70%),
    linear-gradient(180deg, #F8F4EE 0%, #F4EEE6 100%);
}
.bg__ring {
  position: absolute;
  width: min(78vw, 1250px);
  aspect-ratio: 1;
  top: max(-30vw, -480px);
  right: max(-20vw, -330px);
  opacity: .5;
  filter: blur(1.5px) saturate(.85);
  transform: rotate(-8deg);
}
.bg__arc {
  position: absolute;
  width: min(70vw, 1100px);
  aspect-ratio: 1;
  right: max(-6vw, -100px);
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0) 82%, rgba(255,255,255,.85) 90%, rgba(255,255,255,0) 99%);
}
.bg__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 500px at 30% 20%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%);
}

/* ---------- Header / brand ---------- */

.site-header { position: relative; z-index: 2; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 18px);
  text-decoration: none;
  color: var(--navy);
}
.brand__mark {
  width: clamp(50px, 4.8vw, 80px);
  height: auto;
}
.brand__word {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 4.1rem);
  letter-spacing: .015em;
  line-height: 1;
  color: #23262F;
}
.brand__tagline {
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  font-size: clamp(.68rem, .78vw, .8rem);
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(24px, 3.2vw, 60px);
  padding: clamp(18px, 2.4vw, 36px) 0 clamp(20px, 2.4vw, 36px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.35rem, 3.85vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  color: var(--ink);
}
.hero__title .line { display: block; }
@media (min-width: 1100px) { .hero__title .line { white-space: nowrap; } }
.grad-text {
  background: linear-gradient(92deg, #7A1A2A 0%, #9C2B30 26%, #7B4A1F 52%, #6F6620 74%, #8C6A22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: .04em;
}

.hero__lead {
  margin: clamp(16px, 1.6vw, 24px) 0 0;
  font-size: clamp(1rem, 1.22vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 36em;
}
.hero__lead-2 { display: block; }

/* Capability tiles */
.caps {
  list-style: none;
  margin: clamp(22px, 2.4vw, 36px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, .9vw, 14px);
  max-width: 640px;
}
.cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.cap__icon {
  display: grid;
  place-items: center;
  width: clamp(46px, 3.7vw, 60px);
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--tint);
  color: var(--tone);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 16px -10px var(--tone);
  margin-bottom: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cap__icon svg { width: 46%; height: auto; aspect-ratio: 1; }
.cap:hover .cap__icon { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 22px -10px var(--tone); }
.cap strong {
  font-size: clamp(.82rem, .9vw, .95rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.cap span:last-child {
  margin-top: 3px;
  font-size: clamp(.68rem, .72vw, .76rem);
  line-height: 1.35;
  color: var(--muted);
}
.cap--sales { --tint: #F9E2E0; --tone: #B3343C; }
.cap--inv   { --tint: #F3E6CF; --tone: #8C6A22; }
.cap--hris  { --tint: #DCEEE7; --tone: #2E7A68; }
.cap--acct  { --tint: #E8E1EF; --tone: #5B3A7A; }
.cap--pos   { --tint: #E7E6E8; --tone: #2A2E3A; }
.cap--lara  { --tint: #ECE2F5; --tone: #6A3F96; }

/* CTA */
.cta { margin-top: clamp(24px, 2.6vw, 40px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 10px;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid rgba(138,106,46,.45); outline-offset: 3px; }

.btn--gold {
  color: #FFFBF2;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 38%, var(--gold-hi) 62%, var(--gold) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,236,190,.45),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 12px 26px -12px rgba(92,67,23,.75),
    0 2px 6px rgba(92,67,23,.18);
}
.btn--gold:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: inset 0 1px 0 rgba(255,236,190,.5), inset 0 -1px 0 rgba(0,0,0,.18), 0 18px 32px -14px rgba(92,67,23,.8), 0 2px 6px rgba(92,67,23,.2); }
.btn--gold:active { transform: translateY(0); }

.btn--lg {
  font-size: clamp(.95rem, 1.1vw, 1.12rem);
  padding: clamp(16px, 1.3vw, 20px) clamp(28px, 2.4vw, 38px);
  min-width: min(100%, 340px);
}
.btn__arrow { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.cta__alt {
  margin: 14px 0 0;
  font-size: .9rem;
  color: var(--muted);
}
.cta__alt a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(138,106,46,.45);
  text-underline-offset: 3px;
}
.cta__alt a:hover { color: var(--gold); }

/* ---------- Device / dashboard mockup ---------- */

.hero__visual {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1032 / 770;
  --s: .55;
}
.device {
  position: absolute;
  left: 0;
  top: 0;
  width: 1032px;
  height: 722px;
  transform-origin: 0 0;
  transform: scale(var(--s));
}
.device__frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 16px;
  border-radius: 46px;
  background: linear-gradient(145deg, #3B3E46 0%, #17181C 40%, #0E0F12 100%);
  box-shadow:
    inset 0 0 0 1.5px #55585F,
    inset 0 0 0 4px #0B0C0E,
    0 50px 90px -40px rgba(30, 22, 10, .55),
    0 30px 50px -30px rgba(30, 22, 10, .35);
}
.device__camera {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2A2D33;
  transform: translateY(-50%);
}
.device__shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -34px;
  height: 40px;
  background: radial-gradient(closest-side, rgba(60,40,15,.28), rgba(60,40,15,0));
  filter: blur(6px);
}
.screen {
  display: grid;
  grid-template-columns: 172px 1fr;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #F6F6F4;
  font-size: 12px;
  line-height: 1.3;
  color: #1C1F27;
  user-select: none;
}
.screen svg { width: 15px; height: 15px; flex: none; }

/* Sidebar */
.sb {
  background: linear-gradient(180deg, #24262D 0%, #1A1B20 100%);
  color: #B4B7C1;
  padding: 26px 12px;
}
.sb__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 26px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .03em;
}
.sb__brand img { width: 22px; height: auto; }
.sb__nav { display: flex; flex-direction: column; gap: 3px; }
.sb__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
}
.sb__item.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(179,52,60,.55), rgba(179,52,60,.22));
  box-shadow: inset 2px 0 0 #E05A60;
}
.sb__sep { height: 1px; background: rgba(255,255,255,.08); margin: 12px 8px; }

/* Main dashboard */
.dash {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.dash__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dash__hello { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.dash__sub { font-size: 11px; color: #7B7F89; margin-top: 3px; }
.dash__tools { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #E4E4E1;
  border-radius: 8px;
  background: #fff;
  font-size: 10.5px;
  color: #3A3E48;
  white-space: nowrap;
}
.pill svg { width: 12px; height: 12px; }
.pill--wide { min-width: 120px; justify-content: space-between; }
.pill__chev { margin-left: 6px; color: #9A9DA5; }
.bell { position: relative; color: #3A3E48; padding: 4px; }
.bell svg { width: 18px; height: 18px; }
.bell i { position: absolute; top: 3px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #E0403F; border: 1.5px solid #F6F6F4; }

.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.kpi {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: var(--k-bg);
  border: 1px solid var(--k-line);
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.kpi__ic {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--k-ic);
  color: var(--k-tone);
  margin-bottom: 12px;
}
.kpi__ic svg { width: 14px; height: 14px; }
.kpi__lbl { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3A3E48; }
.kpi__val { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin-top: 4px; color: var(--k-val); }
.kpi__d { font-size: 10.5px; font-weight: 600; margin-top: 6px; }
.kpi__vs { font-size: 9.5px; color: #8A8D95; margin-top: 2px; }
.kpi--green { --k-bg: linear-gradient(160deg, #EAF6F0, #F4FAF7); --k-line: #D5EBDF; --k-ic: #CFEADC; --k-tone: #2E7A68; --k-val: #1C1F27; }
.kpi--red   { --k-bg: linear-gradient(160deg, #FCEBEA, #FDF4F3); --k-line: #F4D4D1; --k-ic: #F7D3CF; --k-tone: #B3343C; --k-val: #B3343C; }
.kpi--amber { --k-bg: linear-gradient(160deg, #FCF1E2, #FDF8F0); --k-line: #F2E0C4; --k-ic: #F5E0BF; --k-tone: #A86A1E; --k-val: #C4442F; }
.up  { color: #2E8A6E; }
.bad { color: #C9433C; }

.row { display: grid; gap: 12px; min-height: 0; }
.row--2 { grid-template-columns: 1.28fr 1fr; }
.row--3 { grid-template-columns: 1.15fr .82fr 1.05fr; flex: 1; }

.card {
  background: #fff;
  border: 1px solid #ECECE9;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
  min-width: 0;
}
.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mini-sel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 500;
  color: #5D616B;
  border: 1px solid #E6E6E3;
  border-radius: 6px;
  padding: 4px 7px;
}
.mini-sel svg { width: 10px; height: 10px; }

.trend { width: 100%; height: auto; }
.screen .trend { width: 100%; height: auto; }
.trend__grid line { stroke: #EEEEEB; stroke-width: 1; }
.trend__y text { font-size: 9px; fill: #9A9DA5; text-anchor: end; }
.trend__x text { font-size: 9px; fill: #8A8D95; text-anchor: middle; }
.trend__line { fill: none; stroke: #2E7A68; stroke-width: 2; stroke-linejoin: round; }
.trend__dots circle { fill: #fff; stroke: #2E7A68; stroke-width: 2; }
.legend { display: flex; gap: 16px; font-size: 9.5px; color: #6A6E78; margin-top: 2px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; }

.branches { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.branches li {
  display: grid;
  grid-template-columns: 74px 50px 1fr 38px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.branches b { font-weight: 600; color: #3A3E48; }
.branches .bar { height: 10px; border-radius: 6px; background: #F0F0EE; overflow: hidden; }
.branches .bar i { display: block; height: 100%; border-radius: 6px; }
.branches em { font-style: normal; font-weight: 600; font-size: 10.5px; text-align: right; }

.donut-wrap { display: flex; align-items: center; gap: 16px; margin-top: 4px; }
.donut {
  flex: none;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: conic-gradient(#B3343C 0 39%, #5B3A7A 0 60%, #9AA0A6 0 65%, #3E9C80 0 83%, #CDBB8E 0 100%);
  display: grid;
  place-items: center;
}
.donut__hole {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-content: center;
  text-align: center;
}
.donut__hole b { font-size: 14px; font-weight: 800; }
.donut__hole span { font-size: 9px; color: #8A8D95; }
.donut-legend { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 7px; font-size: 10px; color: #4A4E58; }
.donut-legend li { display: flex; align-items: center; gap: 7px; }
.donut-legend i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.donut-legend b { margin-left: auto; font-weight: 600; color: #2A2E38; }

.inv { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.inv li { display: flex; align-items: center; gap: 10px; font-size: 10.5px; color: #3A3E48; padding: 4px 0; }
.inv__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
.inv__ic svg { width: 13px; height: 13px; }
.inv__ic--red   { background: #FBE4E2; color: #B3343C; }
.inv__ic--amber { background: #FBEBD3; color: #A86A1E; }
.inv__ic--green { background: #DDF0E7; color: #2E7A68; }
.inv b { margin-left: auto; font-size: 12px; font-weight: 700; }
.c-red { color: #C9433C; } .c-amber { color: #C27A1E; } .c-green { color: #2E8A6E; }
.screen .inv__chev { width: 10px; height: 10px; color: #B0B3BA; }

.card--lara { background: linear-gradient(170deg, #FBF8FE 0%, #FFFFFF 60%); border-color: #ECE5F4; }
.lara-title { display: inline-flex; align-items: center; gap: 7px; }
.lara-title svg { color: #6A3F96; }
.beta { font-size: 8.5px; font-weight: 700; letter-spacing: .08em; color: #6A3F96; background: #EFE6F8; border: 1px solid #DFD0EE; border-radius: 6px; padding: 3px 7px; }
.insights { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.insights li { display: flex; gap: 9px; font-size: 10px; line-height: 1.4; color: #3F434D; }
.screen .insights svg { width: 13px; height: 13px; color: #6A3F96; margin-top: 1px; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: clamp(12px, 1.4vw, 20px);
}
.site-footer p { margin: 0; }
.site-footer__tag {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(.68rem, .8vw, .8rem);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.rule { width: 46px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-hi), var(--gold)); flex: none; }
.site-footer__copy { font-size: .78rem; color: var(--muted-2); }

/* ---------- Modal ---------- */

.modal {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--cream-2);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(30, 20, 5, .5), 0 0 0 1px rgba(120, 95, 55, .12);
  overflow: hidden;
}
@supports (height: 100dvh) { .modal { max-height: calc(100dvh - 24px); } }
.modal[open] { animation: modal-in .32s cubic-bezier(.2,.8,.2,1); }
.modal::backdrop {
  background: rgba(24, 20, 14, .48);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.modal__inner {
  position: relative;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4vw, 40px);
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s;
}
.modal__close:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.modal__close:focus-visible { outline: 3px solid rgba(138,106,46,.45); }
.modal__close svg { width: 20px; height: 20px; }

.modal__head { margin-bottom: 22px; padding-right: 30px; }
.modal__head img { width: 38px; height: auto; margin-bottom: 14px; }
.modal__head h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.modal__head p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }

.form { display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { font-size: .84rem; font-weight: 600; color: var(--ink-2); padding: 0; }
.field__label em { font-style: normal; color: var(--red); }
.field__opt { font-weight: 400; color: var(--muted-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #DCD4C7;
  border-radius: 11px;
  background: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%236A6E79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.field select:invalid { color: var(--muted-2); }
.field input::placeholder, .field textarea::placeholder { color: #A9A49B; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(138,106,46,.14);
}

.field__err { display: none; font-size: .78rem; color: #B3343C; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input,
.field.is-invalid select { border-color: #D2665E; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #DCD4C7;
  border-radius: 999px;
  background: #fff;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.chip:hover span { border-color: #C2B49B; }
.chip input:checked + span {
  border-color: var(--gold);
  background: #F5ECDA;
  color: #4A3610;
  box-shadow: inset 0 0 0 1px var(--gold);
}
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(138,106,46,.22); }
.chip--suite input:checked + span { background: linear-gradient(100deg, #EFE2C6, #F7EEDC); }

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

.form__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #FBE7E5;
  color: #8E2A2F;
  font-size: .88rem;
}

.btn--block { width: 100%; font-size: 1rem; padding: 17px 24px; margin-top: 4px; }
.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.is-loading .btn__spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__note { margin: -4px 0 0; text-align: center; font-size: .78rem; color: var(--muted-2); }

/* Success state */
.modal__success { text-align: center; padding: 18px 0 6px; }
.success__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(140deg, #3E9C80, #2E7A68);
  box-shadow: 0 14px 30px -12px rgba(46,122,104,.7);
}
.success__icon svg { width: 34px; height: 34px; }
.modal__success h2 { margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; outline: none; }
.success__text { margin: 10px auto 26px; max-width: 30em; color: var(--muted); }
.btn--wa {
  color: #fff;
  background: linear-gradient(180deg, #2BC266, #1FA855);
  padding: 15px 26px;
  font-size: .9rem;
  letter-spacing: .08em;
  box-shadow: 0 12px 26px -12px rgba(31,168,85,.8);
}
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover { transform: translateY(-1px); filter: brightness(1.04); }
.success__email { display: block; margin-top: 14px; font-size: .88rem; color: var(--ink-2); }
.btn-link {
  display: block;
  margin: 18px auto 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

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

/* Large desktop: give the device a subtle 3D tilt like the reference */
@media (min-width: 1100px) {
  .device { transform: scale(var(--s)) perspective(2600px) rotateY(-7deg) rotateX(1.5deg); }
  .br-lg { display: inline; }
}

/* Tablet: keep two columns, tighten */
@media (max-width: 1099px) {
  .br-lg { display: none; }
  .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; max-width: 420px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

/* Mobile: stack vertically */
@media (max-width: 819px) {
  .page { padding-top: 22px; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 26px;
  }
  .hero__title { font-size: clamp(2.2rem, 9.6vw, 3.4rem); }
  .cta { order: 3; margin-top: 26px; }
  .caps { order: 4; margin-top: 34px; max-width: none; }
  .btn--lg { width: 100%; max-width: 460px; }
  .hero__visual { margin-right: 0; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .bg__ring { width: 120vw; top: -40vw; right: -55vw; opacity: .22; }
}

@media (max-width: 560px) {
  .form__grid { grid-template-columns: 1fr; }
  .brand__tagline { letter-spacing: .24em; }
  .site-footer__tag { letter-spacing: .14em; gap: 12px; }
  .chip span { padding: 8px 14px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
