/* ============================================================
   CheapPrices — travel affiliate site
   Theme: electric blue + sunset coral, playful & professional
   ============================================================ */

:root {
  --brand:      #2756ff;
  --brand-dark: #1a3fd0;
  --brand-soft: #eaf0ff;
  --accent:     #ff6a3d;   /* sunset coral */
  --accent-dark:#e8501f;
  --yellow:     #ffc23d;
  --teal:       #12b3a6;
  --ink:        #101935;   /* navy */
  --ink-2:      #2d3658;
  --muted:      #6b7392;
  --line:       #e7ebf5;
  --bg:         #ffffff;
  --bg-soft:    #f4f7ff;
  --white:      #ffffff;

  --shadow-sm: 0 6px 18px rgba(16, 25, 53, .07);
  --shadow-md: 0 18px 44px rgba(16, 25, 53, .12);
  --shadow-lg: 0 30px 70px rgba(16, 25, 53, .18);

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600; font-size: .95rem;
  padding: 14px 26px;
  border: 0; border-radius: 50px; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: .88rem; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 22px rgba(255,106,61,.32); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(255,106,61,.4); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #050b22; transform: translateY(-3px); }
.btn--ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--brand); }

/* ---------- Helpers ---------- */
.text-grad {
  background: linear-gradient(100deg, var(--accent), var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill {
  display: inline-block; font-weight: 600; font-size: .85rem;
  background: var(--brand-soft); color: var(--brand-dark);
  padding: 7px 16px; border-radius: 50px; margin-bottom: 20px;
}
.eyebrow { color: var(--accent); font-weight: 700; font-family: var(--font-head); letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 6px 16px rgba(39,86,255,.35);
  transform: rotate(-8deg);
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.brand__name span { color: var(--accent); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__link { font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: color .2s; }
.nav__link:hover { color: var(--brand); }
.site-header.is-scrolled .nav__link { color: var(--ink-2); }
.nav__cta { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
  background:
    radial-gradient(120% 90% at 85% -10%, #6f93ff 0%, transparent 55%),
    linear-gradient(160deg, #2756ff 0%, #4d39d6 55%, #6a2bc0 100%);
  color: #fff;
}
.hero__inner { position: relative; z-index: 3; }
.hero__copy { max-width: 720px; }
.hero .pill { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 560px; margin-top: 18px; }

/* decorative */
.hero__sun { position: absolute; top: -90px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, var(--yellow), rgba(255,194,61,0) 70%); opacity: .55; z-index: 1; }
.hero__cloud { position: absolute; background: rgba(255,255,255,.16); border-radius: 100px; filter: blur(2px); z-index: 1; }
.hero__cloud--1 { width: 220px; height: 60px; top: 120px; left: -40px; box-shadow: 80px 20px 0 -6px rgba(255,255,255,.12); }
.hero__cloud--2 { width: 160px; height: 46px; bottom: 180px; right: 8%; }
.hero__plane { position: absolute; top: 110px; right: 12%; color: rgba(255,255,255,.9); z-index: 2; animation: float 6s var(--ease) infinite; }
.hero__plane svg { width: 56px; height: 56px; transform: rotate(8deg); filter: drop-shadow(0 10px 16px rgba(0,0,0,.18)); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Search widget ---------- */
.search {
  position: relative; z-index: 3;
  margin-top: 40px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
}
.search__tabs { display: flex; gap: 6px; padding: 6px; }
.search__tab {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 10px 20px; border-radius: 50px; transition: all .25s var(--ease);
}
.search__tab:hover { color: var(--ink); }
.search__tab.is-active { background: var(--brand-soft); color: var(--brand-dark); }
.search__tab-ico { font-size: 1.05rem; }

.search__panel { display: none; padding: 8px; }
.search__panel.is-active { display: block; }
.search__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 150px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field--grow { flex: 2 1 240px; }
.field--sm { flex: 1 1 110px; }
.field span { font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.field input, .field select {
  font-family: var(--font-body); font-size: .98rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fbfcff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,86,255,.14); }
.search__go { flex: 0 0 auto; height: 49px; align-self: flex-end; }
.search__note { text-align: center; font-size: .9rem; color: var(--brand-dark); min-height: 1em; margin: 6px 0 2px; font-weight: 500; }

/* ---------- Trust bar ---------- */
.trust { background: var(--ink); color: #fff; }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 0; text-align: center; }
.trust__stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; color: var(--yellow); }
.trust__stat span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
.section__lead { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dest {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.dest:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.dest__media { height: 150px; display: grid; place-items: center; position: relative; }
.dest__emoji { font-size: 3.4rem; filter: drop-shadow(0 8px 12px rgba(0,0,0,.18)); }
/* colorful gradient per card */
.dest[style*="--g:1"] .dest__media { background: linear-gradient(135deg,#7b9cff,#2756ff); }
.dest[style*="--g:2"] .dest__media { background: linear-gradient(135deg,#ff9a6a,#ff6a3d); }
.dest[style*="--g:3"] .dest__media { background: linear-gradient(135deg,#34d6c6,#12b3a6); }
.dest[style*="--g:4"] .dest__media { background: linear-gradient(135deg,#b07bff,#6a2bc0); }
.dest[style*="--g:5"] .dest__media { background: linear-gradient(135deg,#ffcf5c,#ff9a3d); }
.dest[style*="--g:6"] .dest__media { background: linear-gradient(135deg,#4fd1a0,#0fae7a); }
.dest[style*="--g:7"] .dest__media { background: linear-gradient(135deg,#6f8bff,#3f57e0); }
.dest[style*="--g:8"] .dest__media { background: linear-gradient(135deg,#ffb15c,#ff6a3d); }
.dest__body { padding: 16px 18px 20px; }
.dest__body h3 { font-size: 1.2rem; font-weight: 700; }
.dest__body p { color: var(--muted); font-size: .9rem; }
.dest__price {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.95); color: var(--ink);
  font-size: .8rem; padding: 5px 12px; border-radius: 50px; box-shadow: var(--shadow-sm);
}
.dest__price strong { color: var(--accent-dark); }
.dest-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 26px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 28px 30px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.step__num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700;
  display: grid; place-items: center; box-shadow: 0 8px 16px rgba(39,86,255,.35);
}
.step__ico { font-size: 2.6rem; margin-bottom: 14px; }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Deals ---------- */
.deal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.deal {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.deal:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.deal__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: .85rem; padding: 5px 12px; border-radius: 50px; box-shadow: 0 6px 14px rgba(255,106,61,.4);
}
.deal__media { height: 120px; display: grid; place-items: center; font-size: 2.6rem; color: rgba(255,255,255,.95); }
.deal__media--a { background: linear-gradient(135deg,#7b9cff,#2756ff); }
.deal__media--b { background: linear-gradient(135deg,#34d6c6,#12b3a6); }
.deal__media--c { background: linear-gradient(135deg,#ffb15c,#ff6a3d); }
.deal__media--d { background: linear-gradient(135deg,#b07bff,#6a2bc0); }
.deal__body { padding: 16px 18px 20px; }
.deal__route { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.deal__meta { color: var(--muted); font-size: .85rem; margin: 2px 0 12px; }
.deal__foot { display: flex; align-items: baseline; gap: 10px; }
.deal__old { color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.deal__new { color: var(--accent-dark); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc__ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 16px; }
.svc__ico--blue { background: var(--brand-soft); }
.svc__ico--coral { background: #ffe9e1; }
.svc__ico--teal { background: #d8f6f2; }
.svc__ico--yellow { background: #fff2d3; }
.svc h3 { font-size: 1.2rem; margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.svc__link { font-family: var(--font-head); font-weight: 600; color: var(--brand); font-size: .92rem; }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat { text-align: center; padding: 20px; }
.feat__ico { font-size: 2.6rem; margin-bottom: 12px; }
.feat h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: .94rem; }

/* ---------- Newsletter ---------- */
.newsletter { padding: 30px 0 84px; }
.newsletter__inner {
  background: linear-gradient(135deg, var(--brand), #5a32d6);
  border-radius: var(--radius-lg); padding: 50px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  color: #fff; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.newsletter__inner::after { content: "🌍"; position: absolute; right: 30px; bottom: -30px; font-size: 9rem; opacity: .14; }
.newsletter__copy h2 { color: #fff; font-size: clamp(1.5rem,3vw,2.1rem); }
.newsletter__copy p { color: rgba(255,255,255,.88); margin-top: 8px; }
.newsletter__form { position: relative; z-index: 2; }
.newsletter__form input {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 15px 18px; border: 0; border-radius: 12px; margin-bottom: 12px;
}
.newsletter__form input:focus { outline: 3px solid rgba(255,255,255,.5); }
.newsletter__form .btn { width: 100%; }
.newsletter__note { min-height: 1em; margin-top: 10px; font-size: .9rem; font-weight: 600; }
.newsletter__note.is-ok { color: var(--yellow); }
.newsletter__note.is-bad { color: #ffd5cb; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; }
.footer__tag { color: rgba(255,255,255,.6); margin-top: 14px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-size: 1rem; margin-bottom: 14px; color: #fff; }
.footer__col a { display: block; color: rgba(255,255,255,.7); padding: 5px 0; font-size: .92rem; transition: color .2s; }
.footer__col a:hover { color: var(--yellow); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bar p { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer__disc { max-width: 620px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  padding: 140px 0 70px; text-align: center; color: #fff;
  background: linear-gradient(160deg, #2756ff, #5a32d6);
  position: relative; overflow: hidden;
}
.page-hero::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 200px; background: #fff; border-radius: 50% 50% 0 0; }
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-top: 14px; }
.page-hero .search { text-align: left; margin-top: 36px; }

/* ---------- Simple content (about) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 34px 0 12px; }
.prose p { color: var(--ink-2); margin-bottom: 14px; }
.prose .card-note { background: var(--bg-soft); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; padding: 18px 22px; color: var(--ink-2); }

/* contact form (about page) */
.cform { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
.cform label { display: grid; gap: 6px; text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cform input, .cform textarea { font-family: var(--font-body); font-size: 1rem; color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcff; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,86,255,.14); }
.cform input.is-error, .cform textarea.is-error { border-color: var(--accent); }
.cform .btn { justify-self: start; }
.form-note { min-height: 1em; font-weight: 600; font-size: .92rem; }
.form-note.is-ok { color: var(--brand-dark); }
.form-note.is-bad { color: var(--accent-dark); }

/* routes list (sub-pages) */
.routes { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.route {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease);
}
.route:hover { transform: translateY(-3px); }
.route span { font-weight: 600; }
.route strong { color: var(--accent-dark); font-family: var(--font-head); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); padding: 18px 20px; display: flex; justify-content: space-between; gap: 16px; }
.faq__q::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { color: var(--muted); padding: 0 20px 18px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .dest-grid, .deal-grid, .svc-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .routes { grid-template-columns: repeat(2,1fr); }
  .newsletter__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; justify-content: center; gap: 22px;
    background: #fff; box-shadow: -12px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; }
  .nav-toggle { display: flex; z-index: 95; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .search__go { width: 100%; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 560px) {
  .dest-grid, .deal-grid, .svc-grid, .feat-grid, .routes { grid-template-columns: 1fr; }
  .newsletter__inner { padding: 34px 24px; }
  .section { padding: 60px 0; }
  .hero { padding: 130px 0 70px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
