:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --sand: #f3ebe0;
  --ink: #1d2b2f;
  --muted: #56646a;
  --line: #e6dccf;
  --teal: #0e5459;
  --teal-dark: #093a3e;
  --teal-soft: #e3f0ef;
  --coral: #e2674b;
  --coral-text: #b2412a;
  --coral-soft: #fbe7e1;
  --radius: 18px;
  --radius-small: 10px;
  --shadow: 0 1px 2px rgba(29, 43, 47, .06), 0 8px 24px rgba(29, 43, 47, .06);
  --gap: clamp(16px, 3vw, 28px);
  --width: 1120px;
  --text: 720px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--font);
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--coral-text); }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; color: var(--teal-dark); }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
p, ul, ol { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--width)); margin-inline: auto; }
.wrap--text { width: min(100% - 32px, var(--text)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: var(--radius-small); z-index: 30; }
.skip:focus { left: 8px; }

/* Top bar */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-dark); font-weight: 700; font-size: 1.2rem; }
.brand__mark { width: 30px; height: 30px; border-radius: 50%; background: var(--coral); box-shadow: inset -8px -6px 0 var(--teal); flex: none; }
.brand__sub { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.menu-btn { display: none; font: inherit; font-size: .95rem; background: var(--teal); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 999px; font-size: .95rem; transition: background-color .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--teal-soft); color: var(--teal-dark); }

/* Breadcrumbs */
.crumbs { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--coral); }

/* Home hero */
.intro { padding: clamp(36px, 7vw, 72px) 0 clamp(28px, 5vw, 48px); }
.intro__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--gap); align-items: center; }
.intro__lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.intro__panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border-top: 6px solid var(--coral); }
.intro__panel ul { list-style: none; padding: 0; margin: 0; }
.intro__panel li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.intro__panel li:last-child { border-bottom: 0; }
.intro__panel b { color: var(--teal-dark); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--coral-text); background: var(--coral-soft); padding: 4px 12px; border-radius: 999px; }

/* Cards */
.section { padding: clamp(28px, 5vw, 56px) 0; }
.section--sand { background: var(--sand); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section__head h2 { margin-top: 0; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: var(--gap); }
.cards--three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__place { font-size: .85rem; color: var(--muted); margin: 0; }
.card__title { margin: 0; font-size: 1.2rem; }
.card__title a { text-decoration: none; color: var(--teal-dark); }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__text { margin: 0; color: var(--ink); font-size: .97rem; }
.card__meta { margin: auto 0 0; padding-top: 10px; font-size: .85rem; color: var(--teal); font-weight: 600; }
.card--rank .card__body { padding-top: 14px; }
.card__rank { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 700; font-size: .95rem; background: var(--coral-text); }

.more-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.more-list a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); padding: 14px 16px; text-decoration: none; color: var(--teal-dark); font-weight: 600; }
.more-list a:hover { border-color: var(--coral); }
.more-list span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }

.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.teaser { background: var(--teal); color: #fff; border-radius: var(--radius); padding: 26px; }
.teaser--coral { background: var(--coral-soft); color: var(--ink); }
.teaser h2 { color: inherit; margin-top: 0; }
.teaser a { color: inherit; font-weight: 700; }
.teaser--coral a { color: var(--coral-text); }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.trust__item { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.trust__item h3 { margin-top: 0; }

/* Hotel page */
.hero { padding-bottom: 8px; }
.hero__place { margin: 18px 0 0; font-weight: 600; color: var(--coral-text); }
.hero__verdict { font-size: 1.12rem; background: var(--surface); border-left: 5px solid var(--coral); border-radius: var(--radius-small); padding: 14px 18px; box-shadow: var(--shadow); }
.byline { font-size: .92rem; color: var(--muted); }
.hero__photo { margin: 20px auto 0; width: min(100% - 32px, var(--width)); }
.hero__photo img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.hero__photo figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

.facts { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 20px; margin: 28px 0 8px; width: 100%; border-collapse: collapse; }
.facts caption { text-align: left; font-weight: 700; color: var(--teal-dark); padding: 14px 0 4px; caption-side: top; }
.facts th, .facts td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 38%; font-weight: 600; color: var(--muted); }
.facts__note { font-size: .85rem; color: var(--muted); }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proscons__box { border-radius: var(--radius); padding: 18px 20px; }
.proscons__box--plus { background: var(--teal-soft); }
.proscons__box--minus { background: var(--coral-soft); }
.proscons__box h3 { margin-top: 0; }
.proscons__box ul { margin: 0; padding-left: 1.1em; }
.proscons__box li { margin-bottom: 6px; }

.cta { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: .98rem; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--teal); background: var(--teal); color: #fff; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: var(--teal-soft); color: var(--teal-dark); }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-small); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--teal-dark); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { padding: 12px 18px 2px; margin: 0 0 12px; }

.related { margin-top: 36px; padding: 32px 0 8px; border-top: 1px solid var(--line); }

/* Text pages */
.page { padding-bottom: 48px; }
.page table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-small); overflow: hidden; margin-bottom: 1.2em; font-size: .95rem; }
.page th, .page td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.page thead th { background: var(--teal); color: #fff; }
.note { background: var(--coral-soft); border-radius: var(--radius-small); padding: 14px 18px; }
.authors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 1em; }
.author { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.author h3 { margin-top: 0; }

/* Footer */
.footer { background: var(--teal-dark); color: #d9e6e5; margin-top: 40px; padding: 36px 0 90px; font-size: .93rem; }
.footer a { color: #fff; }
.footer__age { display: flex; gap: 14px; align-items: flex-start; }
.footer__badge { flex: none; border: 2px solid var(--coral); color: #fff; border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.footer__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0; }
.footer__btn { font: inherit; color: #fff; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__small { color: #a9c0bf; font-size: .85rem; }

/* Cookie banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 12px; }
.consent[hidden] { display: none; }
.consent__box { width: min(100%, 960px); margin-inline: auto; background: var(--surface); border-radius: var(--radius); box-shadow: 0 -2px 30px rgba(9, 58, 62, .25); padding: 18px 20px; border-top: 5px solid var(--coral); display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; font-size: .93rem; }
.consent__title { font-weight: 700; color: var(--teal-dark); margin: 0 0 4px; font-size: 1rem; }
.consent__text { margin: 0; }
.consent__prefs { margin-top: 12px; display: grid; gap: 8px; }
.consent__prefs[hidden] { display: none; }
.consent__prefs label { display: flex; gap: 8px; align-items: baseline; }
.consent__prefs input { accent-color: var(--teal); width: 18px; height: 18px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.consent__actions .btn { font-size: .92rem; padding: 9px 16px; }
.consent__actions .btn[hidden] { display: none; }

@media (max-width: 860px) {
  .intro__grid, .teasers, .trust, .authors { grid-template-columns: 1fr; }
  .cards--three { grid-template-columns: 1fr; }
  .consent__box { grid-template-columns: 1fr; }
  .consent__actions { justify-content: stretch; }
  .consent__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 720px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--surface); flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); z-index: 10; }
  .nav--open { display: flex; }
  .proscons { grid-template-columns: 1fr; }
  .facts th { width: 44%; }
  body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav a, .more-list a { transition: none; }
}
