/**
 * Traveling With Pets — styles
 *
 * Aligned with the Broker Partner Program and Thank You templates: same fonts
 * (Red Hat Display headings / --pp-font body), same accent (#E6559B), same pill
 * buttons and hovers, same 24px card radius, same 96 / 64 / 48px section rhythm
 * and the same cream (#FAF8F5) ↔ white section alternation.
 *
 * Red Hat Display is imported the same way broker-partner.css does it — it is
 * not part of the theme's own font stack, and --pp-font-title is only defined
 * on the broker page.
 *
 * Everything is scoped under `.twp`: the reset and the bare `section` rules
 * inherited from the original mockup must not leak into the YOOtheme header and
 * footer wrapped around this template.
 */

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

    .uk-section-large {
        padding-top: 0!important;
        padding-bottom: 0!important;
    }
    
    .uk-container.uk-container-xlarge{
    	padding: 0 !important;
    	max-width: 100%;
    }

.twp {
    /* Accent + neutrals lifted from broker-partner.css */
    --twp-accent:      #e6559b;
    --twp-accent-soft: rgba(230, 85, 155, 0.14);

    --twp-ink:         #000;
    --twp-dark:        #2a2a2a;   /* primary-button hover / dark feature tile */
    --twp-heading:     #404638;   /* card titles */
    --twp-muted:       #7a7569;   /* body copy + descriptions */
    --twp-line:        rgba(64, 70, 56, 0.08);
    --twp-cream:       #faf8f5;
    --twp-bg:          #fff;

    --twp-radius:      24px;      /* cards, panels, slider */
    --twp-radius-sm:   16px;      /* small tiles, icons */

    --twp-font:        var(--pp-font, 'DM Sans', sans-serif);
    --twp-font-title:  var(--pp-font-title, 'Red Hat Display', sans-serif);
}

.twp, .twp * { box-sizing: border-box; margin: 0; padding: 0; }

.twp {
    background: var(--twp-bg);
    color: var(--twp-muted);
    font-family: var(--twp-font);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.twp img { display: block; max-width: 100%; }
.twp a { color: inherit; text-decoration: none; }

.twp h1, .twp h2, .twp h3, .twp h4 {
    font-family: var(--twp-font-title);
    color: var(--twp-ink);
    font-weight: 700;
}

.twp .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 80px);
}

.twp section { padding: 96px 0; }

/* ---------- Shared: eyebrow ---------- */
/* Matches .bpp-*__eyebrow — no decorative dash, unlike the original mockup. */
.twp .eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--twp-accent);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* ---------- Shared: buttons (.bpp-btn) ---------- */
.twp .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 27px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.twp .btn-pink {
    border-color: var(--twp-accent);
    box-shadow: 0 0 25.2px 0 rgba(0, 0, 0, 0.25);
    background: #de3986 !important;
    border: 1px solid var(--twp-accent);
    border-radius: 12px !important;
    text-transform: none;
    color: #fff !important;
    font-size: 14px;
    text-transform: uppercase !important;
}

.twp .btn-pink:hover,
.twp .btn-pink:focus-visible {
    background: #2a2a2a !important;
    color: #fff !important;
}

.twp .btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.twp .btn-ghost:hover,
.twp .btn-ghost:focus-visible {
    background: #2a2a2a !important;
    color: #fff !important;
    border: 1px solid var(--twp-accent);
}

.twp .btn .arrow { font-size: 12px; }

/* ---------- Shared: centred section head ---------- */
.twp .features-head,
.twp .faq-head {
    max-width: 560px;
    margin: 0 auto 63px;
    text-align: center;
}

.twp .features-head h2,
.twp .faq-head h2,
.twp .destinations h2 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 40px;
}

.twp .features-head p,
.twp .destinations .dest-lead {
    font-size: 14px;
    line-height: 23px;
    color: var(--twp-muted);
}

/* ---------- 1. Hero ---------- */
.twp .hero {
    position: relative;
    background: var(--twp-dark);
    color: #fff;
    overflow: hidden;
    padding: 0 15px;
}

.twp .hero-media {
    filter: grayscale(1) brightness(0.5);
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.twp .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.15) 100%);
}

.twp .hero-inner { position: relative; padding: 110px 0 120px; }

.twp .hero h1 {
    max-width: 820px;
    margin: 0 0 23px;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.1;
    letter-spacing: 0;
    color: #fff;
}

.twp .hero p {
    max-width: 540px;
    font-size: 18px;
    line-height: 29px;
    font-weight: 400;
    color: #fff;
}

.twp .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

/* ---------- 2. Stats ---------- */
/* Sits inside .hero-inner, under the CTA buttons — no negative offset, and no
   .container of its own (hero-inner already provides the gutter). */
.twp .stats-wrap {
    position: relative;
    z-index: 3;
    margin-top: 150px;
}

.twp .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgb(20 20 22 / 27%);
    backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--twp-radius);
    color: #fff;
}

.twp .stat {
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.twp .stat:last-child { border-right: none; }

.twp .stat .num {
    font-family: var(--twp-font-title);
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.twp .stat .num em {
    margin-left: 6px;
    font-family: var(--twp-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.7);
}

.twp .stat .lbl {
    margin-top: 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* ---------- 3. How it works ---------- */
.twp .section-head {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 56px;
}

.twp .section-head h2 {
    font-size: 36px;
    line-height: 40px;
}

.twp .section-head p {
    max-width: 400px;
    font-size: 14px;
    line-height: 23px;
    color: var(--twp-muted);
}

.twp .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Markers alternate down the row: black, pink, black, … regardless of how many
   steps the repeater holds. */
.twp .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    border-radius: 100%;
    background: var(--twp-ink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.twp .step:nth-child(even) .step-num { background: var(--twp-accent); }

.twp .step-card {
    padding: 33px;
    background: var(--twp-bg);
    border: 1px solid var(--twp-line);
    border-radius: var(--twp-radius);
}

.twp .step-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: var(--twp-heading);
}

.twp .step-card p {
    font-size: 14px;
    line-height: 23px;
    color: var(--twp-muted);
}

/* ---------- 4. Welcome ---------- */
.twp .welcome { padding: 40px 0 96px; }

.twp .welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.twp .welcome-img {
    min-height: 520px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.twp .welcome-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px calc((100vw - 1280px) / 2) 64px 64px;
    background: var(--twp-cream);
}

.twp .welcome-content h2 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 40px;
}

.twp .welcome-content p {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 23px;
    color: var(--twp-muted);
}

.twp .checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.twp .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 23px;
    color: var(--twp-heading);
}

/* Mirrors .bpp-way__num */
.twp .check {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--twp-accent-soft);
    color: var(--twp-accent);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}

/* ---------- 5. Features ---------- */
/* Cream section + white bordered cards, exactly like .bpp-ways. */
.twp .features { background: var(--twp-cream); }

.twp .feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.twp .feat-left {
    display: grid;
    grid-template-rows: 2fr 1fr;
    gap: 20px;
}

.twp .feat-dark {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 33px;
    border-radius: var(--twp-radius);
    background: var(--twp-dark);
    color: #fff;
}

.twp .feat-pink {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 33px;
    border-radius: var(--twp-radius);
    background: var(--twp-accent);
    color: #fff;
}

.twp .feat-pink-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.twp .feat-title {
    margin-bottom: 8px;
    font-family: var(--twp-font-title);
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #fff;
}

.twp .feat-sub {
    font-size: 14px;
    line-height: 23px;
    color: rgba(255, 255, 255, 0.72);
}

.twp .feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--twp-radius-sm);
    background: rgba(255, 255, 255, 0.12);
}

/* Uploaded icons: SVGs carry no intrinsic size, so pin both axes and let the
   artwork letterbox inside rather than stretch. */
.twp .feat-icon img { width: 22px; height: 22px; object-fit: contain; }

/* No icon uploaded yet — collapse the tile instead of leaving a bare square. */
.twp .feat-icon:empty,
.twp .feat-card .ic:empty { display: none; }

.twp .feat-pink .feat-icon { background: rgba(255, 255, 255, 0.2); }

.twp .feat-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.twp .feat-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 130px;
    padding: 25px;
    background: var(--twp-bg);
    border: 1px solid var(--twp-line);
    border-radius: var(--twp-radius-sm);
}

/* Mirrors .bpp-benefit__icon */
.twp .feat-card .ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--twp-accent-soft);
}

.twp .feat-card .ic img { width: 20px; height: 20px; object-fit: contain; }

.twp .feat-card h4 {
    margin-bottom: 8px;
    font-family: var(--twp-font);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--twp-ink);
}

.twp .feat-card p {
    font-size: 14px;
    line-height: 23px;
    color: var(--twp-muted);
}

/* ---------- 6. Destinations ---------- */
.twp .destinations {
    position: relative;
    padding: 200px 0;
    color: #fff;
}

.twp .destinations .dest-media {
    position: absolute;
    inset: 0;
    background-color: var(--twp-dark);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.twp .destinations .dest-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.twp .destinations .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.twp .destinations h2 { color: #fff; }

.twp .destinations .dest-lead {
    max-width: 560px;
    margin: 0 auto 48px;
    color: rgba(255, 255, 255, 0.72);
}

.twp .dest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* Mirrors .bpp-city's glass treatment, scaled up to a card. */
.twp .dest-card {
    padding: 25px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--twp-radius-sm);
}

.twp .dest-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
    color: #fff;
}

.twp .dest-card h4::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--twp-accent);
}

.twp .dest-card p {
    font-size: 14px;
    line-height: 23px;
    color: rgba(255, 255, 255, 0.72);
}

/* ---------- 7. Gallery ---------- */
.twp .gallery { background: var(--twp-cream); }

.twp .gallery-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.twp .gallery-top h2 { font-size: 36px; line-height: 40px; }

.twp .arrows { display: flex; gap: 12px; }

.twp .arrow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(64, 70, 56, 0.15);
    border-radius: 50%;
    background: var(--twp-bg);
    color: var(--twp-ink);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.twp .arrow-btn:hover,
.twp .arrow-btn:focus-visible {
    background: var(--twp-accent);
    border-color: var(--twp-accent);
    color: #fff;
}

.twp .slider {
    position: relative;
    aspect-ratio: 16 / 8;
    border-radius: var(--twp-radius);
    overflow: hidden;
    background: var(--twp-dark);
}

.twp .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.twp .slide.active { opacity: 1; }

.twp .slide-label {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 9px 17px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}

.twp .dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.twp .dot {
    width: 22px;
    height: 4px;
    border: none;
    border-radius: 999px;
    background: rgba(64, 70, 56, 0.18);
    cursor: pointer;
    transition: all 0.3s;
}

.twp .dot.active { width: 36px; background: var(--twp-accent); }

/* ---------- 8. FAQ ---------- */
.twp .faq { background: var(--twp-bg); }

.twp .faq-list { max-width: 780px; margin: 0 auto; }

.twp .faq-item {
    padding: 22px 4px;
    border-bottom: 1px solid var(--twp-line);
}

.twp .faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 6px 0;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 24px;
    line-height: 1.4;
    color: #000;
    overflow: hidden;
    font-family: var(--twp-font);
    font-weight: 500;
    letter-spacing: -.7px;
}

/* Mirrors .bpp-way__num */
/* Outlined circle drawn as a background SVG: plus when closed, minus when open.
   The element is intentionally empty — no glyph is layered over the artwork. */
.twp .faq-toggle {
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Ccircle cx='17.5' cy='17.5' r='16' fill='none' stroke='%23de3986' stroke-width='1.5'/%3E%3Cpath d='M12 17.5h11M17.5 12v11' stroke='%23de3986' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.twp .faq-item.open .faq-toggle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='35' viewBox='0 0 35 35'%3E%3Ccircle cx='17.5' cy='17.5' r='16' fill='none' stroke='%23de3986' stroke-width='1.5'/%3E%3Cpath d='M11 17.5h13' stroke='%23de3986' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.twp .faq-a {
    max-height: 0;
    font-family: var(--twp-font);
    overflow: hidden;
    font-size: 18px;
    line-height: 23px;
    color: #000000;
    transition: max-height 0.35s ease;
}

.twp .faq-a-inner { max-width: 640px; padding: 14px 4px 6px; }
.twp .faq-item.open .faq-a { max-height: 220px; }

/* ---------- 9. Final CTA ---------- */
.twp .final {
    position: relative;
    padding: 120px 0;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.twp .final .final-media {
    position: absolute;
    inset: 0;
    background-color: var(--twp-dark);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.twp .final .final-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.twp .final .container { position: relative; z-index: 2; }

.twp .final h2 {
    margin-bottom: 16px;
    font-size: 36px;
    line-height: 40px;
    color: #fff;
}

.twp .final p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 23px;
    color: rgba(255, 255, 255, 0.72);
}

.twp .final .hero-cta { justify-content: center; margin-top: 36px; }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
    .twp section { padding: 64px 0; }
    .twp .welcome { padding: 32px 0 64px; }
    .twp .destinations,
    .twp .final { padding: 64px 0; }

    .twp .hero-inner { padding: 80px 0 80px; }
    .twp .stats-wrap { margin-top: 40px; }
    .twp .stats { grid-template-columns: 1fr; }
    .twp .stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .twp .stat:last-child { border-bottom: none; }

    .twp .section-head { grid-template-columns: 1fr; gap: 20px; }
    .twp .steps { grid-template-columns: 1fr; gap: 24px; max-width: 560px; margin: 0 auto; }
    .twp .welcome-grid { grid-template-columns: 1fr; }
    .twp .welcome-img { min-height: 320px; }
    .twp .welcome-content { padding: 40px 28px; }
    .twp .feat-grid { grid-template-columns: 1fr; }
    .twp .feat-right { grid-template-columns: 1fr; }
    .twp .dest-grid { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
    .twp section { padding: 48px 0; }
    .twp .welcome { padding: 24px 0 48px; }
    .twp .destinations,
    .twp .final { padding: 48px 0; }

    .twp .hero-inner { padding: 56px 0 56px; }
    .twp .hero-cta { flex-direction: column; align-items: stretch; }
    .twp .btn { flex: 1 1 auto; width: 100%; }

    .twp .features-head,
    .twp .faq-head { margin-bottom: 40px; }

    .twp .features-head h2,
    .twp .faq-head h2,
    .twp .destinations h2,
    .twp .section-head h2,
    .twp .welcome-content h2,
    .twp .gallery-top h2,
    .twp .final h2 { font-size: 28px; line-height: 34px; }

    .twp .feat-card { padding: 22px; }
    .twp .step-card { padding: 26px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    .twp .slide,
    .twp .faq-a,
    .twp .arrow-btn,
    .twp .btn,
    .twp .dot { transition: none; }
}