:root {
  --forest-950: #041b14;
  --forest-900: #06251b;
  --forest-800: #082f22;
  --forest-700: #0b3d2c;
  --forest-600: #11523b;
  --forest-500: #1a6a4c;
  --leaf: #2f8f63;
  --leaf-soft: #6fae8c;
  --mint: #dfeade;
  --mint-deep: #c8ddc6;
  --yellow: #ffd21f;
  --yellow-deep: #e7ba00;
  --cream: #f7f5ec;
  --cream-deep: #efecdf;
  --paper: #fffdf7;
  --ink: #14251d;
  --ink-soft: #2d4238;
  --muted: #5f7168;
  --muted-light: #87968e;
  --line: rgba(11, 61, 44, 0.13);
  --line-dark: rgba(255, 255, 255, 0.13);
  --danger: #b42318;
  --success: #16794c;
  --warning: #9a6700;
  --whatsapp: #1faf54;
  --shadow-sm: 0 2px 8px rgba(4, 27, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(4, 27, 20, 0.1);
  --shadow-lg: 0 26px 65px rgba(4, 27, 20, 0.18);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --container: 1220px;
  --sans: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 320px;
}

body.is-locked {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--forest-800);
}

p {
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--yellow);
  color: var(--forest-950);
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 900px);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section--tight {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section--cream {
  background: var(--cream);
}

.section--paper {
  background: var(--paper);
}

.section--mint {
  background: linear-gradient(180deg, #f2f6ec 0%, #e8f0e2 100%);
}

.section--forest {
  background: var(--forest-800);
  color: #eef4e9;
}

.section--forest h2,
.section--forest h3 {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest-600);
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--yellow);
  border-radius: 99px;
}

.section--forest .eyebrow {
  color: var(--yellow);
}

.eyebrow--plain::before {
  display: none;
}

.script {
  font-family: var(--script);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.h2 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.75;
  color: var(--muted);
}

.section--forest .lead {
  color: rgba(238, 244, 233, 0.76);
}

.muted {
  color: var(--muted);
}

.script-accent {
  color: var(--yellow);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-head__text {
  max-width: 660px;
}

.section-head .lead {
  margin-top: 12px;
}

.section-head__action {
  flex-shrink: 0;
  padding-bottom: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background: var(--yellow);
  color: var(--forest-950);
  box-shadow: 0 8px 22px rgba(255, 210, 31, 0.28);
}

.btn--primary:hover {
  background: #ffe15c;
  box-shadow: 0 12px 28px rgba(255, 210, 31, 0.36);
}

.btn--dark {
  background: var(--forest-700);
  color: #fff;
}

.btn--dark:hover {
  background: var(--forest-600);
}

.btn--outline {
  border-color: var(--line);
  color: var(--forest-700);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--forest-600);
  background: rgba(17, 82, 59, 0.04);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 175, 84, 0.24);
}

.btn--whatsapp:hover {
  background: #179a48;
}

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.8rem;
}

.btn--lg {
  min-height: 58px;
  padding: 17px 30px;
  font-size: 0.95rem;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--forest-700);
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 3px;
  transition: gap 0.2s ease;
}

.link-arrow:hover {
  gap: 12px;
}

.section--forest .link-arrow {
  color: #fff;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge--yellow {
  background: var(--yellow);
  color: var(--forest-950);
}

.badge--mint {
  background: var(--mint);
  color: var(--forest-700);
}

.badge--pending {
  background: #fff3cf;
  color: #7a5900;
}

.badge--confirmed {
  background: #dff1e6;
  color: #14663f;
}

.badge--active {
  background: #dcebfa;
  color: #15548b;
}

.badge--completed {
  background: #e8ecea;
  color: #45564d;
}

.badge--cancelled {
  background: #fbe5e2;
  color: #9b2c20;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;
  gap: 7px;
}

.field__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.field__hint {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
}

.field__error {
  font-size: 0.75rem;
  color: var(--danger);
  font-weight: 600;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid #d8ded5;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: #a3ada7;
  font-weight: 400;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--forest-500);
  box-shadow: 0 0 0 4px rgba(26, 106, 76, 0.12);
}

.textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%235f7168' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.input[aria-invalid='true'],
.select[aria-invalid='true'],
.textarea[aria-invalid='true'] {
  border-color: var(--danger);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.55;
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--forest-600);
  flex-shrink: 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--forest-950);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}

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

.empty-state {
  text-align: center;
  padding: 48px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  max-width: 440px;
  margin: 0 auto;
  font-size: 0.88rem;
}

.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  animation: spin 0.75s linear infinite;
}

.spinner--dark {
  border-color: rgba(11, 61, 44, 0.18);
  border-top-color: var(--forest-700);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 680px) {
  .container,
  .container--narrow {
    width: min(100% - 32px, var(--container));
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .btn {
    white-space: normal;
  }
  .section-head__action {
    padding-bottom: 0;
  }
}

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

/* Inline icon sprite sizing and optional uploaded logo. */
.icon {
  display: inline-block;
  vertical-align: -0.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-sprite {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden;
}
.brand__image {
  max-height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  border-radius: 6px;
}
.site-footer .brand__image {
  max-height: 54px;
  background: rgba(255, 255, 255, 0.94);
  padding: 4px 7px;
}
.brand--has-image .brand__text {
  display: none;
}

/* ---------- Brand lockup (shared by site and admin) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  line-height: 1;
}
.brand__mark {
  width: 52px;
  height: 36px;
  flex-shrink: 0;
}
.brand__text {
  display: grid;
  gap: 3px;
}
.brand__name {
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand__middle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand__rule {
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.brand__place {
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.36em;
  padding-left: 0.36em;
}
.brand__partner {
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.72;
}
.brand--dark {
  color: var(--forest-800);
}
.brand--dark .brand__place {
  color: var(--forest-600);
}
.brand--compact .brand__name {
  font-size: 1.1rem;
}
.brand--compact .brand__mark {
  width: 42px;
  height: 30px;
}
