/* Let Me Discover v2: contact us and FAQ (website/tours/v2/contact, v2/faq). Loads after lmd-v2.css (tokens, .lmd-btn) and
   lmd-tour.css (the back button, the cookie card). A full-width photo stays behind the page; the content sits in glass
   panels over it; 3D glass objects; all text white. No nav bar, no footer. */
.lmd-hp { position: relative; isolation: isolate; min-height: 100vh; font-family: var(--lmd-body); color: var(--lmd-white); background: #6fb1ea; }
.lmd-hp h1, .lmd-hp h2 { font-family: var(--lmd-display); color: var(--lmd-white); }

/* the photo, fixed behind everything, with a blue veil so white text stays clear */
.lmd-hp__bg { position: fixed; inset: 0; z-index: -1; }
.lmd-hp__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; filter: saturate(.9) contrast(.96) brightness(1.03); }
/* a light veil, as on the home page photo (only a soft blue on the left, behind the text) */
.lmd-hp__bg::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(55% 60% at 30% 45%, rgba(25, 80, 150, .32), rgba(25, 80, 150, 0) 78%),
        linear-gradient(180deg, rgba(214, 240, 255, .12) 0%, rgba(214, 240, 255, 0) 60%);
}

.lmd-hp__in { max-width: 1100px; margin: 0 auto; padding: 88px var(--lmd-gutter) 56px; }

/* glass panels */
.lmd-hp__glass {
    border-radius: 24px; border: 1px solid rgba(255, 255, 255, .45);
    /* the home search bar's light glass */
    background: linear-gradient(160deg, rgba(186, 228, 255, .26) 0%, rgba(120, 185, 240, .24) 100%);
    -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 30px 60px -30px rgba(15, 45, 90, .5);
    text-shadow: 0 1px 12px rgba(20, 60, 110, .45);
}

/* head: the intro panel and the big 3D object */
.lmd-hp__head { display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 26vw, 300px); align-items: center; gap: 24px; }
.lmd-hp__intro { padding: clamp(24px, 3vw, 40px); animation: lmd-tp-rise .8s var(--lmd-ease-out) .05s both; }
.lmd-hp__kick { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lmd-ice); }
.lmd-hp__intro h1 { margin: 6px 0 12px; font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; }
.lmd-hp__intro p { margin: 0 0 8px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; }
.lmd-hp__hero { display: grid; place-items: center; aspect-ratio: 1; }
.lmd-hp__hero img { width: 100%; filter: drop-shadow(0 30px 40px rgba(8, 30, 70, .45)); animation: lmd-hp-float 6s ease-in-out infinite; }
@keyframes lmd-hp-float { 50% { transform: translateY(-12px) rotate(-2deg); } }

/* until a 3D object is made: a soft glass circle in its place */
.lmd-hp__hero.is-empty::before, .lmd-hp__ico.is-empty::before, .lmd-hp__mini.is-empty::before {
    content: ""; display: block; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .9), rgba(92, 200, 255, .4) 60%, rgba(52, 134, 204, .3));
    border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 20px 34px -18px rgba(8, 30, 70, .5);
}
.lmd-hp__hero.is-empty { animation: lmd-hp-float 6s ease-in-out infinite; }
.lmd-hp__ico, .lmd-hp__mini { display: inline-grid; place-items: center; flex-shrink: 0; }
.lmd-hp__ico img, .lmd-hp__mini img { width: 100%; filter: drop-shadow(0 10px 14px rgba(8, 30, 70, .35)); }
.lmd-hp__ico.is-empty::before, .lmd-hp__mini.is-empty::before { width: 80%; }

/* ───── contact: the three ways ───── */
.lmd-hp__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.lmd-hp__way { padding: 22px 24px 20px; text-align: center; animation: lmd-tp-rise .7s var(--lmd-ease-out) both; animation-delay: calc(.15s + var(--i) * .08s); }
.lmd-hp__way .lmd-hp__ico { width: 96px; height: 96px; margin: -48px auto 6px; }
.lmd-hp__way b { display: block; margin-bottom: 6px; font: 700 18px var(--lmd-display); }
.lmd-hp__way p { margin: 2px 0; font-size: 15px; line-height: 1.5; color: var(--lmd-white-2); }
.lmd-hp__way a { font-weight: 700; color: var(--lmd-white); text-decoration: none; }
.lmd-hp__way a:hover { color: var(--lmd-ice); text-decoration: underline; text-underline-offset: 3px; }
.lmd-hp__ways { margin-top: 64px; }

/* ───── contact: the form ───── */
.lmd-hp__form { margin-top: 22px; padding: clamp(22px, 3vw, 36px); animation: lmd-tp-rise .7s var(--lmd-ease-out) .4s both; }
.lmd-hp__form h2 { margin: 0 0 16px; font-size: 22px; font-weight: 700; }
.lmd-hp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.lmd-hp__f { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.lmd-hp__f--wide { grid-column: 1 / -1; }
.lmd-hp__f span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lmd-white-2); }
.lmd-hp__f input, .lmd-hp__f textarea {
    width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; font: 400 15px var(--lmd-body); color: var(--lmd-white);
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); transition: background .2s ease, box-shadow .2s ease;
}
.lmd-hp__f textarea { height: auto; padding: 12px 14px; resize: vertical; }
.lmd-hp__f input:focus, .lmd-hp__f textarea:focus { outline: 0; background: rgba(255, 255, 255, .26); box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.lmd-hp__send { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.lmd-hp__send .lmd-btn { height: 52px; background: var(--lmd-white); color: var(--lmd-wave); text-shadow: none; }
.lmd-hp__send .lmd-btn:hover { color: var(--lmd-white); }
.lmd-hp__send .lmd-btn__label { padding: 0 26px; }
.lmd-hp__err { display: block; margin-top: 6px; font-size: 13px; color: #ffd2c2; }
.lmd-hp .alert { border-radius: 12px; font-size: 14px; }

/* ───── FAQ: the group chips and the questions ───── */
.lmd-hp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lmd-hp__chips a {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--lmd-white); text-decoration: none; text-shadow: none;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); transition: background .2s ease;
}
.lmd-hp__chips a:hover { background: rgba(255, 255, 255, .3); color: var(--lmd-white); }
.lmd-hp__mini { width: 30px; height: 30px; }

.lmd-hp__group { margin-top: 18px; padding: 22px clamp(20px, 3vw, 32px) 12px; scroll-margin-top: 80px; animation: lmd-tp-rise .7s var(--lmd-ease-out) both; animation-delay: calc(.15s + var(--i) * .06s); }
.lmd-hp__group h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 21px; font-weight: 700; }
.lmd-hp__group h2 .lmd-hp__ico { width: 54px; height: 54px; }
.lmd-hp__qa { border-top: 1px solid rgba(255, 255, 255, .22); }
.lmd-hp__qa summary {
    position: relative; display: block; padding: 16px 40px 16px 0; cursor: pointer; list-style: none;
    font-size: 16px; font-weight: 600; line-height: 1.45;
}
.lmd-hp__qa summary::-webkit-details-marker { display: none; }
.lmd-hp__qa summary::after {
    content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
    background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform .3s var(--lmd-ease-out), background-color .2s ease;
}
.lmd-hp__qa summary:hover::after { background-color: rgba(255, 255, 255, .3); }
.lmd-hp__qa[open] summary::after { transform: rotate(180deg); }
.lmd-hp__qa p { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--lmd-white-2); animation: lmd-tp-rise .35s var(--lmd-ease-out) both; }

.lmd-hp__more { margin: 28px 0 0; text-align: center; font-size: 16px; text-shadow: 0 1px 10px rgba(8, 30, 70, .4); }
.lmd-hp__more a { font-weight: 700; color: var(--lmd-white); text-underline-offset: 4px; }
.lmd-hp__more a:hover { color: var(--lmd-ice); }

/* phones and small tablets */
@media (max-width: 900px) {
    .lmd-hp__in { padding-top: 80px; }
    .lmd-hp__head { grid-template-columns: 1fr; }
    .lmd-hp__hero { order: -1; width: 160px; margin: 0 auto -10px; }
    .lmd-hp__ways { grid-template-columns: 1fr; gap: 56px; margin-top: 60px; }
    .lmd-hp__grid { grid-template-columns: 1fr; }
    .lmd-hp__send { flex-direction: column; align-items: stretch; }
    .lmd-hp__send .lmd-btn { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
    .lmd-hp *, .lmd-hp *::before, .lmd-hp *::after { animation: none !important; transition: none !important; }
}

/* ───── contact on one screen (desktop): the intro and the three ways on the left, the form on the right ───── */
@media (min-width: 901px) {
    .lmd-hp--one .lmd-hp__in {
        height: 100vh; min-height: 600px; max-width: 1320px; padding: 80px var(--lmd-gutter) 28px;
        display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 2.5vw, 36px); align-items: stretch;
    }
    .lmd-hp--one .lmd-hp__left { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
    .lmd-hp--one .lmd-hp__head { position: relative; display: block; }
    .lmd-hp--one .lmd-hp__intro { padding: clamp(20px, 2.4vw, 32px); padding-right: clamp(120px, 12vw, 170px); }
    .lmd-hp--one .lmd-hp__intro h1 { font-size: clamp(30px, 3vw, 46px); }
    .lmd-hp--one .lmd-hp__intro p { font-size: clamp(14px, 1.05vw, 16px); }
    /* the speech bubble sits on the top right corner of the intro */
    .lmd-hp--one .lmd-hp__hero { position: absolute; top: -34px; right: -18px; width: clamp(140px, 13vw, 190px); z-index: 2; }

    /* the three ways as compact rows: icon, then the text */
    .lmd-hp--one .lmd-hp__ways { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; margin: 0; }
    .lmd-hp--one .lmd-hp__way { flex: 1; min-height: 0; display: flex; align-items: center; gap: 16px; padding: 12px 20px; text-align: left; }
    .lmd-hp--one .lmd-hp__way .lmd-hp__ico { width: clamp(56px, 5.5vw, 76px); height: auto; aspect-ratio: 1; margin: 0; }
    .lmd-hp--one .lmd-hp__way b { margin-bottom: 2px; font-size: 16px; }
    .lmd-hp--one .lmd-hp__way p { font-size: 14px; }
    .lmd-hp--one .lmd-hp__more { margin: 0; text-align: left; font-size: 15px; }

    /* the form takes the full height; the message box grows */
    .lmd-hp--one .lmd-hp__form { min-height: 0; margin: 0; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 32px); }
    .lmd-hp--one .lmd-hp__form form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
    .lmd-hp--one .lmd-hp__grid { flex: 1; min-height: 0; grid-template-rows: auto auto minmax(0, 1fr); }
    .lmd-hp--one .lmd-hp__f--wide textarea { flex: 1; min-height: 80px; resize: none; }
}
@media (min-width: 901px) and (max-height: 800px) {
    .lmd-hp--one .lmd-hp__in { padding-top: 74px; padding-bottom: 20px; }
    .lmd-hp--one .lmd-hp__intro p { margin-bottom: 4px; }
    .lmd-hp--one .lmd-hp__f input { height: 42px; }
    .lmd-hp--one .g-recaptcha { transform: scale(.88); transform-origin: left center; }
}

/* ───── FAQ: one glass panel with five group tiles; a group's questions pop up ───── */
.lmd-hp--faq .lmd-hp__in { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 96px var(--lmd-gutter) 40px; }
.lmd-hp__faq { position: relative; width: min(980px, 100%); padding: clamp(28px, 3.5vw, 48px); animation: lmd-tp-rise .8s var(--lmd-ease-out) .05s both; }
.lmd-hp__faq h1 { margin: 6px 0 0; padding-right: clamp(120px, 16vw, 220px); font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; }
.lmd-hp__faq .lmd-hp__hero { position: absolute; top: clamp(-70px, -5vw, -40px); right: clamp(-20px, -1.5vw, -10px); width: clamp(150px, 17vw, 240px); }

.lmd-hp__tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; list-style: none; }
.lmd-hp__tiles li { animation: lmd-tp-rise .6s var(--lmd-ease-out) both; animation-delay: calc(.2s + var(--i) * .06s); }
.lmd-hp__tiles button {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 18px; cursor: pointer;
    font-family: var(--lmd-body); color: var(--lmd-white); text-align: center; text-shadow: none;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1);
    transition: background .2s ease, transform .25s ease-out, border-color .2s ease;
}
.lmd-hp__tiles button:hover, .lmd-hp__tiles button:focus-visible { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .75); transform: translateY(-3px); outline: 0; }
.lmd-hp__tiles .lmd-hp__ico { width: clamp(64px, 7vw, 92px); aspect-ratio: 1; margin-bottom: 4px; transition: transform .3s var(--lmd-ease-out); }
.lmd-hp__tiles button:hover .lmd-hp__ico { transform: scale(1.06); }
.lmd-hp__tiles b { font: 700 15px/1.25 var(--lmd-display); }
.lmd-hp__tiles small { font-size: 12px; color: var(--lmd-white-2); }
.lmd-hp__faq .lmd-hp__more { margin: clamp(22px, 3vw, 32px) 0 0; text-align: left; text-shadow: none; }

/* the pop-up: the same blue glass, over the blurred page */
.lmd-hp__pop {
    width: min(720px, calc(100% - 32px)); max-width: none; max-height: min(84vh, 720px); padding: 0; overflow: hidden;
    flex-direction: column; font-family: var(--lmd-body); color: var(--lmd-white);
    border-radius: 26px; border: 1px solid rgba(255, 255, 255, .5);
    background: linear-gradient(160deg, rgba(110, 180, 238, .94) 0%, rgba(70, 145, 215, .95) 100%);
    box-shadow: 0 40px 90px -30px rgba(15, 45, 90, .55); text-shadow: 0 1px 8px rgba(20, 60, 110, .3);
}
.lmd-hp__pop[open] { display: flex; animation: lmd-tp-rise .35s var(--lmd-ease-out) both; }
.lmd-hp__pop::backdrop { background: rgba(214, 240, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lmd-hp__pop header { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 18px 18px 10px 22px; }
.lmd-hp__pop header .lmd-hp__ico { width: 56px; height: 56px; }
.lmd-hp__pop h2 { flex: 1; margin: 0; font: 700 22px var(--lmd-display); color: var(--lmd-white); }
.lmd-hp__x {
    display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; cursor: pointer;
    color: var(--lmd-white); background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); transition: background .2s ease;
}
.lmd-hp__x:hover { background: rgba(255, 255, 255, .3); }
.lmd-hp__qs { flex: 1; min-height: 0; overflow-y: auto; padding: 0 26px 14px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent; }
.lmd-hp__qs .lmd-hp__qa:first-child { border-top: 0; }

@media (max-width: 900px) {
    .lmd-hp--faq .lmd-hp__in { min-height: 0; display: block; padding-top: 150px; }
    .lmd-hp__faq h1 { padding-right: 0; font-size: 32px; }
    .lmd-hp__faq .lmd-hp__hero { top: -110px; right: 50%; width: 140px; margin-right: -70px; }
    .lmd-hp__faq .lmd-hp__kick { display: block; margin-top: 18px; }
    .lmd-hp__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lmd-hp__tiles li:last-child { grid-column: 1 / -1; }
}
