/* ═══════════════════════════════════════════════════════
   WRC Hotels — Site-wide styles
   Directory Hotel / B&B / Case Vacanze / Appartamenti — Reggio Calabria
   Palette: navy #0B3B6E | gold #F0A500 | sand #FAF8F3
            teal #2AB4A6 | warm-grey #6B6056
   Shares design tokens & base components 1:1 with the sister
   portal "Travel Welcome Reggio Calabria" (transport hub) for
   brand continuity across the welcomereggiocalabria.com family.
   ═══════════════════════════════════════════════════════ */

:root {
  --navy:      #0B3B6E;
  --navy-mid:  #1a5c9e;
  --gold:      #F0A500;
  --gold-pale: #FFF9E6;
  --sand:      #FAF8F3;
  --teal:      #2AB4A6;
  --grey:      #6B6056;
  --grey-lt:   #E8E3DC;
  --white:     #FFFFFF;
  --text-dark: #1a1008;
  --radius:    14px;
  --shadow-sm: 0 4px 18px rgba(11,59,110,.10);
  --shadow-lg: 0 16px 48px rgba(11,59,110,.18);
  --tr:        .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--sand); color: var(--text-dark); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.18; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; letter-spacing: -.01em; }

/* ── Nav ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 4vw;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 68px;
  background: #0f3c6e;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
  transition: box-shadow var(--tr);
}
.site-nav.scrolled { background: rgba(11,59,110,.97); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,.28); }
/* nav-solid kept for backward compat but now redundant — nav is always opaque */
.site-nav.nav-solid { background: #0f3c6e; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex-shrink: 0; }
.nav-logo-icon { font-size: 1.45rem; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-top { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: #fff; }
.nav-logo-sub { font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-top: 2px; }

/* Nav links */
.nav-links { display: flex; gap: 2px; align-items: center; flex: 1; justify-content: center; }
.nav-links a {
  color: rgba(255,255,255,.82); font-size: .83rem; font-weight: 500; padding: 7px 11px;
  border-radius: 30px; transition: background var(--tr), color var(--tr); white-space: nowrap;
}
.nav-links a:hover  { background: rgba(255,255,255,.13); color: #fff; }
.nav-links a.active { background: var(--gold); color: var(--navy); font-weight: 700; }

/* Hamburger */
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ── Language Picker — prominent globe dropdown ── */
.lang-picker {
  position: relative; flex-shrink: 0;
}
.lang-trigger {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px 8px 12px;
  background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 30px; cursor: pointer;
  color: #fff; font-size: .85rem; font-weight: 600; font-family: inherit;
  transition: background var(--tr), border-color var(--tr);
  white-space: nowrap;
}
.lang-trigger:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.lang-trigger.open  { background: rgba(255,255,255,.25); border-color: var(--gold); }
.lang-globe { font-size: 1.05rem; }
.lang-current { font-weight: 700; }
.lang-caret { font-size: .65rem; opacity: .75; transition: transform var(--tr); }
.lang-trigger.open .lang-caret { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border-radius: 16px;
  box-shadow: 0 16px 48px rgba(11,59,110,.22), 0 4px 14px rgba(0,0,0,.1);
  overflow: hidden; min-width: 170px; z-index: 300;
  border: 1px solid rgba(11,59,110,.08);
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; font-size: .9rem; font-weight: 500;
  color: var(--text-dark); cursor: pointer;
  transition: background var(--tr); border: none; background: none;
  width: 100%; text-align: left; font-family: inherit;
}
.lang-option:hover { background: var(--sand); }
.lang-option.active { background: var(--gold-pale); font-weight: 700; color: var(--navy); }
.lang-option .lang-flag { font-size: 1.2rem; flex: none; }
.lang-option .lang-name { flex: 1; }
.lang-option .lang-check { color: var(--navy); font-size: .85rem; opacity: 0; }
.lang-option.active .lang-check { opacity: 1; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 100px 5vw 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-dots {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero-glow {
  position: absolute; bottom: -60px; right: -60px; z-index: 1; pointer-events: none;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,.22) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 16px;
  background: rgba(240,165,0,.16); border: 1px solid rgba(240,165,0,.45);
  color: var(--gold); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: 5px 16px; border-radius: 30px;
}
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero .lead { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 520px; margin: 0 auto 36px; }
.hero-mode-icon { font-size: clamp(3rem, 8vw, 5rem); margin-bottom: 12px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }

/* ── Search engine ── */
.search-engine { position: relative; z-index: 3; width: 100%; max-width: 660px; margin: 0 auto; }

.search-box {
  background: #fff; border-radius: 22px;
  box-shadow: 0 20px 60px rgba(11,59,110,.28), 0 4px 16px rgba(0,0,0,.1);
  padding: 8px 8px 8px 22px;
  display: flex; align-items: center; gap: 10px;
}
.search-input-wrap { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.search-icon { font-size: 1.1rem; flex: none; }
.search-box input {
  flex: 1; border: none; outline: none; font-size: 1rem;
  background: transparent; color: var(--text-dark); font-family: inherit;
  padding: 8px 0; min-width: 0;
}
.search-box input::placeholder { color: #b0a090; }
.search-btn {
  padding: 13px 26px; border-radius: 16px; border: none;
  background: var(--navy); color: #fff;
  font-size: .95rem; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background var(--tr), transform .1s;
  display: flex; align-items: center; gap: 8px; font-family: inherit;
}
.search-btn:hover  { background: var(--navy-mid); }
.search-btn:active { transform: scale(.98); }
.search-btn:disabled { opacity: .5; cursor: wait; }

.results-panel { margin-top: 16px; text-align: left; }
.results-wrap { background: #fff; border-radius: 20px; box-shadow: 0 8px 40px rgba(11,59,110,.18); overflow: hidden; }

.results-head {
  padding: 18px 22px 12px;
  border-bottom: 1px solid var(--grey-lt);
  display: flex; align-items: flex-start; flex-direction: column; gap: 6px;
}
.results-head-row { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.results-title   { font-size: .98rem; font-weight: 800; color: var(--navy); }
.results-sub     { font-size: .8rem; color: var(--grey); }
.conn-pill {
  background: #EBF8F7; color: #0d7a70; border: 1px solid #9de3dd;
  font-size: .77rem; font-weight: 700; padding: 4px 12px; border-radius: 30px; white-space: nowrap;
}

/* route accordion */
.route-list { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 9px; }

.route-card { border: 2px solid var(--grey-lt); border-radius: var(--radius); background: var(--sand); overflow: hidden; transition: border-color var(--tr); }
.route-card.open { border-color: var(--navy); background: #fff; }

.route-head {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 14px 48px 13px 16px; position: relative; font-family: inherit;
}
.route-headline { display: flex; align-items: flex-start; gap: 9px; flex-wrap: wrap; margin-bottom: 7px; }
.route-name { font-weight: 700; font-size: .93rem; color: var(--text-dark); flex: 1; line-height: 1.3; }
.best-pill {
  background: var(--gold); color: var(--navy);
  font-size: .65rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 20px; white-space: nowrap; flex: none; margin-top: 1px;
}
.route-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.chip {
  background: #fff; border: 1px solid #e0e0e0; border-radius: 20px;
  font-size: .74rem; color: #555; padding: 3px 9px; white-space: nowrap;
}
.route-card.open .chip { border-color: #c0d8f0; color: var(--navy); background: #f0f7ff; }
.chip-sep { color: #c0b8b0; font-size: .8rem; }
.caret {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: .85rem; color: #b0a090; transition: transform var(--tr), color var(--tr);
}
.route-card.open .caret { transform: translateY(-50%) rotate(180deg); color: var(--navy); }

.route-body { display: none; padding: 0 16px 16px; }
.route-card.open .route-body { display: block; }

.hub-note {
  background: #fffbf0; border: 1px dashed #e8cc6a;
  border-radius: 10px; padding: 10px 13px; font-size: .82rem; color: #7a5c00; margin-bottom: 14px;
}

/* steps timeline */
.steps { display: flex; flex-direction: column; }
.step  { display: flex; align-items: stretch; gap: 13px; }
.step-rail { display: flex; flex-direction: column; align-items: center; width: 42px; flex: none; }
.step-icon {
  width: 42px; height: 42px; flex: none;
  background: #fff; border: 2px solid #e0e0e0;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 19px;
  transition: border-color var(--tr);
}
.route-card.open .step-icon { border-color: var(--navy-mid); }
.rail-line { flex: 1; width: 2px; background: #e5e5e5; margin: 3px 0; min-height: 14px; }
.step-content { flex: 1; padding-bottom: 16px; }
.step:last-child .step-content { padding-bottom: 4px; }
.step-num { font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--navy); margin: 5px 0 2px; font-family: inherit; }
.step-label { font-weight: 600; color: var(--text-dark); line-height: 1.35; margin-bottom: 8px; font-size: .92rem; }
.cta-title { font-size: .73rem; color: #999; margin-bottom: 6px; }
.cta-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; background: var(--navy); color: #fff;
  border-radius: 20px; font-size: .78rem; font-weight: 700;
  transition: opacity var(--tr);
}
.cta-btn:hover { opacity: .86; }

/* messages */
.loader-wrap { padding: 28px; text-align: center; }
.loader { width: 36px; height: 36px; border: 3px solid var(--grey-lt); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-results { padding: 24px; text-align: center; color: var(--grey); font-size: .9rem; }
.err-msg { color: #b0342a; }

/* ── Page sections ── */
.section { padding: 80px 5vw; }
.section-alt { background: #fff; }
.container { max-width: 1120px; margin: 0 auto; }
.section-eyebrow { display: inline-block; color: var(--gold); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.section h2 { color: var(--navy); margin-bottom: 12px; }
.section p.lead { color: var(--grey); font-size: 1rem; max-width: 580px; margin-bottom: 36px; line-height: 1.75; }

/* ── Info cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.info-card {
  background: var(--sand); border: 1px solid var(--grey-lt);
  border-radius: var(--radius); padding: 26px;
  transition: box-shadow var(--tr), transform var(--tr);
}
.info-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card-icon { font-size: 1.9rem; margin-bottom: 12px; }
.info-card h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.05rem; }
.info-card p { color: var(--grey); font-size: .9rem; line-height: 1.65; margin-bottom: 12px; }
.card-link { color: var(--navy); font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.card-link::after { content: '↗'; }

/* ── Route explainer strips ── */
.route-explain { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.route-box { background: #fff; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; }
.route-box h4 { color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.route-box p  { color: var(--grey); font-size: .88rem; line-height: 1.65; }
.route-steps-visual { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.rv-chip { background: var(--navy); color: #fff; padding: 4px 11px; border-radius: 20px; font-size: .76rem; font-weight: 700; }
.rv-chip.gold { background: var(--gold); color: var(--navy); }
.rv-chip.teal { background: var(--teal); color: #fff; }
.rv-arrow { color: var(--gold); font-weight: 900; }

/* ── Companies ── */
.company-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.co-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; background: #fff; border: 2px solid var(--grey-lt);
  border-radius: 40px; font-size: .88rem; font-weight: 600; color: var(--navy);
  transition: border-color var(--tr), background var(--tr);
}
.co-tag:hover { border-color: var(--gold); background: var(--gold-pale); }
.co-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* ── Mode nav pills ── */
.mode-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.mode-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border: 2px solid var(--grey-lt);
  border-radius: 40px; font-size: .88rem; font-weight: 600; color: var(--navy);
  background: #fff; transition: border-color var(--tr), background var(--tr), color var(--tr);
}
.mode-link:hover  { border-color: var(--navy); background: #eef3f8; }
.mode-link.active { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ── Airport hub explainer table ── */
.hub-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .9rem; }
.hub-table th { background: var(--navy); color: #fff; font-weight: 700; padding: 12px 16px; text-align: left; }
.hub-table td { padding: 11px 16px; border-bottom: 1px solid var(--grey-lt); color: var(--text-dark); vertical-align: top; }
.hub-table tr:last-child td { border-bottom: none; }
.hub-table tr:nth-child(even) td { background: var(--sand); }
.airport-code { font-family: 'JetBrains Mono', monospace; font-size: .85rem; background: var(--gold-pale); color: var(--navy); padding: 2px 8px; border-radius: 6px; font-weight: 700; }

/* ── Footer ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.68); padding: 56px 5vw 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { font-size: .87rem; line-height: 1.75; margin-top: 8px; }
.footer-brand h3 { color: #fff; font-family: 'Playfair Display', serif; }
.footer-col h4 { color: rgba(255,255,255,.9); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .87rem; color: rgba(255,255,255,.58); margin-bottom: 8px; transition: color var(--tr); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1120px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-legal { display: flex; gap: 10px; align-items: center; }
.footer-legal a { color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--tr); }
.footer-legal a:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(11,59,110,.98); padding: 14px 16px 18px; gap: 3px; }
  .route-explain { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .search-box { flex-direction: column; padding: 14px; gap: 10px; border-radius: 18px; }
  .search-input-wrap { width: 100%; }
  .search-btn { width: 100%; justify-content: center; border-radius: 12px; }
  .nav-logo-sub { display: none; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 52px 5vw; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* mobile lang picker */
@media (max-width: 860px) {
  .lang-dropdown { right: auto; left: 0; }
  .lang-picker { order: -1; }
}

/* ═══════════════════════════════════════════════════════
   HOTELS DIRECTORY — additional components
   ═══════════════════════════════════════════════════════ */

/* ── Category pills (hub + nav) ── */
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 40px; font-size: .85rem; font-weight: 700;
  background: #fff; border: 2px solid var(--grey-lt); color: var(--navy);
  transition: border-color var(--tr), background var(--tr), color var(--tr);
}
.cat-pill:hover  { border-color: var(--navy); background: #eef3f8; }
.cat-pill.active { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ── Filter bar ── */
.filter-bar {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 28px;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.filter-field label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.filter-field select, .filter-field input {
  padding: 10px 12px; border: 1.5px solid var(--grey-lt); border-radius: 10px;
  font-family: inherit; font-size: .9rem; color: var(--text-dark); background: #fff;
}
.filter-field select:focus, .filter-field input:focus { outline: none; border-color: var(--navy-mid); }
.filter-actions-row { display: flex; gap: 10px; flex: none; }
.btn-primary-pill, .btn-ghost-pill {
  padding: 10px 22px; border-radius: 30px; font-weight: 700; font-size: .88rem; border: none; cursor: pointer; font-family: inherit;
}
.btn-primary-pill { background: var(--navy); color: #fff; }
.btn-primary-pill:hover { background: var(--navy-mid); }
.btn-ghost-pill { background: #fff; border: 1.5px solid var(--grey-lt); color: var(--grey); }
.btn-ghost-pill:hover { border-color: var(--navy); color: var(--navy); }

/* ── Listings grid & card ── */
.listings-meta { color: var(--grey); font-size: .88rem; margin-bottom: 16px; }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.listing-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--tr), transform var(--tr);
  display: flex; flex-direction: column;
}
.listing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.listing-card__img { position: relative; height: 190px; background: var(--grey-lt); overflow: hidden; }
.listing-card__img img { width: 100%; height: 100%; object-fit: cover; }
.listing-card__badge {
  position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--navy);
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 5px 12px; border-radius: 20px;
}
.listing-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.listing-card__name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.listing-card__rating { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--grey); }
.listing-card__stars { color: var(--gold); letter-spacing: 1px; }
.listing-card__addr { font-size: .82rem; color: var(--grey); }
.listing-card__amenities { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0 4px; }
.amen-chip { background: var(--sand); border: 1px solid var(--grey-lt); border-radius: 20px; font-size: .68rem; padding: 3px 9px; color: var(--grey); }
.listing-card__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 6px; }
.listing-card__actions .btn-card-full { grid-column: 1 / -1; text-align: center; }
.btn-card-primary, .btn-card-secondary {
  text-align: center; padding: 9px; border-radius: 10px; font-weight: 700; font-size: .8rem; transition: opacity var(--tr);
}
.btn-card-primary { background: var(--navy); color: #fff; }
.btn-card-secondary { background: var(--gold-pale); color: var(--navy); border: 1px solid var(--gold); }
.btn-card-primary:hover, .btn-card-secondary:hover { opacity: .85; }
.listing-empty { background: #fff; border-radius: var(--radius); padding: 50px 24px; text-align: center; color: var(--grey); box-shadow: var(--shadow-sm); }

/* ═══════════════════════════════════════════════════════
   HOTEL DETAIL PAGE
   ═══════════════════════════════════════════════════════ */
.hd-wrap { max-width: 1120px; margin: 0 auto; padding: 100px 5vw 60px; }

/* header info bar — first thing after nav, no hero */
.hd-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--grey-lt);
}
.hd-type-badge {
  display: inline-block; background: var(--gold-pale); color: var(--navy);
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 10px;
}
.hd-header h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); color: var(--navy); margin-bottom: 8px; }
.hd-rating { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.hd-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; }
.hd-rating-text { font-size: .88rem; color: var(--grey); font-weight: 600; }
.hd-address { color: var(--grey); font-size: .92rem; }
.hd-maps-link { color: var(--grey); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.hd-maps-link:hover { color: var(--gold); }
.hd-maps-badge { display: inline-block; font-size: .72rem; font-weight: 700; background: var(--navy); color: #fff; padding: 2px 7px; border-radius: 10px; margin-left: 4px; letter-spacing: .02em; }
.hd-maps-link:hover .hd-maps-badge { background: var(--gold); }
.hd-quick-actions { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.btn-quick { display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 30px; font-weight: 700; font-size: .87rem; white-space: nowrap; transition: background var(--tr); }
.btn-quick:hover { background: var(--navy-mid); }
.btn-quick.alt { background: #fff; border: 1.5px solid var(--navy); color: var(--navy); }

/* repertoire image → click opens gallery */
.hd-cover { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; cursor: pointer; box-shadow: var(--shadow-sm); }
.hd-cover img { width: 100%; height: 420px; object-fit: cover; transition: transform .4s; }
.hd-cover:hover img { transform: scale(1.02); }
.hd-cover__hint {
  position: absolute; right: 16px; bottom: 16px; background: rgba(11,59,110,.82); color: #fff;
  font-size: .8rem; font-weight: 700; padding: 8px 16px; border-radius: 30px; display: flex; align-items: center; gap: 7px;
  backdrop-filter: blur(4px);
}

/* lightbox gallery */
.hd-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(11,10,8,.94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 4vh 4vw; }
.hd-lightbox.open { display: flex; }
.hd-lightbox__stage { position: relative; max-width: 1000px; width: 100%; text-align: center; }
.hd-lightbox__stage img { max-width: 100%; max-height: 72vh; border-radius: 10px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.hd-lightbox__close { position: absolute; top: -6px; right: -6px; background: #fff; color: var(--navy); border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; font-weight: 700; }
.hd-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.hd-lightbox__nav:hover { background: rgba(255,255,255,.28); }
.hd-lightbox__nav.prev { left: -6px; } .hd-lightbox__nav.next { right: -6px; }
.hd-lightbox__thumbs { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.hd-lightbox__thumbs img { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; opacity: .55; cursor: pointer; transition: opacity var(--tr); }
.hd-lightbox__thumbs img.active, .hd-lightbox__thumbs img:hover { opacity: 1; outline: 2px solid var(--gold); }
.hd-lightbox__counter { color: rgba(255,255,255,.7); font-size: .82rem; margin-top: 10px; }

/* info boxes row (contatti / servizi / prenota / info) */
.hd-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-bottom: 40px; }
.hd-box { background: var(--sand); border: 1px solid var(--grey-lt); border-radius: var(--radius); padding: 22px; }
.hd-box.hd-box--highlight { background: var(--gold-pale); border-color: var(--gold); }
.hd-box h3 { color: var(--navy); font-size: 1rem; margin-bottom: 14px; }
.hd-contact-card { margin-bottom: 14px; }
.hd-contact-card:last-child { margin-bottom: 0; }
.hd-contact-card__label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-bottom: 4px; }
.hd-contact-card p { font-size: .87rem; color: var(--text-dark); line-height: 1.65; }
.hd-contact-card small { color: var(--grey); }
.hd-amenities-list { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: .87rem; color: var(--text-dark); }
.hd-booking-links { display: flex; flex-direction: column; gap: 9px; }
.hd-booking-link { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border: 1px solid var(--grey-lt); border-radius: 10px; font-weight: 700; font-size: .85rem; color: var(--navy); transition: border-color var(--tr); }
.hd-booking-link:hover { border-color: var(--navy); }
.hd-box p.hd-info-line { font-size: .87rem; margin-bottom: 8px; }
.hd-box p.hd-info-line:last-child { margin-bottom: 0; }

/* content sections */
.hd-section { margin-bottom: 46px; }
.hd-section h2 { color: var(--navy); margin-bottom: 16px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.hd-section > p { color: var(--text-dark); line-height: 1.8; margin-bottom: 14px; max-width: 820px; }

.hd-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hd-card { background: #fff; border: 1px solid var(--grey-lt); border-radius: var(--radius); padding: 20px; }
.hd-card h3 { font-size: .98rem; color: var(--navy); margin-bottom: 6px; }
.hd-card-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--grey); margin-bottom: 10px; }
.hd-card p { font-size: .86rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 8px; }
.hd-card p:last-child { margin-bottom: 0; }
.hd-card small { color: var(--grey); }

.hd-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.hd-service-cat h3 { font-size: .95rem; color: var(--navy); margin-bottom: 10px; }
.hd-service-item { background: #fff; border: 1px solid var(--grey-lt); border-radius: 10px; padding: 12px 14px; font-size: .84rem; line-height: 1.6; margin-bottom: 8px; }

.hd-directions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.hd-direction-card { background: #fff; border: 1px solid var(--grey-lt); border-radius: var(--radius); padding: 22px; }
.hd-direction-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.hd-direction-card ol { margin: 10px 0 12px 20px; font-size: .84rem; line-height: 1.7; color: var(--text-dark); }
.hd-direction-card p { font-size: .84rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 4px; }
.hd-btn-directions { display: inline-block; margin-top: 8px; padding: 8px 16px; background: var(--navy); color: #fff; border-radius: 20px; font-size: .8rem; font-weight: 700; }
.hd-btn-directions:hover { background: var(--navy-mid); }
.hd-cta-website { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 18px; background: var(--navy); color: #fff; border-radius: var(--radius); font-size: .88rem; font-weight: 700; text-decoration: none; transition: background .2s, transform .15s; }
.hd-cta-website:hover { background: var(--navy-mid); transform: translateY(-1px); color: #fff; }
.hd-cta-domain { font-weight: 400; opacity: .8; font-size: .8rem; margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }

@media (max-width: 700px) {
  .hd-header { flex-direction: column; }
  .hd-cover img { height: 260px; }
  .filter-bar { flex-direction: column; align-items: stretch; }
}

/* ═══════════════════════════════════════════════════════
   PUBLIC SIGN-UP FORM ("Iscrivi la tua struttura")
   ═══════════════════════════════════════════════════════ */
.signup-wrap { max-width: 820px; margin: 0 auto; padding: 100px 5vw 70px; }
.signup-intro { margin-bottom: 32px; }
.signup-intro h1 { color: var(--navy); margin-bottom: 10px; }
.signup-intro p { color: var(--grey); line-height: 1.75; }
.signup-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px; }
.signup-section { margin-bottom: 28px; }
.signup-section:last-child { margin-bottom: 0; }
.signup-section h3 { color: var(--navy); font-size: 1rem; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--grey-lt); }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.signup-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.signup-field label { font-size: .8rem; font-weight: 700; color: var(--grey); }
.signup-field input, .signup-field select, .signup-field textarea {
  padding: 10px 14px; border: 1.5px solid var(--grey-lt); border-radius: 10px;
  font-family: inherit; font-size: .92rem; color: var(--text-dark);
}
.signup-field input:focus, .signup-field select:focus, .signup-field textarea:focus { outline: none; border-color: var(--navy-mid); }
.signup-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.signup-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-dark); }
.signup-platform-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.signup-platform-row label { display: flex; align-items: center; gap: 8px; font-size: .88rem; flex: 0 0 160px; }
.signup-platform-row input[type="url"] { flex: 1; min-width: 200px; padding: 9px 12px; border: 1.5px solid var(--grey-lt); border-radius: 10px; font-family: inherit; font-size: .88rem; }
.signup-hint { font-size: .8rem; color: var(--grey); margin-bottom: 12px; }
.signup-submit { background: var(--navy); color: #fff; border: none; padding: 13px 30px; border-radius: 30px; font-weight: 700; font-size: .95rem; cursor: pointer; }
.signup-submit:hover { background: var(--navy-mid); }
.signup-success { background: var(--gold-pale); border: 1px solid var(--gold); border-radius: var(--radius); padding: 30px; text-align: center; }
.signup-success h2 { color: var(--navy); margin-bottom: 10px; }
@media (max-width: 700px) {
  .signup-grid { grid-template-columns: 1fr; }
}
