/* Urba Suites — guía de huéspedes (propiedad: Canela y Sol).
 * Identidad de marca: verde petróleo + dorado sobre papel crema. Mobile-first, sin dependencias. */
:root {
  --brand: #12494e;          /* verde petróleo Urba */
  --brand-oscuro: #0b3236;
  --gold: #c1992f;           /* dorado del isologo */
  --gold-claro: #e3c565;
  --crema: #f5f2ec;          /* papel del logo */
  --papel: #ffffff;
  --tinta: #1d2f30;
  --tinta-suave: #5f7273;
  --borde: #e3ded2;
  --ok: #3d8b4f;
  --chip-text: #8a6d1d;
  --chip-map: #3d8b4f;
  --radius: 16px;
  --sombra: 0 2px 10px rgba(18, 73, 78, .08);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --crema: #0e1c1d;
    --papel: #16292b;
    --tinta: #e8ede8;
    --tinta-suave: #93a8a5;
    --borde: #23393a;
    --sombra: 0 2px 10px rgba(0, 0, 0, .35);
    --chip-text: #e3c565;
    --chip-map: #7fd493;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--crema);
  color: var(--tinta);
  line-height: 1.55;
  padding-bottom: calc(84px + var(--safe-b));
}

/* Barra superior */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--crema) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--brand-oscuro);
  font-weight: 700; font-size: 1.1rem; letter-spacing: .2px;
}
.brand .wordmark { letter-spacing: 2.5px; font-size: .98rem; }
.brand em { font-style: normal; color: var(--gold); font-weight: 500; }
@media (prefers-color-scheme: dark) { .brand { color: #e8ede8; } }
.lang {
  border: 1.5px solid var(--brand); background: transparent;
  color: var(--brand); font-weight: 700; font-size: .85rem;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}

/* Contenido */
main { max-width: 640px; margin: 0 auto; padding: 18px 16px; }

.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-oscuro) 100%);
  color: #fff8ee; border-radius: 20px; padding: 26px 22px;
  box-shadow: var(--sombra); margin-bottom: 20px;
}
.hero .byline {
  color: var(--gold-claro); font-size: .72rem; font-weight: 700;
  letter-spacing: 3.5px; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  display: inline-block;
}
.hero h1 { margin: 0 0 6px; font-size: 1.55rem; line-height: 1.2; }
.hero p { margin: 0; opacity: .92; font-size: .98rem; }
.hero .sol { color: var(--gold); }

/* Grilla de tarjetas del home */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--papel); border: 1px solid var(--borde);
  border-radius: var(--radius); padding: 16px 14px;
  text-decoration: none; color: var(--tinta);
  box-shadow: var(--sombra);
  transition: transform .08s ease;
  min-height: 104px;
}
.tile:active { transform: scale(.97); }
.tile .ico { font-size: 1.7rem; line-height: 1; }
.tile b { font-size: 1rem; }
.tile small { color: var(--tinta-suave); font-size: .8rem; line-height: 1.3; }

/* Páginas de sección */
.back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); text-decoration: none; font-weight: 600;
  margin-bottom: 12px; font-size: .95rem;
}
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.section-head .ico { font-size: 2rem; }
h2 { margin: 8px 0 4px; font-size: 1.45rem; }
.subtitle { color: var(--tinta-suave); margin: 0 0 18px; font-size: .95rem; }
h3 { margin: 26px 0 10px; font-size: 1.1rem; color: var(--brand-oscuro); }

.card {
  background: var(--papel); border: 1px solid var(--borde);
  border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
  box-shadow: var(--sombra);
}
.card h4 { margin: 0 0 4px; font-size: 1.02rem; }
.card p { margin: 4px 0 0; font-size: .92rem; color: var(--tinta-suave); }
.card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 600; color: var(--chip-text);
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  padding: 4px 10px; border-radius: 999px; text-decoration: none;
}
a.chip.map { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--chip-map); }

/* Bloque clave-valor (WiFi) */
.kv {
  background: var(--papel); border: 2px dashed var(--brand);
  border-radius: var(--radius); padding: 18px; margin-bottom: 12px;
  text-align: center;
}
.kv .k { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--tinta-suave); }
.kv .v { font-size: 1.5rem; font-weight: 800; margin: 4px 0 10px; word-break: break-all; }
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; font-weight: 700;
  font-size: .95rem; padding: 12px 22px; border-radius: 999px;
  text-decoration: none;
}
.btn.ok { background: var(--ok); }

/* Checklist */
.check { list-style: none; margin: 0 0 12px; padding: 0; }
.check li {
  background: var(--papel); border: 1px solid var(--borde);
  border-radius: 12px; padding: 12px 14px 12px 40px; margin-bottom: 8px;
  position: relative; font-size: .95rem;
}
.check li::before {
  content: "✓"; position: absolute; left: 14px; top: 11px;
  color: var(--ok); font-weight: 800;
}

.note {
  background: color-mix(in srgb, var(--gold) 16%, var(--papel));
  border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 12px 14px; margin: 14px 0;
  font-size: .92rem;
}

.todo { outline: 2px dashed #c99; outline-offset: 2px; position: relative; }
.todo::after {
  content: "PENDIENTE"; position: absolute; top: -9px; right: 10px;
  background: #c0392b; color: #fff; font-size: .6rem; font-weight: 800;
  padding: 2px 8px; border-radius: 999px; letter-spacing: 1px;
}

/* WhatsApp flotante */
.wa-fab {
  position: fixed; right: 16px; bottom: calc(16px + var(--safe-b));
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 30;
}

footer.credits {
  text-align: center; color: var(--tinta-suave);
  font-size: .8rem; margin-top: 30px;
}
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr 1fr; } }
