@font-face {
  font-family: Poppins;
  font-weight: 400;
  font-display: swap;
  src: url('identidad/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-weight: 600;
  font-display: swap;
  src: url('identidad/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: Montserrat;
  font-weight: 100 900;
  font-display: swap;
  src: url('identidad/montserrat.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --ink: #203d38;
  --muted: #4c665e;
  --deep: #0a7a66;
  --green: #086d5b;
  --green2: #075f50;
  --aqua: #2abba1;
  --lime: #f3ff6c;
  --bg: #f4f5f0;
  --line: #d6e1da;
  --soft: #e5f2ed;
  --err: #942b2b;
  --r: 14px;
  --page-width: 1200px;
  --edge: clamp(16px, 4vw, 52px);
  font: 400 16px/1.5 Poppins, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box
}

[hidden] {
  display: none !important
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

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

button,
a {
  touch-action: manipulation
}

button {
  cursor: pointer
}

button:disabled {
  cursor: wait;
  opacity: .65
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green2);
  outline-offset: 3px
}

a {
  color: var(--green2)
}

.masthead {
  color: #fff;
  background-color: var(--deep);
  background-image: linear-gradient(110deg, rgb(1 57 48 / 78%), rgb(3 91 75 / 52%) 55%, rgb(0 62 51 / 73%)), url('identidad/fondo-reservas.webp');
  background-position: center, 50% 48%;
  background-size: cover;
}

.top-in,
.foot-in {
  width: min(calc(100% - 2 * var(--edge)), calc(var(--page-width) - 2 * var(--edge)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-in {
  min-height: 82px;
  padding-block: 13px;
  border-bottom: 1px solid rgb(255 255 255 / 30%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.brand img {
  display: block;
  width: clamp(168px, 20vw, 232px);
  max-width: 100%;
  height: auto;
}

.top-in nav,
.tools,
.choices,
.pills,
.form-actions,
.list-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap
}

.top-in nav a,
.top-in nav button {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: 9px 13px;
  text-decoration: none;
}

.top-in nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.top-in nav a:not(.entry):hover {
  text-decoration: underline;
  text-decoration-color: var(--aqua);
  text-underline-offset: 7px;
}

.top-in nav .entry {
  border: 1px solid #fff;
  border-radius: 3px;
  color: var(--green2);
  background: #fff;
}

.top-in nav .entry:hover {
  background: var(--lime);
  border-color: var(--lime);
}

.top-in :focus-visible {
  outline-color: var(--lime);
}

.btn,
.primary,
.danger,
.navbtn,
.switch button,
.chip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 600;
  padding: 9px 14px;
  line-height: 1.35;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px
}

.btn:hover,
.navbtn:hover,
.chip:hover {
  background: var(--soft)
}

.primary {
  background: var(--green);
  color: white;
  border-color: var(--green)
}

.primary:hover {
  background: var(--green2)
}

.danger {
  color: var(--err);
  border-color: #e2bfbd
}

.wrap {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px) var(--edge) clamp(30px, 5vw, 65px);
  flex: 1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1, h2 {
  font-family: Montserrat, 'Segoe UI', sans-serif;
}

.hero {
  max-width: var(--page-width);
  margin-inline: auto;
  padding: clamp(24px, 3.2vw, 47px) var(--edge) clamp(25px, 3vw, 40px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--lime);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .025em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.01;
  text-transform: uppercase;
  text-wrap: balance;
}

.motto {
  margin: 12px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: #f0fcf7;
}

.hero::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  background: var(--lime);
}

.hero-team {
  padding-block: clamp(18px, 2.3vw, 30px);
}

.hero-team h1 {
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
}

.hero-team #subtitle {
  max-width: 64ch;
  margin: 9px auto 0;
  font-size: .96rem;
  color: #f0fcf7;
}

.hero-team::after {
  margin-top: 14px;
  width: 36px;
}

.view-bar,
.toolbar,
.heading-row,
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap
}

.view-bar {
  margin: 0 0 16px;
}

.switch {
  padding: 3px;
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.switch button {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  border-radius: 5px;
  padding: 8px 15px;
  min-height: 39px;
  font-size: .94rem;
}

.switch button[aria-pressed=true] {
  background: var(--green);
  color: #fff;
}

.switch button:not([aria-pressed=true]):hover {
  color: var(--green2);
  background: var(--soft);
}

.date-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0;
  font-size: .86rem;
}

.date-note time {
  font-weight: 600;
}

.date-note .region {
  border-inline-start: 1px solid #aebdb5;
  padding-inline-start: 12px;
  font-size: inherit;
}

.region,
.muted,
.hint,
.meta {
  color: var(--muted)
}

.region,
.meta,
.hint {
  font-size: .9rem
}

.panel,
.form-panel,
.list-row,
.calendar,
.credential {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff
}

.panel,
.form-panel,
.credential {
  padding: clamp(16px, 3vw, 30px)
}

.calendar {
  overflow: hidden
}

.toolbar {
  padding: 15px 19px
}

.toolbar h2,
.heading-row h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -.035em
}

.navbtn {
  padding: 6px 12px;
  min-width: 40px;
  min-height: 40px
}

.weekday,
.grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr))
}

.weekday {
  background: #edf3ee;
  border-block: 1px solid var(--line)
}

.weekday span {
  padding: 10px 9px;
  color: var(--muted);
  font-size: .84rem;
  text-align: left;
  font-weight: 600
}

.cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5px;
  min-height: 70px;
  min-width: 0
}

.cell:nth-child(7n) {
  border-right: 0
}

.cell.faded {
  background: #f7f8f3
}

.day-number {
  display: inline-grid;
  place-items: center;
  min-width: 29px;
  min-height: 29px;
  border-radius: 50%;
  font-size: .92rem;
  font-weight: 600
}

.day-number.today {
  background: var(--green);
  color: white
}

.event-pin {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 3px solid var(--green);
  background: #e3f0eb;
  color: #144c43;
  padding: 4px;
  margin-top: 3px;
  font-size: .8rem;
  line-height: 1.3;
  border-radius: 4px;
  overflow-wrap: anywhere
}

.event-pin.especial {
  border-color: #9b631b;
  color: #694715;
  background: #fbf1dc
}

.pin-time {
  font-weight: bold
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 18px
}

.legend span,
.badge {
  font-size: .82rem
}

.legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--green);
  margin-right: 4px;
  border-radius: 50%
}

.legend .special {
  background: #aa711e
}

.below {
  margin: 12px 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45
}

.foot {
  color: #e9f6ef;
  background: #064e42;
}

.foot-in {
  padding-block: 19px;
  font-size: .8rem;
}

.foot-in strong {
  font-weight: 600;
}

.heading-row {
  margin: 18px 0 13px
}

.pills,
.choices {
  margin: 12px 0 17px
}

.chip {
  font-size: .9rem;
  padding: 7px 12px
}

.chip[aria-pressed=true] {
  color: #fff;
  background: var(--green);
  border-color: var(--green)
}

.list {
  display: grid;
  gap: 9px
}

.list-row {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 14px 17px
}

.stamp {
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--soft);
  color: var(--green);
  border-radius: 9px;
  min-height: 58px;
  line-height: 1.1
}

.stamp strong {
  font: 800 1.55rem/1 Montserrat, sans-serif
}

.stamp span {
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .04em;
  font-weight: 600
}

.list-row h3 {
  font-size: 1.1rem;
  margin: 4px 0 6px;
  letter-spacing: -.02em
}

.list-row p {
  margin: 3px 0;
  line-height: 1.45
}

.preview-thumb {
  width: 65px;
  height: 57px;
  object-fit: cover;
  border-radius: 7px
}

.badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  background: #e7f0ec;
  color: #24554d;
  font-weight: 600;
  margin-right: 5px
}

.badge.especial,
.badge.pendiente {
  background: #fbefd9;
  color: #704a19
}

.badge.recurrente {
  background: #eaeaf5;
  color: #514b78
}

.badge.retirada {
  background: #f4e5e3;
  color: #883f39
}

.empty {
  padding: 26px 22px;
  background: #fff;
  border: 1px dashed #a1b9ac;
  border-radius: 11px
}

.empty h3 {
  margin: 0 0 5px;
  font-size: 1.12rem
}

.empty p {
  color: var(--muted);
  margin: 0;
  line-height: 1.45
}

.form-panel {
  max-width: 880px
}


.login {
  width: min(100%, 510px);
  margin-inline: auto;
}

.login .form-panel {
  border-top: 3px solid var(--deep);
  box-shadow: 0 8px 30px rgb(29 71 55 / 6%);
}

.login .primary {
  width: 100%;
}

.login > p {
  text-align: center;
}

input[type=checkbox] {
  accent-color: var(--green);
}

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

.full {
  grid-column: 1/-1
}

label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: .92rem
}

input:not([type=checkbox]),
select,
textarea {
  width: 100%;
  border: 1px solid #adbfba;
  border-radius: 7px;
  padding: 9px 11px;
  min-height: 42px;
  background: white;
  color: var(--ink);
  font-weight: 400;
  max-width: 100%
}

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

.check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500
}

.check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0
}

.form-actions {
  margin: 20px 0 2px
}

.hint {
  font-weight: 400;
  line-height: 1.45;
  margin: 0
}

.form-panel h2 {
  font-size: 1.4rem;
  margin: 0 0 18px
}

.form-panel h3 {
  margin: 9px 0 1px
}

.message {
  padding: 12px 16px;
  border-left: 4px solid #41796c;
  background: #e4f1ea;
  margin: 12px 0;
  color: #20473f
}

.message.error {
  border-color: #b6504a;
  background: #faeeec;
  color: #7e2929
}

.credential {
  background: #f8f5e8;
  margin: 14px 0
}

.credential code {
  font-size: 1rem;
  word-break: break-all;
  user-select: all
}

.panel-stack {
  display: grid;
  gap: 13px
}

.work-nav {
  margin-bottom: 15px
}

.list-row .btn {
  white-space: nowrap
}

.hint a {
  font-weight: 600
}

dialog {
  width: min(600px, calc(100% - 30px));
  border-radius: 15px;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0;
  max-height: 90vh;
  overflow: auto
}

dialog::backdrop {
  background: rgb(7 44 38 / 62%)
}

.modal-inner {
  padding: 22px
}

.modal-inner .card-title {
  align-items: start;
  flex-wrap: nowrap
}

.modal-inner h2 {
  margin: 5px 0 13px;
  font-size: 1.65rem;
  letter-spacing: -.03em
}

.modal-inner h3 {
  font-size: 1.03rem;
  margin: 16px 0 7px
}

.modal-inner p {
  white-space: pre-line;
  line-height: 1.55;
  margin: 7px 0
}

.modal-media {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
  background: #f0f2ed;
  margin: 14px 0
}

.compact {
  font-size: .9rem;
  padding: 7px 11px
}

.split {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap
}

.error-text {
  color: var(--err)
}

.help-detail {
  margin-top: 16px
}

.help-detail summary {
  cursor: pointer;
  color: var(--green2);
  font-weight: 600
}

.day-open {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit
}

.mobile-events {
  display: none
}

.list-actions {
  margin-top: 12px
}

.download {
  font-size: .95rem;
  display: inline-block;
  padding: 4px
}

.detail-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 12px;
  margin: 12px 0
}

.detail-facts dt {
  font-weight: 600
}

.detail-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.shared-event {
  max-width: 760px;
  margin-inline: auto;
}

.shared-event h1 {
  margin: 8px 0 20px;
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  line-height: 1.12;
}

.event-description {
  white-space: pre-line;
  line-height: 1.55;
}

.preview-label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--green2);
}

.form-note {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.45
}

.btn-link {
  border: 0;
  background: none;
  color: var(--green2);
  text-decoration: underline;
  padding: 3px;
  font-weight: 600
}

@media(max-width:680px) {
  .top-in {
    min-height: 62px;
    padding-block: 11px;
    gap: 9px;
  }

  .brand img {
    width: clamp(130px, 40vw, 188px);
  }

  .top-in nav {
    flex-shrink: 0;
    gap: 0;
  }

  .top-in nav a,
  .top-in nav button {
    padding: 7px 8px;
    font-size: .76rem;
  }

  .hero {
    padding-block: 24px 23px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3.1rem);
  }

  .hero-team {
    padding-block: 19px;
  }

  .hero-team h1 {
    font-size: clamp(1.56rem, 6.7vw, 2.15rem);
  }

  .hero-team #subtitle {
    font-size: .86rem;
  }

  .hero::after {
    width: 34px;
    margin-top: 14px;
  }

  .motto {
    margin-top: 9px;
    font-size: .9rem;
  }

  .tools {
    gap: 5px
  }

  .toolbar {
    padding: 12px
  }

  .toolbar h2 {
    font-size: 1.16rem
  }

  .navbtn {
    font-size: .87rem;
    padding: 6px 9px
  }

  .weekday span {
    text-align: center;
    padding: 6px 2px
  }

  .cell {
    text-align: center;
    min-height: 46px;
    padding: 3px 0
  }

  .cell .event-pin {
    display: none
  }

  .mobile-events {
    display: block;
    font-size: .65rem;
    color: var(--green);
    font-weight: 600;
    padding: 0
  }

  .day-open.has {
    background: var(--soft);
    border-radius: 5px;
    min-width: 28px;
    min-height: 39px
  }

  .legend {
    font-size: .8rem;
    padding: 8px
  }

  .region {
    font-size: .8rem
  }

  .view-bar {
    gap: 6px
  }

  .switch button {
    font-size: .86rem;
    padding: 7px 10px
  }

  .list-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    padding: 11px
  }

  .list-row>.row-action {
    grid-column: 2;
    justify-self: start
  }

  .stamp {
    min-height: 50px
  }

  .preview-thumb {
    width: 46px;
    height: 46px
  }

  .fields {
    grid-template-columns: 1fr
  }

  .full {
    grid-column: auto
  }

  .choices,
  .pills {
    gap: 5px
  }

  .chip {
    font-size: .82rem;
    padding: 6px 9px
  }

  .foot-in {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    font-size: .74rem;
  }

  .eyebrow {
    font-size: .74rem
  }

  .date-note {
    font-size: .78rem;
  }
}

@media(max-width:520px) {
  .top-in nav a[aria-current] {
    display: none;
  }

  .view-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}
