/* layouts/panorama.css — „Panoráma“: navy and turquoise, a full-bleed photo
   with the heading over it. The accent (theme.accent, default turquoise)
   always meets the navy --ground: navy text on accent buttons and the strip,
   accent text and icons on the navy bands; the loader requires 4.5 : 1. */
:root {
  --ground: #0e2a47; --ground-3: #0a1f35;
  --bg: #fff; --bg-alt: #eef5f6; --ink: #10243a; --muted: #4b5e70; --line: #d5e2e6;
  --on-dark: #eaf1f6; --on-dark-muted: #b3c4d3; --on-dark-line: rgba(255, 255, 255, .18);
  --accent: #3cc5b8; --focus: #0e2a47;
  --max: 1140px; --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; color: var(--ground); }
a { color: var(--ground); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.p-hero, .p-path-urgent, .p-contact-card, .p-foot { --focus: var(--accent); }
.p-notice { --focus: var(--ground); } /* the strip is the accent itself */

/* the notice strip */
.p-notice { background: var(--accent); color: var(--ground); }
.p-notice p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .6rem; margin: 0; padding-top: .55rem; padding-bottom: .55rem; text-align: center; font-size: .95rem; }
.p-notice .icon { width: 1.15rem; height: 1.15rem; }
.p-notice a { color: var(--ground); font-weight: 800; white-space: nowrap; text-decoration-color: var(--ground); }

/* the hero: photo, shade, menu bar and the heading over it */
.p-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(31rem, 74vh, 44rem); color: #fff; background: var(--ground); }
.p-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.p-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 31, 53, .78) 0%, rgba(10, 31, 53, .35) 32%, rgba(10, 31, 53, .55) 58%, rgba(10, 31, 53, .94) 100%); }
.p-bar { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; width: 100%; min-height: 4.25rem; }
.p-brand { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto; color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.p-brand .icon { color: var(--accent); }
.p-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.5rem; }
.p-nav a { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; padding: .3rem 0; border-bottom: 2px solid transparent; }
.p-nav a:hover { border-bottom-color: var(--accent); }
.nav-toggle, .nav-burger { display: none; }
.p-hero-text { width: 100%; margin-top: auto; padding-top: 2rem; padding-bottom: 5.5rem; }
.p-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); line-height: 1.08; max-width: 14em; margin-bottom: 1rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.p-tagline { max-width: 36rem; font-size: 1.15rem; color: #e4edf4; margin: 0 0 1.5rem; }
.p-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.p-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 999px; background: var(--accent); color: var(--ground); font-weight: 800; text-decoration: none; white-space: nowrap; }
.p-btn .icon { width: 1.2rem; height: 1.2rem; }
.p-btn:hover { filter: brightness(1.08); }
.p-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.p-btn-ghost:hover { background: rgba(255, 255, 255, .12); filter: none; }

/* signposts right under the hero */
.p-paths { position: relative; z-index: 2; margin-top: -3.5rem; }
.p-path-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.p-path { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 40px -18px rgba(10, 31, 53, .45), 0 0 0 1px var(--line); }
.p-path h2, .p-path h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.p-path p { color: var(--muted); margin-bottom: .9rem; }
.p-path-icon { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--bg-alt); color: var(--ground); }
.p-path-icon .icon { width: 1.7rem; height: 1.7rem; }
.p-path-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; }
.p-path-link .icon { width: 1.1rem; height: 1.1rem; }
.p-path-urgent { background: var(--ground); box-shadow: 0 18px 40px -18px rgba(10, 31, 53, .6); }
.p-path-urgent h2, .p-path-urgent h3 { color: #fff; }
.p-path-urgent p { color: var(--on-dark-muted); }
.p-path-urgent .p-path-icon { background: var(--accent); }
.p-path-urgent .p-path-link { color: var(--accent); text-decoration-color: var(--accent); }

/* sections */
.p-section { padding: 4rem 0; }
.p-alt { background: var(--bg-alt); }
.p-section > .wrap > h2, .p-faq > h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.3rem); }
.p-lead { max-width: 44rem; font-size: 1.1rem; color: var(--muted); }
.p-paths + .p-section { padding-top: 3.5rem; }

/* service cards with a photo */
.p-cards { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .p-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .p-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.p-card-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.p-card-body { padding: 1.25rem 1.35rem 1.5rem; }
.p-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; margin-bottom: .5rem; }
.p-card-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--ground); color: var(--accent); }
.p-card-icon .icon { width: 1.25rem; height: 1.25rem; }
.p-card p { margin: 0; color: var(--muted); }

/* the timeline: down on phones, across from 900 px */
.p-timeline { list-style: none; counter-reset: p-step; padding: 0; margin: 2rem 0 1.5rem; display: grid; gap: 1.75rem; }
.p-timeline li { counter-increment: p-step; position: relative; padding-left: 3.75rem; }
.p-timeline li::before { content: counter(p-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ground); color: #fff; font-weight: 800; box-shadow: 0 0 0 5px var(--bg-alt), 0 0 0 7px var(--accent); }
.p-timeline li::after { content: ""; position: absolute; left: 1.24rem; top: 3rem; bottom: -1.6rem; width: 3px; border-radius: 2px; background: var(--accent); }
.p-timeline li:last-child::after { display: none; }
.p-timeline h3 { font-size: 1.15rem; margin: .45rem 0 .3rem; }
.p-timeline p { margin: 0; color: var(--muted); }
.p-step-img { display: block; width: 100%; max-width: 20rem; margin-top: .75rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (min-width: 900px) {
  .p-timeline { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.5rem; }
  .p-timeline li { padding-left: 0; padding-top: 3.75rem; }
  .p-timeline li::after { left: 3.4rem; right: -1.25rem; top: 1.18rem; bottom: auto; width: auto; height: 3px; }
  .p-timeline h3 { margin-top: 0; }
}

/* photos */
.p-photos { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.p-photos figure { margin: 0; }
.p-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.p-photos figcaption { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

/* prices: a card per group */
.p-price-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: start; }
.p-price-card { padding: 1.4rem 1.5rem .6rem; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.p-price-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.p-price-list { margin: 0; }
.p-price-list div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: baseline; padding: .8rem 0; border-top: 1px solid var(--line); }
.p-price-list dt { font-weight: 600; }
.p-price-list dd { margin: 0; font-weight: 800; white-space: nowrap; color: var(--ground); }
.p-note { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); }
.p-price-list .p-hl { margin: 0 -.75rem; padding-left: .75rem; padding-right: .75rem; border-radius: 8px; border-top-color: transparent; background: color-mix(in srgb, var(--accent) 22%, #fff); }
.p-price-list .p-hl + div { border-top-color: transparent; }

/* story and questions */
.p-split { display: grid; gap: 2rem; align-items: center; }
.p-split-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .p-split { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.p-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 1.5rem; }
.p-facts div { display: flex; flex-direction: column-reverse; }
.p-facts dt { color: var(--muted); font-size: .9rem; }
.p-facts dd { margin: 0; font-size: 1.6rem; font-weight: 800; color: var(--ground); }
.p-faq .faq, .p-faq .p-lead { max-width: 50rem; }
.faq summary { font-size: 1.05rem; }
.faq summary::after { color: var(--ground); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--bg-alt); font-size: 1.2rem; }

/* contact */
.p-contact { background: var(--bg-alt); }
.p-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 900px) { .p-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.p-contact-card { padding: 1.75rem; border-radius: var(--radius); background: var(--ground); color: var(--on-dark); }
.p-contact-card a { color: #fff; }
.p-company { margin: 0 0 .25rem; color: #fff; font-size: 1.35rem; font-weight: 700; }
.p-booking { color: var(--on-dark-muted); }
.p-contact-card .contact-list { font-size: 1.1rem; }
.p-contact-card .contact-list .label, .p-contact-card .note { color: var(--on-dark-muted); }
.p-contact-card .hours th, .p-contact-card .hours td { border-bottom-color: var(--on-dark-line); }
.p-hours { margin-top: 1.5rem; }
.p-hours h3 { color: #fff; font-size: 1.1rem; }
.p-contact .contact-form:not(.demo-form) { padding: 1.75rem; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.p-contact .demo-form { border-radius: var(--radius); background: #fff; border-color: #9fb4c2; }
.p-contact .demo-form p { color: var(--muted); }

/* footer */
.p-foot { background: var(--ground-3); color: var(--on-dark-muted); padding: 2rem 0 1.25rem; }
.p-foot a { color: #fff; }
.p-foot-grid { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; align-items: center; padding-bottom: 1.25rem; border-bottom: 1px solid var(--on-dark-line); }
.p-foot-grid p { margin: 0; }
.p-foot-brand { display: inline-flex; align-items: center; gap: .5rem; margin-right: auto !important; color: #fff; font-weight: 700; font-size: 1.1rem; }
.p-foot-brand .icon { color: var(--accent); }
.p-foot-credit p { margin: 1rem 0 0; font-size: .875rem; }

/* phones: the burger menu over the photo (checkbox toggle, site.js keeps the label in step) */
@media (max-width: 899.98px) {
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 2.75rem; height: 2.75rem; padding: 0 .55rem; border-radius: 8px; cursor: pointer; background: rgba(10, 31, 53, .55); }
  .nav-burger span { display: block; height: 2px; border-radius: 1px; background: #fff; }
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--accent); outline-offset: 2px; }
  .p-nav { display: none; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; width: 100%; gap: 0; margin-bottom: .75rem; padding: .35rem 1rem; border-radius: 12px; background: var(--ground); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); }
  .p-nav a { padding: .8rem 0; border-bottom: 1px solid var(--on-dark-line); }
  .p-nav a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .p-nav { display: flex; }
  .p-hero-text { padding-bottom: 4.75rem; }
  .p-paths { margin-top: -2.75rem; }
}
@media (max-width: 479.98px) {
  .p-path { flex-direction: column; gap: .75rem; padding: 1.35rem; }
  .p-btn { padding: .8rem 1.1rem; }
}
