Travel — Travel Agency Landing
A bright, conversion-focused landing for the fictional tour operator Voyala, dressed in sky blue, warm sand, and orange with a clean Work Sans body and Fraunces display face. A gradient horizon hero pairs layered SVG hills and a rising sun with a real booking widget — destination autocomplete, validated dates, and a traveler stepper — that runs a friendly searching-to-results teaser. Below sit six priced tour packages with save-to-trip hearts, trust badges, animated stats, testimonials, and a validated lead-capture call to action.
MCP
Code
:root {
--bg: #fbf7f1;
--surface: #ffffff;
--ink: #1c2434;
--muted: #5d6675;
--sky: #1d8fd1;
--sky-deep: #0f6aa3;
--sand: #f3e3c8;
--sand-deep: #e7d2ab;
--orange: #f0813a;
--orange-deep: #d96a23;
--teal: #1f8a8a;
--line: rgba(28, 36, 52, 0.12);
--shadow-sm: 0 2px 8px rgba(28, 36, 52, 0.08);
--shadow-md: 0 14px 40px rgba(28, 36, 52, 0.14);
--shadow-lg: 0 28px 70px rgba(15, 106, 163, 0.22);
--radius: 16px;
--radius-sm: 11px;
--serif: "Fraunces", Georgia, "Times New Roman", serif;
--sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
--maxw: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--sans);
font-size: 16px;
line-height: 1.55;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link {
position: absolute; left: 16px; top: -60px; z-index: 200;
background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
transition: top 0.18s ease; font-weight: 600;
}
.skip-link:focus { top: 16px; }
:focus-visible {
outline: 3px solid var(--sky);
outline-offset: 2px;
border-radius: 4px;
}
/* ---------- Buttons ---------- */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
font-family: var(--sans); font-weight: 600; font-size: 0.97rem;
padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sky); color: #fff; box-shadow: 0 8px 20px rgba(29, 143, 209, 0.32); }
.btn-primary:hover { background: var(--sky-deep); box-shadow: 0 10px 26px rgba(15, 106, 163, 0.4); }
.btn-coral { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(240, 129, 58, 0.34); }
.btn-coral:hover { background: var(--orange-deep); box-shadow: 0 10px 26px rgba(217, 106, 35, 0.42); }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.85; cursor: progress; }
/* ---------- Header ---------- */
.site-header {
position: sticky; top: 0; z-index: 100;
background: rgba(251, 247, 241, 0.82);
backdrop-filter: saturate(160%) blur(12px);
-webkit-backdrop-filter: saturate(160%) blur(12px);
border-bottom: 1px solid transparent;
transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
border-bottom-color: var(--line);
box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.brand-mark {
display: inline-grid; place-items: center; width: 34px; height: 34px;
border-radius: 10px; color: #fff;
background: linear-gradient(135deg, var(--sky), var(--teal));
box-shadow: var(--shadow-sm);
}
.brand-name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 26px; margin-left: 14px; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; }
.main-nav a::after {
content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
background: var(--orange); border-radius: 2px; transition: width 0.2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.phone { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.phone:hover { color: var(--sky-deep); }
.phone svg { color: var(--teal); }
.nav-toggle {
display: none; flex-direction: column; gap: 5px; margin-left: auto;
background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
display: flex; flex-direction: column; gap: 6px; padding: 14px 24px 22px;
border-top: 1px solid var(--line); background: var(--bg);
}
.mobile-nav a { padding: 11px 6px; font-weight: 600; color: var(--ink); border-radius: 10px; }
.mobile-nav a:hover { background: rgba(29, 143, 209, 0.08); }
.mobile-nav .btn { margin-top: 8px; }
/* ---------- Hero ---------- */
.hero {
position: relative; overflow: hidden; isolation: isolate;
padding: clamp(40px, 6vw, 72px) 0 0;
}
.hero-scene { position: absolute; inset: 0; z-index: -2; }
.hero-scene::before {
content: ""; position: absolute; inset: 0;
background:
radial-gradient(140% 90% at 78% -10%, rgba(240, 129, 58, 0.22), transparent 55%),
linear-gradient(180deg, #bfe6f6 0%, #d9eef7 36%, var(--sand) 78%, var(--bg) 100%);
}
.sun {
position: absolute; top: 8%; right: 14%; width: clamp(110px, 16vw, 200px); aspect-ratio: 1;
border-radius: 50%;
background: radial-gradient(circle at 50% 50%, #fff3da 0%, #ffd98a 45%, rgba(240, 129, 58, 0.35) 72%, transparent 76%);
filter: blur(0.4px);
}
.hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(180px, 26vw, 320px); }
.hill-3 { fill: #8fc7b8; opacity: 0.85; }
.hill-2 { fill: #5fae9d; }
.hill-1 { fill: #2f8c79; }
.clouds span {
position: absolute; height: 22px; border-radius: 999px;
background: rgba(255, 255, 255, 0.78); filter: blur(0.5px);
}
.clouds span:nth-child(1) { top: 16%; left: 8%; width: 110px; box-shadow: 50px 8px 0 -4px rgba(255,255,255,0.7); }
.clouds span:nth-child(2) { top: 28%; left: 34%; width: 80px; }
.clouds span:nth-child(3) { top: 12%; left: 58%; width: 64px; opacity: 0.7; }
.hero-inner {
display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px);
align-items: center; padding-bottom: clamp(48px, 7vw, 80px); position: relative;
}
.hero-copy { max-width: 540px; }
.eyebrow {
display: inline-flex; align-items: center; gap: 8px;
background: rgba(255, 255, 255, 0.7); color: var(--ink);
padding: 7px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
box-shadow: var(--shadow-sm); margin-bottom: 18px;
border: 1px solid rgba(255, 255, 255, 0.9);
}
.hero-copy h1 {
font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; color: var(--ink);
}
.hero-copy h1 em { font-style: italic; color: var(--orange-deep); }
.lede { margin-top: 18px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 46ch; }
.hero-bullets { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-bullets li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.95rem; }
.hero-bullets span {
display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
background: var(--teal); color: #fff; font-size: 0.72rem; font-weight: 700;
}
/* Search card */
.search-card {
background: var(--surface); border-radius: var(--radius);
padding: clamp(20px, 2.4vw, 28px); box-shadow: var(--shadow-lg);
border: 1px solid rgba(255, 255, 255, 0.9); width: 100%; max-width: 420px; justify-self: end;
}
.search-title { font-size: 1.35rem; font-weight: 600; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field:last-of-type { margin-bottom: 18px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap svg { position: absolute; left: 12px; color: var(--sky); pointer-events: none; }
.input-wrap input { padding-left: 38px; }
.field input {
width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
padding: 11px 13px; transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input::placeholder { color: #9aa1ad; }
.field input:hover { border-color: rgba(29, 143, 209, 0.45); }
.field input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(29, 143, 209, 0.18); }
.field.invalid input { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14); }
.field input[readonly] { text-align: center; cursor: default; }
.error { color: #c23232; font-size: 0.78rem; min-height: 0; margin: 0; font-weight: 500; }
.error:empty { display: none; }
.stepper {
display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff;
}
.stepper input { border: 0; border-radius: 0; }
.stepper input:focus { box-shadow: none; }
.step-btn {
height: 44px; border: 0; background: #fff; color: var(--sky-deep);
font-size: 1.4rem; line-height: 1; cursor: pointer; font-weight: 600;
transition: background 0.15s ease;
}
.step-btn:hover { background: rgba(29, 143, 209, 0.1); }
.step-btn:disabled { color: #c2c7cf; cursor: not-allowed; }
.search-result {
margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm);
background: linear-gradient(135deg, rgba(31, 138, 138, 0.1), rgba(29, 143, 209, 0.08));
border: 1px solid rgba(31, 138, 138, 0.22); font-size: 0.9rem;
}
.search-result.searching { color: var(--muted); }
.search-result strong { color: var(--ink); }
.search-result .res-head { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
.spinner {
width: 16px; height: 16px; border-radius: 50%;
border: 2px solid rgba(29, 143, 209, 0.3); border-top-color: var(--sky);
animation: spin 0.7s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.trust-strip {
display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 6px;
padding: 16px 24px; background: var(--ink); color: rgba(255, 255, 255, 0.86);
font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
}
.trust-strip .dot { color: var(--orange); }
/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 620px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.kicker {
display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
font-size: 0.74rem; font-weight: 700; color: var(--orange-deep); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; }
.section-sub { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.package-card {
position: relative; background: var(--surface); border-radius: var(--radius);
overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
display: flex; flex-direction: column;
transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.package-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.package-media .scene { position: absolute; inset: 0; transition: transform 0.4s ease; }
.package-card:hover .package-media .scene { transform: scale(1.06); }
.scene { background-size: cover; }
.scene-kyoto { background: linear-gradient(180deg, #ffd9b8 0%, #f4a988 38%, #b65c6a 70%, #5d3a55 100%); }
.scene-kyoto::after { content: ""; position: absolute; left: 16%; bottom: 0; width: 30%; height: 56%; background: linear-gradient(180deg, transparent, rgba(60, 30, 50, 0.5)); clip-path: polygon(0 100%, 0 38%, 50% 0, 100% 38%, 100% 100%); }
.scene-iceland { background: linear-gradient(180deg, #7ad0e6 0%, #bfe9d6 42%, #e8f3ee 70%, #d6e4e0 100%); }
.scene-iceland::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.45) 41%, rgba(255,255,255,0.45) 44%, transparent 45%), radial-gradient(60% 30% at 50% 100%, rgba(60,140,180,0.4), transparent); }
.scene-santorini { background: linear-gradient(180deg, #2f7fd1 0%, #5aa6e0 36%, #d9e6f2 64%, #ffffff 100%); }
.scene-santorini::after { content: ""; position: absolute; left: 12%; bottom: 8%; width: 76%; height: 40%; background: repeating-linear-gradient(90deg, #fff 0 18px, #eef3f8 18px 22px); border-top: 6px solid #2f7fd1; border-radius: 4px; }
.scene-morocco { background: linear-gradient(180deg, #f7c873 0%, #e89b4a 40%, #c4623a 72%, #7c3a2e 100%); }
.scene-morocco::after { content: ""; position: absolute; left: 20%; bottom: 0; width: 60%; height: 48%; background: linear-gradient(180deg, rgba(124,58,46,0.2), rgba(60,28,22,0.55)); clip-path: polygon(0 100%, 0 50%, 12% 50%, 12% 20%, 20% 20%, 20% 50%, 50% 50%, 50% 10%, 60% 10%, 60% 50%, 100% 50%, 100% 100%); }
.scene-lisbon { background: linear-gradient(180deg, #ffe1a8 0%, #f4b06a 40%, #e07b5a 72%, #8c4a55 100%); }
.scene-lisbon::after { content: ""; position: absolute; left: 8%; bottom: 0; width: 84%; height: 46%; background: repeating-linear-gradient(90deg, #f6d9b0 0 14px, #e8bd8c 14px 16px); clip-path: polygon(0 100%, 0 30%, 14% 30%, 14% 60%, 30% 60%, 30% 12%, 46% 12%, 46% 60%, 64% 60%, 64% 34%, 82% 34%, 82% 60%, 100% 60%, 100% 100%); }
.scene-nz { background: linear-gradient(180deg, #9ed8e8 0%, #cfe9e0 40%, #6fae8f 70%, #2f6b54 100%); }
.scene-nz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, #fff 47%, #fff 50%, #c9e2e8 51%, #c9e2e8 60%, transparent 61%); clip-path: polygon(0 60%, 22% 38%, 44% 58%, 66% 34%, 88% 56%, 100% 44%, 100% 100%, 0 100%); }
.best-badge {
position: absolute; left: 12px; top: 12px; z-index: 2;
background: rgba(28, 36, 52, 0.78); color: #fff; backdrop-filter: blur(4px);
padding: 5px 11px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
}
.save-btn {
position: absolute; right: 12px; top: 12px; z-index: 2;
width: 38px; height: 38px; display: grid; place-items: center;
background: rgba(255, 255, 255, 0.92); border: 0; border-radius: 50%;
cursor: pointer; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, background 0.2s ease;
}
.save-btn:hover { transform: scale(1.08); }
.save-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--orange-deep); stroke-width: 2; transition: fill 0.18s ease; }
.save-btn[aria-pressed="true"] svg { fill: var(--orange); stroke: var(--orange); }
.save-btn.pulse { animation: pop 0.35s ease; }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }
.package-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.package-region { font-size: 0.78rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.package-name { font-size: 1.22rem; font-weight: 600; }
.package-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.85rem; color: var(--muted); margin-top: 2px; }
.package-meta .rating { color: var(--orange-deep); font-weight: 600; }
.package-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price-block .from { display: block; font-size: 0.72rem; color: var(--muted); }
.price-block .price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.price-block .per { font-size: 0.78rem; color: var(--muted); font-family: var(--sans); }
.package-foot .btn { padding: 9px 16px; font-size: 0.88rem; }
/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
padding: 26px 22px; box-shadow: var(--shadow-sm);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon {
display: inline-grid; place-items: center; width: 52px; height: 52px;
font-size: 1.5rem; border-radius: 14px; margin-bottom: 14px;
background: linear-gradient(135deg, var(--sand), #fff);
}
.why-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.94rem; }
.stat-band {
display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
margin-top: clamp(36px, 5vw, 56px); padding: clamp(26px, 3vw, 40px);
border-radius: var(--radius);
background: linear-gradient(135deg, var(--sky-deep), var(--teal));
color: #fff; box-shadow: var(--shadow-md); text-align: center;
}
.stat strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; }
.stat span { font-size: 0.86rem; opacity: 0.88; }
/* Reviews */
.reviews { background: linear-gradient(180deg, #fff, var(--sand) 220%); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
margin: 0; background: var(--surface); border: 1px solid var(--line);
border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm);
display: flex; flex-direction: column; gap: 14px;
}
.stars { color: var(--orange); letter-spacing: 2px; font-size: 1.05rem; }
.review-card blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; color: var(--ink); font-family: var(--serif); font-weight: 500; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
background: var(--a, var(--sky)); color: #fff; font-weight: 700; font-size: 0.85rem; flex: none;
}
.review-card figcaption strong { display: block; font-size: 0.95rem; }
.review-card figcaption small { color: var(--muted); font-size: 0.82rem; }
/* CTA */
.cta { background: var(--ink); color: #fff; }
.cta-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.cta-copy h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 600; }
.cta-copy > p { margin-top: 14px; color: rgba(255, 255, 255, 0.78); font-size: 1.04rem; max-width: 44ch; }
.cta-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.cta-points span {
display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
background: var(--orange); color: #fff; font-size: 0.75rem; font-weight: 700; flex: none;
}
.cta-form {
background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); backdrop-filter: blur(4px);
}
.cta-form label { color: rgba(255, 255, 255, 0.8); }
.cta-form input { background: rgba(255, 255, 255, 0.96); border-color: transparent; }
.cta-fine { margin-top: 12px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); text-align: center; }
/* Footer */
.site-footer { background: #131a27; color: rgba(255, 255, 255, 0.7); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.site-footer .brand-name { color: #fff; }
.footer-note { font-size: 0.86rem; max-width: 52ch; }
.footer-copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
/* Toast */
.toast {
position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px;
font-weight: 600; font-size: 0.92rem; box-shadow: var(--shadow-lg); z-index: 300;
opacity: 0; transition: transform 0.32s cubic-bezier(.2,.9,.3,1.2), opacity 0.25s ease;
max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 9px;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast::before { content: "✈"; color: var(--orange); }
/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* ---------- Responsive ---------- */
@media (max-width: 940px) {
.main-nav, .phone { display: none; }
.header-cta { margin-left: auto; }
.nav-toggle { display: flex; }
.hero-inner { grid-template-columns: 1fr; }
.search-card { justify-self: stretch; max-width: 100%; margin-top: 8px; }
.package-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
.why-grid { grid-template-columns: repeat(2, 1fr); }
.stat-band { grid-template-columns: repeat(2, 1fr); }
.cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.wrap { padding: 0 18px; }
.header-cta .btn { padding: 10px 16px; }
.package-grid, .review-grid, .why-grid { grid-template-columns: 1fr; }
.hero-bullets { gap: 8px 16px; }
.trust-strip { font-size: 0.76rem; }
}
@media (max-width: 380px) {
.field-row { grid-template-columns: 1fr; }
.brand-name { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
* { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
.reveal { opacity: 1; transform: none; }
}(function () {
"use strict";
/* ---------- Toast helper ---------- */
var toastEl = document.getElementById("toast");
var toastTimer;
function toast(msg) {
if (!toastEl) return;
toastEl.textContent = msg;
toastEl.classList.add("show");
clearTimeout(toastTimer);
toastTimer = setTimeout(function () {
toastEl.classList.remove("show");
}, 3200);
}
/* ---------- Mobile nav ---------- */
var navToggle = document.getElementById("navToggle");
var mobileNav = document.getElementById("mobileNav");
if (navToggle && mobileNav) {
navToggle.addEventListener("click", function () {
var open = navToggle.getAttribute("aria-expanded") === "true";
navToggle.setAttribute("aria-expanded", String(!open));
navToggle.setAttribute("aria-label", open ? "Open menu" : "Close menu");
mobileNav.hidden = open;
});
mobileNav.querySelectorAll("a").forEach(function (a) {
a.addEventListener("click", function () {
navToggle.setAttribute("aria-expanded", "false");
navToggle.setAttribute("aria-label", "Open menu");
mobileNav.hidden = true;
});
});
}
/* ---------- Sticky header shadow ---------- */
var header = document.querySelector(".site-header");
function onScroll() {
if (!header) return;
header.classList.toggle("scrolled", window.scrollY > 8);
}
window.addEventListener("scroll", onScroll, { passive: true });
onScroll();
/* ---------- Packages data + render ---------- */
var packages = [
{ id: "kyoto", region: "Japan", name: "Kyoto & Osaka Loop", scene: "scene-kyoto", days: 9, rating: 4.9, reviews: 412, best: "Best: Mar–Apr", price: 2480 },
{ id: "iceland", region: "Iceland", name: "Ring Road Adventure", scene: "scene-iceland", days: 8, rating: 4.8, reviews: 318, best: "Best: Jun–Aug", price: 2890 },
{ id: "santorini", region: "Greece", name: "Cyclades Island Hop", scene: "scene-santorini", days: 7, rating: 4.9, reviews: 524, best: "Best: May–Sep", price: 1990 },
{ id: "morocco", region: "Morocco", name: "Marrakech Discovery", scene: "scene-morocco", days: 6, rating: 4.7, reviews: 276, best: "Best: Oct–Apr", price: 1540 },
{ id: "lisbon", region: "Portugal", name: "Lisbon & Sintra Escape", scene: "scene-lisbon", days: 5, rating: 4.8, reviews: 389, best: "Best: Apr–Oct", price: 1320 },
{ id: "nz", region: "New Zealand", name: "Queenstown Highlands", scene: "scene-nz", days: 11, rating: 4.9, reviews: 201, best: "Best: Nov–Mar", price: 3650 }
];
var savedTrips = new Set();
var grid = document.getElementById("packageGrid");
var heartSvg = '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 21s-7.5-4.8-10-9.3C.4 8.6 2 5.2 5.2 5c2-.1 3.4 1 3.8 2 .4-1 1.8-2.1 3.8-2 3.2.2 4.8 3.6 3.2 6.7C19.5 16.2 12 21 12 21z"/></svg>';
function fmtPrice(n) {
return "$" + n.toLocaleString("en-US");
}
function renderPackages() {
if (!grid) return;
grid.innerHTML = "";
packages.forEach(function (p, i) {
var card = document.createElement("article");
card.className = "package-card reveal";
card.style.transitionDelay = (i % 3) * 0.06 + "s";
var saved = savedTrips.has(p.id);
card.innerHTML =
'<div class="package-media">' +
'<div class="scene ' + p.scene + '"></div>' +
'<span class="best-badge">' + p.best + '</span>' +
'<button type="button" class="save-btn" data-id="' + p.id + '" aria-pressed="' + saved + '" ' +
'aria-label="' + (saved ? "Remove " : "Save ") + p.name + ' to trips">' + heartSvg + '</button>' +
'</div>' +
'<div class="package-body">' +
'<span class="package-region">' + p.region + '</span>' +
'<h3 class="package-name">' + p.name + '</h3>' +
'<div class="package-meta">' +
'<span class="rating">★ ' + p.rating.toFixed(1) + '</span>' +
'<span>' + p.reviews + ' reviews</span>' +
'<span>' + p.days + ' days</span>' +
'</div>' +
'<div class="package-foot">' +
'<div class="price-block">' +
'<span class="from">from</span>' +
'<span class="price">' + fmtPrice(p.price) + '</span>' +
'<span class="per"> / person</span>' +
'</div>' +
'<button type="button" class="btn btn-coral book-btn" data-id="' + p.id + '">Book now</button>' +
'</div>' +
'</div>';
grid.appendChild(card);
});
observeReveals();
}
if (grid) {
grid.addEventListener("click", function (e) {
var saveBtn = e.target.closest(".save-btn");
if (saveBtn) {
var id = saveBtn.getAttribute("data-id");
var pkg = packages.find(function (p) { return p.id === id; });
var now = !savedTrips.has(id);
if (now) savedTrips.add(id); else savedTrips.delete(id);
saveBtn.setAttribute("aria-pressed", String(now));
saveBtn.setAttribute("aria-label", (now ? "Remove " : "Save ") + pkg.name + " to trips");
saveBtn.classList.remove("pulse");
void saveBtn.offsetWidth; // reflow to restart animation
saveBtn.classList.add("pulse");
toast(now ? "Saved “" + pkg.name + "” to your trips" : "Removed from your trips");
return;
}
var bookBtn = e.target.closest(".book-btn");
if (bookBtn) {
var bid = bookBtn.getAttribute("data-id");
var bpkg = packages.find(function (p) { return p.id === bid; });
var destInput = document.getElementById("dest");
if (destInput) destInput.value = bpkg.name + ", " + bpkg.region;
toast("Great pick! We pre-filled the " + bpkg.region + " trip — pick your dates above.");
var hero = document.querySelector(".hero");
if (hero) hero.scrollIntoView({ behavior: "smooth", block: "start" });
if (destInput) setTimeout(function () { destInput.focus(); }, 500);
}
});
}
renderPackages();
/* ---------- Traveler stepper ---------- */
var travInput = document.getElementById("travelers");
var travMinus = document.getElementById("travMinus");
var travPlus = document.getElementById("travPlus");
var MIN_TRAV = 1, MAX_TRAV = 12;
function updateStepperState() {
var v = parseInt(travInput.value, 10) || MIN_TRAV;
travMinus.disabled = v <= MIN_TRAV;
travPlus.disabled = v >= MAX_TRAV;
}
if (travInput && travMinus && travPlus) {
travMinus.addEventListener("click", function () {
var v = parseInt(travInput.value, 10) || MIN_TRAV;
if (v > MIN_TRAV) { travInput.value = v - 1; updateStepperState(); }
});
travPlus.addEventListener("click", function () {
var v = parseInt(travInput.value, 10) || MIN_TRAV;
if (v < MAX_TRAV) { travInput.value = v + 1; updateStepperState(); }
});
updateStepperState();
}
/* ---------- Date defaults ---------- */
function toISO(d) { return d.toISOString().split("T")[0]; }
var today = new Date();
var depart = document.getElementById("depart");
var ret = document.getElementById("return");
if (depart) depart.min = toISO(today);
if (ret) ret.min = toISO(today);
/* ---------- Field validation helpers ---------- */
function setError(input, errId, msg) {
var field = input.closest(".field");
var err = document.getElementById(errId);
if (msg) {
if (field) field.classList.add("invalid");
input.setAttribute("aria-invalid", "true");
if (err) err.textContent = msg;
} else {
if (field) field.classList.remove("invalid");
input.removeAttribute("aria-invalid");
if (err) err.textContent = "";
}
}
/* ---------- Search form ---------- */
var searchForm = document.getElementById("searchForm");
var searchBtn = document.getElementById("searchBtn");
var searchResult = document.getElementById("searchResult");
if (searchForm) {
var destEl = document.getElementById("dest");
[destEl, depart, ret].forEach(function (el) {
if (el) el.addEventListener("input", function () {
setError(el, el.id + "-err", "");
});
});
searchForm.addEventListener("submit", function (e) {
e.preventDefault();
var ok = true;
var firstBad = null;
if (!destEl.value.trim()) {
setError(destEl, "dest-err", "Tell us where you'd like to go.");
ok = false; firstBad = firstBad || destEl;
}
if (!depart.value) {
setError(depart, "depart-err", "Pick a departure date.");
ok = false; firstBad = firstBad || depart;
}
if (!ret.value) {
setError(ret, "return-err", "Pick a return date.");
ok = false; firstBad = firstBad || ret;
}
if (depart.value && ret.value && ret.value < depart.value) {
setError(ret, "return-err", "Return must be after departure.");
ok = false; firstBad = firstBad || ret;
}
if (!ok) {
if (firstBad) firstBad.focus();
searchResult.hidden = true;
return;
}
// "Searching…" state
searchBtn.setAttribute("aria-busy", "true");
searchBtn.disabled = true;
searchBtn.querySelector(".btn-label").textContent = "Searching…";
searchResult.hidden = false;
searchResult.classList.add("searching");
searchResult.innerHTML = '<div class="res-head"><span class="spinner"></span> Searching live trips…</div>';
var dest = destEl.value.trim();
var travelers = travInput ? travInput.value : "2";
var d1 = new Date(depart.value);
var d2 = new Date(ret.value);
var nights = Math.max(1, Math.round((d2 - d1) / 86400000));
setTimeout(function () {
var matches = 6 + Math.floor(Math.random() * 20);
var lead = 1490 + Math.floor(Math.random() * 1200);
searchBtn.removeAttribute("aria-busy");
searchBtn.disabled = false;
searchBtn.querySelector(".btn-label").textContent = "Search trips";
searchResult.classList.remove("searching");
searchResult.innerHTML =
'<div class="res-head">✅ ' + matches + ' trips to <strong>' + escapeHtml(dest) + '</strong></div>' +
'<div>' + nights + ' nights · ' + travelers + ' traveler' + (travelers === "1" ? "" : "s") +
' · from <strong>' + fmtPrice(lead) + '</strong>/person. A trip designer will tailor the rest.</div>';
toast("Found " + matches + " trips to " + dest + " ✈");
}, 1400);
});
}
function escapeHtml(s) {
return s.replace(/[&<>"']/g, function (c) {
return { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }[c];
});
}
/* ---------- CTA form ---------- */
var ctaForm = document.getElementById("ctaForm");
if (ctaForm) {
var emailEl = document.getElementById("email");
emailEl.addEventListener("input", function () { setError(emailEl, "email-err", ""); });
ctaForm.addEventListener("submit", function (e) {
e.preventDefault();
var val = emailEl.value.trim();
var valid = /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(val);
if (!val) { setError(emailEl, "email-err", "Please enter your email."); emailEl.focus(); return; }
if (!valid) { setError(emailEl, "email-err", "That email doesn't look right."); emailEl.focus(); return; }
setError(emailEl, "email-err", "");
ctaForm.reset();
toast("Thanks! A trip designer will email you within one business day.");
});
}
/* ---------- Stat counters ---------- */
var countersDone = false;
function runCounters() {
if (countersDone) return;
countersDone = true;
document.querySelectorAll(".stat strong[data-count]").forEach(function (el) {
var target = parseFloat(el.getAttribute("data-count"));
var decimals = parseInt(el.getAttribute("data-decimals") || "0", 10);
var start = performance.now();
var dur = 1300;
function tick(now) {
var t = Math.min(1, (now - start) / dur);
var eased = 1 - Math.pow(1 - t, 3);
var val = target * eased;
el.textContent = decimals
? val.toFixed(decimals)
: Math.round(val).toLocaleString("en-US");
if (t < 1) requestAnimationFrame(tick);
else el.textContent = decimals ? target.toFixed(decimals) : target.toLocaleString("en-US");
}
requestAnimationFrame(tick);
});
}
/* ---------- Reveal on scroll + counters ---------- */
var io;
function observeReveals() {
if (!("IntersectionObserver" in window)) {
document.querySelectorAll(".reveal").forEach(function (el) { el.classList.add("in"); });
return;
}
if (!io) {
io = new IntersectionObserver(function (entries) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
entry.target.classList.add("in");
if (entry.target.classList.contains("stat-band")) runCounters();
io.unobserve(entry.target);
}
});
}, { threshold: 0.16 });
}
document.querySelectorAll(".reveal:not(.in)").forEach(function (el) { io.observe(el); });
}
// Mark sections for reveal
document.querySelectorAll(".section-head, .why-card, .review-card, .stat-band, .cta-inner").forEach(function (el) {
el.classList.add("reveal");
});
observeReveals();
})();<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Voyala — Tours & Getaways</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<header class="site-header" id="top">
<div class="wrap header-inner">
<a class="brand" href="#top" aria-label="Voyala home">
<span class="brand-mark" aria-hidden="true">
<svg viewBox="0 0 24 24" width="22" height="22"><path d="M12 2l2.5 6.5L21 11l-6.5 2.5L12 20l-2.5-6.5L3 11l6.5-2.5z" fill="currentColor"/></svg>
</span>
<span class="brand-name">Voyala</span>
</a>
<nav class="main-nav" aria-label="Primary">
<a href="#packages">Packages</a>
<a href="#why">Why us</a>
<a href="#reviews">Reviews</a>
<a href="#cta">Contact</a>
</nav>
<div class="header-cta">
<a class="phone" href="#cta" aria-label="Call us">
<svg viewBox="0 0 24 24" width="16" height="16" aria-hidden="true"><path d="M6.6 10.8a15 15 0 006.6 6.6l2.2-2.2a1 1 0 011-.24 11 11 0 003.5.56 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11 11 0 00.56 3.5 1 1 0 01-.24 1z" fill="currentColor"/></svg>
<span>1-800-VOYALA</span>
</a>
<a class="btn btn-primary" href="#cta">Plan my trip</a>
</div>
<button class="nav-toggle" id="navToggle" aria-expanded="false" aria-controls="mobileNav" aria-label="Open menu">
<span></span><span></span><span></span>
</button>
</div>
<nav class="mobile-nav" id="mobileNav" aria-label="Mobile" hidden>
<a href="#packages">Packages</a>
<a href="#why">Why us</a>
<a href="#reviews">Reviews</a>
<a href="#cta">Contact</a>
<a class="btn btn-primary" href="#cta">Plan my trip</a>
</nav>
</header>
<main id="main">
<!-- HERO -->
<section class="hero" aria-labelledby="hero-title">
<div class="hero-scene" aria-hidden="true">
<div class="sun"></div>
<svg class="hills" viewBox="0 0 1440 320" preserveAspectRatio="none">
<path class="hill hill-3" d="M0 220 L260 120 L520 200 L780 90 L1040 190 L1320 110 L1440 170 L1440 320 L0 320 Z"/>
<path class="hill hill-2" d="M0 260 L220 180 L470 250 L720 160 L980 240 L1240 170 L1440 230 L1440 320 L0 320 Z"/>
<path class="hill hill-1" d="M0 300 L300 240 L600 290 L900 235 L1200 285 L1440 250 L1440 320 L0 320 Z"/>
</svg>
<div class="clouds"><span></span><span></span><span></span></div>
</div>
<div class="wrap hero-inner">
<div class="hero-copy">
<span class="eyebrow">★★★★★ Rated 4.9 by 12,400 travelers</span>
<h1 id="hero-title">Your next great trip, <em>handled.</em></h1>
<p class="lede">Custom tours, hand-picked stays, and local guides across 60+ countries. Tell us where you dream of going — we plan every detail.</p>
<ul class="hero-bullets">
<li><span aria-hidden="true">✓</span> Free cancellation up to 30 days</li>
<li><span aria-hidden="true">✓</span> 24/7 on-trip support</li>
<li><span aria-hidden="true">✓</span> Price-match guarantee</li>
</ul>
</div>
<!-- SEARCH / BOOKING WIDGET -->
<form class="search-card" id="searchForm" novalidate aria-labelledby="search-title">
<h2 id="search-title" class="search-title">Find your getaway</h2>
<div class="field">
<label for="dest">Destination</label>
<div class="input-wrap">
<svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path d="M12 2a7 7 0 00-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 00-7-7zm0 9.5A2.5 2.5 0 1112 6.5a2.5 2.5 0 010 5z" fill="currentColor"/></svg>
<input id="dest" name="dest" list="destList" type="text" autocomplete="off" placeholder="Where to? e.g. Kyoto" aria-describedby="dest-err" />
</div>
<datalist id="destList">
<option value="Kyoto, Japan"></option>
<option value="Santorini, Greece"></option>
<option value="Reykjavík, Iceland"></option>
<option value="Marrakech, Morocco"></option>
<option value="Queenstown, New Zealand"></option>
<option value="Lisbon, Portugal"></option>
</datalist>
<p class="error" id="dest-err" role="alert"></p>
</div>
<div class="field-row">
<div class="field">
<label for="depart">Departure</label>
<input id="depart" name="depart" type="date" aria-describedby="depart-err" />
<p class="error" id="depart-err" role="alert"></p>
</div>
<div class="field">
<label for="return">Return</label>
<input id="return" name="return" type="date" aria-describedby="return-err" />
<p class="error" id="return-err" role="alert"></p>
</div>
</div>
<div class="field">
<label for="travelers">Travelers</label>
<div class="stepper" role="group" aria-labelledby="travelers-label">
<span id="travelers-label" class="sr-only">Number of travelers</span>
<button type="button" class="step-btn" id="travMinus" aria-label="Remove traveler">−</button>
<input id="travelers" name="travelers" type="text" value="2" inputmode="numeric" readonly aria-live="polite" />
<button type="button" class="step-btn" id="travPlus" aria-label="Add traveler">+</button>
</div>
</div>
<button type="submit" class="btn btn-primary btn-block" id="searchBtn">
<span class="btn-label">Search trips</span>
</button>
<div class="search-result" id="searchResult" hidden aria-live="polite"></div>
</form>
</div>
<div class="trust-strip" aria-label="Memberships">
<span>IATA Accredited</span>
<span class="dot" aria-hidden="true">•</span>
<span>ATOL Protected</span>
<span class="dot" aria-hidden="true">•</span>
<span>Carbon-offset tours</span>
<span class="dot" aria-hidden="true">•</span>
<span>B-Corp pending</span>
</div>
</section>
<!-- PACKAGES -->
<section class="section packages" id="packages" aria-labelledby="pkg-title">
<div class="wrap">
<div class="section-head">
<span class="kicker">Trending now</span>
<h2 id="pkg-title">Popular packages</h2>
<p class="section-sub">All-inclusive escapes our travelers can't stop booking. Prices per person.</p>
</div>
<div class="package-grid" id="packageGrid">
<!-- cards injected by JS -->
</div>
</div>
</section>
<!-- WHY BOOK WITH US -->
<section class="section why" id="why" aria-labelledby="why-title">
<div class="wrap">
<div class="section-head">
<span class="kicker">The Voyala promise</span>
<h2 id="why-title">Why book with us</h2>
</div>
<div class="why-grid">
<article class="why-card">
<span class="why-icon" aria-hidden="true">🛡️</span>
<h3>Every trip protected</h3>
<p>Financial protection and free changes on all bookings. Your money and your plans stay safe.</p>
</article>
<article class="why-card">
<span class="why-icon" aria-hidden="true">🧭</span>
<h3>Real local experts</h3>
<p>Itineraries built by people who live there — not algorithms. Hand-tested routes and stays.</p>
</article>
<article class="why-card">
<span class="why-icon" aria-hidden="true">💬</span>
<h3>24/7 support</h3>
<p>A real human on the line wherever you are, whatever the hour. Missed a train? We'll fix it.</p>
</article>
<article class="why-card">
<span class="why-icon" aria-hidden="true">🌱</span>
<h3>Travel that gives back</h3>
<p>Every tour offsets its carbon and supports local guides, makers, and conservation projects.</p>
</article>
</div>
<div class="stat-band" role="list">
<div class="stat" role="listitem"><strong data-count="60">0</strong><span>Countries</span></div>
<div class="stat" role="listitem"><strong data-count="12400">0</strong><span>Happy travelers</span></div>
<div class="stat" role="listitem"><strong data-count="4.9" data-decimals="1">0</strong><span>Average rating</span></div>
<div class="stat" role="listitem"><strong data-count="15">0</strong><span>Years of journeys</span></div>
</div>
</div>
</section>
<!-- REVIEWS -->
<section class="section reviews" id="reviews" aria-labelledby="rev-title">
<div class="wrap">
<div class="section-head">
<span class="kicker">Real travelers</span>
<h2 id="rev-title">Loved by wanderers</h2>
</div>
<div class="review-grid">
<figure class="review-card">
<div class="stars" aria-label="5 out of 5 stars">★★★★★</div>
<blockquote>Voyala planned our two weeks in Japan down to the train minute. We just showed up and fell in love.</blockquote>
<figcaption>
<span class="avatar" style="--a:#1f8a8a">MA</span>
<span><strong>Mara A.</strong><small>Kyoto & Osaka loop</small></span>
</figcaption>
</figure>
<figure class="review-card">
<div class="stars" aria-label="5 out of 5 stars">★★★★★</div>
<blockquote>Our flight was cancelled at midnight. One call and they had us rebooked before we'd finished panicking.</blockquote>
<figcaption>
<span class="avatar" style="--a:#e8623f">JP</span>
<span><strong>Jon & Priya</strong><small>Iceland ring road</small></span>
</figcaption>
</figure>
<figure class="review-card">
<div class="stars" aria-label="5 out of 5 stars">★★★★★</div>
<blockquote>The local guide in Marrakech felt like an old friend by day two. Worth every single penny.</blockquote>
<figcaption>
<span class="avatar" style="--a:#c79a3a">DL</span>
<span><strong>Dana L.</strong><small>Morocco discovery</small></span>
</figcaption>
</figure>
</div>
</div>
</section>
<!-- CTA -->
<section class="section cta" id="cta" aria-labelledby="cta-title">
<div class="wrap cta-inner">
<div class="cta-copy">
<h2 id="cta-title">Ready when you are</h2>
<p>Drop your email and one of our trip designers will reach out within one business day with a free, no-obligation plan.</p>
<ul class="cta-points">
<li><span aria-hidden="true">✓</span> No fees to start planning</li>
<li><span aria-hidden="true">✓</span> A dedicated human designer</li>
<li><span aria-hidden="true">✓</span> Tailored to your budget</li>
</ul>
</div>
<form class="cta-form" id="ctaForm" novalidate aria-label="Request a plan">
<div class="field">
<label for="email">Email address</label>
<input id="email" name="email" type="email" placeholder="you@email.com" aria-describedby="email-err" />
<p class="error" id="email-err" role="alert"></p>
</div>
<button type="submit" class="btn btn-coral btn-block">Get my free plan</button>
<p class="cta-fine">We'll never share your email. Unsubscribe anytime.</p>
</form>
</div>
</section>
</main>
<footer class="site-footer">
<div class="wrap footer-inner">
<div class="brand">
<span class="brand-mark" aria-hidden="true">
<svg viewBox="0 0 24 24" width="20" height="20"><path d="M12 2l2.5 6.5L21 11l-6.5 2.5L12 20l-2.5-6.5L3 11l6.5-2.5z" fill="currentColor"/></svg>
</span>
<span class="brand-name">Voyala</span>
</div>
<p class="footer-note">Fictional travel agency built for demo purposes. Destinations, prices, and reviews are illustrative.</p>
<p class="footer-copy">© 2026 Voyala Tours. All journeys imaginary.</p>
</div>
</footer>
<div class="toast" id="toast" role="status" aria-live="polite"></div>
<script src="script.js"></script>
</body>
</html>Travel Agency Landing
A sales-driven landing page for Voyala, a fictional tour operator. The hero builds its “landscape photography” entirely from CSS and inline SVG — a layered gradient sky, a soft rising sun, drifting clouds, and three teal mountain ridges — and sits behind a white booking card. That widget is the centerpiece: a destination field with autocomplete suggestions, departure and return date pickers, and an accessible +/− traveler stepper clamped between one and twelve.
Submitting the search validates every field inline (empty destination, missing dates, and a return that lands before departure all get focused, flagged messages), then shows a “Searching live trips…” spinner before resolving to a results teaser with a trip count, night count, and a from-price. Six tour packages render from data with best-time badges, ratings, and per-person prices; each heart toggles a save-to-trip state with a pulse and toast, and “Book now” pre-fills the search and scrolls you back up. Trust badges, count-up statistics, testimonials, and a validated email call to action round out the funnel, with a sticky condensing header, a full-ARIA mobile menu, scroll reveals, and prefers-reduced-motion support throughout.
Illustrative travel UI only — fictional destinations, prices, and maps.