/* Rosario Turística — layout de sitio (usa tokens.css) */

/* ---------- nav ---------- */
.site-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
}
.brand span.acc { color: var(--wine); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  width: 42px;
  height: 38px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle svg { width: 18px; height: 18px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; list-style: none; }
.nav-menu > li > a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.nav-menu > li > a:hover, .nav-menu > li.active > a { background: var(--bg); }
.nav-menu > li.cta > a { background: var(--ink); color: var(--bg); font-weight: 600; }
.nav-menu > li.cta > a:hover { background: var(--wine); color: #fff; }

.nav-menu ul.sub {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(36,31,20,.12);
  min-width: 230px;
  display: none;
}
.nav-menu > li:hover > ul.sub,
.nav-menu > li:focus-within > ul.sub { display: block; }
.nav-menu ul.sub li a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
}
.nav-menu ul.sub li a:hover { background: var(--bg); }
.nav-menu ul.sub li a b { color: var(--wine); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 18px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .site-nav.open .nav-menu { display: flex; }
  .nav-menu > li > a { padding: 12px 6px; }
  .nav-menu ul.sub {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 8px 14px;
    min-width: 0;
  }
  .nav-menu > li.open > ul.sub { display: block; }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  margin: 24px 24px 0;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dk) 120%);
  color: #eef5fb;
  padding: 64px 48px;
  overflow: hidden;
}
.hero .sun-deco {
  position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sun), #b9800f 70%);
  opacity: .92;
}
.hero .sun-deco::after {
  content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
}
.hero-inner { position: relative; max-width: 640px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; color: #fff; }
.hero p.lead { max-width: 44ch; color: #cfe1ee; font-size: 16px; line-height: 1.65; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- page header (non-home) ---------- */
.page-head {
  margin: 24px 24px 0;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 44px;
}
.page-head .eyebrow { margin-bottom: 10px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 36px); }
.page-head p.lead { color: var(--mute); max-width: 60ch; font-size: 15.5px; }
.breadcrumb { font-size: 12.5px; color: var(--mute); margin-bottom: 14px; }
.breadcrumb a { text-decoration: none; color: var(--mute); }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- sections ---------- */
section.block { padding: 54px 24px 10px; }
section.block .container-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 24px; }
.section-head .see-all { font-size: 13.5px; font-weight: 600; color: var(--sky-dk); text-decoration: none; white-space: nowrap; }
.section-head .see-all:hover { text-decoration: underline; }

/* ---------- attraction cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card-atractivo {
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.card-atractivo .ph {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.card-atractivo .ph .chip { position: absolute; top: 12px; right: 12px; }
.card-atractivo .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-atractivo h3 { font-size: 15.5px; margin-bottom: 6px; }
.card-atractivo p { font-size: 13px; color: var(--mute); line-height: 1.55; flex: 1; }
.card-atractivo .go { font-size: 12.5px; font-weight: 600; color: var(--sky-dk); margin-top: 10px; }

/* ---------- lodging cards (con foto, estilo directorio) ---------- */
.lodge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lodge-card {
  display: flex;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.lodge-photo {
  flex: none;
  position: relative;
  width: 130px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.lodge-photo img { width: 100%; height: 100%; object-fit: cover; }
.no-photo-icon {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--sun) -40%, var(--sky) 130%);
  color: rgba(255,255,255,.85);
}
.no-photo-icon svg { width: 30%; height: 30%; }
.lodge-photo.no-photo .no-photo-icon,
.no-photo-wrap.no-photo .no-photo-icon { display: flex; }
.detail-figure.no-photo-wrap { position: relative; aspect-ratio: 16/9; }
.detail-figure.no-photo-wrap .no-photo-icon svg { width: 56px; height: 56px; }
.lodge-stars {
  position: absolute; left: 6px; bottom: 6px;
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(36,31,20,.75); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px;
}
.lodge-stars svg { width: 10px; height: 10px; color: var(--sun); }
.lodge-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lodge-body h3 { font-size: 15px; margin: 6px 0 2px; }
.lodge-body h3 a { text-decoration: none; color: var(--ink); }
.lodge-body h3 a:hover { color: var(--sky-dk); }
.lodge-meta { font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lodge-amenities { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.lodge-amenities .amenity { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--mute); }
.lodge-amenities .amenity svg { width: 13px; height: 13px; color: var(--sky); flex: none; }
.lodge-actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; }
.lodge-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--line-strong); color: var(--ink); flex: none;
}
.lodge-icon-btn svg { width: 15px; height: 15px; }
.lodge-icon-btn.wa { color: #2f9e5c; border-color: rgba(47,158,92,.35); }
.lodge-icon-btn:hover { background: var(--bg); }
.lodge-cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sun); color: var(--sun-ink);
  font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 9px;
  text-decoration: none; white-space: nowrap;
}
.lodge-cta svg { width: 13px; height: 13px; }
.lodge-cta:hover { background: #d69912; }

/* nivel_cliente medio: foto más chica, sin fila de amenities */
.lodge-card.tier-medium .lodge-photo { width: 96px; height: 96px; }
.lodge-card.tier-medium .lodge-body { justify-content: center; }

/* nivel_cliente básico (la mayoría de los listados libres): fila compacta sin foto */
.lodge-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
}
.lodge-row-main { min-width: 0; }
.lodge-row h3 { font-size: 14.5px; margin: 0 0 2px; }
.lodge-row h3 a { text-decoration: none; color: var(--ink); }
.lodge-row h3 a:hover { color: var(--sky-dk); }
.lodge-row .lodge-meta { font-size: 12px; }
.lodge-row .lodge-actions { padding-top: 0; flex: none; }

@media (max-width: 560px) {
  .lodge-card { flex-direction: column; }
  .lodge-photo { width: 100%; height: 150px; }
  .lodge-card.tier-medium .lodge-photo { width: 100%; height: 120px; }
  .lodge-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- rubro grid (hub alojamientos) ---------- */
.rubro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rubro-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; text-decoration: none; color: var(--ink);
}
.rubro-card:hover { border-color: var(--line-strong); }
.rubro-card .name { font-weight: 600; font-size: 14.5px; }
.rubro-card .count { font-size: 12px; color: var(--mute); }

/* ---------- detail page (atractivo) ---------- */
.detail-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.detail-figure { border-radius: 18px; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); }
.detail-figure img { width: 100%; }
.detail-body { font-size: 15.5px; line-height: 1.75; color: #3a3324; }
.detail-body p { margin-bottom: 1.1em; }
.detail-body b { color: var(--ink); }
.detail-aside { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: sticky; top: 90px; }
.detail-aside h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin-bottom: 14px; }
.detail-aside ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.detail-aside a { text-decoration: none; font-size: 13.5px; color: var(--ink); }
.detail-aside a:hover { color: var(--sky-dk); }

/* ---------- prose pages (servicios / institucional) ---------- */
.prose { max-width: 74ch; font-size: 15.5px; line-height: 1.75; color: #3a3324; }
.prose h2 { font-size: 20px; margin-top: 1.6em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 14px; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose table th { background: var(--bg); }
.prose h4 { font-size: 16.5px; margin-top: 1.4em; color: var(--wine); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.prose ul li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.prose ul li b { color: var(--ink); }
.prose .fotos, .prose .fotos-2 { margin: 1.4em 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.prose .fotos img, .prose .fotos-2 img { width: 100%; }
.prose .fotos span, .prose .fotos-2 span { display: block; padding: 8px 14px; font-size: 12px; color: var(--mute); background: var(--paper); }
@media (max-width: 600px) { .prose ul { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { margin-top: 70px; background: var(--ink); color: #ece6d8; }
.site-footer .container { padding: 44px 24px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h5 { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--sun); margin-bottom: 14px; }
.site-footer p { color: #cfc6ad; font-size: 13.5px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #ddd5bd; text-decoration: none; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 24px; font-size: 12px; color: #a99f8a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .detail-wrap { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
}
@media (max-width: 760px) {
  .grid-3, .grid-4, .rubro-grid { grid-template-columns: 1fr 1fr; }
  .hero, .page-head { margin: 16px 16px 0; padding: 36px 26px; }
  .site-footer .container { grid-template-columns: 1fr; }
  .lodge-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .rubro-grid { grid-template-columns: 1fr; }
}
