/* ============================================================
   Content sections (built section-by-section from Figma)
   ============================================================ */

/* Shared section rhythm + centered header block */
.section { padding-block: var(--space-64); }
.section__header { text-align: center; max-width: 900px; margin-inline: auto; }
.section__header .eyebrow { display: block; margin-bottom: var(--space-12); }
.section__header h2 { font-size: 48px; line-height: 1.1; margin-bottom: var(--space-20); }
.section__header p { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-primary); margin: 0; }

/* ---------- 2. Home intro + USP row ------------------------ */
.section__home-intro { padding-block: var(--space-64); text-align: center; }
.usp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-24);
  margin-top: var(--space-48);
}
.usp-card { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); }
.usp-card__icon { width: 80px; height: 80px; }
.usp-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 1.3;
  color: var(--text-primary);
  max-width: 12ch;
}

/* Display italic emphasis word ("Perfect", "Summer") */
h1 em, h2 em, h3 em, .hero__title em { font-style: italic; }

/* ---------- 3a. Holiday search form (v8) -------------------- */
.search-block { padding-block: var(--space-32); text-align: center; }
.search-block__title { font-size: var(--fs-h1); line-height: var(--lh-h1); margin-bottom: var(--space-24); color: var(--text-primary); }

.hsearch {
  background: var(--surface-teal-50);   /* #e0f1f3 */
  border-radius: var(--radius-md);
  padding: var(--space-24) var(--space-16);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
.hsearch__tabs { display: flex; gap: var(--space-16); }
.hsearch__tab {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px; line-height: 20px; font-weight: var(--fw-medium);
  letter-spacing: .1px; color: var(--navy-500);
  background: none; border: 0; padding: 0 0 5px;
}
.hsearch__tab.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: #fdb900;
}

.hsearch__fields { display: flex; flex-wrap: wrap; gap: var(--space-12); align-items: flex-end; }
.hfield { display: flex; flex-direction: column; gap: var(--space-2); }
.hfield > label { font-family: var(--font-body); font-size: 14px; line-height: 20px; font-weight: var(--fw-semibold); letter-spacing: .1px; color: var(--navy-500); }
.hfield--depart   { width: 240px; }
.hfield--dest     { width: 280px; }
.hfield--date     { width: 180px; }
.hfield--duration { width: 140px; }
.hfield--guests   { width: 174px; position: relative; }
.hfield--submit   { width: 174px; }

.hinput {
  display: flex; align-items: center;
  height: 56px; background: var(--neutral-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hinput:focus-within { border-color: var(--teal-500); box-shadow: 0 0 0 2px rgba(0,138,156,.15); }
.hinput input, .hinput .hselect, .hinput .hinput__btn {
  flex: 1 1 auto; min-width: 0; height: 100%;
  border: 0; background: none; outline: none;
  font-family: var(--font-body); font-size: 16px; color: var(--navy-500);
  padding: 0 var(--space-12);
}
.hinput input::placeholder { color: var(--neutral-500); }
.hselect { color: var(--neutral-500); appearance: none; -webkit-appearance: none; cursor: pointer; }
.hselect:valid, .hfield--duration .hselect option { color: var(--navy-500); }
.hinput__btn { text-align: left; cursor: pointer; display: flex; align-items: center; }
.hinput__btn-ph { color: var(--neutral-500); }
.hinput__btn.has-value .hinput__btn-ph { color: var(--navy-500); }
.hinput__icon { width: 24px; height: 24px; flex: 0 0 auto; color: var(--navy-500); margin: 0 var(--space-8); }
.hinput--icon-left .hinput__icon { order: -1; }

.hsearch__submit {
  width: 100%; height: 56px;
  background: var(--gold-400); color: var(--navy-500);
  border: 0; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: 14px;
  cursor: pointer; transition: background-color .18s ease;
}
.hsearch__submit:hover { background: #f0b91a; }
.hsearch__submit svg, .hsearch__submit-ic { width: 22px; height: 22px; display: block; }
.hsearch__result { margin: var(--space-4) 0 0; font-size: 14px; color: var(--navy-500); font-weight: var(--fw-semibold); }

/* Guests stepper popover */
.guests-pop {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0;
  width: 260px; background: #fff; border: 1px solid var(--border-default);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: var(--space-16); display: flex; flex-direction: column; gap: var(--space-12);
}
.guests-pop[hidden] { display: none; }
.guests-row { display: flex; align-items: center; justify-content: space-between; }
.guests-row strong { display: block; font-size: 15px; color: var(--navy-500); font-family: var(--font-body); }
.guests-row small { color: var(--neutral-500); font-size: 12px; }
.stepper { display: flex; align-items: center; gap: var(--space-12); }
.stepper button {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 1px solid var(--teal-500); background: #fff; color: var(--teal-500);
  font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper span { min-width: 20px; text-align: center; font-weight: var(--fw-semibold); color: var(--navy-500); }
.guests-apply {
  margin-top: var(--space-4); background: var(--teal-500); color: #fff; border: 0;
  border-radius: var(--radius-sm); padding: 10px; font-weight: var(--fw-semibold); font-size: 14px;
}

/* ---------- 3b. Destination card collection ---------------- */
.collection-band { background: var(--teal-50); padding-block: var(--space-64); }

/* Filter tabs — left-aligned, full-width divider, teal active underline */
.filter-tabs {
  display: flex; gap: var(--space-32);
  margin: var(--space-32) 0 var(--space-24);
  border-bottom: 1px solid var(--border-default);
}
.filter-tab {
  position: relative;
  font-family: var(--font-body); font-size: 18px; font-weight: var(--fw-medium);
  color: var(--navy-500); background: none; border: 0;
  padding: 0 2px 12px; margin-bottom: -1px;
}
.filter-tab.is-active { font-weight: var(--fw-semibold); }
.filter-tab.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--teal-500);
}

/* Static 4-up grid (blog, etc.) */
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }

/* Horizontal scroll collections (Summer / Rail / Winter) */
.scroll-cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px;
  gap: var(--grid-gap);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-8);
  scrollbar-width: thin;
}
.scroll-cards > .dest-card { scroll-snap-align: start; }
.scroll-cards .dest-card__more { margin-top: auto; }

/* Destination card (v8: navy hairline border, no shadow, 4px radius) */
.dest-card {
  background: var(--surface-default);
  border: 1px solid var(--navy-500);
  border-radius: var(--radius-sm);
  padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-16);
}
.dest-card__img { height: 280px; width: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.dest-card__body { display: flex; flex-direction: column; gap: var(--space-8); flex: 1; }
.dest-card__region { font-family: var(--font-body); font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: .8px; text-transform: uppercase; color: var(--navy-500); margin-bottom: -6px; }
.dest-card__title { font-family: var(--font-body); font-size: 22px; line-height: 30px; font-weight: var(--fw-medium); color: var(--navy-500); }
.dest-card__desc { font-size: 14px; line-height: 20px; color: var(--navy-500); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dest-card__more { font-size: 14px; font-weight: var(--fw-regular); color: var(--text-brand); display: inline-flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.dest-card__more svg { width: 16px; height: 16px; }
.dest-card__body .dest-card__title { margin-bottom: 2px; }

.section__actions { text-align: center; margin-top: var(--space-40); }

/* ---------- 6. Holiday-styles bento (v8: white cards, 2 rows) --- */
.section--sand { background: var(--sand-50); }
.bento { display: flex; flex-direction: column; gap: var(--grid-gap); margin-top: var(--space-40); }
.bento-row { display: grid; gap: var(--grid-gap); }
.bento-row--1 { grid-template-columns: 346fr 540fr 346fr; }
.bento-row--2 { grid-template-columns: 540fr 346fr 346fr; }
.htype-card { min-height: 444px; }
.htype-card .dest-card__img { height: 280px; }
.htype-card .dest-card__desc { -webkit-line-clamp: 3; line-clamp: 3; }
.htype-card .dest-card__more { margin-top: auto; }

/* ---------- 7. Expertise banner ---------------------------- */
.banner-expertise {
  position: relative;
  background: #e3ebf0;
  text-align: center;
  padding-block: var(--space-64);
  overflow: hidden;
  isolation: isolate;
}
.banner-expertise::before {           /* Richard's real sketch background */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../assets/figma/expertise-bg.jpg") center/cover no-repeat;
}
.banner-expertise::after {            /* v8 overlay: rgba(227,235,240,.75) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(227,235,240,.75);
}
.banner-expertise__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-20); }
.banner-expertise__flag { width: 64px; height: 64px; background: var(--red-500); border-radius: var(--radius-lg); position: relative; }
.banner-expertise__flag::before, .banner-expertise__flag::after { content:""; position:absolute; background:#fff; top:50%; left:50%; transform:translate(-50%,-50%); border-radius:2px; }
.banner-expertise__flag::before { width:32px; height:10px; }
.banner-expertise__flag::after  { width:10px; height:32px; }
.banner-expertise__text { font-family: var(--font-display); font-size: 38px; line-height: 1.25; color: var(--text-primary); margin: 0; font-weight: var(--fw-medium); }
.banner-expertise__text em { font-style: italic; }
.btn--ghost-navy {
  background: rgba(255,255,255,.3); color: var(--navy-500); border-color: #fff;
  text-transform: uppercase; font-size: 14px; letter-spacing: .04em; font-weight: var(--fw-medium);
  padding: 12px var(--space-24);
}
.btn--ghost-navy:hover { background: rgba(255,255,255,.55); }
.btn--ghost-navy .btn__icon { width: 16px; height: 16px; }

/* ---------- 8. Split: explore region ----------------------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--space-48); align-items: center; }
.split__text h2 { font-size: 40px; line-height: 1.15; margin-bottom: var(--space-16); }
.split__text p { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--text-primary); margin-bottom: var(--space-24); }
.split__cards {
  display: grid; grid-auto-flow: column; grid-auto-columns: 320px;
  gap: var(--grid-gap);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; padding-bottom: var(--space-8);
  scrollbar-width: thin;
}
.split__cards > .dest-card { scroll-snap-align: start; }

/* ---------- 9. Why book — feature cards -------------------- */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); margin-top: var(--space-48); }
.feature-card { background: var(--sand-100); border: 1px solid var(--sand-300); border-radius: var(--radius-panel); padding: var(--space-32) var(--space-24); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-12); }
.feature-card__icon { width: 44px; height: 44px; color: var(--navy-500); }
.feature-card h3 { font-family: var(--font-body); font-size: 20px; font-weight: var(--fw-semibold); color: var(--navy-500); }
.feature-card p { font-size: 14px; line-height: 1.45; color: var(--navy-500); margin: 0; }

/* ---------- 10. Testimonials ------------------------------- */
.rating-row { display: flex; align-items: center; justify-content: center; gap: var(--space-12); margin: var(--space-32) 0 var(--space-8); font-weight: 700; color: var(--text-primary); }
.rating-row .stars { display: inline-flex; align-items: center; gap: 2px; }
.star { width: 18px; height: 18px; display: block; }
.rating-row .star { width: 22px; height: 22px; }
.rating-row .feefo { width: 76px; height: auto; display: block; }
.rating-sub { text-align: center; font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-48); }
.rating-sub a { color: var(--text-brand); }
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.testi { display: flex; flex-direction: column; gap: var(--space-12); }
.testi__quote { width: 40px; height: 28px; display: block; }
.testi__stars { display: inline-flex; align-items: center; gap: 2px; }
.testi__text { font-size: 14px; line-height: 1.5; color: var(--navy-500); }
.testi__by { font-size: 13px; color: var(--text-muted); padding-top: var(--space-16); border-top: 1px solid var(--border-default); margin-top: auto; }

/* ---------- 11. Help banner -------------------------------- */
.banner-help { background: var(--sand-100); border: 1px solid var(--sand-300); border-radius: var(--radius-lg); padding: var(--space-24) var(--space-32); display: flex; align-items: center; gap: var(--space-16); }
.banner-help__lead { display: flex; align-items: center; gap: var(--space-16); flex: 0 0 430px; }  /* v8: ~452px lead */
.banner-help__lead > svg { width: 44px; height: 44px; color: var(--navy-500); flex: 0 0 auto; }
.banner-help__lead strong { display: block; font-size: 18px; color: var(--navy-500); }
.banner-help__lead span { font-size: 14px; color: var(--navy-500); }
.banner-help__trust { list-style: none; display: flex; align-items: center; gap: 0; margin: 0; padding: 0; flex: 1 1 auto; }
.banner-help__trust li { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: var(--space-8); font-size: 14px; color: var(--navy-500); border-left: 1px solid var(--border-default); padding-left: var(--space-16); }
.banner-help__trust li img, .banner-help__trust li svg { width: 28px; height: 28px; color: var(--text-primary); flex: 0 0 auto; }
.banner-help__trust li span { display: block; line-height: 1.3; }                      /* wraps within the equal-width item */
.banner-help__trust li:first-child span { white-space: nowrap; }                       /* "ATOL Protected" stays 1 line */
.banner-help__cta { background: var(--red-500); color: #fff; flex: 0 0 auto; }
.banner-help__cta:hover { background: #c41d15; }

/* ---------- 12. Brochures ---------------------------------- */
.brochure { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-48); align-items: center; }
.brochure__text h2 { font-size: 40px; margin-bottom: var(--space-20); }
.brochure__text p { font-size: 15px; color: var(--text-body); margin-bottom: var(--space-16); }
.brochure__covers { display: flex; justify-content: center; }
.brochure__single { width: 100%; max-width: 520px; height: auto; }

/* ---------- 13. Blog -------------------------------------- */
.section__header--split { display: flex; align-items: center; justify-content: space-between; text-align: left; max-width: none; margin-bottom: var(--space-40); }
.section__header--split h2 { font-size: 40px; line-height: 1.15; margin: 0; }

.blog-card { background: var(--surface-default); border: 1px solid var(--navy-500); border-radius: var(--radius-sm); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-12); }
.blog-card__media { position: relative; }
.blog-card__media img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-sm); }
.blog-card__badge { position: absolute; top: var(--space-12); left: var(--space-12); background: var(--blue-500); color: var(--navy-900); font-size: 12px; font-weight: var(--fw-semibold); padding: 4px 12px; border-radius: var(--radius-pill); }
.blog-card__body { display: flex; flex-direction: column; gap: var(--space-8); padding: 0 var(--space-4) var(--space-4); }
.blog-card__top { display: flex; align-items: center; justify-content: space-between; }
.blog-card__date { font-size: 13px; font-weight: var(--fw-semibold); color: var(--navy-500); }
.blog-card__link { font-size: 14px; color: var(--text-brand); display: inline-flex; align-items: center; gap: var(--space-4); }
.blog-card__link svg { width: 16px; height: 16px; }
.blog-card__title { font-family: var(--font-body); font-size: 18px; line-height: 1.3; font-weight: var(--fw-semibold); color: var(--navy-500); }
.blog-card__desc { font-size: 14px; line-height: 20px; color: var(--navy-500); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 14. Footer ------------------------------------- */
.site-footer { background: var(--navy-500); color: #fff; padding-block: var(--space-64); }
.site-footer .brand__the, .site-footer .brand__co { color: rgba(255,255,255,.6); }
.site-footer .brand__swiss { color: var(--red-500); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-32); margin-top: var(--space-48); }
.footer-col h4 { font-family: var(--font-display); font-size: 18px; line-height: 26px; font-weight: var(--fw-medium); margin: 0 0 var(--space-16); color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.footer-col a, .footer-col address { color: #fff; font-size: 16px; font-weight: var(--fw-medium); font-style: normal; line-height: 24px; }
.footer-col a:hover { color: rgba(255,255,255,.7); }
.footer-mid { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-48); gap: var(--space-32); }
.footer-mid__left { display: flex; align-items: center; gap: var(--space-48); }
.footer-mid__label { color: rgba(255,255,255,.85); margin-bottom: 6px; }
.footer-social__tag { color: var(--red-500); font-weight: 700; }
.footer-social__icons { display: flex; gap: var(--space-16); align-items: center; }
.footer-social__icons a { width: 24px; height: 24px; color: #fff; }
.footer-blog__title { color: #fff; font-weight: var(--fw-semibold); text-decoration: underline; font-size: 18px; }
.footer-news { margin-top: var(--space-48); }
.footer-news h4 { font-family: var(--font-display); font-size: 20px; font-weight: var(--fw-medium); margin: 0 0 4px; }
.footer-news p { color: rgba(255,255,255,.8); margin: 0 0 var(--space-16); }
.footer-news__form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: var(--space-16); align-items: stretch; }
.footer-news__form input { padding: 14px var(--space-12); border-radius: var(--radius-lg); border: 1px solid var(--border-default); background: var(--neutral-white); color: var(--navy-500); font-size: 15px; }
.footer-news__form input::placeholder { color: var(--neutral-500); }
.footer-input { display: flex; align-items: center; gap: var(--space-8); background: var(--neutral-white); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 0 var(--space-12); }
.footer-input__icon { width: 22px; height: 18px; flex: 0 0 auto; }
.footer-input input { flex: 1 1 auto; min-width: 0; border: 0; background: none; border-radius: 0; padding: 14px 0; }
.footer-news__form .footer-input:has(input.is-invalid) { border-color: #ff8a80; box-shadow: 0 0 0 2px rgba(255,138,128,.25); }
.footer-news__form input.is-invalid { border-color: #ff8a80; box-shadow: 0 0 0 2px rgba(255,138,128,.25); }
.footer-news__form button { background: var(--teal-500); color: #fff; border: 0; border-radius: var(--radius-sm); padding: 0 var(--space-32); font-weight: 700; letter-spacing: .04em; }
.footer-news__form button:hover { background: var(--teal-600); }
.footer-news__msg { margin: var(--space-12) 0 0; font-size: 14px; font-weight: var(--fw-semibold); }
.footer-news__msg.is-ok { color: #7fe3c4; }
.footer-news__msg.is-error { color: #ff8a80; }
.footer-copy { text-align: center; margin-top: var(--space-48); color: rgba(255,255,255,.75); font-size: 14px; }



