/*
  finboundtravel.com styles

  Organized as:
  1) theme tokens
  2) base / reset
  3) layout primitives
  4) components (header, nav, hero slider, sections)
  5) utilities + motion
  6) responsive + reduced motion
*/

/* -------------------------------------------------------------------------- */
/* 1) Theme tokens                                                            */
/* -------------------------------------------------------------------------- */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --surface: #ffffff;

  /* Ink */
  --text: #0f172a;
  --muted: rgb(15 23 42 / 0.68);

  /* Brand */
  --blue: #5599d5;
  --blue2: #3c7fba;

  /* UI tokens */
  --border: rgb(15 23 42 / 0.10);
  --shadow: 0 18px 48px rgb(15 23 42 / 0.10);
  --radius: 12px;
  --container: 1100px;
  --focus: 0 0 0 3px rgb(85 153 213 / 0.25);

  /* Subtle blob palette (dialed down to avoid “baby blue”) */
  --blob-blue-1: rgb(85 153 213 / 0.07);
  --blob-blue-2: rgb(85 153 213 / 0.05);
  --blob-ink-1: rgb(15 23 42 / 0.035);
  --blob-ink-2: rgb(15 23 42 / 0.025);
}

/* -------------------------------------------------------------------------- */
/* 2) Base / reset                                                            */
/* -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Sticky header anchor offset */
html {
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  position: relative;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

a:hover {
  opacity: 0.9;
}

/* -------------------------------------------------------------------------- */
/* 3) Layout primitives                                                       */
/* -------------------------------------------------------------------------- */

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

header,
main {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  color: #000;
  border-radius: 10px;
  z-index: 9999;
}

/* Card surface */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgb(85 153 213 / 0),
    rgb(85 153 213 / 0.14),
    rgb(85 153 213 / 0)
  );
  opacity: 0.9;
}

.muted {
  color: var(--muted);
}

/* -------------------------------------------------------------------------- */
/* 4) Components                                                              */
/* -------------------------------------------------------------------------- */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgb(255 255 255 / 0.72);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 18px 0;
  transition: padding 0.25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding-right: 6px;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.86);
  box-shadow: 0 10px 26px rgb(15 23 42 / 0.08);
}

.site-header.is-scrolled .header-inner {
  padding: 10px 0;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: 10px;
}

.nav a {
  color: rgb(15 23 42 / 0.72);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 10px;
  border-radius: var(--radius);
  position: relative;
}

.nav a:hover {
  background: rgb(15 23 42 / 0.05);
  color: var(--text);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgb(85 153 213 / 0),
    rgb(85 153 213 / 0.95),
    rgb(85 153 213 / 0)
  );
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-toggle {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(15 23 42 / 0.03);
}

.lang-btn {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  overflow: hidden;
}

.lang-btn::before {
  content: attr(data-flag);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  opacity: 1;
  transform: scale(1.25);
  pointer-events: none;
}

.lang-btn .lang-code {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 3px rgb(0 0 1);
}

.lang-btn[aria-pressed="true"] {
  background: rgb(15 23 42 / 0.05);
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 0.10);
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn.primary {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue2) 100%);
  border-color: rgb(15 23 42 / 0.10);
  color: #fff;
}

.btn.ghost {
  background: rgb(15 23 42 / 0.03);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgb(15 23 42 / 0.10);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus {
  outline: none;
  box-shadow: var(--focus);
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* Hero slider */
.hero {
  padding: 0;
}

.hero-title {
  margin: 0 0 12px;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.hero-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.slides {
  position: relative;
  min-height: 520px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  background: var(--bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: background-position;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 620px at 35% 35%,
      rgb(0 0 0 / 0.36),
      rgb(0 0 0 / 0.14) 55%,
      rgb(0 0 0 / 0) 72%
    ),
    linear-gradient(
      90deg,
      rgb(0 0 0 / 0.42) 0%,
      rgb(0 0 0 / 0.24) 48%,
      rgb(0 0 0 / 0.10) 72%,
      rgb(0 0 0 / 0) 100%
    );
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.slide-inner {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1,
.hero-content h2 {
  margin-top: 0;
}

.hero-content p {
  margin-bottom: 0;
}

.hero-slider .hero-title,
.hero-slider .slide h2 {
  color: #fff;
  text-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
}

.hero-slider .hero-sub,
.hero-slider .slide p {
  color: rgb(255 255 255 / 0.92);
  text-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
}

.slide h2 {
  margin: 0 0 12px;
  font-size: 40px;
  letter-spacing: -0.02em;
}

.slide p {
  margin: 0;
  line-height: 1.6;
  font-size: 18px;
  max-width: 62ch;
}

.hero-slider .btn.ghost {
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  border-color: rgb(255 255 255 / 0.20);
}

.hero-slider .btn.ghost:hover {
  background: rgb(255 255 255 / 0.20);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 0.72);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  opacity: 0.55;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: rgb(255 255 255 / 0.88);
  opacity: 1;
}

.slider-arrow:focus {
  outline: none;
  box-shadow: var(--focus);
}

.slider-arrow.left {
  left: 14px;
}

.slider-arrow.right {
  right: 14px;
}

.slider-breadcrumb {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
}

.dots {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 0.70);
  opacity: 0.55;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.hero-slider:hover .dots {
  opacity: 1;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius);
  background: rgb(15 23 42 / 0.18);
  border: 1px solid rgb(15 23 42 / 0.10);
  cursor: pointer;
}

.dot.is-active {
  background: rgb(85 153 213 / 0.95);
}

.dot:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* Section heads */
.section-head {
  margin: 0 0 14px;
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Section blob parallax */
section[data-blob] {
  position: relative;
  overflow: hidden;
}

section[data-blob] > .container {
  position: relative;
  z-index: 1;
}

section[data-blob]::before {
  content: "";
  position: absolute;
  inset: -22% -18%;
  background: var(--blob-bg, none);
  transform: translate3d(0, var(--blobY, 0px), 0);
  will-change: transform;
  pointer-events: none;
  z-index: 0;
  opacity: var(--blob-opacity, 1);
}

/* Trust */
.trust {
  padding: 18px 0;
  background: linear-gradient(180deg, rgb(246 248 251 / 0.95), rgb(255 255 255 / 0));
  --blob-bg:
    radial-gradient(860px 520px at 14% 55%, var(--blob-blue-2), transparent 62%),
    radial-gradient(820px 520px at 92% 25%, var(--blob-ink-2), transparent 64%);
  --blob-opacity: 0.9;
}

.trust-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trust-label {
  margin: 0;
  color: rgb(15 23 42 / 0.66);
  font-weight: 700;
}

.trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid rgb(15 23 42 / 0.10);
  background: rgb(255 255 255 / 0.72);
  backdrop-filter: blur(10px);
  color: rgb(15 23 42 / 0.74);
  font-weight: 800;
  font-size: 13px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: rgb(85 153 213 / 0.80);
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgb(15 23 42 / 0.08);
  background: rgb(255 255 255 / 0.86);
}

.trust-award {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.award-badge {
  display: block;
  width: min(220px, 100%);
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 14px 28px rgb(15 23 42 / 0.12));
}

/* Contact */
.contact {
  padding: 28px 0;
  background: linear-gradient(180deg, rgb(246 248 251 / 1) 0%, rgb(255 255 255 / 1) 100%);
  --blob-bg:
    radial-gradient(900px 520px at 15% 35%, var(--blob-blue-1), transparent 60%),
    radial-gradient(820px 520px at 85% 15%, var(--blob-ink-1), transparent 62%);
  --blob-opacity: 1;
}

.contact-grid {
  display: block;
}

/* Section headline accent bar */
.section-head h2 {
  position: relative;
  padding-left: 14px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
}

/* Form */
#contactForm.card {
  padding: 16px;
}

.form label {
  display: block;
  margin: 12px 0;
}

.form span {
  display: block;
  font-weight: 800;
  font-size: 13px;
  color: rgb(15 23 42 / 0.85);
  margin-bottom: 4px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgb(15 23 42 / 0.12);
  background: #fff;
  color: var(--text);
  line-height: 1.35;
  height: 44px;
}

.form textarea {
  height: auto;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  box-shadow: var(--focus);
  border-color: rgb(85 153 213 / 0.70);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

.compose {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 0;
  margin-top: 6px;
}

.compose textarea {
  height: 104px;
  resize: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.compose .send-btn {
  height: 104px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: none;
  transform: translateY(1px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}

.compose .send-btn .btn-icon,
.compose .send-btn span {
  color: #fff;
}

.contact-micro {
  margin-top: 10px;
  font-size: 13px;
  color: rgb(15 23 42 / 0.58);
  text-align: left;
}

.captcha-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.form-status.ok {
  color: #a7ffcb;
}

.form-status.err {
  color: #ffb4b4;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

/* About */
.about {
  position: relative;
  padding: 34px 0 68px;
  background: linear-gradient(180deg, rgb(255 255 255 / 1) 0%, rgb(246 248 251 / 1) 100%);
  --blob-bg:
    radial-gradient(980px 560px at 70% 20%, var(--blob-blue-2), transparent 62%),
    radial-gradient(900px 520px at 18% 85%, var(--blob-ink-2), transparent 66%);
  --blob-opacity: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.about-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgb(85 153 213 / 0.14),
    rgb(85 153 213 / 0) 58%,
    rgb(15 23 42 / 0.09)
  );
  opacity: 0.14;
  pointer-events: none;
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px 140px at 20% 0%, rgb(85 153 213 / 0.06), transparent 65%);
  opacity: 0.30;
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgb(15 23 42 / 0.10);
}

.about-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  position: relative;

  background: rgb(85 153 213 / 0.10);
  border: 1px solid rgb(85 153 213 / 0.18);
  box-shadow: 0 14px 28px rgb(15 23 42 / 0.08);
  color: rgb(85 153 213 / 1);
}

.about-card .card-icon::before,
.about-card .card-icon::after {
  content: none;
}

.about-card .card-icon svg,
.about-card .card-icon .lucide {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  filter: none;
}

.about-card .card-icon .lucide {
  stroke-width: 2.25;
}

.about-more {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: start;
}

.about-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.about-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.about-includes{
  padding:16px;
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 14px 34px rgb(15 23 42 / 0.06);
}

.about-bullets {
  margin: 0;
  padding-left: 18px;
  color: rgb(15 23 42 / 0.78);
}

.about-bullets li {
  margin: 8px 0;
}

.about-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* FAQ */
.faq {
  padding: 28px 0;
  background: linear-gradient(180deg, rgb(246 248 251 / 1) 0%, rgb(255 255 255 / 1) 100%);
  --blob-bg:
    radial-gradient(900px 520px at 22% 25%, var(--blob-blue-2), transparent 62%),
    radial-gradient(820px 520px at 88% 70%, var(--blob-ink-2), transparent 64%);
  --blob-opacity: 0.95;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgb(15 23 42 / 0.10);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.72);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.06);
  padding: 12px 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: rgb(15 23 42 / 0.90);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: var(--radius);
}

.faq-item summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgb(15 23 42 / 0.10);
  background: rgb(255 255 255 / 0.75);
  color: rgb(15 23 42 / 0.75);
  transition: transform 0.18s ease, background 0.18s ease;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "–";
  transform: translateY(-1px);
  background: rgb(85 153 213 / 0.08);
}

.faq-body {
  margin-top: 10px;
  color: rgb(15 23 42 / 0.70);
  line-height: 1.65;
  animation: faqIn 0.22s ease;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 34px;
  background: transparent;
}

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

/* -------------------------------------------------------------------------- */
/* 5) Utilities + motion                                                      */
/* -------------------------------------------------------------------------- */

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.65s cubic-bezier(0.2, 0.9, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* 6) Responsive + reduced motion                                             */
/* -------------------------------------------------------------------------- */

@media (max-width: 920px) {
  .trust-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-badges {
    justify-content: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-more {
    grid-template-columns: 1fr;
  }

  .slides {
    min-height: 520px;
  }

  .slide-inner {
    padding: 56px 0;
  }

  .hero-title {
    font-size: 40px;
  }

  .slide h2 {
    font-size: 32px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .compose {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compose textarea {
    border-radius: var(--radius);
  }

  .compose .send-btn {
    height: 48px;
    border-radius: var(--radius);
    width: 100%;
  }

  .captcha-row {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}
