/* RoomsCroatia for guests. Layout: a photo-led coastline opening, then the app, the destinations and a ferry-route
   line through the four steps to an agreed stay. Brand colours and Poppins come from the main site; the cool
   sea-mist neutral keeps this guest page distinct from the cream main page. No third-party requests. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/poppins-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(fonts/poppins-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(fonts/poppins-latin-ext-800-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap;
  src: url(fonts/poppins-latin-800-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Colour: sea-mist ground, white surfaces, brand sea teal, deep harbour night, brand red for the one action. */
  --mist: #eef4f4; --surface: #ffffff; --shallows: #e1edee; --ink: #10252c; --muted: #4a6067; --line: #cfdfe1;
  --sea: #0a5c78; --sea-text: #0a5c78; --night: #042f3d; --foam: #9fe0ee; --red: #e0000b; --red-hover: #b80009;
  --on-night: #f2f9fa; --on-night-muted: #b9d3d9; --scrim: rgba(3, 30, 40, .82);
  --shadow: 0 1px 2px rgba(6, 42, 54, .08), 0 18px 40px -22px rgba(6, 42, 54, .45);
  /* Type: Poppins for display and labels, the system face for reading. */
  --display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step-hero: clamp(2.6rem, 6.4vw, 5.6rem); --step-h2: clamp(2rem, 4vw, 3.4rem); --step-h3: 1.32rem;
  --radius: 22px; --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --mist: #0a171b; --surface: #10222a; --shallows: #163039; --ink: #e6f0f2; --muted: #a5babf; --line: #24434c;
    --sea: #0a5c78; --sea-text: #8bd6ea; --night: #031f29; --foam: #9fe0ee; --red: #ef1a24; --red-hover: #ff3b44;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 18px 40px -22px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 17px/1.62 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--sea-text); text-underline-offset: .18em; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: var(--step-h2); font-weight: 800; white-space: pre-line; }
h3 { font-size: var(--step-h3); font-weight: 600; letter-spacing: -.01em; }
p, ul, ol, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--foam); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 9px 14px; border-radius: 8px; background: var(--surface); color: var(--ink); }
.skip:focus { left: 8px; }
.ico { width: 24px; height: 24px; flex: none; fill: currentColor; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--sea-text); font: 600 .78rem/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section { padding-block: clamp(76px, 10vw, 132px); }
.section-head { display: grid; gap: 18px; max-width: 760px; }
.section-head p { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }

/* Preview notice, only in local builds without a domain. */
.preview { position: relative; z-index: 20; padding-block: 8px; background: #ffd56a; color: #1e1b10; text-align: center; font: 600 .82rem/1.35 var(--display); }

/* Buttons */
.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 25px;
  border: 1px solid transparent; border-radius: 999px; font: 600 1rem/1.15 var(--display); text-align: center; text-decoration: none;
  transition: transform .16s, background-color .16s, border-color .16s, color .16s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 26px -16px rgba(224, 0, 11, .9); }
.btn-red:hover { background: var(--red-hover); }
.btn-glass { border-color: rgba(255, 255, 255, .58); background: rgba(255, 255, 255, .08); color: var(--on-night); backdrop-filter: blur(5px); }
.btn-glass:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }
.btn-small { min-height: 42px; padding-inline: 17px; font-size: .9rem; }

/* Opening: real Primošten photo, guest promise, current app home screen. */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-night); background: var(--night); }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; }
.hero-photo img { max-width: none; object-fit: cover; object-position: 33% 48%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(180deg, rgba(3, 30, 40, .72) 0, rgba(3, 30, 40, 0) 190px),
              linear-gradient(90deg, rgba(3, 30, 40, .93) 0%, rgba(3, 30, 40, .78) 43%, rgba(3, 30, 40, .16) 76%),
              linear-gradient(0deg, rgba(3, 30, 40, .45), transparent 32%); }
.topbar { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--on-night); text-decoration: none; font: 800 1.22rem/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.brand b { color: #ff5058; font-weight: 800; }
.menu { display: flex; align-items: center; gap: 24px; }
.menu a:not(.btn) { color: var(--on-night-muted); font: 600 .92rem/1.2 var(--display); text-decoration: none; }
.menu a:not(.btn):hover { color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .62fr); align-items: end; gap: clamp(40px, 7vw, 100px);
  padding-block: clamp(44px, 7vw, 92px) 0; }
.hero-copy { display: grid; justify-items: start; gap: 25px; padding-bottom: clamp(70px, 10vw, 128px); }
.hero .eyebrow { color: var(--foam); }
.hero h1 { max-width: 9.6em; font-size: var(--step-hero); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.hero h1 span { display: block; color: var(--foam); }
.hero-intro { max-width: 34em; color: var(--on-night-muted); font-size: clamp(1.08rem, 1.7vw, 1.27rem); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 9px 22px; padding: 0; list-style: none; color: var(--on-night-muted); font-size: .92rem; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .ico { width: 18px; height: 18px; fill: var(--foam); }
.place-tag { position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 17px; display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255, 255, 255, .88); font: 600 .76rem/1 var(--display); letter-spacing: .02em; text-shadow: 0 1px 7px rgba(0, 0, 0, .55); }
.place-tag .ico { width: 16px; height: 16px; }
.hero-phone { align-self: end; justify-self: center; width: min(100%, 330px); margin-bottom: -2px; }

/* Device frame for the real app screenshots. */
.phone { position: relative; width: 100%; max-width: 100%; aspect-ratio: 540 / 1110; padding: 9px; border-radius: 42px;
  background: #111b1f; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, var(--shadow); }
.phone img { display: block; width: 100%; height: 100%; border-radius: 33px; object-fit: cover; object-position: top; }
.hero .phone { border-radius: 42px 42px 0 0; padding-bottom: 0; }
.hero .phone img { border-radius: 33px 33px 0 0; }

/* Promise row directly under the opening. */
.promises { position: relative; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--line); }
.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; }
.promise-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 17px; padding: 34px clamp(18px, 3vw, 40px); }
.promise-list li + li { border-left: 1px solid var(--line); }
.promise-list .ico { width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: var(--shallows); fill: var(--sea-text); }
.promise-list h2 { font-size: 1.16rem; font-weight: 600; letter-spacing: -.01em; white-space: normal; }
.promise-list p { margin-top: 4px; color: var(--muted); font-size: .97rem; }

/* App showcase: tabs + one phone when scripting runs; all panels stack without it. */
.showcase { display: grid; gap: 48px; margin-top: 54px; }
.tabs { display: none; }
.js .tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); cursor: pointer; font: 600 .92rem/1 var(--display); }
.tab:hover { border-color: var(--sea-text); }
.tab[aria-selected="true"] { border-color: var(--sea); background: var(--sea); color: #fff; }
.panels { display: grid; gap: 74px; }
.js .panels { gap: 0; }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); align-items: center; gap: clamp(36px, 7vw, 92px); }
.panel-copy { display: grid; gap: 19px; min-width: 0; }
.panel-copy p { color: var(--muted); font-size: 1.07rem; }
.checks { display: grid; gap: 12px; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.checks .ico { margin-top: 1px; fill: #23845b; }
.panel .phone { width: min(100%, 340px); justify-self: center; }
.demo-note { display: flex; gap: 10px; max-width: 760px; margin-top: 34px; color: var(--muted); font-size: .9rem; }
.demo-note .ico { width: 20px; height: 20px; fill: var(--sea-text); }

/* Smaller app features, divided by rules instead of cards. */
.more { margin-top: clamp(68px, 9vw, 104px); }
.more h3 { margin-bottom: 26px; }
.feature-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature-row article { display: grid; align-content: start; gap: 10px; padding: 28px 24px 0 0; }
.feature-row article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.feature-row .ico { fill: var(--sea-text); }
.feature-row h4 { margin: 0; font: 600 1.05rem/1.25 var(--display); }
.feature-row p { color: var(--muted); font-size: .95rem; }

/* Destinations from the app's 8 regions, linked to the main site's regional guides. */
.places-section { background: var(--surface); }
.places-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.places-head > a { flex: none; font: 600 .95rem/1.3 var(--display); }
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.place { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 18px;
  background: var(--shallows); color: #fff; text-decoration: none; }
.place img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 30, 40, .82), rgba(3, 30, 40, 0) 58%); }
.place span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.place b { font: 600 1.05rem/1.2 var(--display); }
.place small { color: rgba(255, 255, 255, .82); font-size: .82rem; font-variant-numeric: tabular-nums; }
.place:hover img { transform: scale(1.035); }
.photo-note { margin-top: 16px; color: var(--muted); font-size: .86rem; }

/* Process: four true steps on a dashed ferry route. */
.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 58px; padding: 0; list-style: none; counter-reset: step; }
.route li { position: relative; display: grid; align-content: start; gap: 12px; counter-increment: step; }
.route li::before { content: counter(step); position: relative; z-index: 1; display: grid; width: 54px; height: 54px; place-items: center;
  border: 2px solid var(--sea); border-radius: 50%; background: var(--mist); color: var(--sea-text); font: 800 1.15rem/1 var(--display); }
.route li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 66px; right: -18px; border-top: 2px dashed var(--line); }
.route li:last-child::before { border-color: #23845b; background: #23845b; color: #fff; }
.route p { color: var(--muted); }
.agreement { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; max-width: 900px; margin-top: 52px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.agreement .ico { margin-top: 2px; fill: var(--sea-text); }
.agreement b { display: block; font-family: var(--display); }
.agreement p { color: var(--muted); }

/* Download band: same dark harbour colour in both themes. */
.download { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); }
.download::before { content: ""; position: absolute; inset: auto -10% -42% 46%; height: 82%; border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 155, 196, .3), rgba(42, 155, 196, 0) 68%); pointer-events: none; }
.download-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: clamp(46px, 9vw, 120px); }
.download .eyebrow { color: var(--foam); }
.download h2 { margin-top: 18px; }
.download-copy > p { max-width: 35em; margin-top: 20px; color: var(--on-night-muted); font-size: 1.1rem; }
.download .actions { margin-top: 32px; }
.download-note { margin-top: 13px; color: var(--on-night-muted); font-size: .9rem; }
.fallback { margin-top: 22px; }
.fallback > a { color: #fff; font: 600 .96rem/1.3 var(--display); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; padding: 0; list-style: none; color: var(--on-night-muted); font-size: .9rem; }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .ico { width: 18px; height: 18px; fill: var(--foam); }
.install { max-width: 680px; margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); }
.install summary { cursor: pointer; padding-block: 15px 4px; color: #fff; font: 600 .95rem/1.3 var(--display); }
.install p { color: var(--on-night-muted); font-size: .94rem; }
.qr-card { display: grid; justify-items: center; gap: 12px; padding: 22px; border-radius: 28px; background: #fff; color: #06465c; box-shadow: 0 24px 50px -30px #000; }
.qr-card svg { display: block; width: 100%; max-width: 230px; height: auto; }
.qr-card figcaption { font: 600 .9rem/1.2 var(--display); }
.qr-card small { color: #49646b; font-size: .78rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(36px, 8vw, 110px); }
.faq-intro { display: grid; align-content: start; gap: 20px; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; padding: 22px 46px 22px 0; list-style: none; font: 600 1.06rem/1.35 var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; color: var(--sea-text); font: 400 1.75rem/1 var(--display); transform: translateY(-52%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 64ch; padding-bottom: 24px; color: var(--muted); }

/* Footer */
footer { padding-block: 64px 30px; background: #021d26; color: #c5dce1; }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 42px; }
footer .brand { color: #fff; }
.foot p { max-width: 30em; margin-top: 17px; color: #b2cbd1; }
.foot address { margin-top: 20px; color: #91aeb5; font-size: .88rem; font-style: normal; line-height: 1.6; }
.foot h2 { margin-bottom: 15px; color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .02em; white-space: normal; }
.foot ul { display: grid; gap: 9px; padding: 0; list-style: none; font-size: .92rem; }
.foot a { color: #d9edf1; text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: #fff; text-decoration: underline; }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social .ico { width: 18px; height: 18px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13); color: #8eaab1; font-size: .82rem; }

@media (max-width: 980px) {
  .menu a:not(.btn) { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr); }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row article:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature-row article:nth-child(n+3) { margin-top: 28px; }
  .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 46px; }
  .route li:nth-child(2)::after { display: none; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .topbar { min-height: 78px; }
  .brand { font-size: 1.08rem; }
  .brand img { width: 40px; height: 40px; }
  .hero::before { background: linear-gradient(180deg, rgba(3, 30, 40, .52) 0%, rgba(3, 30, 40, .82) 45%, rgba(3, 30, 40, .96) 100%); }
  .hero-photo img { object-position: 35% 45%; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; padding-top: 48px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: none; }
  .hero-phone { width: min(78vw, 300px); }
  .actions .btn { width: 100%; }
  .place-tag { display: none; }
  .promise-list { grid-template-columns: 1fr; }
  .promise-list li { padding-inline: 0; }
  .promise-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .panel { grid-template-columns: 1fr; }
  .panel .phone { width: min(74vw, 300px); }
  .js .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { justify-content: center; padding-inline: 10px; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row article, .feature-row article + article { padding: 24px 0 0; border-left: 0; }
  .feature-row article:nth-child(n+2) { margin-top: 24px; border-top: 1px solid var(--line); }
  .places-head { display: grid; }
  .places { gap: 10px; }
  .place span { left: 12px; right: 12px; bottom: 12px; }
  .place b { font-size: .95rem; }
  .route { grid-template-columns: 1fr; gap: 34px; }
  .route li { grid-template-columns: 54px minmax(0, 1fr); column-gap: 18px; }
  .route li::before { grid-row: 1 / span 2; }
  .route li:not(:last-child)::after { display: block; top: 62px; bottom: -28px; left: 26px; right: auto; border-top: 0; border-left: 2px dashed var(--line); }
  .route li:nth-child(2)::after { display: block; }
  .agreement { padding: 18px; }
  .download-grid, .faq-grid { grid-template-columns: 1fr; }
  .qr-card { width: min(100%, 300px); justify-self: center; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
