:root {
  --forest: #15372b;
  --forest-deep: #0b2018;
  --leaf: #5d8c63;
  --moss: #9cb06a;
  --clay: #bd7b52;
  --cream: #fff8eb;
  --paper: rgba(255, 252, 244, 0.92);
  --ink: #173029;
  --muted: #68766f;
  --line: rgba(21, 55, 43, 0.18);
  --shadow: 0 20px 60px rgba(5, 25, 18, 0.26);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background-image: url("/assets/hero-bosquecielo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 0.84rem;
  letter-spacing: 0;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.text-link,
.footer-link {
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  padding: 6px 4px;
  font-size: 0.9rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

main {
  flex: 1;
  display: grid;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 22px;
}

.hero,
.panel,
.reviews-page,
.admin-page {
  width: min(760px, 100%);
}

.hero {
  color: #fff;
  padding: clamp(28px, 6vw, 70px) 0;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}

.hero p {
  max-width: 680px;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.46);
}

.arrow-button {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  color: var(--forest);
  background: var(--cream);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
  animation: pulse 1.8s ease-in-out infinite;
}

.arrow-button svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0%, 100% { transform: translateX(0) scale(1); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26); }
  50% { transform: translateX(5px) scale(1.05); box-shadow: 0 18px 44px rgba(255, 248, 235, 0.28); }
}

.panel,
.reviews-page,
.admin-page,
.contact-page {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel h2,
.reviews-page h2,
.admin-page h2,
.contact-page h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.field-grid {
  display: grid;
  gap: 18px;
}

label,
.field-label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.hint {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(93, 140, 99, 0.18);
}

.date-field {
  position: relative;
  display: grid;
  gap: 8px;
}

.date-button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 13px 14px;
  text-align: left;
}

.date-button:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(93, 140, 99, 0.18);
  outline: none;
}

.calendar-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(340px, 100%);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  box-shadow: var(--shadow);
}

.calendar-head,
.calendar-week,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-head {
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-head strong {
  text-align: center;
}

.calendar-head button,
.calendar-grid button {
  border: 0;
  border-radius: 8px;
  color: var(--forest);
  background: rgba(21, 55, 43, 0.08);
  min-height: 36px;
  font-weight: 800;
}

.calendar-week {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.calendar-grid button:hover,
.calendar-head button:hover {
  color: #fff;
  background: var(--forest);
}

.choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.choice input {
  width: auto;
}

.rating-wrap {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.rating-emojis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  text-align: center;
  font-size: clamp(1.7rem, 7vw, 3rem);
}

.range {
  accent-color: var(--clay);
}

.rating-caption {
  min-height: 28px;
  color: var(--forest);
  font-weight: 800;
  text-align: center;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.primary,
.secondary,
.danger {
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
}

.primary {
  color: #fff;
  background: var(--forest);
}

.secondary {
  color: var(--forest);
  background: rgba(21, 55, 43, 0.1);
}

.danger {
  color: #fff;
  background: #9d312b;
}

.progress {
  height: 7px;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 55, 43, 0.12);
}

.progress span {
  display: block;
  height: 100%;
  width: var(--value, 0%);
  background: linear-gradient(90deg, var(--leaf), var(--clay));
}

.reviews-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;