/*
 * Destinations and Our Process.
 *
 * Depends on flipside.css for the palette and flipside-cars.css for the page
 * head, breadcrumb and section primitives.
 */

/* ------------------------------------------------------------------ *
 * Destinations
 * ------------------------------------------------------------------ */

.fl-dest-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.fl-place {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fl-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.fl-place:hover { box-shadow: 0 14px 34px rgba(28, 35, 31, 0.09); border-color: transparent; }

.fl-place-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.fl-place-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fl-place:hover .fl-place-media img { transform: scale(1.04); }

/*
 * The card for a destination we have no cleared photograph of.
 *
 * Set as type rather than left blank or filled with a borrowed image: the
 * airport code is a real piece of information, and a deliberate typographic
 * panel reads as a choice where a grey rectangle reads as a bug.
 */
.fl-place-media.is-type {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fl-heading);
}
.fl-place-media.is-type span {
  font-family: var(--fl-theme-heading-font-family);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0.92;
}

.fl-place-body { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px 22px; }
.fl-place-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fl-primary);
}
.fl-place-body strong { font-family: var(--fl-theme-heading-font-family); font-size: 19px; color: var(--fl-heading); }
.fl-place-city { font-size: 13px; color: var(--fl-text); }
.fl-place-note { font-size: 13px; line-height: 1.65; color: var(--fl-text); margin-top: 6px; }

.fl-dest-foot {
  margin: 30px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fl-text);
  max-width: 70ch;
}

/* ------------------------------------------------------------------ *
 * Promises
 * ------------------------------------------------------------------ */

.fl-promise-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.fl-promise {
  background: #fff;
  border: 1px solid var(--fl-border);
  border-radius: 14px;
  padding: 26px;
}
.fl-promise h3 { font-size: 18px; margin: 0 0 8px; color: var(--fl-heading); }
.fl-promise p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--fl-text); }

/* ------------------------------------------------------------------ *
 * Our process
 * ------------------------------------------------------------------ */

.fl-lede { max-width: 72ch; }
.fl-lede h2 { font-size: 30px; line-height: 1.3; margin: 0 0 16px; }
.fl-lede p { margin: 0; font-size: 17px; line-height: 1.85; color: var(--fl-text); }
@media (max-width: 575px) { .fl-lede h2 { font-size: 23px; } }

/* A numbered list that reads down the page. The rule behind the markers is
   what makes it one sequence rather than five separate cards. */
.fl-phases {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  position: relative;
}
.fl-phases::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--fl-border);
}

.fl-phase {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 0 0 30px;
  position: relative;
}
.fl-phase:last-child { padding-bottom: 0; }
.fl-phase-no {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fl-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fl-theme-heading-font-family);
  font-size: 19px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.fl-phase h3 { font-size: 17px; margin: 10px 0 6px; color: var(--fl-heading); }
.fl-phase p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--fl-text); }

/* ------------------------------------------------------------------ *
 * What is included
 * ------------------------------------------------------------------ */

.fl-include-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.fl-include {
  border: 1px solid var(--fl-border);
  border-radius: 14px;
  padding: 26px;
  background: #fff;
}
.fl-include-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  background: rgba(99, 171, 69, 0.12);
  color: var(--fl-primary);
  margin-bottom: 16px;
}
.fl-include h3 { font-size: 17px; margin: 0 0 7px; color: var(--fl-heading); }
.fl-include p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--fl-text); }

/* ------------------------------------------------------------------ *
 * Principles
 * ------------------------------------------------------------------ */

.fl-principles {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.fl-principle h3 { font-size: 19px; margin: 0 0 10px; color: var(--fl-heading); }
.fl-principle p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--fl-text); }

/* ------------------------------------------------------------------ *
 * Closing band
 * ------------------------------------------------------------------ */

.fl-cta-band {
  background: var(--fl-heading);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.fl-cta-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fl-primary);
  margin-bottom: 14px;
}
.fl-cta-band h2 { color: #fff; font-size: 32px; line-height: 1.25; margin: 0 0 14px; }
@media (max-width: 575px) { .fl-cta-band h2 { font-size: 24px; } .fl-cta-band { padding: 44px 0; } }
.fl-cta-band > .container > p {
  margin: 0 auto 28px;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.fl-cta-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.fl-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-align: left;
}
.fl-cta-phone:hover { color: var(--fl-primary) !important; }
.fl-cta-phone i { font-size: 26px; color: var(--fl-primary); }
.fl-cta-phone small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.fl-cta-phone span { font-size: 15px; font-weight: 600; }

/* ------------------------------------------------------------------ *
 * Newsletter result page
 * ------------------------------------------------------------------ */

.fl-result { max-width: 56ch; margin-inline: auto; text-align: center; padding: 30px 0; }
.fl-result-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 22px;
}
.fl-result-icon.is-ok { background: rgba(99, 171, 69, 0.14); color: var(--fl-primary); }
.fl-result-icon.is-bad { background: rgba(216, 71, 63, 0.12); color: #b3342d; }
.fl-result h1 { font-size: 30px; line-height: 1.25; margin: 0 0 14px; }
.fl-result p { margin: 0 0 28px; font-size: 16px; line-height: 1.8; color: var(--fl-text); }
.fl-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
