@font-face { font-family: Manrope; src: url('/fonts/manrope-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('/fonts/manrope-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Unbounded; src: url('/fonts/unbounded-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
:root { --pine: #173b36; --pine-deep: #0d2d29; --mint: #dce9d7; --cream: #f7f4ed; --paper: #fffdf8; --coral: #ea7059; --coral-dark: #c75542; --ink: #20352f; --muted: #77867e; --line: #e4e9df; --shadow: 0 20px 55px rgba(25, 58, 46, .11); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Manrope, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; }
svg { width: 20px; height: 20px; flex: none; }
.leaflet-overlay-pane > svg { width: auto; height: auto; }
#app { min-height: 100vh; }
::selection { background: #d8e7c6; color: var(--pine-deep); }
.eyebrow, .section-kicker { display: block; color: var(--coral-dark); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #dcdfc9; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.052em; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.primary-button { width: 100%; border: 0; border-radius: 17px; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 20px 19px 23px; font-weight: 700; transition: transform .25s, background .25s, box-shadow .25s; box-shadow: 0 10px 24px rgba(199, 77, 57, .2); }
.primary-button:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(199, 77, 57, .25); }
.primary-button svg { width: 21px; height: 21px; }
.toast { position: fixed; z-index: 9000; left: 50%; bottom: 24px; width: max-content; max-width: calc(100vw - 36px); transform: translate(-50%, 110px); background: var(--pine-deep); color: #fff; padding: 14px 19px; border-radius: 14px; box-shadow: var(--shadow); font-size: 13px; transition: transform .35s; }
.toast.show { transform: translate(-50%, 0); }

/* Invitation and sign in */
.login-screen { min-height: 100svh; background: #143b35; color: #fff; position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.login-screen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 22%, rgba(180, 211, 176, .16), transparent 42%), linear-gradient(175deg, #1b4940 5%, #143a34 60%, #0c2926 100%); z-index: -2; }
.login-orb { position: absolute; width: 360px; height: 360px; border: 1px solid rgba(246, 243, 218, .12); border-radius: 50%; pointer-events: none; }
.orb-one { top: -230px; right: -110px; animation: orb-float 14s ease-in-out infinite; }
.orb-two { top: -158px; right: -35px; width: 240px; height: 240px; animation: orb-float 11s ease-in-out infinite reverse; }
.login-content { width: min(100%, 460px); min-height: 100svh; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 26px calc(25px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; position: relative; z-index: 2; }
.login-top { display: flex; align-items: center; justify-content: space-between; }
.mini-logo { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.42); border-radius: 15px; color: #fff; font-family: Unbounded, Manrope, sans-serif; font-size: 22px; letter-spacing: -.14em; padding-right: 5px; }
.mini-logo span, .brand-mark span, .ticket-logo span { color: var(--coral); }
.top-line { color: #c8d6c8; font-size: 9px; letter-spacing: .2em; font-weight: 700; }
.login-copy { margin-top: auto; position: relative; z-index: 3; padding-top: 178px; }
.gift-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(214, 231, 206, .14); border: 1px solid rgba(214, 231, 206, .24); padding: 8px 11px; border-radius: 30px; font-size: 9px; font-weight: 700; letter-spacing: .16em; color: #e4ecd9; }
.gift-pill svg { width: 14px; height: 14px; color: #ebaa84; }
.login-copy h1 { margin: 22px 0 13px; font-size: clamp(50px, 11vw, 72px); line-height: 1.02; letter-spacing: -.075em; font-weight: 700; }
.title-heart { color: var(--coral); font-family: Manrope, Arial, sans-serif; font-style: normal; }
.login-copy p { max-width: 320px; color: #cadad0; font-size: 15px; line-height: 1.75; margin-bottom: 0; }
.login-form { margin-top: 34px; }
.login-form label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; color: #f6f6ea; }
.input-wrap { position: relative; }
.input-wrap input { display: block; width: 100%; height: 61px; padding: 0 50px 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; outline: none; color: #fff; background: rgba(255,255,255,.095); letter-spacing: .045em; transition: border-color .2s, background .2s; }
.input-wrap input::placeholder { color: #a9c1b8; }
.input-wrap input:focus { border-color: #eaa386; background: rgba(255,255,255,.14); }
.input-star { position: absolute; right: 18px; top: 16px; font-size: 25px; color: #ddbfa0; }
.login-form .primary-button { margin-top: 12px; }
.login-home { margin-top: 18px; padding: 8px 0; border: 0; background: transparent; color: #dce8d8; font-size: 12px; font-weight: 700; text-align: left; }
.form-error { color: #ffcab9; font-size: 12px; margin: 7px 0 0; min-height: 16px; }
.login-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 27px; color: #a4beb2; font-size: 10px; }
.login-scene { pointer-events: none; position: absolute; inset: 70px 0 auto; height: 390px; overflow: hidden; z-index: 0; }
.scene-sun { position: absolute; width: 102px; height: 102px; top: 8px; right: 19%; border-radius: 50%; background: #e8b996; box-shadow: 0 0 80px #e8b99655; animation: sun-breathe 7s ease-in-out infinite; }
.mountain { position: absolute; left: -10%; width: 120%; bottom: 15px; height: 210px; clip-path: polygon(0 88%, 12% 55%, 25% 75%, 41% 19%, 52% 50%, 65% 13%, 79% 58%, 90% 34%, 100% 73%, 100% 100%, 0 100%); }
.mountain-back { background: #497465; opacity: .78; transform: translateY(-20px); }
.mountain-front { background: #2c594d; clip-path: polygon(0 73%, 17% 50%, 28% 66%, 43% 37%, 60% 67%, 74% 35%, 91% 60%, 100% 48%, 100% 100%, 0 100%); }
.scene-road { position: absolute; bottom: -19px; left: 30%; width: 72%; height: 130px; border-top: 3px dashed rgba(233, 195, 157, .7); transform: rotate(-15deg); border-radius: 50%; animation: road-dash 12s linear infinite; }
.scene-car { position: absolute; bottom: 51px; left: 25%; display: grid; place-items: center; width: 44px; height: 24px; background: #e66b55; border-radius: 10px 13px 5px 5px; color: #fff; font-size: 12px; box-shadow: 0 10px 0 -7px #162e2c; transform: rotate(-9deg); animation: car-bob 3s ease-in-out infinite; }
.scene-car::before, .scene-car::after { content: ''; position: absolute; bottom: -5px; width: 8px; height: 8px; border-radius: 50%; background: #0d2927; }
.scene-car::before { left: 7px; }.scene-car::after { right: 7px; }

/* Shared shell */
.site-header { height: 78px; max-width: 1320px; margin: auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { border: 0; background: transparent; display: flex; align-items: center; gap: 10px; color: var(--pine); text-align: left; padding: 0; }
.brand-mark { width: 43px; height: 43px; border-radius: 13px; background: var(--pine); color: #fff; display: grid; place-items: center; padding-right: 4px; font: 500 21px Unbounded, sans-serif; letter-spacing: -.16em; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; font-size: 11px; font-weight: 700; letter-spacing: .075em; }
.brand-copy small { font-size: 9px; color: #819187; font-weight: 400; letter-spacing: .015em; }
.round-button { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #e0e6da; border-radius: 50%; background: var(--paper); color: var(--pine); }
.round-button:hover { color: var(--coral); transform: scale(1.04); }
.round-button svg { width: 19px; height: 19px; }
.bottom-nav { position: fixed; z-index: 500; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-around; padding: 9px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,253,248,.96); border-top: 1px solid #e5e9e0; backdrop-filter: blur(18px); box-shadow: 0 -7px 30px rgba(37, 55, 44, .055); }
.bottom-nav button { min-width: 0; flex: 1; border: 0; background: transparent; display: flex; align-items: center; flex-direction: column; gap: 4px; padding: 3px 5px; color: #8c9a91; font-size: 10px; font-weight: 700; text-align: center; }
.bottom-nav button span { display: grid; place-items: center; height: 27px; }
.bottom-nav button.active { color: var(--pine); }
.bottom-nav button.active span { color: var(--coral); }
.bottom-nav svg { width: 21px; height: 21px; }
.home-page { padding-bottom: 95px; }
.home-hero { background: var(--pine); min-height: 608px; position: relative; overflow: hidden; border-radius: 0 0 26px 26px; color: #fff; isolation: isolate; }
.home-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 86% 45%, rgba(209, 221, 165, .16), transparent 42%), linear-gradient(135deg, #214e43, #123831 70%); z-index: -2; }
.hero-stamp { width: fit-content; margin: 28px 24px 0; padding: 10px 12px; border: 1px solid #a8c0ab50; border-radius: 50px; font-size: 8px; font-weight: 700; letter-spacing: .13em; color: #d6e6d6; }
.hero-stamp span { color: #edb09a; margin: 0 7px; }
.hero-copy { position: relative; z-index: 3; padding: 60px 24px 0; max-width: 650px; }
.hero-copy h1 { font-size: clamp(48px, 12vw, 75px); line-height: 1.06; margin: 15px 0 19px; font-weight: 700; }
.hero-copy h1 em { color: #dce8d2; }
.hero-copy p { max-width: 335px; color: #d2e0d5; line-height: 1.75; font-size: 14px; margin-bottom: 24px; }
.hero-action { color: var(--pine); background: #f6f5e9; border: 0; border-radius: 12px; display: flex; gap: 17px; align-items: center; padding: 7px 7px 7px 17px; font-size: 12px; font-weight: 700; }
.hero-action span { background: var(--coral); color: #fff; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; transition: transform .25s; }
.hero-action:hover span { transform: translateX(3px); }
.hero-action svg { width: 18px; height: 18px; }
.hero-landscape { position: absolute; width: 100%; height: 260px; bottom: 0; left: 0; z-index: 1; overflow: hidden; }
.hero-sun { position: absolute; right: 12%; top: 0; width: 82px; height: 82px; background: #edbb91; border-radius: 50%; box-shadow: 0 0 80px #edbb9155; animation: sun-breathe 7s infinite ease-in-out; }
.hero-hill { position: absolute; width: 120%; left: -10%; bottom: -4px; height: 180px; }
.hero-hill.back { background: #6b8b73; clip-path: polygon(0 80%, 12% 49%, 27% 72%, 44% 14%, 57% 67%, 72% 26%, 87% 67%, 100% 42%, 100% 100%, 0 100%); }
.hero-hill.front { background: #2a594a; clip-path: polygon(0 57%, 16% 24%, 32% 56%, 48% 35%, 60% 63%, 75% 28%, 90% 46%, 100% 20%, 100% 100%, 0 100%); }
.hero-winding { position: absolute; bottom: -28px; left: 32%; width: 88%; height: 93px; border-top: 3px dashed #e7c6a0aa; border-radius: 50%; transform: rotate(-17deg); }
.hero-tiny-car { position: absolute; bottom: 75px; left: 50%; color: #fff; background: var(--coral); width: 47px; height: 24px; border-radius: 11px 11px 6px 6px; display: grid; place-items: center; font-size: 11px; transform: rotate(-12deg); animation: car-bob 3s ease-in-out infinite; }
.hero-tiny-car::after { content: ''; width: 37px; height: 7px; position: absolute; bottom: -5px; left: 5px; border-left: 8px solid #162d29; border-right: 8px solid #162d29; }
.hero-side-text { display: none; }
.intro-strip { padding: 27px 22px; max-width: 1310px; margin: auto; display: flex; align-items: center; gap: 14px; color: #8b9a8c; font-size: 9px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }
.intro-line { height: 1px; background: #cbd6c9; flex: 1; }
.section-heading { margin-bottom: 23px; }
.section-heading h2 { margin: 8px 0 10px; font-size: clamp(32px, 8vw, 48px); line-height: 1.16; }
.section-heading p { color: #71847b; line-height: 1.65; font-size: 13px; margin: 0; }
.map-section .section-heading .map-instructions { display: grid; gap: 7px; width: min(100%, 670px); margin-top: 18px; padding: 16px 20px; border: 1px solid #d4e2cf; border-left: 5px solid var(--coral); border-radius: 16px; background: #eaf2e5; color: var(--pine-deep); box-shadow: 0 8px 22px rgba(25, 58, 46, .08); line-height: 1.4; }
.map-instructions strong { font-size: clamp(21px, 4.3vw, 29px); line-height: 1.2; }
.map-instructions span { font-size: clamp(16px, 3.6vw, 18px); font-weight: 700; line-height: 1.45; }
.heading-spark { color: var(--coral); font-size: 28px; vertical-align: top; }
.map-section, .routes-section { max-width: 1310px; margin: auto; padding: 17px 20px 44px; }
.map-frame { position: relative; height: 440px; border-radius: 24px; border: 7px solid #fff; background: #e7eadf; overflow: hidden; box-shadow: var(--shadow); }
.leaflet-map, .detail-map, .journey-map { width: 100%; height: 100%; }
.map-frame .leaflet-container, .detail-map.leaflet-container, .journey-map.leaflet-container { background: #dce8d8; font-family: Manrope, sans-serif; }
.leaflet-tile { filter: saturate(.78) contrast(.91) sepia(.08); }
.leaflet-control-attribution { font-size: 7px !important; background: #ffffffbd !important; }
.leaflet-control-zoom { border: 0 !important; box-shadow: 0 7px 20px #31584925 !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-control-zoom a { color: var(--pine) !important; border-color: #e6e8df !important; }
.map-compass { position: absolute; top: 13px; left: 14px; z-index: 400; background: var(--paper); color: var(--pine); width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; font-size: 9px; font-weight: 700; line-height: .75; box-shadow: 0 5px 16px #31584922; }
.map-caption { position: absolute; bottom: 17px; left: 12px; z-index: 400; border-radius: 50px; padding: 9px 12px; font-size: 9px; font-weight: 700; background: #fff; box-shadow: 0 5px 18px #31584922; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 4px; box-shadow: 0 0 0 4px #ed705b33; animation: pin-pulse 2s infinite; }
.map-attribution { color: #92a095; font-size: 9px; line-height: 1.5; margin: 11px 5px 0; }
.photo-pin-wrap { border: 0; background: none; }
.photo-pin { position: relative; width: 54px; height: 54px; padding: 4px; border-radius: 50%; background: #fff; border: 2px solid var(--coral); box-shadow: 0 6px 17px #20453555; transition: transform .25s; animation: pin-appear .6s both; }
.photo-pin:hover { transform: translateY(-7px) scale(1.08); }
.photo-pin::after { content: ''; position: absolute; bottom: -11px; left: 18px; width: 13px; height: 13px; transform: rotate(45deg); background: #fff; border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral); z-index: -1; }
.photo-pin img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.photo-pin span { display: grid; place-items: center; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: #fff; right: -5px; top: -4px; font-size: 10px; border: 2px solid #fff; }
.photo-pin-wrap.visited .photo-pin { border-color: #417f65; box-shadow: 0 6px 18px #24594466; }
.photo-pin-wrap.visited .photo-pin span { background: #417f65; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 3px 0 17px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: none; border: 1px solid #d8e2d9; background: #fffdf9; color: #5d7167; border-radius: 50px; padding: 10px 15px; font-size: 11px; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.filter-chip:hover { transform: translateY(-2px); }
.filter-chip.selected { background: var(--pine); border-color: var(--pine); color: #fff; }
.route-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.route-card { display: grid; grid-template-columns: 107px 1fr 20px; align-items: center; gap: 14px; width: 100%; padding: 10px; border: 1px solid #e7ebe3; border-radius: 20px; background: #fffdf9; color: var(--ink); text-align: left; box-shadow: 0 5px 18px rgba(33, 63, 48, .045); transition: transform .25s, box-shadow .25s, border-color .25s; }
.route-card:hover { transform: translateY(-4px); border-color: #c4d6c8; box-shadow: var(--shadow); }
.card-image { position: relative; width: 107px; height: 111px; border-radius: 13px; overflow: hidden; background: #dce7d7; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.route-card:hover .card-image img { transform: scale(1.08); }
.card-index { position: absolute; top: 8px; left: 8px; border-radius: 7px; background: rgba(255,255,255,.92); color: var(--pine); font-size: 9px; font-weight: 700; padding: 5px 6px; }
.card-content { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.card-tag { color: var(--coral-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 8px; font-weight: 700; margin-bottom: 6px; }
.card-content strong { font-size: 15px; line-height: 1.18; letter-spacing: -.035em; }
.card-content small { color: #88988e; font-size: 10px; line-height: 1.45; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #697c71; font-size: 9px; font-weight: 700; margin-top: 10px; }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--coral); }
.card-arrow { color: var(--coral); display: grid; place-items: center; align-self: end; margin-bottom: 9px; }
.card-arrow svg { width: 17px; height: 17px; }
.closing-note { margin-top: 20px; background: #e5eadb; padding: 54px 25px 60px; text-align: center; border-radius: 25px 25px 0 0; }
.closing-note > span { font-size: 29px; color: var(--coral); }
.closing-note h2 { font-size: clamp(33px, 8vw, 50px); line-height: 1.17; margin: 18px auto 12px; }
.closing-note h2 em { color: #638271; }
.closing-note p { max-width: 310px; margin: auto; color: #738576; line-height: 1.7; font-size: 12px; }
.reveal { animation: rise-in .6s both; animation-delay: var(--delay, 0ms); }
/* Journey animation */
.journey-overlay { position: fixed; z-index: 2000; inset: 0; color: #fff; background: var(--pine); animation: overlay-in .35s both; }
.journey-overlay.leaving { animation: overlay-out .4s both; }
.journey-map { position: absolute; inset: 0; z-index: 0; }
.journey-map .leaflet-tile { filter: saturate(.68) contrast(.87) sepia(.13); }
.journey-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(12,43,38,.85), transparent 40%, transparent 62%, rgba(12,43,38,.82)); }
.journey-head { position: absolute; left: 28px; right: 25px; top: max(35px, env(safe-area-inset-top)); pointer-events: none; }
.journey-head h2 { font-size: clamp(42px, 11vw, 69px); line-height: 1.08; margin: 13px 0 8px; }
.journey-head h2 em { color: #efd9b9; }
.journey-head p { color: #dbe8d8; font-size: 12px; }
.journey-bottom { position: absolute; left: 27px; right: 27px; bottom: calc(28px + env(safe-area-inset-bottom)); }
.journey-progress { height: 3px; background: rgba(255,255,255,.3); border-radius: 50px; overflow: hidden; }
.journey-progress span { display: block; width: 100%; height: 100%; background: #ef9b7d; transform-origin: left; transform: scaleX(0); }
.journey-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; font-weight: 700; }
.journey-bottom button { display: flex; align-items: center; gap: 9px; margin: 34px 0 0 auto; border: 0; background: #fff; color: var(--pine); border-radius: 12px; padding: 10px 13px; font-size: 11px; font-weight: 700; }
.journey-bottom button svg { width: 15px; height: 15px; }
.moving-dash { animation: road-dash 1s linear infinite; }
.car-pin-wrap { border: 0; background: none; }
.car-pin { width: 58px; height: 44px; filter: drop-shadow(0 9px 8px #1a3c3650); }
.car-pin svg { width: 58px; height: 40px; }
.journey-shade { z-index: 1; }
.journey-head, .journey-bottom { z-index: 3; }
.journey-celebration { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.heart-firework { position: absolute; width: 0; height: 0; }
.firework-heart { position: absolute; left: 0; top: 0; width: 21px; height: 21px; color: #ed655c; opacity: 0; filter: drop-shadow(0 2px 4px #9f373b55); animation: heart-firework 1.3s ease-out var(--delay) both; }
.firework-heart:nth-child(3n) { color: #ffd4ad; }
.firework-heart:nth-child(4n) { color: #ff9fb0; }
.firework-heart svg { width: 100%; height: 100%; fill: currentColor; }
.photo-pin-wrap.arrived .photo-pin { animation: destination-arrive .75s ease-out both; }

/* Destination */
.detail-page { max-width: 960px; margin: auto; background: #fffdf9; min-height: 100vh; padding-bottom: 110px; }
.detail-hero { position: relative; height: min(68vh, 600px); min-height: 430px; overflow: hidden; color: #fff; background: var(--pine); }
.detail-hero > img { width: 100%; height: 100%; object-fit: cover; animation: photo-zoom 1.3s both; }
.detail-photo-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, #08292372, transparent 38%, #0e2b29db); }
.back-float { position: absolute; top: max(22px, env(safe-area-inset-top)); left: 20px; border: 1px solid #ffffff66; background: #ffffff33; backdrop-filter: blur(12px); color: #fff; width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; }
.back-float:hover { background: #ffffff55; }
.detail-counter { position: absolute; top: max(36px, calc(env(safe-area-inset-top) + 14px)); right: 20px; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.detail-hero-copy { position: absolute; left: 24px; right: 24px; bottom: 40px; }
.detail-hero-copy h1 { font-size: clamp(48px, 11.5vw, 79px); line-height: 1.03; margin-bottom: 10px; text-shadow: 0 3px 30px #0b241f66; overflow-wrap: anywhere; text-wrap: balance; }
.detail-hero-copy p { color: #f4efe4; font-size: 15px; margin-bottom: 0; }
.detail-hero { touch-action: pan-y; }
.detail-photo-shade { pointer-events: none; }
.detail-hero-copy { bottom: 65px; pointer-events: none; }
.gallery-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 44px; height: 52px; display: grid; place-items: center; border: 1px solid #ffffff77; border-radius: 16px; background: #173b36a6; color: white; font: 38px/1 Georgia, serif; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: #173b36ee; transform: translateY(-50%) scale(1.06); }
.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }
.gallery-count { position: absolute; z-index: 4; right: 23px; bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #fff; text-shadow: 0 1px 8px #102822; }
.gallery-dots { position: absolute; z-index: 4; left: 22px; bottom: 15px; display: flex; align-items: center; gap: 7px; }
.gallery-dot { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #ffffff66; cursor: pointer; transition: width .2s, background .2s; }
.gallery-dot.active { width: 25px; border-radius: 8px; background: #fff; }
.detail-hero:focus-visible { outline: 3px solid #edbd81; outline-offset: -3px; }
.detail-content { padding: 0 23px; }
.weather-section { margin: 24px 0 3px; padding: 21px 18px 16px; border: 1px solid #dce8dc; border-radius: 24px; background: linear-gradient(155deg, #f0f5e9 0%, #e7efe6 62%, #edf1e8 100%); box-shadow: 0 14px 38px rgba(40, 75, 52, .065); overflow: hidden; }
.weather-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.weather-heading h2 { color: var(--pine); font-size: clamp(25px, 6vw, 34px); line-height: 1.12; margin: 8px 0 6px; }
.weather-heading p { color: #779082; font-size: 11px; margin: 0; }
.weather-heading-star { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; background: #f8dfc9; color: #cf7859; font-size: 27px; }
.weather-forecast { margin-top: 21px; }
.weather-days { display: flex; gap: 9px; list-style: none; margin: 0; padding: 0 0 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #bed2c0 transparent; scrollbar-width: thin; }
.weather-day { flex: 0 0 130px; min-height: 196px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; padding: 14px 12px 12px; border: 1px solid #e2e9dd; border-radius: 17px; background: rgba(255, 253, 249, .94); color: var(--pine); box-shadow: 0 5px 18px rgba(38, 75, 51, .04); }
.weather-day.today { color: #fffdf8; border-color: var(--pine); background: linear-gradient(150deg, #22594b, #143b35 78%); box-shadow: 0 10px 22px rgba(18, 59, 49, .18); }
.weather-weekday { font-size: 11px; font-weight: 700; }
.weather-day.today .weather-weekday { color: #f6d6c2; }
.weather-date { margin-top: 2px; font-size: 10px; color: #899c90; }
.weather-day.today .weather-date { color: #c9dfcf; }
.weather-icon { display: grid; place-items: center; height: 51px; margin: 7px 0 1px; color: #7eaa8c; }
.weather-day.sunny .weather-icon { color: #dfab67; }
.weather-day.rainy .weather-icon, .weather-day.stormy .weather-icon { color: #7396aa; }
.weather-day.snowy .weather-icon { color: #8daabc; }
.weather-day.today .weather-icon { color: #f1c595; }
.weather-icon svg { width: 48px; height: 48px; }
.weather-high { font-family: Unbounded, Manrope, sans-serif; font-size: 22px; line-height: 1.2; letter-spacing: -.07em; }
.weather-low { margin-top: 3px; font-size: 10px; color: #86998b; }
.weather-day.today .weather-low { color: #c2d8c8; }
.weather-condition { margin-top: 10px; min-height: 27px; font-size: 10px; line-height: 1.3; font-weight: 700; }
.weather-precipitation { margin-top: auto; padding-top: 5px; font-size: 9px; color: #85998d; white-space: nowrap; }
.weather-day.today .weather-precipitation { color: #d1e1d4; }
.weather-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; color: #82988a; font-size: 9px; line-height: 1.5; }
.weather-footer a { color: #496e61; text-underline-offset: 2px; font-weight: 700; }
.weather-loading, .weather-error { min-height: 165px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 20px; border: 1px dashed #c7d9c6; border-radius: 17px; background: #ffffffa8; color: #6c8776; text-align: center; font-size: 12px; }
.weather-loading::before { content: '✳'; color: var(--coral); font-size: 23px; animation: sun-breathe 2s ease-in-out infinite; }
.weather-error { flex-direction: column; gap: 12px; }
.weather-error button { border: 1px solid #bdd1bd; border-radius: 20px; background: #fff; color: var(--pine); padding: 8px 15px; font-size: 11px; font-weight: 700; }
@media (min-width: 950px) {
  .weather-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; padding-bottom: 0; }
  .weather-day { min-width: 0; padding-left: 10px; padding-right: 10px; }
}
.detail-facts { display: flex; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.detail-facts > span:not(.fact-divider) { display: flex; align-items: center; gap: 8px; color: #698075; font-size: 11px; }
.detail-facts svg { width: 18px; height: 18px; color: var(--coral); }
.detail-facts b { color: var(--pine); }
.fact-divider { height: 21px; width: 1px; background: var(--line); }
.detail-lead { padding: 41px 0 34px; }
.detail-lead h2 { font-size: clamp(27px, 7vw, 40px); line-height: 1.2; margin: 10px 0 14px; }
.detail-lead p { color: #74857b; line-height: 1.8; font-size: 13px; margin: 0; }
.detail-map-section { overflow: hidden; background: #e5eddf; border-radius: 22px; padding: 17px; margin-bottom: 47px; }
.section-kicker { color: var(--pine); padding-bottom: 13px; }
.detail-map { height: 310px; border-radius: 14px; overflow: hidden; }
.map-addresses { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--pine); font-size: 10px; font-weight: 700; }
.map-addresses span { display: flex; align-items: center; gap: 5px; }
.map-addresses i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: none; }
.map-addresses span:last-child i { background: var(--pine); }
.directions-link { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 11px; font-weight: 700; color: var(--coral-dark); text-decoration: none; }
.directions-link svg { width: 16px; height: 16px; }
.map-disclaimer { margin: 8px 0 0; color: #819386; font-size: 9px; line-height: 1.5; }
.detail-section { margin-bottom: 41px; }
.detail-section h2, .packing-section h2, .booking-section h2 { font-size: clamp(29px, 7.5vw, 41px); margin: 9px 0 24px; line-height: 1.15; }
.timeline { padding-left: 8px; }
.timeline-item { display: flex; gap: 18px; min-height: 63px; position: relative; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 17px; top: 34px; bottom: -1px; border-left: 1px dashed #bfcfc1; }
.timeline-number { width: 35px; height: 35px; border: 1px solid #c6d7c8; background: #e9efe6; color: var(--pine); border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
.timeline-item p { padding-top: 6px; margin-bottom: 8px; color: #4a6556; font-size: 13px; font-weight: 600; line-height: 1.5; }
.timeline-time { display: block; margin-bottom: 2px; color: var(--pine); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.packing-section { background: #f3f5ed; border-radius: 23px; padding: 26px 20px; margin-bottom: 20px; }
.packing-section h2 { margin-bottom: 7px; }
.packing-heading p { color: #8a9b8d; font-size: 11px; margin-bottom: 22px; }
.packing-list { display: grid; gap: 8px; }
.pack-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fffdf8; border: 1px solid #e6ebe0; border-radius: 12px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .2s, border-color .2s; }
.pack-item:hover { transform: translateX(3px); border-color: #b4cdbb; }
.pack-item input { position: absolute; opacity: 0; }
.pack-check { width: 20px; height: 20px; border: 1.5px solid #b8cbbb; color: transparent; border-radius: 5px; display: grid; place-items: center; font-size: 12px; }
.pack-item input:checked + .pack-check { color: #fff; background: var(--coral); border-color: var(--coral); }
.pack-item input:checked ~ span:last-child { text-decoration: line-through; color: #9aa99c; }
.pack-item:focus-within { outline: 2px solid var(--coral); outline-offset: 2px; }
.route-note { background: #fff5e8; border-left: 3px solid #e5a072; padding: 17px 18px; border-radius: 5px 15px 15px 5px; margin-bottom: 46px; }
.route-note span { color: #b35b42; font-size: 9px; letter-spacing: .09em; font-weight: 700; }
.route-note p { color: #705b4b; line-height: 1.65; font-size: 12px; margin: 9px 0 0; }
.booking-section { border-top: 1px solid var(--line); padding: 40px 0 26px; }
.booking-section > p { color: #788c7e; font-size: 12px; line-height: 1.7; max-width: 420px; }
.booking-section form { display: grid; gap: 14px; margin-top: 22px; }
.booking-section form label { color: #4e695a; font-weight: 700; font-size: 11px; }
.booking-section input, .booking-section select { appearance: none; width: 100%; margin-top: 8px; border: 1px solid #dbe5d9; border-radius: 12px; height: 54px; padding: 0 14px; color: var(--pine); background: #fbfcf7; outline: none; }
.booking-section input:focus, .booking-section select:focus { border-color: var(--coral); }
.booking-section .form-error { color: #bd4d3f; margin: -5px 0 0; }
.completed-action { margin: 18px 0 36px; padding: 26px 23px; border-radius: 22px; background: #e9f1e6; border: 1px solid #d6e4d5; }
.visited-shortcut { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 15px; margin: 17px 0 28px; padding: 15px; border-radius: 15px; background: #e8f0e3; color: var(--pine); font-size: 12px; font-weight: 700; }
.visited-shortcut span { flex: 1 1 100%; }
.visited-shortcut button { padding: 9px 12px; border: 1px solid #c1d5bf; border-radius: 9px; background: #fffdf8; color: var(--pine); font-size: 11px; font-weight: 700; }
.completed-action h2 { margin: 9px 0; font-size: clamp(28px, 7vw, 37px); }
.completed-action > p { color: #5d7667; font-size: 13px; line-height: 1.65; }
.completed-action form { display: grid; gap: 12px; margin-top: 18px; }
.completed-action form label { color: var(--pine); font-size: 12px; font-weight: 700; }
.completed-action input { display: block; width: 100%; height: 50px; margin-top: 8px; padding: 0 13px; border: 1px solid #cbdccc; border-radius: 12px; background: #fffdf8; color: var(--pine); font: inherit; }
.completed-action .form-error { color: #bd4d3f; }
.completed-here { margin-top: 17px; color: #557364; font-size: 12px; }
.completed-here button { display: block; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--pine); font-weight: 700; text-decoration: underline; }
.existing-booking { background: #eaf0e5; border-radius: 12px; color: var(--pine); padding: 13px 14px; font-size: 11px; }
.existing-booking strong { display: block; font-size: 13px; margin-top: 4px; }
.photo-credit { font-size: 10px; color: #7e9183; margin: 11px 23px 0; line-height: 1.5; }
.photo-credit a { color: #7b8d7e; }
.route-source { font-size: 10px; color: #7b8d7e; margin: 7px 0 0; line-height: 1.5; }
.route-source a { color: var(--pine); text-decoration: underline; text-underline-offset: 2px; }
.detail-bottom-bar { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 700; display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: center; gap: 9px; background: #fffdf9f2; backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); }
.detail-bottom-bar button { display: flex; align-items: center; justify-content: space-between; width: min(100%, 440px); margin: auto; padding: 15px 18px; border: 0; border-radius: 13px; color: #fff; background: var(--coral); font-size: 13px; font-weight: 700; }
.detail-bottom-bar button svg { width: 19px; height: 19px; }
.detail-bottom-bar #detail-complete-cta { background: var(--pine); }
.detail-bottom-bar #detail-complete-cta span { font-size: 18px; }

/* Bookings */
.bookings-page { max-width: 800px; min-height: calc(100vh - 78px); margin: auto; padding: 45px 22px 130px; }
.page-intro h1 { font-size: clamp(47px, 10vw, 70px); margin: 10px 0 13px; }
.page-intro h1 em { color: #668670; }
.page-intro p { color: #809187; font-size: 13px; line-height: 1.6; }
.booking-list { display: grid; gap: 14px; margin-top: 32px; }
.booking-card { position: relative; display: flex; gap: 15px; align-items: center; min-height: 124px; padding: 12px; border-radius: 18px; background: #fffdf9; border: 1px solid #e6ebe3; box-shadow: 0 9px 27px rgba(37, 59, 44, .05); }
.booking-card > img { width: 94px; height: 98px; border-radius: 11px; object-fit: cover; flex: none; }
.booking-card-copy { min-width: 0; padding-right: 20px; }
.booking-status { color: #64856a; font-size: 8px; font-weight: 700; letter-spacing: .09em; }
.booking-card.cancelled { opacity: .52; }
.booking-card h3 { font-size: 17px; margin: 7px 0 4px; letter-spacing: -.035em; }
.booking-card p { margin: 0; font-size: 10px; color: #708479; line-height: 1.5; }
.booking-card small { color: #9ca89f; font-size: 9px; display: block; margin-top: 5px; }
.cancel-booking { position: absolute; right: 10px; top: 10px; width: 25px; height: 25px; border: 0; border-radius: 50%; background: #f3f1ea; color: #8e9b8f; font-size: 19px; line-height: 20px; }
.planned-route-link { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--coral-dark); font-size: 11px; font-weight: 700; }
.journeys-page { max-width: 880px; }
.visited-section, .visited-list, .plans-list { margin-top: 39px; }
.visited-section h2, .visited-list h2, .plans-list h2 { margin-bottom: 17px; color: var(--pine); font-size: clamp(23px, 5vw, 31px); letter-spacing: -.04em; }
.visited-section h2 span, .visited-list h2 span, .plans-list h2 span { color: var(--coral); }
.visited-map-frame { height: clamp(320px, 55vw, 470px); overflow: hidden; border: 6px solid #fff; border-radius: 22px; background: #e5eddf; box-shadow: var(--shadow); }
.memory-list { display: grid; gap: 13px; }
.memory-card { width: 100%; display: flex; align-items: center; gap: 15px; padding: 12px; border: 1px solid #dce9d9; border-radius: 18px; background: var(--paper); color: var(--ink); text-align: left; box-shadow: 0 8px 24px rgba(25, 58, 46, .06); }
.memory-card > img { width: 100px; height: 110px; flex: none; object-fit: cover; border-radius: 12px; }
.memory-card-copy { display: grid; gap: 6px; min-width: 0; }
.memory-card-copy strong { font-size: 17px; line-height: 1.25; }
.memory-card-copy small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #71867a; font-size: 11px; line-height: 1.45; }
.memory-rating { color: var(--coral-dark); font-size: 11px; font-weight: 700; }
.memory-card-arrow { margin-left: auto; color: var(--coral); font-size: 24px; }
.journey-empty { padding: 22px; border: 1px dashed #b9cdbb; border-radius: 18px; background: #eff4e9; }
.journey-empty > span { color: var(--coral); font-size: 32px; }
.journey-empty p, .journey-muted { color: #74877b; font-size: 13px; line-height: 1.6; }
.journey-empty button { border: 0; padding: 10px 0; background: none; color: var(--pine); font-weight: 700; }
.cancelled-list { margin-top: 32px; color: #7c8a80; font-size: 12px; }
.cancelled-list summary { cursor: pointer; }
.memory-page { max-width: 800px; margin: auto; padding: 27px 20px 140px; }
.memory-back { border: 0; padding: 6px 0 18px; background: none; color: var(--pine); font-weight: 700; }
.memory-cover { height: clamp(240px, 50vw, 360px); position: relative; overflow: hidden; border-radius: 22px; background: #dce8d7; }
.memory-cover img { width: 100%; height: 100%; object-fit: cover; }
.memory-cover > span { position: absolute; left: 16px; bottom: 16px; padding: 10px 13px; border-radius: 50px; background: #fffdf8; color: var(--coral-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.memory-title { margin: 26px 0; }
.memory-title h1 { margin: 7px 0 8px; font-size: clamp(34px, 8vw, 54px); line-height: 1.14; }
.memory-title p, .memory-photos-section > p { color: #71867a; font-size: 13px; line-height: 1.6; }
.memory-form { display: grid; gap: 18px; }
.memory-form > label { display: grid; gap: 9px; color: var(--pine); font-size: 13px; font-weight: 700; }
.memory-form input[type="date"], .memory-form textarea { width: 100%; padding: 14px; border: 1px solid #d1dfcf; border-radius: 13px; background: var(--paper); color: var(--ink); font: 400 14px/1.55 Manrope, Arial, sans-serif; }
.memory-form textarea { min-height: 120px; resize: vertical; }
.rating-field { border: 0; margin: 0; padding: 0; }
.rating-field legend { margin-bottom: 11px; color: var(--pine); font-size: 13px; font-weight: 700; }
.rating-choices { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.rating-choices label { position: relative; cursor: pointer; }
.rating-choices input { position: absolute; opacity: 0; }
.rating-choices span { display: grid; place-items: center; min-height: 45px; border: 1px solid #cbd9c7; border-radius: 12px; background: var(--paper); color: var(--pine); font-weight: 700; }
.rating-choices input:checked + span { border-color: var(--coral); background: var(--coral); color: #fff; }
.rating-choices input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 2px; }
.memory-photos-section { margin-top: 46px; }
.memory-photos-section h2 { margin: 7px 0 9px; font-size: clamp(27px, 6vw, 36px); }
.memory-upload { display: inline-block; margin: 13px 0 8px; padding: 13px 17px; border-radius: 12px; background: var(--pine); color: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.memory-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.memory-upload:focus-within { outline: 3px solid var(--coral); outline-offset: 3px; }
.upload-status { min-height: 19px; color: #526c58; font-size: 12px; }
.memory-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.memory-photo { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: #dce8d7; }
.memory-photo img { width: 100%; height: 100%; object-fit: cover; }
.memory-photo button { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fffdf8; color: var(--pine); font-size: 22px; line-height: 1; }
@media (min-width: 600px) { .memory-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.empty-state { margin-top: 80px; padding: 35px 25px; border: 1px dashed #becfbe; border-radius: 23px; text-align: center; }
.empty-state > span { font-size: 48px; color: var(--coral); }
.empty-state h2 { font-size: 29px; margin: 14px 0 8px; }
.empty-state p { font-size: 12px; color: #829384; line-height: 1.7; }
.empty-state .primary-button { max-width: 300px; margin: 26px auto 0; }

/* Admin */
.admin-page { min-height: 100vh; background: #f3f4ec; }
.admin-header { height: 77px; padding: 13px 22px; background: var(--pine); color: #fff; display: flex; align-items: center; gap: 15px; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.admin-header .mini-logo { width: 42px; height: 42px; }
.admin-header button { margin-left: auto; color: #d9e4d9; border: 1px solid #ffffff55; border-radius: 8px; background: transparent; padding: 9px 10px; font-size: 10px; }
.admin-main { max-width: 1000px; margin: auto; padding: 45px 22px 90px; }
.admin-title h1 { font-size: clamp(42px, 10vw, 67px); margin: 9px 0; }
.admin-title h1 em { color: #719078; }
.admin-title p { color: #819487; font-size: 13px; }
.admin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 31px 0 16px; }
.admin-stats div { background: #fffdf9; border-radius: 17px; padding: 20px; border: 1px solid #e5eadf; }
.admin-stats strong { display: block; font-size: 35px; line-height: 1; color: var(--pine); }
.admin-stats span { display: block; margin-top: 8px; font-size: 10px; color: #829486; }
.admin-actions { display: grid; gap: 11px; }
.admin-actions button { width: 100%; display: flex; align-items: center; gap: 13px; border: 1px solid #e4eade; border-radius: 15px; background: #fffdf9; text-align: left; padding: 16px; color: var(--pine); }
.admin-actions button:hover { border-color: #b4c9b7; }
.admin-actions button > svg:first-child { width: 25px; height: 25px; color: var(--coral); }
.admin-actions button > svg:last-child { margin-left: auto; width: 18px; height: 18px; }
.admin-actions button span { display: flex; flex-direction: column; gap: 3px; }
.admin-actions strong { font-size: 12px; }.admin-actions small { color: #95a396; font-size: 10px; }
.admin-bookings { margin-top: 48px; }
.admin-section-head h2 { margin: 8px 0 0; font-size: 31px; }
.admin-empty { border-radius: 17px; padding: 30px 22px; margin-top: 19px; background: #e6eee2; color: #778a7b; font-size: 12px; line-height: 1.6; }

/* Print ticket */
.ticket-page { min-height: 100vh; background: #dfe9de; padding: 20px 16px 60px; }
.ticket-tools { max-width: 540px; margin: 0 auto 16px; display: flex; justify-content: space-between; gap: 12px; }
.ticket-tools button { display: flex; align-items: center; gap: 7px; color: var(--pine); background: #ffffffbd; border: 1px solid #ffffffbd; border-radius: 9px; padding: 9px 12px; font-size: 11px; font-weight: 700; }
.ticket-tools svg { width: 16px; height: 16px; }
.ticket-paper { max-width: 540px; margin: auto; background: #fffaf0; border: 1px solid #e4e5d5; box-shadow: 0 25px 60px #1b4d3b33; overflow: hidden; }
.ticket-top { background: var(--pine); color: #dbe8d9; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-size: 9px; font-weight: 700; letter-spacing: .11em; }
.ticket-logo { color: #fff; font: 500 31px Unbounded, sans-serif; letter-spacing: -.16em; padding-right: 7px; }
.ticket-art { height: 200px; position: relative; background: #dbe8d7; overflow: hidden; }
.ticket-sun { position: absolute; top: 14px; right: 18%; width: 75px; height: 75px; border-radius: 50%; background: #edb493; }
.ticket-mountain { position: absolute; width: 115%; left: -7%; bottom: 0; height: 156px; }
.ticket-mountain.one { background: #82a289; clip-path: polygon(0 87%, 15% 39%, 30% 70%, 48% 10%, 65% 69%, 82% 28%, 100% 76%, 100% 100%, 0 100%); }
.ticket-mountain.two { background: #2d624f; clip-path: polygon(0 53%, 15% 32%, 29% 69%, 50% 42%, 69% 80%, 85% 37%, 100% 63%, 100% 100%, 0 100%); }
.ticket-road { position: absolute; bottom: -32px; width: 66%; height: 94px; left: 18%; border-top: 4px dashed #efb599; border-radius: 50%; transform: rotate(-7deg); }
.ticket-main { padding: 30px 29px 25px; }
.ticket-main > span, .ticket-bottom span { color: var(--coral-dark); font-size: 9px; letter-spacing: .13em; font-weight: 700; }
.ticket-main h1 { font-size: clamp(52px, 11vw, 75px); line-height: 1.04; margin: 12px 0; color: var(--pine); }
.ticket-main h1 em { color: #66907a; }
.ticket-main p { max-width: 390px; color: #677e6d; font-size: 13px; line-height: 1.7; margin-bottom: 0; }
.ticket-perforation { border-top: 2px dashed #cbd8c8; margin: 0 18px; position: relative; }
.ticket-perforation::before, .ticket-perforation::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; background: #dfe9de; border-radius: 50%; }
.ticket-perforation::before { left: -31px; }.ticket-perforation::after { right: -31px; }
.ticket-bottom { display: flex; align-items: center; gap: 20px; padding: 25px 29px; }
.ticket-qr { width: 108px; height: 108px; padding: 4px; border: 1px solid #d2ded1; border-radius: 8px; background: #fff; }
.ticket-bottom > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.ticket-bottom strong { color: var(--pine); font-size: clamp(15px, 4vw, 20px); letter-spacing: .09em; overflow-wrap: anywhere; }
.ticket-bottom small { color: #879988; line-height: 1.5; font-size: 9px; }
.ticket-footer { background: var(--pine); color: #dbe8d9; text-align: center; padding: 14px 12px; font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.ticket-footer span { color: var(--coral); margin: 0 6px; }
.ticket-warning { max-width: 540px; margin: 14px auto; color: #9c6247; font-size: 11px; line-height: 1.6; }
.fatal-error { display: grid; place-content: center; min-height: 100vh; padding: 25px; text-align: center; }
.fatal-error h1 { font-size: 32px; }.fatal-error p { color: #7c8f80; font-size: 13px; }.fatal-error button { border: 0; border-radius: 10px; background: var(--coral); color: #fff; padding: 12px 16px; }

@keyframes orb-float { 50% { transform: translate(-15px, 20px) scale(1.06); } }
@keyframes sun-breathe { 50% { transform: scale(1.08); box-shadow: 0 0 110px #e8b99688; } }
@keyframes car-bob { 50% { transform: translate(20px, -8px) rotate(-7deg); } }
@keyframes pin-pulse { 50% { box-shadow: 0 0 0 8px #ed705b11; } }
@keyframes pin-appear { from { opacity: 0; transform: translateY(-17px) scale(.65); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(17px); } }
@keyframes photo-zoom { from { transform: scale(1.06); opacity: .7; } }
@keyframes road-dash { to { stroke-dashoffset: -26; background-position: 30px 0; } }
@keyframes overlay-in { from { opacity: 0; } }
@keyframes overlay-out { to { opacity: 0; } }
@keyframes progress { from { transform: scaleX(0); } }
@keyframes destination-arrive { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.3); } }
@keyframes heart-firework {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(-25deg); }
  16% { opacity: 1; }
  68% { opacity: 1; transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(1.15) rotate(12deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) + 18px)) scale(.65) rotate(30deg); }
}

@media (min-width: 700px) {
  .login-screen { display: grid; place-items: center; }
  .login-content { min-height: 760px; margin-left: max(55%, calc(50% + 60px)); padding: 35px 25px; }
  .login-scene { inset: 6% 45% 0 0; height: auto; }
  .scene-sun { width: 170px; height: 170px; right: 24%; top: 13%; }
  .mountain { height: 60%; }
  .scene-car { bottom: 14%; left: 30%; }
  .site-header { padding-left: 36px; padding-right: 36px; }
  .home-hero { min-height: 650px; border-radius: 0 0 35px 35px; }
  .hero-copy { padding-left: max(6%, calc((100% - 1200px)/2)); padding-top: 105px; }
  .hero-landscape { height: 400px; left: 44%; bottom: 0; width: 65%; }
  .hero-stamp { margin-left: max(6%, calc((100% - 1200px)/2)); }
  .hero-side-text { display: block; position: absolute; right: 22px; top: 35%; color: #b2cbb6; writing-mode: vertical-rl; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
  .intro-strip { padding: 33px 34px; }
  .map-section, .routes-section { padding-left: 34px; padding-right: 34px; }
  .map-frame { height: 525px; }
  .route-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bottom-nav { max-width: 450px; left: 50%; transform: translateX(-50%); bottom: 12px; border: 1px solid #e5e9e0; border-radius: 18px; padding-bottom: 9px; box-shadow: var(--shadow); }
  .detail-hero { border-radius: 0 0 28px 28px; }
  .detail-content { padding: 0 50px; }
  .detail-bottom-bar { padding: 12px 25px; }
  .booking-section form { grid-template-columns: 1fr 1fr; }
  .booking-section form button, .booking-section form .form-error { grid-column: 1 / -1; }
  .admin-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1050px) {
  .route-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .route-card { grid-template-columns: 105px 1fr 18px; }
  .home-hero { min-height: 690px; }
  .hero-copy h1 { font-size: 78px; }
}
@media print {
  @page { size: A5 portrait; margin: 0; }
  body, .ticket-page { background: #fff; padding: 0; margin: 0; }
  .ticket-tools, .ticket-warning, .toast { display: none !important; }
  .ticket-paper { border: 0; box-shadow: none; width: 148mm; max-width: none; min-height: 210mm; }
  .ticket-art { height: 51mm; }
  .ticket-main { padding-top: 10mm; padding-bottom: 10mm; }
  .ticket-bottom { padding-top: 9mm; padding-bottom: 9mm; }
  * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .firework-heart { animation: none !important; opacity: 1 !important; transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(.8); }
}
.route-cluster { background: none; border: 0; }
.cluster-heart { position: relative; width: 58px; height: 56px; display: grid; place-items: center; filter: drop-shadow(0 7px 10px #9b3c3c66); }
.cluster-heart svg { position: absolute; inset: 0; width: 58px; height: 56px; fill: #e94f59; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.cluster-heart svg text { fill: #fff; stroke: none; font: 700 20px Manrope, Arial, sans-serif; }

.booking-departure-note { display: block; margin-top: 8px; color: #748a7a; font-size: 11px; line-height: 1.45; }

/* Добавление и редактирование мест */
.add-place-button { margin-top: 20px; border: 0; border-radius: 14px; padding: 14px 19px; background: var(--coral); color: #fff; font: inherit; font-size: 13px; font-weight: 700; box-shadow: 0 8px 20px #c6604f33; }
.add-place-button:hover { transform: translateY(-2px); }
.place-editor { max-width: 1100px; margin: 0 auto 42px; padding: 28px 22px; border: 1px solid #d7e4d7; border-radius: 24px; background: #f3f7ef; box-shadow: var(--shadow); scroll-margin-top: 20px; }
.place-editor-heading { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.place-editor-heading h2 { margin: 8px 0; color: var(--pine); font-size: clamp(27px, 6vw, 39px); }
.place-editor-heading h2 span { color: var(--coral); }
.place-editor-heading p, .route-manage p { color: #60796b; font-size: 13px; line-height: 1.6; }
.place-editor-heading button { flex: none; border: 0; background: #e1ebdf; color: var(--pine); border-radius: 50%; width: 38px; height: 38px; font-size: 24px; }
#place-form { display: grid; gap: 16px; margin-top: 24px; }
.place-editor-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
#place-form label { display: grid; gap: 7px; color: var(--pine); font-size: 12px; font-weight: 700; }
#place-form input, #place-form select, #place-form textarea { width: 100%; min-width: 0; border: 1px solid #cddfce; border-radius: 12px; padding: 13px; background: #fff; color: var(--pine); font: inherit; font-size: 13px; outline: none; }
#place-form input:focus, #place-form select:focus, #place-form textarea:focus { border-color: var(--coral); }
#place-form textarea { resize: vertical; line-height: 1.5; }
#place-form .primary-button { max-width: 360px; }
#place-error { color: #bd4d3f; }
.route-manage { margin: 36px 0 14px; padding: 25px; border: 1px solid #d7e4d7; border-radius: 20px; background: #edf4e8; }
.route-manage h2 { margin: 8px 0; font-size: 25px; color: var(--pine); }
.route-manage > button { border: 1px solid #c8d9c8; border-radius: 12px; padding: 12px 16px; background: #fff; color: var(--pine); font: inherit; font-size: 12px; font-weight: 700; }
.route-manage .memory-upload { display: inline-flex; margin: 10px; }
.place-photo-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.place-photo-list > div { display: grid; gap: 5px; width: 90px; }
.place-photo-list img { width: 90px; height: 70px; border-radius: 9px; object-fit: cover; }
.place-photo-list button { border: 0; background: none; color: #a44d42; font-size: 10px; font-weight: 700; }
.repeat-hint { color: #ad5f4b !important; font-weight: 700; }
@media (max-width: 600px) { .place-editor { margin: 0 15px 35px; padding: 22px 16px; } .place-editor-grid { grid-template-columns: 1fr; } }
.map-view-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 12px; }
.map-view-controls button { border: 1px solid #d2e1d4; border-radius: 50px; padding: 9px 14px; background: #fffdf9; color: var(--pine); font: inherit; font-size: 11px; font-weight: 700; }
.map-view-controls button:hover { border-color: var(--coral); color: var(--coral-dark); }
.detail-hero.single-photo .gallery-arrow, .detail-hero.single-photo .gallery-dots, .detail-hero.single-photo .gallery-count { display: none; }
.place-photo-list button:disabled { color: #6a866f; cursor: default; }
