/*
 * Trip In One Click (tripinoneclick.com): its own look on top of tokens.css / components.css.
 * Deep teal for the brand, warm orange for the one action that matters (ordering).
 */
:root {
    --tic-teal: #0F766E;
    --tic-teal-dark: #115E59;
    --tic-teal-tint: #ECF7F5;
    --tic-teal-line: #CFE6E2;
    --tic-orange: #F97316;
    --tic-orange-dark: #EA580C;
    --tic-orange-tint: #FFF1E3;
    --tic-ink: #0F2233;
    --tic-ink-2: #44566A;
    --tic-muted: #5E6E7F;
}

body.tic-page {
    margin: 0;
    /* one-click-trip.css leaves room for holiday-plan.com's fixed navbar; this header scrolls along */
    padding-top: 0;
    background: #FFFFFF;
    color: var(--tic-ink-2);
    font-family: var(--font);
}

/* The trip page (one-click-trip-view) under the site's header */
body.tic-page.oct-page { background: #F5F8F8; }
body.tic-page .oct-wrap { padding-top: 24px; }

/* ---------------------------------------------------------------- header */
.tic-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--tic-teal-line);
}
.tic-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.tic-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--tic-ink);
}
.tic-brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: 0.2px; white-space: nowrap; }
.tic-brand-name em { color: var(--tic-orange); font-style: italic; }
.tic-nav { display: flex; gap: 20px; margin-left: auto; }
.tic-nav a { color: var(--tic-ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.tic-nav a:hover { color: var(--tic-teal); }
.tic-header-actions { display: flex; align-items: center; gap: 12px; }

.tic-lang { position: relative; }
.tic-lang summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 10px;
    border: 1px solid var(--tic-teal-line);
    border-radius: 8px;
    color: var(--tic-ink);
}
.tic-lang summary::-webkit-details-marker { display: none; }
.tic-lang ul {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--tic-teal-line);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 34, 51, 0.12);
    min-width: 150px;
}
.tic-lang a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--tic-ink); text-decoration: none; }
.tic-lang a:hover, .tic-lang a.active { background: var(--tic-teal-tint); color: var(--tic-teal-dark); }

/* ---------------------------------------------------------------- buttons */
.tic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.tic-btn-primary { background: var(--tic-orange); color: #fff; box-shadow: 0 6px 18px rgba(249, 115, 22, 0.28); }
.tic-btn-primary:hover { background: var(--tic-orange-dark); transform: translateY(-1px); }
.tic-btn-primary[disabled] { background: #CBD5E0; box-shadow: none; cursor: not-allowed; transform: none; }
.tic-btn-secondary { background: var(--tic-teal); color: #fff; }
.tic-btn-secondary:hover { background: var(--tic-teal-dark); }
.tic-btn-ghost { background: transparent; color: var(--tic-teal-dark); border-color: var(--tic-teal-line); }
.tic-btn-ghost:hover { background: var(--tic-teal-tint); }
.tic-btn-small { padding: 8px 14px; font-size: 0.9rem; }
.tic-btn-large { padding: 16px 28px; font-size: 1.1rem; }
.tic-btn:focus-visible, .tic-nav a:focus-visible, .tic-lang summary:focus-visible { outline: 3px solid #5EEAD4; outline-offset: 2px; }
.tic-price-chip { background: rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 2px 10px; font-size: 0.9em; }
.tic-link { color: var(--tic-teal); font-weight: 700; text-decoration: none; }
.tic-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- hero */
.tic-hero {
    background:
        radial-gradient(1200px 400px at 85% -10%, rgba(94, 234, 212, 0.35), transparent 60%),
        radial-gradient(800px 360px at 0% 110%, rgba(249, 115, 22, 0.12), transparent 60%),
        linear-gradient(180deg, #F2FAF8 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--tic-teal-line);
}
.tic-hero { position: relative; overflow: hidden; }
/* A tilted wall of screens from real trips behind the whole hero, faded towards the text */
.tic-hero-collage { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tic-hero-wall {
    position: absolute;
    top: -220px;
    left: 20%;
    width: 1700px;
    columns: 5 310px;
    column-gap: 22px;
    transform: rotate(-10deg);
    transform-origin: top left;
}
.tic-hero-wall img {
    display: block;
    width: 100%;
    margin-bottom: 22px;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 34, 51, 0.18);
    break-inside: avoid;
    opacity: 0.85;
}
.tic-hero-collage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(242, 250, 248, 0.97) 0%, rgba(242, 250, 248, 0.9) 38%, rgba(242, 250, 248, 0.55) 62%, rgba(242, 250, 248, 0.3) 100%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 22%);
}
.tic-hero-inner {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 64px 20px 72px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.tic-eyebrow {
    display: inline-block;
    background: var(--tic-teal-tint);
    color: var(--tic-teal-dark);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.4px;
    padding: 6px 12px;
    border-radius: 999px;
}
.tic-hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.3rem);
    line-height: 1.08;
    color: var(--tic-ink);
    margin: 16px 0 14px;
    letter-spacing: -0.5px;
}
.tic-hero h1 span { color: var(--tic-teal); }
.tic-lead { font-size: 1.12rem; line-height: 1.6; margin: 0 0 26px; max-width: 560px; }
.tic-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tic-partner-line, .tic-pay-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tic-muted);
    font-size: 0.88rem;
    margin: 18px 0 0;
}

.tic-hero-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 34, 51, 0.14);
    border: 1px solid var(--tic-teal-line);
    padding: 22px;
    transform: rotate(1.2deg);
}
.tic-mock-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.tic-mock-head strong { color: var(--tic-ink); font-size: 1.3rem; }
.tic-mock-head span:last-child { color: var(--tic-muted); font-size: 0.9rem; }
.tic-mock-badge, .tic-page .oct-badge {
    align-self: flex-start;
    background: var(--tic-orange-tint);
    color: #9A4A08;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    padding: 4px 8px;
    border-radius: 6px;
}
.tic-mock-days { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.tic-mock-days li {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    background: #F7FBFA;
    border-radius: 10px;
    border-left: 4px solid var(--tic-teal);
    font-size: 0.92rem;
}
.tic-mock-days b { color: var(--tic-teal-dark); white-space: nowrap; }
.tic-mock-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--tic-ink); font-weight: 600; }

/* ---------------------------------------------------------------- sections */
.tic-section { max-width: 1120px; margin: 0 auto; padding: 64px 20px; }
.tic-section-tint { max-width: none; background: #F5F8F8; }
/* Content of a full-width tinted section is centred (more specific than .tic-h2, which sets its own margins) */
.tic-section.tic-section-tint > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.tic-h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--tic-ink); margin: 0 0 10px; text-align: center; letter-spacing: -0.3px; }
.tic-section-lead { text-align: center; margin: 0 auto 32px; max-width: 640px; }

.tic-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tic-steps li { background: #fff; border: 1px solid var(--tic-teal-line); border-radius: 16px; padding: 24px; position: relative; }
.tic-step-num {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--tic-teal);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}
.tic-steps h3, .tic-feature h3, .tic-example h3 { color: var(--tic-ink); margin: 14px 0 6px; font-size: 1.12rem; }
.tic-steps p, .tic-feature p { margin: 0; line-height: 1.55; }

.tic-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
/* Icon, title and text centred in the panel, both ways */
.tic-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border-radius: 14px;
    padding: 26px 22px;
    border: 1px solid #E3EBE9;
    text-align: center;
}
.tic-feature h3 { margin: 8px 0 2px; }
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}
/* Two classes: beats Google's own .material-symbols-rounded rule, which loads after this file */
.tic-feature-icon.material-symbols-rounded {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--tic-teal-tint);
    color: var(--tic-teal);
    font-size: 28px;
    margin: 0 auto 2px;
}
.tic-lock.material-symbols-rounded { font-size: 18px; color: var(--tic-teal); }

.tic-examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tic-example {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--tic-teal-line);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: var(--tic-ink-2);
    transition: box-shadow 0.15s, transform 0.15s;
}
.tic-example:hover { box-shadow: 0 12px 30px rgba(15, 34, 51, 0.1); transform: translateY(-2px); }
.tic-example h3 { margin-top: 8px; }
.tic-example-days { align-self: flex-start; font-size: 0.78rem; font-weight: 700; color: var(--tic-teal-dark); background: var(--tic-teal-tint); padding: 3px 9px; border-radius: 999px; }
.tic-example-cities { margin: 0 0 10px; color: var(--tic-muted); font-weight: 600; }
.tic-example ul { margin: 0 0 14px; padding-left: 18px; font-size: 0.92rem; }
.tic-example-link { margin-top: auto; color: var(--tic-orange-dark); font-weight: 700; }
/* With the base city's photo: white text over a darkened photo */
.tic-example-photo {
    position: relative;
    min-height: 260px;
    color: #fff;
    border: 0;
    min-height: 300px;
    background: linear-gradient(180deg, rgba(15, 34, 51, 0.05) 0%, rgba(15, 34, 51, 0.45) 40%, rgba(15, 34, 51, 0.92) 100%), var(--tic-example-bg) center / cover no-repeat;
}
/* The text sits at the bottom, over the dark end of the gradient */
.tic-example-photo h3 { color: #fff; font-size: 1.4rem; margin-top: auto; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.tic-example-photo .tic-example-link { margin-top: 10px; }
.tic-example-photo .tic-example-cities { color: #E6F2F0; }
.tic-example-photo ul { color: #F1F5F4; }
.tic-example-photo .tic-example-days { background: rgba(255, 255, 255, 0.92); }
.tic-example-photo .tic-example-link { color: #FDBA74; }

/* ---------------------------------------------------------------- screenshots */
.tic-gallery { position: relative; }
/* One row of screenshots at their own proportions, scrolled sideways (swipe, wheel or the arrows) */
.tic-shots {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 4px;
    padding: 8px 4px 22px;
    align-items: flex-start;
    scrollbar-width: thin;
}
.tic-shot { margin: 0; flex: 0 0 min(560px, 82vw); scroll-snap-align: start; }
.tic-gallery-nav {
    position: absolute;
    top: 45%;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--tic-teal-line);
    background: #fff;
    color: var(--tic-teal-dark);
    box-shadow: 0 6px 18px rgba(15, 34, 51, 0.15);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tic-gallery-nav:hover { background: var(--tic-teal-tint); }
.tic-gallery-prev { left: -18px; }
.tic-gallery-next { right: -18px; }
.tic-shot-frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 380px;
    padding: 0;
    border: 1px solid var(--tic-teal-line);
    border-radius: 14px;
    overflow: hidden;
    background: #F2F5F7;
    box-shadow: 0 14px 40px rgba(15, 34, 51, 0.12);
    cursor: zoom-in;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
}
/* Tall screenshots show their top (faded out); short ones sit in the middle - never stretched */
.tic-shot-frame { justify-content: flex-start; }
.tic-shot-frame.tic-shot-short { justify-content: center; }
.tic-shot-frame.tic-shot-short::after { display: none; }
.tic-shot-frame img { display: block; width: 100%; height: auto; flex-shrink: 0; }
.tic-shot-frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(180deg, rgba(242, 245, 247, 0) 0%, rgba(242, 245, 247, 0.95) 100%);
}
.tic-shot-frame:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(15, 34, 51, 0.16); }
.tic-shot-frame:focus-visible { outline: 3px solid #5EEAD4; outline-offset: 2px; }

.tic-lightbox {
    width: min(1140px, 96vw);
    max-height: 94vh;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #fff;
    overflow: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.tic-lightbox::backdrop { background: rgba(15, 34, 51, 0.72); }
.tic-lightbox figure { margin: 0; }
.tic-lightbox img { display: block; width: 100%; height: auto; }
.tic-lightbox figcaption { padding: 12px 18px 16px; text-align: center; font-weight: 700; color: var(--tic-ink); }
.tic-lightbox-close, .tic-lightbox-nav {
    position: fixed;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(15, 34, 51, 0.78);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Pinned to the screen, at the edges of the enlarged screenshot */
.tic-lightbox-close { top: calc(3vh + 12px); right: max(12px, calc(50vw - min(570px, 48vw) + 12px)); }
.tic-lightbox-nav { top: calc(50% - 22px); }
.tic-lightbox-prev { left: max(12px, calc(50vw - min(570px, 48vw) + 12px)); }
.tic-lightbox-next { right: max(12px, calc(50vw - min(570px, 48vw) + 12px)); }
.tic-lightbox-close:hover, .tic-lightbox-nav:hover { background: rgba(15, 34, 51, 0.95); }
.tic-shot figcaption { margin-top: 12px; text-align: center; font-weight: 700; color: var(--tic-ink); }

/* ---------------------------------------------------------------- order form */
.tic-order-form { max-width: 760px; margin: 0 auto; }
.tic-account-check { align-items: flex-start; }
.tic-account-check > span { display: flex; flex-direction: column; gap: 4px; }
.tic-offer {
    display: inline-block;
    background: var(--tic-orange-tint);
    color: #9A4A08;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 10px;
    border-radius: 8px;
    margin-top: 4px;
}
.tic-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    background: var(--tic-teal-tint);
    border: 1px solid var(--tic-teal-line);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 18px 0;
}
.tic-summary > div { display: flex; align-items: baseline; gap: 12px; }
.tic-summary-label { font-weight: 700; color: var(--tic-ink); }
.tic-summary-price { font-size: 1.5rem; color: var(--tic-teal-dark); }
.tic-summary .oct-hint { margin: 0; flex: 1 1 260px; }
.tic-order-form .oct-submit { width: 100%; }

/* ---------------------------------------------------------------- FAQ */
.tic-faq { max-width: 760px; margin: 28px auto 0; }
.tic-faq details { border-bottom: 1px solid #E3EBE9; padding: 16px 4px; }
.tic-faq summary { cursor: pointer; font-weight: 700; color: var(--tic-ink); }
.tic-faq p { margin: 10px 0 0; line-height: 1.6; }

/* ---------------------------------------------------------------- order page, account box */
.tic-narrow { max-width: 680px; margin: 0 auto; padding: 48px 20px 64px; }
.tic-state { text-align: center; }
.tic-state h1 { color: var(--tic-ink); font-size: 1.6rem; margin: 10px 0; }
.tic-state p { line-height: 1.6; }
.tic-spinner {
    width: 44px;
    height: 44px;
    margin: 6px auto 0;
    border-radius: 50%;
    border: 4px solid var(--tic-teal-tint);
    border-top-color: var(--tic-teal);
    animation: tic-spin 0.9s linear infinite;
}
@keyframes tic-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tic-spinner { animation: none; } }
.tic-steps-progress { margin-top: 20px; }

.tic-account { border-left: 4px solid var(--tic-orange); scroll-margin-top: 90px; }
.tic-account h2 { color: var(--tic-ink); font-size: 1.2rem; margin: 10px 0 6px; }
.tic-account p { line-height: 1.6; }
.tic-partner-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: var(--tic-muted); }

/* ---------------------------------------------------------------- legal pages */
.tic-legal { max-width: 820px; margin: 0 auto; padding: 48px 20px 64px; line-height: 1.65; }
.tic-legal h1 { color: var(--tic-ink); margin-bottom: 4px; }
.tic-legal h2 { color: var(--tic-ink); font-size: 1.15rem; margin: 32px 0 10px; padding-bottom: 6px; border-bottom: 1px solid #E3EBE9; scroll-margin-top: 90px; }
.tic-legal-updated { color: var(--tic-muted); font-size: 0.88rem; margin-top: 0; }
.tic-legal a { color: var(--tic-teal); }
.tic-legal li { margin-bottom: 6px; }
.tic-legal-toc { background: #F5F8F8; border: 1px solid #E3EBE9; border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.tic-legal-toc ol { list-style: none; padding: 0; margin: 8px 0 0; columns: 2; column-gap: 24px; }
.tic-legal-print { margin-top: 32px; text-align: center; }
@media print {
    .tic-header, .tic-footer, .tic-legal-print, .tic-legal-toc, .provider-reveal { display: none !important; }
}

/* ---------------------------------------------------------------- footer */
.tic-footer { background: #0F2233; color: #C9D6DF; margin-top: 0; }
.tic-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    align-items: start;
}
.tic-footer .tic-brand { color: #fff; }
.tic-footer p { margin: 8px 0 0; line-height: 1.55; font-size: 0.92rem; }
.tic-footer a { color: #99F6E4; }
.tic-footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.tic-footer-copy { text-align: center; font-size: 0.8rem; color: #8193A3; margin: 0; padding: 14px 20px 24px; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
    .tic-hero-inner { grid-template-columns: 1fr; padding: 40px 16px 48px; gap: 32px; }
    .tic-hero-card { transform: none; }
    .tic-steps, .tic-features { grid-template-columns: 1fr; }
    .tic-gallery-nav { display: none; }
    .tic-hero-wall { left: -10%; }
    .tic-hero-collage::after { background: rgba(242, 250, 248, 0.86); }
    .tic-footer-inner { grid-template-columns: 1fr; }
    .tic-nav { display: none; }
    .tic-header-actions { margin-left: auto; }
}
@media (max-width: 520px) {
    .tic-header-inner { padding: 8px 12px; gap: 10px; }
    .tic-brand-name { font-size: 1rem; }
    .tic-section { padding: 44px 16px; }
    .tic-legal-toc ol { columns: 1; }
    .tic-btn-large { width: 100%; }
}
