:root {
  --accent: #0041a8;
  --blue-mid: #4071be;
  --navy-cta: #062a63;
  --navy-footer: #0a1730;
  --tint-blue: #9db6de;
  --tint-1: #eef3fb;
  --page: #f4f6fa;
  --ink: #10131a;
  --body: #3a4150;
  --muted: #5a6473;
  --line-1: #eaedf2;
  --line-2: #e6eaf1;
  --line-3: #eceff4;
  --row-bg: #f7f9fc;
  --row-line: #eef1f6;
  --dashed-line: #c6d3e6;

  --font-heading: 'League Spartan', sans-serif;
  --font-body: 'Lora', serif;

  --gutter: clamp(20px, 5vw, 48px);
  --section-pad: clamp(56px, 8vw, 104px) var(--gutter);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Type */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--ink);
}

h1 {
  margin-top: 12px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 0.97;
}

h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

.overline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  margin-top: 16px;
  max-width: 620px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--body);
}

/* Layout */

.container {
  max-width: 1180px;
  margin-inline: auto;
}

.section {
  padding: var(--section-pad);
}

/* Header and hero, over a faded Santorini photo */

.top {
  position: relative;
  overflow: hidden;
}

.top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/cities/santorini.jpg') center / cover no-repeat;
  opacity: 0.08;
}

/* We lift the header and hero above the faded photo. */
.top > * {
  position: relative;
}

.site-header {
  padding: 26px var(--gutter);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  height: 75px;
  width: auto;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 65, 168, 0.14);
}

.hero {
  padding-top: clamp(28px, 4vw, 56px);
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.hero-lead {
  margin-top: 20px;
  max-width: 560px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
}

.pill img {
  width: 20px;
  height: 20px;
}

@media (min-width: 600px) {
  .pill {
    font-size: 14px;
  }

  .pill img {
    width: 26px;
    height: 26px;
  }
}

/* Sample itinerary card in the hero */

.postcard {
  justify-self: center;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  border: 1px solid var(--line-3);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 34px 64px -28px rgba(16, 40, 90, 0.42),
    0 6px 18px -8px rgba(16, 40, 90, 0.16);
  line-height: 1.65;
  /* The card keeps its tilt when reduced motion turns the float off. */
  transform: rotate(-1.7deg);
  animation: float 7s ease-in-out infinite;
}

.postcard-stripe {
  display: flex;
  height: 10px;
}

.postcard-stripe span:nth-child(1) {
  flex: 2.1;
  background: var(--accent);
}

.postcard-stripe span:nth-child(2) {
  flex: 1.3;
  background: var(--blue-mid);
}

.postcard-stripe span:nth-child(3) {
  flex: 1;
  background: var(--tint-blue);
}

.postcard-body {
  padding: 18px 20px 20px;
}

.postcard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.postcard-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.postcard-subtitle {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.sample-stamp {
  flex-shrink: 0;
  padding: 6px 10px;
  border: 1.5px dashed var(--tint-blue);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  transform: rotate(3deg);
}

.days {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.day {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--row-line);
  border-radius: 12px;
  background: var(--row-bg);
}

.day-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 46px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  color: var(--ink);
}

.day-number {
  margin-bottom: 2px;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.day-plan {
  flex: 1;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
}

.day-city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.day-city img {
  width: 14px;
  height: 14px;
}

.activities {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.activities li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
}

.activity-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: var(--tint-1);
}

.activity-icon img {
  width: 15px;
  height: 15px;
}

.route {
  position: relative;
  height: 30px;
  margin-top: 14px;
}

.route svg {
  display: block;
  overflow: visible;
}

.route path {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 0.5 9;
}

.route-start {
  position: absolute;
  top: 16px;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2.5px solid var(--muted);
  border-radius: 50%;
  background: #fff;
}

.route-end {
  position: absolute;
  top: -6px;
  right: -3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

.route-pulse {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(0, 65, 168, 0.35);
  animation: pulse 2.6s ease-out infinite;
}

.route-end img {
  position: relative;
  width: 26px;
  height: 26px;
}

@keyframes float {
  0%,
  100% {
    transform: rotate(-1.7deg) translateY(0);
  }
  50% {
    transform: rotate(-1.7deg) translateY(-9px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .postcard,
  .route-pulse {
    animation: none;
  }
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 18px;
  margin-top: 40px;
}

.feature {
  padding: 26px 24px;
  border: 1px solid var(--line-1);
  border-radius: 16px;
  background: #fff;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: var(--tint-1);
}

.feature-icon img {
  width: 50px;
  height: 50px;
}

.feature h3 {
  margin-top: 16px;
}

.feature p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--body);
}

/* Destinations */

.destinations {
  border-top: 1px solid var(--line-1);
  background: #fff;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 248px), 1fr));
  gap: 18px;
  margin-top: 40px;
}

.city,
.more-cities {
  aspect-ratio: 16 / 11;
  border-radius: 16px;
}

.city {
  position: relative;
  overflow: hidden;
}

.city img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 18px 14px;
  background: linear-gradient(
    to top,
    rgba(8, 20, 46, 0.82),
    rgba(8, 20, 46, 0)
  );
  color: #fff;
}

.city h3 {
  line-height: 1.15;
  color: #fff;
}

.city p {
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.85);
}

.more-cities {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1.5px dashed var(--dashed-line);
  background: var(--tint-1);
  text-align: center;
}

.more-cities img {
  width: 50px;
  height: 50px;
}

.more-cities-title {
  padding-top: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
}

.more-cities-note {
  font-size: 13px;
  line-height: 1.25;
  color: var(--muted);
}

/* Closing band */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-cta), var(--accent) 72%);
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0) 70%
  );
}

.cta-inner {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.cta .overline {
  color: var(--tint-blue);
}

.cta h2 {
  font-size: clamp(34px, 5vw, 60px);
  color: #fff;
}

.cta .lead {
  margin: 20px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

/* Footer */

.site-footer {
  padding: 34px var(--gutter);
  background: var(--navy-footer);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  height: 60px;
  width: auto;
  opacity: 0.9;
}

.site-footer p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}
