/* AskGranCanaria.com – neutral base style. Colours and fonts are variables, so a restyle is easy. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2327;
  --muted: #5f6b73;
  --line: #e3e0d8;
  --accent: #0b6e69;       /* links and highlights */
  --on-accent: #ffffff;    /* text on accent-coloured buttons */
  --feat-bg: #fdf3dc;
  --feat-text: #7a5a06;
  --notice-bg: #fff4e5;
  --closed-bg: #fdecea;
  color-scheme: light;
  --accent-soft: #e3f1ef;
  --feat: #b8860b;         /* "Featured" label */
  --warn: #9a3412;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1120px, 100% - 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font); }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .4rem 0 .6rem; }
h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; }
h3, .h3 { font-size: 1.1rem; margin: 1.6rem 0 .6rem; }
h2.sub { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 1.6rem 0 .6rem; }
.wrap { width: var(--wrap); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header and footer */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .8rem 0; }
.brand { font-size: 1.25rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand b { color: var(--accent); }
.langs { display: flex; flex-wrap: wrap; gap: .15rem; }
.langs a { padding: .2rem .45rem; border-radius: 6px; font-size: .85rem; text-decoration: none; color: var(--muted); }
.langs a:hover { background: var(--accent-soft); color: var(--text); }
.langs a.on { background: var(--accent); color: var(--on-accent); }
.foot { margin-top: 4rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .92rem; }
main.wrap { padding-bottom: 2rem; }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 1.2rem 0 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .3rem; }
.crumbs a { color: var(--muted); }

/* Home */
.hero { padding: 2rem 0 .5rem; }
.langlist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.langlist a { display: inline-block; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.maincats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr)); gap: 1rem; }
.maincat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.maincat h3, .maincat .h3 { margin: 0 0 .6rem; }
.maincat h3 a, .maincat .h3 a { color: var(--text); text-decoration: none; }
.maincat h3 a:hover, .maincat .h3 a:hover { color: var(--accent); }
.count { color: var(--muted); font-weight: 400; font-size: .85em; }

/* Chips */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 999px; background: var(--accent-soft); font-size: .9rem; }
.chips a { text-decoration: none; }
.chips--areas li { background: var(--surface); border: 1px solid var(--line); }

/* Cards */
.cards { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: 1.2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card--feat { border-color: var(--feat); }
/* Every card image is exactly 3:2. The photo is laid over the box (position: absolute),
   so it can never change the box's size, whatever shape the uploaded photo has. */
.card__img { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 3 / 2; overflow: hidden; background: var(--accent-soft); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: var(--accent); font-weight: 600; }
.card__body { padding: .8rem 1rem 1rem; }
.card__title { margin: .1rem 0 .2rem; font-size: 1.05rem; }
.card__title a { color: var(--text); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__meta { margin: 0; font-size: .88rem; color: var(--muted); }
.card__text { margin: .5rem 0 0; font-size: .93rem; }
.card__warn { margin: .5rem 0 0; font-size: .88rem; color: var(--warn); font-weight: 600; }
.compact { columns: 16rem; column-gap: 2rem; padding-left: 1.1rem; }
.compact li { break-inside: avoid; margin-bottom: .3rem; }
.compact .muted { font-size: .85rem; }

/* Badges and notices */
.badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.badge--feat { background: var(--feat-bg); color: var(--feat-text); }
.badge--ok { background: var(--accent-soft); color: var(--accent); }
.notice { padding: .8rem 1rem; border-radius: var(--radius); background: var(--notice-bg); color: var(--warn); margin: 1rem 0; }
.notice--closed { background: var(--closed-bg); }

/* Business page */
.biz__head { margin-top: 1rem; }
.biz__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 0 0 .6rem; }
.tag { padding: .15rem .6rem; border-radius: 999px; background: var(--accent-soft); font-size: .88rem; text-decoration: none; }
.gallery { margin: 1.2rem 0; }
/* Always full width (so it lines up with the thumbnail row); only the height is limited. */
.gallery__main { margin: 0; width: 100%; height: min(60vh, 56.25vw); border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); }
.gallery__main { position: relative; }
.gallery__open { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
.gallery__thumb { cursor: zoom-in; }
/* All other photos in one row that scrolls sideways (swipe on phones). */
.gallery__thumbs { display: flex; gap: .5rem; margin-top: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; }
.gallery__thumb { position: relative; flex: 0 0 auto; width: clamp(8.5rem, 24%, 13.5rem); aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--accent-soft); scroll-snap-align: start; }
.gallery__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; transition: transform .2s; }
.gallery__thumb:hover img, .gallery__thumb:focus-visible img { transform: scale(1.04); }
.biz__grid { display: grid; grid-template-columns: 1fr; gap: 1rem 2.5rem; margin-top: 1rem; }
@media (min-width: 760px) { .biz__grid { grid-template-columns: 1.2fr 1fr; } }
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1rem; margin: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; }
.hours table { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: .3rem 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--muted); padding-right: 1rem; }
.desc { max-width: 70ch; }
.faq h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
.faq p { margin: 0; max-width: 70ch; }
.claim { margin: 2rem 0; padding: 1rem 1.2rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.near ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: .6rem; }
.near li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem .9rem; display: flex; flex-direction: column; }
.near .muted { font-size: .86rem; }

/* Lightbox: photo over the page with a 10px margin, close with the cross, Escape or a click outside. */
.lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 10px; background: rgb(10 14 16 / 92%); }
.lb[hidden] { display: none; }
.lb__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgb(0 0 0 / 50%); }
.lb__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 92%); color: #1d2327; font: 400 28px/1 var(--font); cursor: pointer; }
.lb__btn:hover { background: #fff; }
.lb__close { top: 18px; right: 18px; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 18px; } .lb__next { right: 18px; }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; opacity: .85; }

/* Placeholder behind every photo: shown instantly (inline SVG, no download), the real
   photo loads lazily on top and fades in. Businesses without a photo keep the placeholder. */
:root { --ph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='24' r='9' fill='%23b7d9d4'/%3E%3Cpath d='M6 42q6.5-5 13 0t13 0t13 0t13 0' fill='none' stroke='%23b7d9d4' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M6 50q6.5-5 13 0t13 0t13 0t13 0' fill='none' stroke='%23cfe6e2' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.card__img, .gallery__thumb { background: var(--accent-soft) var(--ph) center / 56px no-repeat; }
.gallery__main { background: var(--accent-soft) var(--ph) center / 96px no-repeat; }
.js .card__img img, .js .gallery__main img, .js .gallery__thumb img { opacity: 0; transition: opacity .4s ease; }
.js .card__img img.is-loaded, .js .gallery__main img.is-loaded, .js .gallery__thumb img.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .card__img img, .js .gallery__main img, .js .gallery__thumb img { transition: none; } }

/* ---------- Dark mode ----------
   Follows the device setting, unless the visitor chose with the ☾/☀ button (data-theme on <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #111615;
  --surface: #1a201f;
  --text: #e5ebe9;
  --muted: #9aa8a4;
  --line: #2c3533;
  --accent: #5cc6bb;
  --accent-soft: #173330;
  --on-accent: #0c1c1a;
  --feat: #d6ab45;
  --feat-bg: #3a2f12;
  --feat-text: #f1d28c;
  --warn: #f3a66d;
  --notice-bg: #3a2a18;
  --closed-bg: #3b1f1f;
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111615;
  --surface: #1a201f;
  --text: #e5ebe9;
  --muted: #9aa8a4;
  --line: #2c3533;
  --accent: #5cc6bb;
  --accent-soft: #173330;
  --on-accent: #0c1c1a;
  --feat: #d6ab45;
  --feat-bg: #3a2f12;
  --feat-text: #f1d28c;
  --warn: #f3a66d;
  --notice-bg: #3a2a18;
  --closed-bg: #3b1f1f;
  color-scheme: dark;
}

/* Theme button (only with JavaScript, since it needs it to work) */
.top__right { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.theme { display: none; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); font-size: 1rem; line-height: 1; cursor: pointer; }
.js .theme { display: inline-grid; }
.theme:hover { border-color: var(--accent); }

/* Meta lines are separate parts; site.css puts the familiar dot between them. */
.meta > span + span::before { content: " · "; }
/* The island locator belongs to the design layer (site2.css); hidden in the base look. */
.island { display: none; }

/* Search box with "Near me" (the button needs JavaScript, so it only shows with it) */
.searchbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 .5rem; max-width: 44rem; }
.searchbar input[type="search"] { flex: 1 1 16rem; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; }
.searchbar input[type="search"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.searchbar button { padding: .7rem 1.1rem; border-radius: var(--radius); font: 600 .95rem var(--font); cursor: pointer; }
.searchbar__go { border: 0; background: var(--accent); color: var(--on-accent); }
.searchbar__near { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.js .searchbar__near { display: inline-block; }
.searchbar__near:disabled { opacity: .7; cursor: wait; }
.hero--small { padding-bottom: 0; }
.near__more { margin: .8rem 0 0; }

/* Social posts: preview + caption first; the embed replaces the preview after consent.
   Every post has a shape: vertical (9:16), horizontal (16:9), square (1:1) or portrait (4:5). */
.posts__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr)); gap: 1.4rem; align-items: start; }
.post { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 640px) { .post--horizontal { grid-column: span 2; } }   /* wide videos get room */
.post__media { position: relative; overflow: hidden; border-radius: var(--radius); container-type: inline-size;
               background: var(--accent-soft) var(--ph, none) center / 56px no-repeat; aspect-ratio: 4 / 5; }
.post--vertical   .post__media { aspect-ratio: 9 / 16; }
.post--horizontal .post__media { aspect-ratio: 16 / 9; }
.post--square     .post__media { aspect-ratio: 1 / 1; }
.post--portrait   .post__media { aspect-ratio: 4 / 5; }
.post__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.post__consent { position: absolute; inset: auto 0 0 0; padding: .9rem; display: grid; gap: .4rem; background: linear-gradient(transparent, rgb(0 0 0 / 70%)); color: #fff; }
.post__consent small { font-size: .78rem; line-height: 1.35; opacity: .9; }
.post__load { justify-self: start; padding: .55rem .9rem; border: 0; border-radius: 6px; background: #fff; color: #1d2327; font: 600 .9rem var(--font); cursor: pointer; }

/* After consent: the platform's own player. Heights follow platform + shape, so nothing is cut off. */
.post__media.is-embed { aspect-ratio: auto; background: none; }
.post__frame { display: block; width: 100%; border: 0; border-radius: var(--radius); background: var(--surface); }
/* YouTube: exactly the video's shape */
.post--horizontal .post__media--youtube.is-embed .post__frame { aspect-ratio: 16 / 9; height: auto; }
.post--vertical   .post__media--youtube.is-embed .post__frame { aspect-ratio: 9 / 16; height: auto; }
/* Instagram / Facebook: the picture or video plus the platform's header and caption bar
   (fixed fallback first; with container units the height follows the width exactly) */
.post__media--instagram.is-embed .post__frame { height: 640px; }
.post--square     .post__media--instagram.is-embed .post__frame { height: calc(100cqw + 260px); }
.post--portrait   .post__media--instagram.is-embed .post__frame { height: calc(100cqw * 1.25 + 260px); }
.post--vertical   .post__media--instagram.is-embed .post__frame { height: calc(100cqw * 1.78 + 200px); }
.post--horizontal .post__media--instagram.is-embed .post__frame { height: calc(100cqw * .5625 + 260px); }
.post__media--facebook.is-embed .post__frame { height: 620px; }
.post--square     .post__media--facebook.is-embed .post__frame { height: calc(100cqw + 200px); }
.post--portrait   .post__media--facebook.is-embed .post__frame { height: calc(100cqw * 1.25 + 200px); }
.post--vertical   .post__media--facebook.is-embed .post__frame { height: calc(100cqw * 1.78 + 160px); }
.post--horizontal .post__media--facebook.is-embed .post__frame { height: calc(100cqw * .5625 + 200px); }
/* TikTok: a fixed-width vertical player */
.post__media--tiktok.is-embed .post__frame { height: 740px; max-width: 340px; margin: 0 auto; }

.post__text { margin: .7rem 0 .3rem; font-size: .95rem; }
.post__meta { margin: 0; font-size: .88rem; color: var(--muted); }

/* Logo: the island next to the name */
.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand__mark { width: 1.9em; height: 1.9em; flex: 0 0 auto; }

.posts__more { margin: 1rem 0 0; font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.2rem; margin: 1.6rem 0 .4rem; }
.foot__legal { font-size: .9rem; }

/* ---------- Package demo: four versions of one example page ---------- */
.pkgdemo { padding-bottom: 7rem; }
.pkg__example { display: inline-block; margin: 1rem 0 0; padding: .25rem .7rem; border: 1px dashed var(--line); border-radius: 999px; font-size: .85rem; color: var(--muted); }
.pkg__intro { margin-bottom: 1.6rem; }
.demo { padding-top: 1rem; border-top: 1px solid var(--line); }
.demo-link { color: var(--accent); text-decoration: underline; }
.demo-photo { position: absolute; inset: 0; display: block; }
.gallery__main, .gallery__thumb, .post__media, .card__img { position: relative; }
/* Demo photos: blue = new compared with the package one step lower; everything else grey */
.demo-photo { background: linear-gradient(135deg, #9EA4A7, #D6D9DA); }
:root[data-theme="dark"] .demo-photo { background: linear-gradient(135deg, #3A4043, #5E6568); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .demo-photo { background: linear-gradient(135deg, #3A4043, #5E6568); } }
.pkgdemo[data-view="1"] .demo-photo[data-t="1"], .pkgdemo[data-view="2"] .demo-photo[data-t="2"], .pkgdemo[data-view="3"] .demo-photo[data-t="3"] {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); }
.pkg__list { margin-top: 2rem; }

/* What the package doesn't have is hidden… */
.pkgdemo[data-view="0"] [data-tier="1"], .pkgdemo[data-view="0"] [data-tier="2"], .pkgdemo[data-view="0"] [data-tier="3"],
.pkgdemo[data-view="1"] [data-tier="2"], .pkgdemo[data-view="1"] [data-tier="3"],
.pkgdemo[data-view="2"] [data-tier="3"],
.pkgdemo[data-view="1"] [data-until="0"], .pkgdemo[data-view="2"] [data-until="0"], .pkgdemo[data-view="3"] [data-until="0"],
.pkgdemo[data-view="2"] [data-until="1"], .pkgdemo[data-view="3"] [data-until="1"],
.pkgdemo[data-view="3"] [data-until="2"] { display: none !important; }
/* …and what it adds compared with the previous package pulses between 70% and 100% */
@keyframes pkg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.pkgdemo[data-view="1"] [data-tier="1"], .pkgdemo[data-view="2"] [data-tier="2"], .pkgdemo[data-view="3"] [data-tier="3"] {
  animation: pkg-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pkgdemo[data-view="1"] [data-tier="1"], .pkgdemo[data-view="2"] [data-tier="2"], .pkgdemo[data-view="3"] [data-tier="3"] {
    animation: none; outline: 2px dashed var(--feat); outline-offset: 4px; }
}

/* Floating package menu */
.pkgmenu { position: fixed; z-index: 60; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
           display: flex; align-items: center; gap: .25rem; padding: .35rem; border-radius: 999px; max-width: calc(100vw - 1rem);
           background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px rgb(0 0 0 / 18%); }
@supports (backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px)) {
  .pkgmenu { background: color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
}
.pkgmenu button { display: grid; justify-items: center; gap: 0; padding: .45rem .9rem; border: 0; border-radius: 999px; background: none; color: var(--text); font: inherit; cursor: pointer; line-height: 1.2; }
.pkgmenu button b { font-size: .95rem; }
.pkgmenu button small { font-size: .72rem; color: var(--muted); }
.pkgmenu button:hover { background: var(--accent-soft); }
.pkgmenu button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.pkgmenu button[aria-pressed="true"] small { color: inherit; opacity: .85; }
.pkgmenu__cta { margin-left: .3rem; padding: .6rem 1rem; border-radius: 999px; background: var(--feat-bg); color: var(--feat-text); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .pkgmenu__cta { display: none; } .pkgmenu button { padding: .45rem .7rem; } }

/* =====================================================================
   Home landing page. Full-width bands, each with its own .wrap inside.
   Colours come from the variables, so light/dark mode and site2.css apply.
   ===================================================================== */
main.home { padding-bottom: 0; }
main.home + .foot { margin-top: 0; }
.top__cta { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 .9rem; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.top__cta:hover { filter: brightness(1.08); }
@media (max-width: 699px) { .top__cta { display: none; } }

/* Hero */
.hx { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hx__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hx__text { display: flex; flex-direction: column; gap: 1.2rem; }
.hx__badge { margin: 0; align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem .35rem .55rem; border-radius: 999px; background: var(--ok-bg, var(--accent-soft)); color: var(--ok, var(--accent)); font-size: .88rem; font-weight: 600; }
.hx__badge span { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.hx h1 { margin: 0; font-size: clamp(2.4rem, 5.6vw, 4.5rem); line-height: 1; letter-spacing: -0.035em; max-width: 16ch; }
.hx__lead { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; }
.searchbar--hero { max-width: none; margin: .4rem 0 0; padding: .4rem; gap: .4rem; background: var(--surface); border: 1.5px solid var(--text); border-radius: 14px; box-shadow: 0 10px 30px rgb(29 92 138 / 12%); }
.searchbar--hero input[type="search"] { border: 0; background: transparent; font-size: 1.05rem; padding: .75rem .8rem; }
.searchbar--hero input[type="search"]:focus { outline: 0; }
.searchbar--hero:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.searchbar--hero button { min-height: 2.9rem; border-radius: 10px; }
.hx__pop { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; }
.hx__pop span { color: var(--muted); margin-right: .2rem; }
.hx__pop a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; }
.hx__pop a:hover { border-color: var(--accent); color: var(--accent); }
.hx__map .island--hero { width: 100%; max-width: 30rem; margin: 0 auto; }
.island__label { font: 600 15px var(--font); fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.hx__hint { margin: .4rem 0 0; text-align: center; font-size: .85rem; color: var(--muted); }

/* Trust strip */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; padding: 1rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; font-size: .93rem; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust li::before { content: ""; width: 1rem; height: .55rem; border-left: 2.2px solid var(--ok, var(--accent)); border-bottom: 2.2px solid var(--ok, var(--accent)); transform: rotate(-45deg) translateY(-2px); flex: none; }

/* Sections */
.hsec { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.hsec h2, .how h2 { margin: 0 0 1.4rem; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.kicker { margin: 0 0 .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--feat-text); }
.also { margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .5rem; font-size: .95rem; }
.also > span:first-child { color: var(--muted); }
.also .count { margin-right: .6rem; }

/* Category tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tile a { height: 100%; display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile a:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 28px rgb(31 36 38 / 8%); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; }
.tile__icon { color: var(--accent); }
.tile__n { font-size: .85rem; color: var(--muted); }
.tile__name { font-family: var(--display, var(--font)); font-size: 1.5rem; font-weight: 700; line-height: 1.1; margin-top: auto; }
.tile__subs { font-size: .9rem; color: var(--muted); }
.tile--big { grid-column: span 2; }
.tile--big a { background: var(--tile-big-bg, #1F2426); border-color: transparent; color: #F5F4F1; }
.tile--big .tile__icon { color: var(--dune, #E3C68E); }
.tile--big .tile__n, .tile--big .tile__subs { color: #C9CDCC; }
.tile--big .tile__name { font-size: clamp(1.8rem, 3vw, 2.3rem); }
@media (prefers-reduced-motion: reduce) { .tile a { transition: none; } .tile a:hover { transform: none; } }

/* Featured favourites */
.favs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.favs a { display: flex; flex-direction: column; gap: .5rem; color: var(--text); text-decoration: none; }
.favs__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--feat-bg); }
.favs__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.favs a:hover .favs__img img { transform: scale(1.04); }
.favs__name { font-family: var(--display, var(--font)); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.favs a:hover .favs__name { color: var(--accent); }
.favs__meta { font-size: .88rem; color: var(--muted); }

/* Areas */
.arealist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.arealist a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.arealist a:hover { border-color: var(--accent); }
.arealist__name { font-family: var(--display, var(--font)); font-weight: 700; font-size: 1.15rem; }
.arealist__n { font-size: .88rem; color: var(--muted); white-space: nowrap; }

/* How we check */
.how { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: clamp(2.5rem, 6vw, 4rem) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how h2 { max-width: 20ch; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.how__steps li { counter-increment: step; }
.how__steps li::before { content: "0" counter(step); display: block; font-family: var(--display, var(--font)); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: .6rem; }
.how__steps h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.how__steps p { margin: 0; color: var(--muted); }

/* Owners band */
.owners { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: 24px; background: var(--owners-bg, #1D5C8A); color: #F5F4F1; }
.owners .kicker { color: var(--dune, #E3C68E); }
.owners h2 { color: #fff; }
.owners__text { margin: 0; color: rgb(255 255 255 / 82%); font-size: 1.05rem; max-width: 32em; }
.owners__find { display: flex; flex-direction: column; gap: .7rem; }
.owners__find label { font-size: .9rem; color: rgb(255 255 255 / 82%); }
.owners__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.owners__row input { flex: 1 1 11rem; min-width: 0; min-height: 3rem; padding: 0 .9rem; border-radius: 12px; border: 1px solid rgb(255 255 255 / 30%); background: rgb(0 0 0 / 18%); color: #fff; font: inherit; }
.owners__row input::placeholder { color: rgb(255 255 255 / 65%); }
.owners__row input:focus { outline: 2px solid var(--dune, #E3C68E); outline-offset: 1px; }
.owners__row button { min-height: 3rem; padding: 0 1.4rem; border: 0; border-radius: 12px; background: var(--dune, #E3C68E); color: #1F2426; font: 700 1rem var(--font); cursor: pointer; }
.owners__row button:hover { filter: brightness(1.06); }
.owners__add { color: var(--dune, #E3C68E); font-weight: 600; }
.owners__note { font-size: .85rem; color: rgb(255 255 255 / 70%); }

/* Tablet and phone */
@media (max-width: 900px) {
  .hx__in, .owners { grid-template-columns: minmax(0, 1fr); }
  .hx__map { order: -1; }
  .hx__map .island--hero { max-width: 18rem; }
  .tiles, .arealist, .favs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .trust ul { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .tiles, .arealist { grid-template-columns: minmax(0, 1fr); }
  .tile--big { grid-column: auto; }
  .hx__map .island--hero { max-width: 13rem; }
  .hx__hint { display: none; }
  .searchbar--hero input[type="search"] { flex-basis: 100%; }
  .searchbar--hero button { flex: 1; }
}

/* =====================================================================
   Start page "/": one big "continue" button and seven language doors.
   ===================================================================== */
.root__go { margin: .6rem 0 0; }
.root__btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.4rem; padding: 0 1.6rem; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 1.1rem; text-decoration: none; box-shadow: 0 10px 30px rgb(29 92 138 / 22%); transition: transform .15s; }
.root__btn:hover { transform: translateY(-2px); color: var(--on-accent); }
.root__langs { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.door { position: relative; height: 100%; display: flex; flex-direction: column; gap: .35rem; padding: 1.3rem 1.3rem 1.2rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.door:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 28px rgb(31 36 38 / 8%); color: var(--text); }
.door__code { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.door__name { font-family: var(--display, var(--font)); font-size: 1.6rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.door__line { font-size: .92rem; color: var(--muted); line-height: 1.4; padding-right: 1.6rem; }
.door__arrow { position: absolute; right: 1.2rem; bottom: 1.1rem; color: var(--accent); font-size: 1.2rem; transition: transform .15s; }
.door:hover .door__arrow { transform: translateX(3px); }
/* The visitor's own language (detected in the browser) stands out in sand. */
.door--you { background: var(--feat-bg); border-color: var(--feat); }
.door--you .door__code::after { content: " ✓"; }
.trust--end { border-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .door, .root__btn, .door__arrow { transition: none; } .door:hover, .root__btn:hover { transform: none; } }
@media (max-width: 900px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .doors { grid-template-columns: minmax(0, 1fr); } .root__btn { width: 100%; justify-content: center; } }

/* Duotone gradient icons (category tiles): blue outline, sand-to-orange accent */
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ig-b1 { stop-color: var(--ig-b1, #3A8FC9); } .ig-b2 { stop-color: var(--ig-b2, #15476E); }
.ig-o1 { stop-color: var(--ig-o1, #F6C46E); } .ig-o2 { stop-color: var(--ig-o2, #DE7F2C); }
.ig-l1 { stop-color: var(--ig-l1, #FFFFFF); } .ig-l2 { stop-color: var(--ig-l2, #BFD3E2); }
.tile__icon .i-main { stroke: url(#ig-b); }
.tile__icon .i-acc-s { stroke: url(#ig-o); }
.tile__icon .i-acc-f { fill: url(#ig-o); stroke: none; }
.tile__icon .i-w { stroke: #fff; fill: #fff; stroke-width: 1.6; }
.tile--big .tile__icon .i-main { stroke: url(#ig-l); }   /* on the dark tile: a light outline */

/* "Closed, or something wrong?" link under a listing */
.report { margin: .4rem 0 0; }
.report a { color: var(--muted); }
.report a:hover { color: var(--accent); }
