@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f5f8f6;
  --bg-alt: #edf4f1;
  --surface: #ffffff;
  --surface-strong: #fefefe;
  --text: #20353a;
  --muted: #657579;
  --line: rgba(31, 51, 56, 0.13);
  --brand: #263f45;
  --brand-dark: #16292e;
  --accent: #d49a32;
  --brand-accent: #d49a32;
  --accent-dark: #99661e;
  --sky: #3e91d2;
  --leaf: #8cc63f;
  --coral: #f47c5b;
  --aqua: #1fb6c9;
  --violet: #775dd0;
  --sunset: #ffb14a;
  --route-gradient: linear-gradient(115deg, #1fb6c9 0%, #d49a32 42%, #f47c5b 72%, #775dd0 100%);
  --shadow: 0 18px 50px rgba(22, 41, 46, 0.13);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-heading: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(38, 63, 69, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(212, 154, 50, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title,
.page-title,
.hero-title {
  font-family: var(--font-heading);
  line-height: 1.1;
  margin: 0;
  color: var(--brand-dark);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-copy,
.page-copy,
.muted {
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(31, 51, 56, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 4.4rem;
  height: 4.4rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0;
  background-image: url("../images/globe-go-travels-logo-small.webp");
  background-image: image-set(
    url("../images/globe-go-travels-logo-small.avif") type("image/avif"),
    url("../images/globe-go-travels-logo-small.webp") type("image/webp")
  );
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: none;
}

.brand-mark svg {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text span:first-child {
  font-size: 1.03rem;
  color: var(--brand-dark);
}

.brand-text span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 999px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.primary-nav > .nav-link[href="hotels.html"],
.primary-nav > .nav-link[href="cruises.html"],
.primary-nav > .nav-link[href="car-rentals.html"],
.primary-nav > .nav-link[href="honeymoon-travel.html"],
.primary-nav > .nav-link[href="business-tools.html"],
.primary-nav > .nav-link[href="travel-deal-database.html"],
.primary-nav > .nav-link[href="admin/index.php"],
.primary-nav > .nav-link[href="request-a-quote.html"] {
  display: none;
}

.nav-link,
.nav-more summary {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.active,
.nav-more summary:hover,
.nav-more[open] summary {
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
}

.nav-link:hover,
.nav-more summary:hover {
  transform: translateY(-1px);
}

.nav-more {
  position: relative;
}

.nav-more summary {
  list-style: none;
  cursor: pointer;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.65rem);
  width: 230px;
  display: grid;
  gap: 0.35rem;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.nav-dropdown a {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}

.nav-dropdown a:hover {
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
}

.nav-dropdown a[href="business-tools.html"],
.nav-dropdown a[href="travel-deal-database.html"],
.nav-dropdown a[href="admin/index.php"],
.mobile-nav a[href="business-tools.html"],
.mobile-nav a[href="travel-deal-database.html"],
.mobile-nav a[href="admin/index.php"] {
  display: none;
}

.nav-cta {
  margin-left: 0.35rem;
}

.mobile-nav {
  display: none;
  border-top: 1px solid rgba(31, 51, 56, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-inner {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 0 1.15rem;
}

.mobile-nav-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.mobile-nav-primary a {
  display: grid;
  gap: 0.18rem;
  min-height: 4rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(31, 51, 56, 0.12);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 251, 0.94));
  color: var(--brand-dark);
  box-shadow: 0 10px 26px rgba(38, 63, 69, 0.06);
}

.mobile-nav-primary a span {
  font-weight: 900;
}

.mobile-nav-primary a small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.mobile-nav-primary a.active {
  border-color: rgba(212, 154, 50, 0.7);
  background: linear-gradient(135deg, rgba(255, 248, 226, 0.98), rgba(235, 255, 250, 0.94));
}

.mobile-nav-cta {
  width: 100%;
  justify-content: center;
}

.mobile-nav-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.mobile-nav-tools a {
  display: grid;
  place-items: center;
  min-height: 2.8rem;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(31, 51, 56, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
}

.mobile-nav-tools a.active {
  border-color: rgba(212, 154, 50, 0.7);
  background: rgba(255, 248, 226, 0.96);
}

.mobile-nav-more {
  border: 1px solid rgba(31, 51, 56, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-nav-more summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  color: var(--brand-dark);
  font-weight: 900;
}

.mobile-nav-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0 0.8rem 0.8rem;
}

.mobile-nav-more-grid a {
  padding: 0.72rem 0.82rem;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 800;
}

.mobile-nav-more-grid a:hover,
.mobile-nav-more-grid a.active {
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.mobile-nav-grid a {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-weight: 700;
}

.mobile-nav-grid a:hover {
  border-color: rgba(38, 63, 69, 0.18);
  box-shadow: 0 8px 22px rgba(38, 63, 69, 0.08);
}

.hero {
  position: relative;
  padding: 4.2rem 0 5rem;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.1)),
    radial-gradient(circle at top left, rgba(38, 63, 69, 0.16), transparent 25%),
    radial-gradient(circle at bottom right, rgba(212, 154, 50, 0.16), transparent 28%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -28% -20%;
  height: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  filter: blur(32px);
  animation: hero-sheen 10s ease-in-out infinite;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.15rem;
}

.hero-logo {
  width: min(260px, 60vw);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(22, 41, 46, 0.18));
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  max-width: 12ch;
}

.hero-copy p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffbe55);
  color: #3f2a00;
  box-shadow: 0 16px 28px rgba(212, 154, 50, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 18px 32px rgba(212, 154, 50, 0.34);
}

.btn-secondary {
  background: rgba(38, 63, 69, 0.06);
  color: var(--brand-dark);
  border-color: rgba(38, 63, 69, 0.12);
}

.btn-secondary:hover {
  background: rgba(38, 63, 69, 0.1);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 51, 56, 0.08);
  color: var(--brand-dark);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(38, 63, 69, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 41, 46, 0.12), rgba(22, 41, 46, 0.52)),
    var(--hero-image) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-panel {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  padding: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8faf7);
  border: 1px solid rgba(31, 51, 56, 0.08);
}

.stat-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stat-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(38, 63, 69, 0.1);
  border-color: rgba(38, 63, 69, 0.18);
}

.stat-link:focus-visible,
.page-card:focus-visible {
  outline: 3px solid rgba(212, 154, 50, 0.45);
  outline-offset: 4px;
}

.stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--brand-dark);
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.feature-card,
.deal-card,
.testimonial-card,
.info-card,
.page-card,
.contact-card,
.map-card,
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(38, 63, 69, 0.06);
}

.service-card,
.feature-card,
.deal-card,
.testimonial-card,
.info-card,
.page-card {
  padding: 1.3rem;
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.deal-card:hover,
.feature-card:hover,
.page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(38, 63, 69, 0.1);
}

.service-card:focus-visible {
  outline: 3px solid rgba(212, 154, 50, 0.45);
  outline-offset: 4px;
}

.service-icon,
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.card-title,
.deal-title,
.testimonial-name,
.page-card h3,
.info-card h3 {
  margin: 0 0 0.45rem;
  color: var(--brand-dark);
  font-size: 1.15rem;
}

.card-meta {
  color: var(--muted);
  margin: 0;
}

.visual-page-card {
  padding: 0;
}

.visual-page-card h3,
.visual-page-card p {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}

.visual-page-card h3 {
  margin-top: 1rem;
}

.visual-page-card p {
  margin-bottom: 1.15rem;
}

.page-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
}

.destination-chip {
  position: relative;
  min-height: 154px;
  padding: 1rem;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(22, 41, 46, 0.08), rgba(22, 41, 46, 0.72)), var(--chip-image) center/cover no-repeat;
  color: white;
  box-shadow: var(--shadow);
}

.destination-chip strong {
  font-size: 1.05rem;
}

.destination-chip span {
  display: block;
  font-size: 0.84rem;
  opacity: 0.9;
}

.travel-media {
  position: relative;
  overflow: clip;
}

.travel-media::before {
  content: "";
  position: absolute;
  inset: 12% -12% auto auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 154, 50, 0.14), transparent 62%);
  pointer-events: none;
}

.media-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.3rem;
  align-items: stretch;
}

.media-showcase-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-story {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 247, 0.96)),
    radial-gradient(circle at top right, rgba(38, 63, 69, 0.06), transparent 30%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.media-story::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(38, 63, 69, 0.07), transparent 66%);
  animation: float-soft 12s ease-in-out infinite;
  pointer-events: none;
}

.media-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.media-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: rgba(38, 63, 69, 0.05);
  border: 1px solid rgba(38, 63, 69, 0.08);
}

.media-point strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-dark);
}

.media-point span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.media-dot {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f1c36d);
  box-shadow: 0 0 0 0.35rem rgba(212, 154, 50, 0.14);
  margin-top: 0.2rem;
}

.media-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.media-video-card {
  grid-column: 1 / -1;
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: 28px;
  background: #0f2025;
  box-shadow: var(--shadow);
}

.media-video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

.media-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 17, 20, 0.08), rgba(8, 17, 20, 0.5)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}

.media-video-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(22, 41, 46, 0.16);
}

.media-video-overlay .eyebrow {
  margin-bottom: 0.7rem;
}

.media-video-overlay strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand-dark);
  font-size: 1.15rem;
}

.media-video-overlay p {
  margin: 0;
  color: var(--muted);
}

.media-card {
  position: relative;
  min-height: 160px;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  border-radius: 26px;
  overflow: hidden;
  color: white;
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(16, 27, 30, 0.1), rgba(16, 27, 30, 0.72)),
    var(--media-image) center/cover no-repeat;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(8, 17, 20, 0.36)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 28%);
  transition: opacity 220ms ease;
  z-index: -1;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -18% auto;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(22px);
  animation: float-soft 10s ease-in-out infinite;
  pointer-events: none;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(22, 41, 46, 0.18);
}

.media-card:hover::before {
  opacity: 0.92;
}

.media-card strong {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 1.16rem;
}

.media-card span:last-child {
  font-size: 0.92rem;
  opacity: 0.95;
  max-width: 28ch;
}

.media-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(22, 41, 46, 0.16);
}

.media-card-landscape {
  min-height: 256px;
}

.media-card-compact {
  min-height: 160px;
}

.media-video-card-small {
  grid-column: auto;
  min-height: 160px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: start;
}

.why-list,
.footer-list,
.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.why-list li,
.footer-list li,
.simple-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.check {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(212, 154, 50, 0.15);
  color: var(--accent-dark);
  font-weight: 900;
}

.deal-price,
.price {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
  font-weight: 800;
}

.deal-image,
.page-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.testimonial-name {
  margin-bottom: 0.15rem;
}

.testimonial-role {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-shell {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff, #f8faf7);
  border: 1px solid rgba(31, 51, 56, 0.08);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.selected-offer-panel {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(35, 136, 164, 0.18);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 250, 252, 0.95)),
    radial-gradient(circle at 95% 20%, rgba(212, 154, 50, 0.16), transparent 34%);
}

.selected-offer-panel h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
}

.selected-offer-panel p {
  margin: 0;
}

.field label input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin-right: 0.45rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  position: relative;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(31, 51, 56, 0.14);
  border-radius: 14px;
  background: white;
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(38, 63, 69, 0.5);
  box-shadow: 0 0 0 4px rgba(38, 63, 69, 0.12);
}

.autocomplete-list {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid rgba(31, 51, 56, 0.14);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 44px rgba(22, 41, 46, 0.16);
}

.autocomplete-list.show {
  display: grid;
  gap: 0.2rem;
}

.autocomplete-option {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.autocomplete-option:hover,
.autocomplete-option.active {
  background: rgba(38, 63, 69, 0.08);
}

.autocomplete-main {
  display: grid;
  gap: 0.12rem;
}

.autocomplete-city {
  font-weight: 900;
  color: var(--brand-dark);
}

.autocomplete-detail {
  color: var(--muted);
  font-size: 0.84rem;
}

.autocomplete-code {
  align-self: center;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  background: rgba(212, 154, 50, 0.16);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-message {
  display: none;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.12);
  color: #0f5f29;
  border: 1px solid rgba(34, 197, 94, 0.22);
  font-weight: 700;
}

.form-message.show {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.contact-card,
.map-card {
  padding: 1.4rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-item {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(38, 63, 69, 0.05);
}

.contact-item strong {
  display: block;
  margin-bottom: 0.1rem;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 22px;
  border: 1px dashed rgba(38, 63, 69, 0.28);
  background:
    radial-gradient(circle at 20% 20%, rgba(38, 63, 69, 0.15), transparent 20%),
    radial-gradient(circle at 80% 30%, rgba(212, 154, 50, 0.18), transparent 18%),
    linear-gradient(180deg, #fdfefe, #edf4f1);
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

.faq {
  display: grid;
  gap: 0.8rem;
}

.faq details {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 26px rgba(38, 63, 69, 0.05);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--brand-dark);
}

.faq p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 4rem 0 2rem;
  background: linear-gradient(180deg, #1b3338, #111f23);
  color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 1.2rem;
}

.site-footer .brand-text span:first-child,
.site-footer .brand-text span:last-child,
.site-footer .section-copy,
.site-footer a,
.site-footer li,
.site-footer p,
.site-footer h3 {
  color: inherit;
}

.footer-heading {
  margin: 0 0 1rem;
  color: white;
  font-size: 1.05rem;
}

.socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.socials a {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  line-height: 1;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.socials a svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  display: block;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero {
  padding: 3rem 0 1rem;
}

.page-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(22, 41, 46, 0.1), rgba(22, 41, 46, 0.7)),
    var(--banner-image) center/cover no-repeat;
  box-shadow: var(--shadow);
}

.page-banner .page-title,
.page-banner .page-copy {
  color: white;
  position: relative;
}

.page-banner .page-copy {
  max-width: 60ch;
}

.content-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.note-box {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(212, 154, 50, 0.1);
  border: 1px solid rgba(212, 154, 50, 0.16);
  color: #6d4300;
  font-weight: 700;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-card,
.policy-card,
.workflow-card,
.blog-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(38, 63, 69, 0.06);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.status-pill.warning {
  background: rgba(212, 154, 50, 0.14);
  color: #7a4a00;
}

.status-pill.success {
  background: rgba(34, 197, 94, 0.12);
  color: #0f5f29;
}

.status-pill.danger {
  background: rgba(220, 38, 38, 0.12);
  color: #9f1d1d;
}

.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.anti-bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--brand-dark);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.policy-card h2,
.workflow-card h2,
.dashboard-card h2,
.blog-card h2 {
  margin-top: 0;
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.policy-card p,
.workflow-card p,
.dashboard-card p,
.blog-card p {
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.source-list a {
  color: var(--brand);
  font-weight: 800;
}

.deal-filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.8rem;
  align-items: end;
  margin-bottom: 1rem;
}

.automation-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.automation-list li {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(38, 63, 69, 0.05);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
}

.search-engine {
  display: grid;
  gap: 1rem;
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.search-tab {
  min-height: 44px;
  padding: 0.7rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.search-tab:hover,
.search-tab.active {
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
  border-color: rgba(38, 63, 69, 0.12);
}

.search-panel {
  display: none;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f8faf7);
  box-shadow: var(--shadow);
}

.search-panel.active {
  display: block;
}

.search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
}

.search-status {
  display: none;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(212, 154, 50, 0.14);
  border: 1px solid rgba(212, 154, 50, 0.18);
  color: #6d4300;
  font-weight: 700;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.search-status.show {
  display: flex;
}

.search-status.is-loading {
  min-height: 74px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 230, 0.95)),
    radial-gradient(circle at 12% 30%, rgba(35, 136, 164, 0.14), transparent 36%);
  border-color: rgba(35, 136, 164, 0.18);
  color: #173f4a;
}

.search-status.is-success {
  background: rgba(52, 129, 91, 0.12);
  border-color: rgba(52, 129, 91, 0.22);
  color: #1d5b3c;
}

.search-status.is-error {
  background: rgba(174, 58, 58, 0.1);
  border-color: rgba(174, 58, 58, 0.22);
  color: #873131;
}

.search-status strong,
.search-status span {
  display: block;
}

.search-status span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.flight-loader {
  position: relative;
  flex: 0 0 132px;
  width: 132px;
  height: 42px;
}

.flight-loader-track {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 21px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(35, 136, 164, 0.2) 0 12px, transparent 12px 22px);
}

.flight-loader-track::before,
.flight-loader-track::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(35, 136, 164, 0.2);
  border-radius: 999px;
}

.flight-loader-track::before {
  left: -2px;
}

.flight-loader-track::after {
  right: -2px;
}

.flight-loader-plane {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 58, 70, 0.16);
  color: var(--accent);
  font-size: 1.15rem;
  animation: flight-path 1.35s ease-in-out infinite;
}

@keyframes flight-path {
  0% {
    transform: translateX(0) translateY(10px) rotate(8deg);
    opacity: 0.5;
  }
  18% {
    opacity: 1;
  }
  52% {
    transform: translateX(48px) translateY(-7px) rotate(18deg);
  }
  100% {
    transform: translateX(98px) translateY(7px) rotate(8deg);
    opacity: 0.6;
  }
}

/* Premium Full-Page Search Loader Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    linear-gradient(110deg, rgba(13, 29, 34, 0.92), rgba(28, 71, 82, 0.82)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80") center / cover;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
}

.search-overlay[data-product="hotels"] {
  background:
    linear-gradient(110deg, rgba(13, 29, 34, 0.92), rgba(52, 83, 70, 0.78)),
    url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.search-overlay[data-product="cruises"] {
  background:
    linear-gradient(110deg, rgba(13, 29, 34, 0.9), rgba(35, 91, 108, 0.78)),
    url("https://images.unsplash.com/photo-1548574505-5e239809ee19?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.search-overlay[data-product="cars"] {
  background:
    linear-gradient(110deg, rgba(13, 29, 34, 0.9), rgba(63, 72, 62, 0.8)),
    url("https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.search-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(255, 255, 255, 0.11) 23%, transparent 24% 48%, rgba(255, 255, 255, 0.08) 49%, transparent 50% 100%);
  background-size: 420px 100%;
  opacity: 0.3;
  animation: travel-scan 7s linear infinite;
}

@keyframes travel-scan {
  from { transform: translateX(-420px); }
  to { transform: translateX(420px); }
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  position: relative;
  z-index: 1;
  width: min(540px, 90vw);
  min-height: 420px;
  justify-content: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(10, 28, 34, 0.48);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  animation: overlay-slide-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes overlay-slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.search-overlay-visual {
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-overlay-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 154, 50, 0.35); /* Accent gold transparent */
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.search-overlay-pulse-ring-two {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  animation-delay: 0.65s;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.65);
    opacity: 0;
  }
  50% {
    opacity: 0.85;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.search-overlay-globe {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 30px rgba(35, 136, 164, 0.12) inset;
}

.search-overlay-globe svg {
  width: 60px;
  height: 60px;
  animation: globe-spin 12s linear infinite;
}

@keyframes globe-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.search-overlay-plane {
  position: absolute;
  font-size: 2.2rem;
  color: var(--accent); /* Premium gold plane */
  text-shadow: 0 0 10px rgba(212, 154, 50, 0.5);
  animation: plane-orbit 4.5s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

@keyframes plane-orbit {
  0% {
    transform: rotate(0deg) translateX(70px) rotate(45deg);
  }
  100% {
    transform: rotate(360deg) translateX(70px) rotate(405deg);
  }
}

.search-overlay-status {
  margin-bottom: 2rem;
}

.search-overlay-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: white;
  margin: 0 0 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.search-overlay-detail {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 45ch;
  line-height: 1.5;
  font-weight: 500;
  min-height: 3rem; /* Prevents layout shifting during dynamic text swapping */
}

.search-overlay-progress {
  width: 240px;
}

.search-overlay-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.search-overlay-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ffcf75);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(212, 154, 50, 0.6);
  transition: width 0.3s ease-out;
}

/* Advanced Redesign Styles */

/* Tab Icons */
.search-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease-in-out;
}

.tab-icon {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  display: block;
}

/* Recent Searches Container */
.recent-searches-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(38, 63, 69, 0.04);
  border: 1px solid rgba(38, 63, 69, 0.08);
  margin-bottom: 0.65rem;
  animation: overlay-slide-up 0.4s ease-out;
}

.recent-searches-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.recent-icon {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
}

.recent-searches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recent-search-pill {
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border-radius: 99px;
  border: 1px solid rgba(38, 63, 69, 0.12);
  background: white;
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(22, 41, 46, 0.04);
  transition: all 0.2s ease;
}

.recent-search-pill:hover {
  background: rgba(38, 63, 69, 0.06);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Traveler Picker Popover */
.traveler-picker-field {
  position: relative;
}

.travelers-trigger-btn {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(31, 51, 56, 0.14);
  border-radius: 12px;
  background: white;
  color: var(--text);
  text-align: left;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.travelers-trigger-btn:focus {
  outline: none;
  border-color: rgba(38, 63, 69, 0.5);
  box-shadow: 0 0 0 4px rgba(38, 63, 69, 0.12);
}

.travelers-popover {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid rgba(31, 51, 56, 0.16);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(22, 41, 46, 0.18);
  padding: 1.15rem;
  z-index: 500;
  animation: popover-fade-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popover-fade-in {
  from {
    transform: translateY(8px) scale(0.97);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.travelers-popover-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(31, 51, 56, 0.08);
}

.travelers-popover-row:last-of-type {
  border-bottom: 0;
}

.row-label {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.row-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.counter-control {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: rgba(38, 63, 69, 0.04);
  border-radius: 99px;
  padding: 0.2rem;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(31, 51, 56, 0.12);
  background: white;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 4px rgba(22, 41, 46, 0.05);
  transition: all 0.15s ease;
}

.counter-btn:hover {
  background: rgba(38, 63, 69, 0.08);
  border-color: rgba(38, 63, 69, 0.25);
}

.counter-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-dark);
  min-width: 14px;
  text-align: center;
}

.travelers-popover-footer {
  padding-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
}

.btn-sm {
  padding: 0.35rem 1rem !important;
  font-size: 0.85rem !important;
  min-height: 32px !important;
}

/* Filter Group styling */
.filter-group {
  margin-bottom: 1.45rem;
  padding-bottom: 1.45rem;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.filter-title {
  font-size: 0.95rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-dark);
  margin: 0 0 0.85rem !important;
}

/* Price Range Slider */
.range-container {
  display: grid;
  gap: 0.5rem;
}

.range-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.filter-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(38, 63, 69, 0.08);
  outline: none;
}

.filter-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212, 154, 50, 0.4);
  transition: transform 0.15s ease;
}

.filter-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 7rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
}

.filter-panel h2 {
  margin: 0 0 0.8rem;
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.filter-list {
  display: grid;
  gap: 0.6rem;
}

.filter-list label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.search-results {
  display: grid;
  gap: 1rem;
}

.result-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 12px 30px rgba(22, 41, 46, 0.06);
}

.result-thumb {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}

.result-title {
  margin: 0 0 0.2rem;
  color: var(--brand-dark);
  font-size: 1.15rem;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.65rem 0 0;
}

.result-meta span {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(38, 63, 69, 0.07);
  color: var(--brand-dark);
  font-size: 0.83rem;
  font-weight: 800;
}

.result-price {
  display: grid;
  gap: 0.45rem;
  min-width: 150px;
  justify-items: end;
}

.result-price strong {
  color: var(--brand-dark);
  font-size: 1.3rem;
}

.empty-results-note {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(35, 136, 164, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-weight: 750;
}

.integration-note {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(38, 63, 69, 0.14);
  border-radius: var(--radius-md);
  background: rgba(38, 63, 69, 0.06);
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chatbot-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.chatbot-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 154, 50, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
  box-shadow: 0 18px 38px rgba(22, 41, 46, 0.22);
  font-weight: 900;
}

.chatbot-launcher:hover {
  transform: translateY(-2px);
}

.chatbot-launcher-icon {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.chatbot-panel {
  width: min(390px, calc(100vw - 2rem));
  max-height: min(650px, calc(100vh - 7rem));
  display: none;
  overflow: hidden;
  border: 1px solid rgba(31, 51, 56, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8faf7);
  box-shadow: 0 26px 70px rgba(22, 41, 46, 0.22);
}

.chatbot-widget.open .chatbot-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.chatbot-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(212, 154, 50, 0.22), transparent 42%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
}

.chatbot-header strong,
.chatbot-header span {
  display: block;
}

.chatbot-header span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
}

.chatbot-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.25rem;
  line-height: 1;
}

.chatbot-messages {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  min-height: 260px;
  padding: 1rem;
  overflow-y: auto;
}

.chatbot-message {
  width: fit-content;
  max-width: 86%;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chatbot-message.assistant {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: rgba(38, 63, 69, 0.08);
  color: var(--brand-dark);
}

.chatbot-message.user {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: var(--brand);
  color: white;
}

.chatbot-actions {
  display: flex;
  gap: 0.45rem;
  padding: 0 1rem 0.8rem;
  overflow-x: auto;
}

.chatbot-actions[hidden] {
  display: none;
}

.chatbot-actions button {
  flex: 0 0 auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(38, 63, 69, 0.16);
  border-radius: 999px;
  background: white;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.chatbot-actions button:hover {
  border-color: rgba(212, 154, 50, 0.55);
  background: rgba(255, 247, 225, 0.92);
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(31, 51, 56, 0.1);
  background: white;
}

.chatbot-form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 120px;
  resize: vertical;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(31, 51, 56, 0.14);
  border-radius: 14px;
  color: var(--text);
}

.chatbot-form textarea:focus {
  outline: none;
  border-color: rgba(38, 63, 69, 0.5);
  box-shadow: 0 0 0 4px rgba(38, 63, 69, 0.12);
}

.chatbot-lead {
  padding: 0 1rem 0.9rem;
  background: white;
}

.chatbot-lead summary {
  cursor: pointer;
  color: var(--brand-dark);
  font-weight: 900;
}

.chatbot-lead form {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.chatbot-lead input,
.chatbot-lead select,
.chatbot-lead textarea {
  min-height: 42px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(31, 51, 56, 0.14);
  border-radius: 12px;
  width: 100%;
}

.chatbot-lead textarea {
  min-height: 74px;
  resize: vertical;
}

.chatbot-lead span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.chatbot-whatsapp {
  display: block;
  padding: 0.85rem 1rem;
  background: rgba(140, 198, 63, 0.15);
  color: var(--brand-dark);
  text-align: center;
  font-weight: 900;
}

.chatbot-whatsapp.disabled {
  background: rgba(31, 51, 56, 0.06);
  color: var(--muted);
}

.admin-body {
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 154, 50, 0.12), transparent 28%),
    linear-gradient(180deg, #f7faf8 0%, #edf4f1 100%);
}

.admin-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1rem;
}

.admin-tab-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(22, 41, 46, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.admin-tab-button:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 154, 50, 0.45);
}

.admin-tab-button.is-active {
  background: var(--brand-dark);
  color: white;
  border-color: var(--brand-dark);
}

.admin-tab-panel[hidden] {
  display: none;
}

.footer-admin-link {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.38;
  white-space: nowrap;
}

.footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.68);
  opacity: 0.75;
}

.footer-admin-link a {
  color: inherit;
  font: inherit;
}

.admin-section-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.admin-kpi-grid,
.pipeline-grid,
.admin-detail-grid,
.admin-checklist,
.admin-two-col {
  display: grid;
  gap: 0.8rem;
}

.admin-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pipeline-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-detail-grid,
.admin-checklist {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-kpi,
.pipeline-card,
.admin-lead-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(22, 41, 46, 0.08);
}

.admin-kpi {
  padding: 1.1rem;
  border-radius: var(--radius-md);
}

.admin-kpi strong {
  display: block;
  color: var(--brand-dark);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.admin-kpi span,
.pipeline-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.pipeline-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: transform 180ms ease, border-color 180ms ease;
}

.pipeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 154, 50, 0.55);
}

.pipeline-card strong {
  color: var(--brand-dark);
  font-size: 1.5rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-sidebar,
.admin-main,
.admin-filter-form {
  display: grid;
  gap: 1rem;
}

.admin-sidebar {
  position: sticky;
  top: 7rem;
}

.admin-lead-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
}

.admin-lead-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.admin-lead-head h3 {
  margin: 0.45rem 0 0.2rem;
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.admin-lead-head p {
  margin: 0;
  color: var(--muted);
}

.admin-detail-grid div {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(38, 63, 69, 0.05);
}

.admin-detail-grid strong,
.admin-detail-grid span {
  display: block;
}

.admin-detail-grid strong {
  color: var(--brand-dark);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-detail-grid span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-accordion {
  margin-top: 0.75rem;
  border: 1px solid rgba(31, 51, 56, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.admin-accordion summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  color: var(--brand-dark);
  font-weight: 900;
  background: rgba(237, 244, 241, 0.75);
}

.admin-accordion > :not(summary) {
  margin: 1rem;
}

.admin-pre {
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #182d32;
  color: #f7faf8;
}

.admin-checklist label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text);
  font-weight: 800;
}

.portal-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 154, 50, 0.22), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(62, 145, 210, 0.18), transparent 26%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: white;
}

.portal-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -50% -12%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  pointer-events: none;
}

.quote-approval-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(140, 198, 63, 0.2), transparent 26%),
    radial-gradient(circle at 92% 6%, rgba(212, 154, 50, 0.26), transparent 28%),
    linear-gradient(135deg, #1f353b, #102329);
}

.portal-hero .page-title,
.portal-hero .page-copy {
  color: white;
}

.portal-hero .page-copy {
  max-width: 680px;
  opacity: 0.84;
}

.portal-hero-grid,
.article-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.portal-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
}

.portal-glass-card {
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.portal-glass-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.portal-glass-card strong {
  display: block;
  margin: 0.5rem 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1;
}

.portal-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.portal-panel,
.article-body {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 246, 0.88)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(22, 41, 46, 0.08);
}

.portal-highlight {
  grid-column: 1 / -1;
  border-color: rgba(212, 154, 50, 0.38);
  background:
    radial-gradient(circle at top right, rgba(212, 154, 50, 0.14), transparent 34%),
    #fff;
}

.portal-panel h2,
.article-body h2 {
  margin: 0.45rem 0;
  color: var(--brand-dark);
}

.article-body h2 {
  margin-top: 1.8rem;
}

.portal-price {
  display: inline-flex;
  margin: 0.35rem 0 0.75rem;
  font-size: 1.55rem;
  color: var(--accent-dark);
}

.progress-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(38, 63, 69, 0.12);
  margin: 0.75rem 0;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #f0c15a);
}

.info-card.selected {
  border-color: rgba(212, 154, 50, 0.45);
  box-shadow: 0 12px 30px rgba(212, 154, 50, 0.08);
}

.portal-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.portal-checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(38, 63, 69, 0.06);
  color: var(--muted);
}

.portal-checklist li.done {
  color: var(--brand-dark);
  background: rgba(140, 198, 63, 0.16);
}

.portal-checklist span {
  min-width: 4.1rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.automation-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 5% 0%, rgba(212, 154, 50, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #f3f8f5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.automation-band h2 {
  margin: 0.35rem 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brand-dark);
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.feature-card {
  display: grid;
  gap: 0.7rem;
}

.feature-card p,
.page-card p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
  color: white;
}

.center {
  text-align: center;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.inline-list .badge {
  background: rgba(38, 63, 69, 0.08);
}

.desktop-only {
  display: block;
}

@keyframes hero-sheen {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.55;
  }

  50% {
    transform: translateX(8%);
    opacity: 0.82;
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .media-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-4,
  .card-grid.cols-3,
  .deal-grid,
  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 460px;
  }

  .media-showcase {
    grid-template-columns: 1fr;
  }

  .media-video-card {
    min-height: 220px;
  }

  .media-showcase-compact {
    grid-template-columns: 1fr;
  }

  .media-card-compact,
  .media-video-card-small {
    min-height: 180px;
  }

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

  .tool-grid,
  .dashboard-grid,
  .policy-grid,
  .deal-filter-bar,
  .results-layout,
  .admin-layout,
  .admin-kpi-grid,
  .pipeline-grid,
  .admin-detail-grid,
  .admin-checklist,
  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 1240px) {
  .primary-nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 840px) {
  .primary-nav,
  .nav-cta,
  .desktop-only {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .form-grid,
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4,
  .deal-grid,
  .destination-grid,
  .stats,
  .media-showcase,
  .result-card,
  .portal-hero-grid,
  .portal-dashboard,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .automation-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-thumb {
    width: 100%;
  }

  .result-price {
    justify-items: start;
  }

  .page-banner {
    min-height: 280px;
    padding: 1.25rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  .chatbot-widget {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .chatbot-panel {
    max-height: calc(100vh - 5rem);
  }

  .chatbot-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .mobile-nav-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-panel {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .media-video-card {
    min-height: 200px;
  }

  .header-inner {
    padding: 0.7rem 0;
  }
}

/* Premium Flight Card Styling (Expedia/Google Flights Style) */
.flight-card {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 10px 25px rgba(22, 41, 46, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.flight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(22, 41, 46, 0.09);
  border-color: var(--brand-accent);
}

/* Left part: Airline info & Logo */
.airline-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.airline-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.airline-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 4px;
  border: 1.5px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 2;
  transition: transform 0.2s;
}

.airline-logo-fallback {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-dark);
  color: white;
  font-size: 0.85rem;
  font-weight: 900;
  border: 1.5px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.airline-logo-img:nth-child(n+2) {
  margin-left: -16px;
  z-index: 1;
}

.airline-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.2;
}

.flight-number-badge {
  font-size: 0.72rem;
  background: #f0f4f5;
  color: #5c6e73;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* Middle part: Timeline & Route */
.flight-route-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.time-box {
  display: flex;
  flex-direction: column;
  min-width: 85px;
}

.time-box.origin {
  align-items: flex-start;
}

.time-box.destination {
  align-items: flex-end;
}

.time-val {
  font-size: 1.2rem;
  font-weight: 850;
  color: var(--brand-dark);
}

.airport-code {
  font-size: 0.85rem;
  font-weight: 700;
  color: #7d9096;
}

.flight-date {
  font-size: 0.76rem;
  color: #93a4a9;
  font-weight: 700;
}

.track-line-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 10px;
}

.track-line {
  height: 2px;
  background: #c3d2d6;
  width: 100%;
  position: relative;
  margin: 8px 0;
}

.track-stop-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--brand-accent);
}

.flight-duration {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7d9096;
  margin-bottom: 2px;
}

.stops-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.stops-badge.nonstop {
  background: #e2f9f0;
  color: #107c41;
}

.stops-badge.stops {
  background: #fff0e6;
  color: #d15600;
}

.layovers-info {
  font-size: 0.75rem;
  color: #d15600;
  font-weight: 650;
  text-align: center;
}

.flight-segment-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.flight-segment-row {
  display: grid;
  grid-template-columns: minmax(4.5rem, 0.7fr) minmax(8rem, 1.2fr) minmax(8rem, 1.1fr) minmax(10rem, 1.5fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(38, 63, 69, 0.045);
  color: #5d7278;
  font-size: 0.78rem;
  font-weight: 700;
}

.segment-flight {
  color: var(--brand-dark);
  font-weight: 900;
}

.flight-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.flight-detail-chips span,
.fare-breakdown {
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(38, 63, 69, 0.065);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.fare-breakdown {
  max-width: 180px;
  text-align: right;
  border-radius: 10px;
  color: #61747a;
  background: transparent;
  padding: 0;
}

.cabin-class-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  background: rgba(38, 63, 69, 0.06);
  color: var(--brand-dark);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* Right part: Price & Action */
.flight-price-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  border-left: 1px solid #eaeaea;
  padding-left: 1.5rem;
  min-height: 90px;
}

.flight-price-label {
  font-size: 0.75rem;
  color: #7d9096;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flight-price-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-dark);
}

.flight-action-btn {
  width: 100%;
  text-align: center;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-accent) 0%, #e6a73c 100%);
  color: var(--brand-dark);
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 12px rgba(245, 180, 68, 0.25);
  transition: all 0.2s ease;
}

.flight-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 180, 68, 0.35);
  filter: brightness(1.05);
}

.flight-txn-id {
  font-size: 0.65rem;
  color: #b0bfc2;
  font-family: monospace;
  margin-top: 2px;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 840px) {
  .flight-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  
  .airline-info {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 0.75rem;
    align-items: center;
  }
  
  .airline-logos-container {
    justify-content: flex-start;
  }
  
  .flight-price-action {
    border-left: none;
    border-top: 1px solid #eaeaea;
    padding-left: 0;
    padding-top: 1rem;
    align-items: stretch;
    width: 100%;
  }
  
  .flight-price-action .flight-price-amount {
    text-align: right;
  }

  .flight-segment-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ==========================================================================
   Premium Website Visual Redesign & Animations
   ========================================================================== */

/* Glassmorphic Nav Bar (Shrinks and blurs on scroll) */
.site-header {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
  z-index: 100;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(22, 41, 46, 0.05);
  border-bottom: 1px solid rgba(31, 51, 56, 0.08);
  padding: 0.25rem 0;
}

/* Scroll-Driven Reveal System */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay Helpers */
[data-reveal-delay="100"] { transition-delay: 100ms; }
[data-reveal-delay="200"] { transition-delay: 200ms; }
[data-reveal-delay="300"] { transition-delay: 300ms; }
[data-reveal-delay="400"] { transition-delay: 400ms; }

/* Cinematic Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(550px, 85vh, 750px);
  padding: 8rem 0 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 41, 46, 0.85) 0%, rgba(22, 41, 46, 0.45) 100%);
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  color: white !important;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 2rem;
}

.hero-logo {
  height: 55px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.15));
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  padding: 2.2rem;
}

.stat-link {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: white !important;
  transition: all 0.3s ease;
}

.stat-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--brand-accent) !important;
  transform: translateY(-2px);
}

.stat-link strong {
  color: white !important;
}

.stat-link span {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Immersive Destination Cards */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.destination-chip {
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(22, 41, 46, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.destination-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 41, 46, 0.9) 0%, rgba(22, 41, 46, 0.2) 60%, transparent 100%);
  z-index: 1;
  transition: opacity 0.3s;
}

.destination-chip:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(22, 41, 46, 0.15);
}

.destination-chip:hover::before {
  opacity: 0.95;
}

.destination-chip > div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.destination-chip strong {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.destination-chip span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Modern Curated Cards & Hover Zoom */
.service-card, .deal-card, .page-card, .dashboard-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 10px 30px rgba(22, 41, 46, 0.04);
}

.service-card:hover, .deal-card:hover, .page-card:hover, .dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(22, 41, 46, 0.08);
  border-color: var(--brand-accent);
}

.deal-image {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.deal-card:hover .deal-image {
  transform: scale(1.05);
}

/* Vector Drifting Background Particles */
.floating-particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.float-particle {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
  will-change: transform;
}

.float-plane {
  animation: driftPlane 35s linear infinite;
  width: 48px;
  height: 48px;
}

.float-cloud {
  animation: driftCloud 50s linear infinite;
  width: 120px;
  height: auto;
}

@keyframes driftPlane {
  0% {
    transform: translate(-10%, 20%) rotate(12deg);
  }
  50% {
    transform: translate(55vw, 35%) rotate(6deg);
  }
  100% {
    transform: translate(110vw, 15%) rotate(18deg);
  }
}

@keyframes driftCloud {
  0% {
    transform: translateX(-15%);
  }
  100% {
    transform: translateX(115vw);
  }
}

/* Premium Glowing Buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-accent) 0%, #e6a73c 100%);
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(245, 180, 68, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 180, 68, 0.32);
  filter: brightness(1.04);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
  opacity: 0;
}

.btn-primary:hover::after {
  left: 120%;
  opacity: 1;
}

.btn-secondary {
  font-family: var(--font-heading);
  font-weight: 700;
  border: 1.5px solid var(--line);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--brand-dark);
  background: rgba(22, 41, 46, 0.03);
  transform: translateY(-1px);
}

/* ==========================================================================
   Global Travel Color Lift
   ========================================================================== */

body {
  background:
    linear-gradient(120deg, rgba(31, 182, 201, 0.12), transparent 24%),
    linear-gradient(250deg, rgba(244, 124, 91, 0.13), transparent 25%),
    repeating-linear-gradient(135deg, rgba(38, 63, 69, 0.025) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, #ffffff 0%, #f4faf8 44%, #fff8ed 100%);
}

.site-header {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(240, 252, 255, 0.86), rgba(255, 248, 236, 0.88));
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--route-gradient);
  transform: scaleX(0.45);
  transform-origin: left;
  opacity: 0.75;
  animation: route-header-sweep 8s ease-in-out infinite;
}

@keyframes route-header-sweep {
  0%, 100% { transform: scaleX(0.18) translateX(0); opacity: 0.45; }
  50% { transform: scaleX(0.92) translateX(4%); opacity: 0.95; }
}

.nav-link:hover,
.nav-link.active,
.nav-more summary:hover,
.nav-more[open] summary {
  background: linear-gradient(135deg, rgba(31, 182, 201, 0.14), rgba(212, 154, 50, 0.16));
}

.eyebrow {
  background: linear-gradient(135deg, rgba(31, 182, 201, 0.13), rgba(255, 177, 74, 0.18));
  border: 1px solid rgba(31, 182, 201, 0.16);
  color: #17444c;
}

.hero::after,
.page-banner::after {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent),
    var(--route-gradient);
  mix-blend-mode: screen;
}

.hero-title,
.page-title,
.section-title {
  text-wrap: balance;
}

.section-title {
  background: linear-gradient(110deg, var(--brand-dark), #235d68 45%, #7a4a00 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .section-title,
.hero-title,
.page-banner .page-title {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.section:nth-of-type(odd) {
  background:
    linear-gradient(115deg, rgba(31, 182, 201, 0.06), transparent 32%),
    linear-gradient(245deg, rgba(255, 177, 74, 0.08), transparent 30%);
}

.section:nth-of-type(even) {
  background:
    linear-gradient(115deg, rgba(119, 93, 208, 0.045), transparent 30%),
    linear-gradient(245deg, rgba(140, 198, 63, 0.06), transparent 28%);
}

.page-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 80px rgba(22, 41, 46, 0.2);
}

.page-banner::before {
  background:
    linear-gradient(125deg, rgba(13, 29, 34, 0.84), rgba(28, 89, 100, 0.48) 52%, rgba(212, 154, 50, 0.34)),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.14));
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: auto -18% 0 -18%;
  height: 34%;
  opacity: 0.2;
  filter: blur(18px);
  animation: travel-light-pass 11s ease-in-out infinite;
  pointer-events: none;
}

.page-banner > div {
  position: relative;
  z-index: 1;
}

.page-banner > div::after {
  content: "\2708";
  position: absolute;
  right: clamp(-0.5rem, 4vw, 3.5rem);
  bottom: clamp(-1.7rem, -2vw, -0.8rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.page-banner .eyebrow {
  background: rgba(10, 37, 43, 0.82);
  border-color: rgba(255, 255, 255, 0.54);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.34);
}

@keyframes travel-light-pass {
  0%, 100% { transform: translateX(-16%) skewX(-12deg); }
  50% { transform: translateX(16%) skewX(-12deg); }
}

@keyframes banner-plane-fly {
  0%, 100% { transform: translate3d(-10px, 2px, 0) rotate(-8deg); opacity: 0.56; }
  50% { transform: translate3d(18px, -13px, 0) rotate(5deg); opacity: 0.94; }
}

.service-card,
.feature-card,
.deal-card,
.page-card,
.dashboard-card,
.workflow-card,
.blog-card,
.form-shell,
.filter-panel,
.result-card,
.admin-kpi {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.feature-card::before,
.deal-card::before,
.page-card::before,
.dashboard-card::before,
.workflow-card::before,
.blog-card::before,
.form-shell::before,
.filter-panel::before,
.result-card::before,
.admin-kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 4px;
  background: var(--route-gradient);
  opacity: 0.82;
  transform: translateY(-1px);
}

.service-card::after,
.feature-card::after,
.deal-card::after,
.page-card::after,
.dashboard-card::after,
.workflow-card::after,
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255, 255, 255, 0.5) 45%, transparent 58%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.service-card:hover::after,
.feature-card:hover::after,
.deal-card:hover::after,
.page-card:hover::after,
.dashboard-card:hover::after,
.workflow-card:hover::after,
.blog-card:hover::after {
  animation: card-shine 900ms ease forwards;
}

@keyframes card-shine {
  0% { opacity: 0; transform: translateX(-120%); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: translateX(120%); }
}

.service-card:nth-child(3n + 1) .service-icon,
.feature-card:nth-child(3n + 1) .service-icon {
  background: linear-gradient(135deg, rgba(31, 182, 201, 0.2), rgba(31, 182, 201, 0.05));
  color: #0f6c78;
}

.service-card:nth-child(3n + 2) .service-icon,
.feature-card:nth-child(3n + 2) .service-icon {
  background: linear-gradient(135deg, rgba(244, 124, 91, 0.2), rgba(255, 177, 74, 0.08));
  color: #a4462f;
}

.service-card:nth-child(3n + 3) .service-icon,
.feature-card:nth-child(3n + 3) .service-icon {
  background: linear-gradient(135deg, rgba(119, 93, 208, 0.18), rgba(140, 198, 63, 0.08));
  color: #51429b;
}

.destination-chip,
.deal-image,
.blog-card img,
.result-thumb {
  filter: saturate(1.12) contrast(1.04);
}

.destination-chip:hover,
.deal-card:hover,
.blog-card:hover,
.service-card:hover,
.workflow-card:hover {
  transform: translateY(-7px);
}

.btn-primary,
.flight-action-btn {
  background: linear-gradient(135deg, #ffbf55 0%, #f47c5b 52%, #d49a32 100%);
  color: #2d2100;
}

.btn-secondary:hover {
  border-color: rgba(31, 182, 201, 0.42);
  background: linear-gradient(135deg, rgba(31, 182, 201, 0.09), rgba(255, 177, 74, 0.1));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(23, 68, 76, 0.32);
  color: #173f46;
  box-shadow: 0 10px 22px rgba(22, 41, 46, 0.1);
}

.btn:focus-visible,
.flight-action-btn:focus-visible,
.search-tab:focus-visible {
  outline: 3px solid rgba(31, 182, 201, 0.58);
  outline-offset: 3px;
}

.footer-grid {
  position: relative;
}

.site-footer {
  background:
    linear-gradient(135deg, #10272c, #1e444b 48%, #553d17);
}

.site-footer .brand,
.site-footer .footer-heading,
.site-footer .footer-bottom {
  color: white;
}

.social-icon-link {
  background: linear-gradient(135deg, rgba(31, 182, 201, 0.2), rgba(255, 177, 74, 0.2));
}

.form-shell,
.search-engine {
  box-shadow: 0 22px 60px rgba(22, 41, 46, 0.11);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(31, 182, 201, 0.58);
  box-shadow: 0 0 0 4px rgba(31, 182, 201, 0.13);
}

@media (prefers-reduced-motion: no-preference) {
  .brand-mark {
    animation: logo-float 5.5s ease-in-out infinite;
  }

  .page-banner > div::after {
    animation: banner-plane-fly 6s ease-in-out infinite;
  }

  .service-icon,
  .tab-icon,
  .social-icon-link svg {
    transition: transform 240ms ease;
  }

  .service-icon,
  .feature-icon {
    animation: service-icon-breathe 5.2s ease-in-out infinite;
  }

  .service-card:nth-child(2n) .service-icon,
  .feature-card:nth-child(2n) .feature-icon {
    animation-delay: -1.7s;
  }

  .service-card:hover .service-icon,
  .search-tab:hover .tab-icon,
  .social-icon-link:hover svg {
    transform: translateY(-2px) rotate(-4deg) scale(1.08);
  }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes service-icon-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Travel-Themed 404 Page
   ========================================================================== */

.not-found-hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    linear-gradient(120deg, rgba(9, 28, 34, 0.92), rgba(23, 74, 84, 0.78) 50%, rgba(133, 78, 24, 0.72)),
    var(--not-found-image) center / cover no-repeat;
}

.not-found-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(31, 182, 201, 0.2), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(255, 177, 74, 0.22), transparent 34%);
}

.not-found-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 2rem;
  align-items: center;
}

.not-found-copy {
  display: grid;
  gap: 1rem;
  color: white;
}

.not-found-copy .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.not-found-code {
  margin: 0;
  width: fit-content;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 16vw, 11rem);
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(110deg, #ffffff 0%, #ffcf75 45%, #1fb6c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.25));
}

.not-found-copy .lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
}

.not-found-hero .btn-secondary,
.not-found-hero .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 40px rgba(0, 0, 0, 0.16);
}

.not-found-hero .btn-secondary:hover,
.not-found-hero .btn-ghost:hover {
  color: #12313d;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
}

.not-found-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
}

.route-map {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px);
}

.route-map::before {
  content: "";
  position: absolute;
  inset: 20% 12%;
  border-top: 3px dashed rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #fff3d7);
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.pin-origin {
  left: 11%;
  bottom: 22%;
}

.pin-mid {
  left: 45%;
  top: 22%;
  background: linear-gradient(135deg, #1fb6c9, #d8fbff);
}

.pin-destination {
  right: 12%;
  bottom: 28%;
  background: linear-gradient(135deg, #ffbf55, #f47c5b);
}

.route-plane {
  position: absolute;
  left: 10%;
  bottom: 24%;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: white;
  color: var(--accent-dark);
  font-size: 1.6rem;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  animation: not-found-flight 5.8s ease-in-out infinite;
}

@keyframes not-found-flight {
  0% { transform: translate(0, 0) rotate(10deg); }
  45% { transform: translate(150px, -120px) rotate(28deg); }
  100% { transform: translate(300px, -18px) rotate(12deg); }
}

.not-found-actions {
  display: grid;
  gap: 0.75rem;
}

.not-found-action {
  display: grid;
  gap: 0.1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.not-found-action:hover {
  transform: translateY(-3px);
  background: white;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.not-found-action span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .not-found-grid {
    grid-template-columns: 1fr;
  }

  .not-found-panel {
    padding: 1rem;
  }

  @keyframes not-found-flight {
    0% { transform: translate(0, 0) rotate(10deg); }
    50% { transform: translate(42vw, -105px) rotate(28deg); }
    100% { transform: translate(70vw, -12px) rotate(12deg); }
  }
}

/* Expedia-style search shell and route-first result cards */
.search-engine {
  gap: 0;
  padding: 0;
  border: 1px solid rgba(22, 41, 46, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(22, 41, 46, 0.12);
  overflow: visible;
}

.search-engine .recent-searches-container {
  margin: 0;
  border-radius: 8px 8px 0 0;
  border-width: 0 0 1px;
}

.search-tabs {
  justify-content: center;
  gap: clamp(0.6rem, 2.4vw, 2.6rem);
  padding: 1.35rem 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(22, 41, 46, 0.12);
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.search-tab {
  display: inline-flex;
  min-width: 86px;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.5rem 0.8rem;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  color: #142f36;
  font-size: 0.92rem;
}

.search-tab .tab-icon {
  width: 36px;
  height: 36px;
  color: #2a6f8e;
  stroke-width: 2;
}

.search-tab:hover,
.search-tab.active {
  background: transparent;
  border-color: #1f65e6;
  color: #1f65e6;
}

.search-panel {
  padding: 1.4rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.search-panel .form-grid {
  grid-template-columns: minmax(180px, 1.2fr) minmax(180px, 1.2fr) minmax(170px, 1fr) minmax(160px, 0.95fr);
  gap: 0.75rem;
}

.search-panel .field {
  min-width: 0;
}

.search-panel .field label {
  font-size: 0.75rem;
}

.search-panel input,
.search-panel select,
.travelers-trigger-btn {
  min-height: 50px;
  border-color: rgba(20, 47, 54, 0.34);
  border-radius: 8px;
  background-color: #fff;
}

.flight-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: -0.15rem 0 1rem;
  border-bottom: 1px solid rgba(22, 41, 46, 0.12);
}

.flight-mode-tabs button {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #091d25;
  font-weight: 850;
}

.flight-mode-tabs button.active {
  border-color: #1f65e6;
  color: #1f65e6;
}

.sr-only-field {
  display: none !important;
}

.field.is-soft-disabled {
  opacity: 0.48;
}

.field.is-soft-disabled input {
  pointer-events: none;
}

.search-actions {
  justify-content: flex-end;
  padding-top: 0.5rem;
}

.search-actions .btn-primary {
  min-width: 128px;
}

.integration-note {
  margin: 0 1.4rem 1.4rem;
  border-radius: 8px;
}

.results-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.25rem;
}

.filter-panel,
.result-card,
.flight-card {
  border-radius: 8px;
}

.flight-card {
  grid-template-columns: 116px minmax(0, 1fr) 160px;
  gap: 1.2rem;
  align-items: stretch;
  margin-bottom: 0;
  padding: 1rem 1.1rem;
  border-color: rgba(22, 41, 46, 0.12);
  box-shadow: 0 14px 34px rgba(22, 41, 46, 0.08);
}

.flight-card::before {
  display: none;
}

.airline-info {
  justify-content: center;
  padding: 0.45rem 0;
}

.airline-logo-img,
.airline-logo-fallback {
  width: 44px;
  height: 44px;
}

.flight-number-badge {
  max-width: 140px;
  border-radius: 4px;
  white-space: normal;
}

.flight-route-timeline {
  min-width: 0;
  justify-content: center;
}

.timeline-row {
  gap: 1.35rem;
}

.time-box {
  min-width: 84px;
}

.time-val {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.track-line {
  height: 1px;
  background: #aec2c8;
}

.track-line::before,
.track-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border: 1px solid #d49a32;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.track-line::before {
  left: 0;
}

.track-line::after {
  right: 0;
}

.flight-duration {
  font-size: 0.82rem;
  font-weight: 850;
}

.stops-badge {
  border-radius: 999px;
}

.layovers-info {
  margin-top: 0;
  color: #d65200;
  font-size: 0.82rem;
}

.flight-compact-route {
  margin-top: 0.15rem;
  color: #5b7279;
  font-size: 0.8rem;
  font-weight: 750;
  text-align: center;
}

.flight-more-details {
  margin-top: 0.45rem;
  border-top: 1px solid rgba(16, 37, 44, 0.1);
  padding-top: 0.4rem;
}

.flight-more-details summary {
  color: #0b63ce;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  list-style-position: inside;
  text-align: center;
}

.flight-more-details summary:hover,
.flight-more-details summary:focus-visible {
  color: #084da1;
}

.flight-expanded-content {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.flight-route-summary {
  color: #55707a;
  font-size: 0.83rem;
  font-weight: 750;
  text-align: center;
}

.flight-segment-list {
  gap: 0.5rem;
}

.flight-segment-row {
  grid-template-columns: minmax(4.8rem, 0.6fr) minmax(8.2rem, 1fr) minmax(9rem, 1.2fr) minmax(10rem, 1.4fr);
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  background: #f5f7f7;
  color: #536c74;
  font-size: 0.78rem;
}

.segment-time,
.segment-route,
.segment-detail {
  min-width: 0;
}

.flight-detail-chips span {
  border-radius: 999px;
  background: #eef3f4;
}

.flight-price-action {
  align-items: stretch;
  justify-content: center;
  padding-left: 1.25rem;
  text-align: right;
}

.flight-price-label {
  letter-spacing: 0;
}

.flight-price-amount {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.flight-price-subtitle {
  color: #657a80;
  font-size: 0.78rem;
  font-weight: 750;
}

.fare-breakdown {
  max-width: none;
  text-align: center;
}

.flight-action-btn {
  border-radius: 8px;
  background: linear-gradient(135deg, #ffb45f, #f28a4c);
  color: #111f24;
}

@media (max-width: 980px) {
  .search-panel .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
    top: auto;
  }
}

@media (max-width: 840px) {
  .search-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .search-tab {
    flex: 0 0 86px;
  }

  .flight-card {
    grid-template-columns: 1fr;
  }

  .airline-info {
    padding-bottom: 0.85rem;
  }

  .flight-price-action {
    text-align: left;
  }

  .flight-price-action .flight-price-amount {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .search-panel .form-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .time-box {
    min-width: 62px;
  }

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

/* Admin CRM redesign */
.admin-body {
  --admin-ink: #10252c;
  --admin-muted: #587079;
  --admin-panel: rgba(255, 255, 255, 0.96);
  --admin-line: rgba(16, 37, 44, 0.12);
  --admin-soft: #f4f8f7;
  background:
    linear-gradient(135deg, rgba(31, 182, 201, 0.09), transparent 28%),
    linear-gradient(225deg, rgba(244, 124, 91, 0.09), transparent 30%),
    #eef5f3;
  color: var(--admin-ink);
}

.admin-body .site-header {
  border-bottom: 1px solid rgba(16, 37, 44, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.admin-body .header-inner {
  min-height: 78px;
}

.admin-header-actions .btn {
  min-height: 40px;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
}

.admin-shell {
  padding-bottom: 3rem;
}

.admin-top-section {
  padding-top: 1.15rem;
}

.admin-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 1rem;
  align-items: end;
}

.admin-hero-copy .section-title {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.admin-hero-copy .section-copy {
  max-width: 780px;
}

.admin-command-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel);
  box-shadow: 0 18px 48px rgba(16, 37, 44, 0.08);
}

.admin-command-panel input[type="search"] {
  width: 100%;
  min-height: 46px;
  border-color: rgba(16, 37, 44, 0.2);
  border-radius: 8px;
  background: #fff;
  font-weight: 750;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.admin-quick-actions a {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(16, 37, 44, 0.1);
  border-radius: 8px;
  background: var(--admin-soft);
  color: var(--admin-ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-tabbar {
  position: sticky;
  top: 78px;
  z-index: 60;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin: 1.1rem 0 0;
  padding: 0.55rem;
  overflow-x: auto;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(16, 37, 44, 0.08);
  scrollbar-width: thin;
}

.admin-tab-button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  background: transparent;
  box-shadow: none;
  color: var(--admin-muted);
  white-space: nowrap;
}

.admin-tab-button:hover {
  transform: none;
  background: rgba(31, 182, 201, 0.08);
}

.admin-tab-button.is-active {
  background: linear-gradient(135deg, #17383f, #215a62);
  color: #fff;
}

.admin-body .section-tight {
  padding: 1rem 0;
}

.admin-body .admin-tab-panel > .section-tight:first-child {
  padding-top: 1.25rem;
}

.admin-section-title {
  margin-bottom: 0.8rem;
}

.admin-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
}

.admin-kpi {
  min-height: 118px;
  padding: 1rem;
  border-color: var(--admin-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 249, 0.94));
  box-shadow: 0 12px 30px rgba(16, 37, 44, 0.06);
}

.admin-kpi::before {
  height: 3px;
  opacity: 0.75;
}

.admin-kpi strong {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.admin-kpi span {
  color: var(--admin-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.workflow-card,
.dashboard-card,
.info-card,
.policy-card,
.admin-lead-card,
.filter-panel,
.data-table-wrap {
  border-color: var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel);
  box-shadow: 0 14px 34px rgba(16, 37, 44, 0.07);
}

.admin-body .workflow-card {
  padding: 1rem;
}

.admin-body .workflow-card h2,
.admin-body .dashboard-card h2,
.admin-body .info-card h3 {
  font-size: 1.05rem;
}

.admin-body .status-row {
  gap: 0.45rem;
}

.admin-body .btn {
  border-radius: 8px;
}

.admin-body .btn-secondary {
  background: #f6faf9;
}

.pipeline-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
}

.pipeline-card {
  min-height: 72px;
  border-color: var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel);
}

.pipeline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 182, 201, 0.45);
}

.admin-layout {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  gap: 1rem;
}

.admin-sidebar {
  top: 145px;
}

.admin-filter-form {
  gap: 0.75rem;
}

.admin-lead-card {
  padding: 1rem;
  border-left: 4px solid #1fb6c9;
}

.admin-lead-head {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--admin-line);
}

.admin-lead-head h3 {
  font-size: 1.2rem;
}

.admin-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.admin-detail-grid div {
  border: 1px solid rgba(16, 37, 44, 0.08);
  border-radius: 8px;
  background: #f6faf9;
}

.admin-accordion {
  border-color: var(--admin-line);
  border-radius: 8px;
  background: #fff;
}

.admin-accordion summary {
  padding: 0.78rem 0.9rem;
  border-radius: 8px 8px 0 0;
  background: #eef6f4;
}

.admin-pre {
  max-height: 210px;
  border-radius: 8px;
  background: #10252c;
  font-size: 0.84rem;
}

.admin-checklist {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.admin-checklist label {
  border-radius: 8px;
  font-size: 0.88rem;
}

.admin-body .form-grid {
  gap: 0.75rem;
}

.admin-body .field label {
  color: var(--admin-ink);
  font-size: 0.78rem;
}

.admin-body input,
.admin-body select,
.admin-body textarea {
  border-color: rgba(16, 37, 44, 0.18);
  border-radius: 8px;
  background: #fff;
}

.admin-body textarea {
  min-height: 112px;
}

.data-table-wrap {
  overflow: auto;
}

.data-table {
  min-width: 760px;
}

.data-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eef6f4;
  color: var(--admin-ink);
}

.data-table td,
.data-table th {
  padding: 0.75rem 0.85rem;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(16, 37, 44, 0.025);
}

.data-table tbody tr:hover {
  background: rgba(31, 182, 201, 0.07);
}

.admin-search-hidden {
  display: none !important;
}

.ai-team-status-banner {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(16, 37, 44, 0.14);
  border-left: 5px solid #1fb6c9;
  border-radius: 8px;
  background: #eef9f8;
  color: var(--admin-ink);
}

.ai-team-status-banner.is-warning {
  border-left-color: #e59b22;
  background: #fff8e9;
}

.ai-team-status-banner.is-live {
  border-left-color: #16865a;
  background: #eefaf4;
}

.ai-team-status-banner strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.ai-team-status-banner p {
  margin: 0.25rem 0 0;
}

.ai-team-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.ai-team-activity-card {
  padding: 0.95rem 1rem;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #fff;
}

.ai-team-activity-card h3,
.ai-team-activity-card p {
  margin: 0;
}

.ai-team-activity-card p {
  margin-top: 0.35rem;
  color: var(--admin-muted);
}

.ai-task-output-preview {
  display: block;
  max-width: 320px;
  color: var(--admin-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.ai-team-kpi-link {
  color: inherit;
  text-decoration: none;
}

.ai-team-kpi-link:hover,
.ai-team-kpi-link:focus-visible {
  border-color: rgba(31, 182, 201, 0.65);
  box-shadow: 0 8px 20px rgba(16, 37, 44, 0.1);
  transform: translateY(-2px);
}

.ai-team-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.ai-team-section-heading h2,
.ai-team-section-heading p {
  margin: 0;
}

.ai-team-bot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.ai-team-bot-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem;
  border: 1px solid var(--admin-line);
  border-left: 4px solid #1fb6c9;
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--admin-ink);
  text-decoration: none;
  transition: 160ms ease;
}

.ai-team-bot-card:hover,
.ai-team-bot-card:focus-visible,
.ai-team-bot-card.is-active {
  border-color: rgba(31, 182, 201, 0.75);
  background: #edf9f8;
  box-shadow: 0 7px 18px rgba(16, 37, 44, 0.09);
  transform: translateY(-2px);
}

.ai-team-bot-name {
  color: #126274;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-team-bot-card small {
  color: var(--admin-muted);
  line-height: 1.4;
}

.ai-team-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.ai-team-filter-row span {
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(31, 182, 201, 0.3);
  border-radius: 8px;
  background: #edf9f8;
  color: #126274;
  font-size: 0.78rem;
  font-weight: 700;
}

.ai-task-detail-card {
  border-left: 5px solid #1fb6c9;
}

.ai-task-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ai-task-detail-grid div {
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: #f8fbfa;
}

.ai-task-detail-grid span,
.ai-task-detail-grid strong {
  display: block;
}

.ai-task-detail-grid span {
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-task-detail-copy {
  margin-top: 1rem;
}

.ai-task-detail-copy h3 {
  margin: 0.8rem 0 0.35rem;
  font-size: 0.95rem;
}

.ai-task-detail-copy pre {
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 0.8rem;
  border-radius: 8px;
  background: #10252c;
  color: #eef9f8;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 1080px) {
  .admin-hero-row,
  .admin-layout,
  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-tabbar {
    top: 70px;
  }
}

@media (max-width: 760px) {
  .admin-body .header-inner,
  .admin-header-actions {
    align-items: flex-start;
  }

  .admin-header-actions .btn {
    flex: 1 1 46%;
  }

  .admin-quick-actions,
  .admin-detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-team-explainer-grid {
    grid-template-columns: 1fr;
  }

  .ai-team-bot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .admin-quick-actions,
  .admin-detail-grid,
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }

  .ai-team-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-team-bot-grid,
  .ai-task-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Trust Bar */
.trust-bar {
  background: var(--color-bg-alt);
  padding: 1.5rem 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.trust-badge svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}
.trust-badge strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Stat Counters */
.stat-section {
  background: linear-gradient(135deg, var(--color-primary-dark), #0f3b2e);
  color: #fff;
  padding: 3.5rem 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1.1;
  color: var(--color-accent);
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}
@media (max-width: 700px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55);
  color: #fff;
}
.whatsapp-float svg {
  width: 1.6rem;
  height: 1.6rem;
}
@media (max-width: 520px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
  }
  .whatsapp-float svg {
    width: 1.3rem;
    height: 1.3rem;
  }
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  opacity: 0.4;
}
.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}
