.search-bar__label {
  display: inline;
}

.search-bar__icon {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.4rem;
}

.search-bar__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.search-bar--home .search-bar__icon {
  margin-left: 0;
  width: 1.2rem;
  height: 1.2rem;
}

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

.disclaimer-banner {
  margin: 1.5rem auto 2.25rem;
}

.disclaimer-banner .container {
  max-width: 820px;
}

.disclaimer-banner p {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.75);
}

.disclaimer-banner strong {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.544rem;
  color: rgba(15, 23, 42, 0.7);
  margin-right: 0.5rem;
}

.about-hero {
  background: linear-gradient(135deg, rgba(35, 78, 82, 0.88), rgba(15, 23, 42, 0.92));
  color: #ffffff;
  padding: 4.5rem 0 4rem;
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 760px;
}

.about-hero__content h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.1;
}

.about-hero__content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.about-section {
  padding: 3.5rem 0;
}

.about-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 2.25rem;
  box-shadow: 0 35px 55px -40px rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(226, 232, 240, 0.7);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-card h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #0f172a;
}

.about-card p,
.about-card li {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.78);
}

.about-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-grid--tips {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-card--tips ul {
  padding-left: 1rem;
  gap: 0.55rem;
}

.about-section--faq {
  padding-top: 0;
  padding-bottom: 4rem;
}

.about-faq__heading {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  color: #0f172a;
  text-align: center;
}

.about-faq {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-faq__item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  box-shadow: 0 30px 50px -40px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-faq__item h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
}

.about-faq__item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.75);
}

.about-faq__item a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.about-faq__item a:hover {
  text-decoration: underline;
}

.contact-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(35, 78, 82, 0.85));
  color: #ffffff;
  padding: 4.25rem 0 3.75rem;
}

.contact-hero__content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-hero__content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 3.1rem);
  line-height: 1.1;
}

.contact-hero__content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.contact-section {
  padding: 3.25rem 0;
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 2rem 2.25rem;
  box-shadow: 0 30px 50px -38px rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #0f172a;
}

.contact-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.75);
}

.contact-card .btn {
  align-self: flex-start;
}

.contact-section--details {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.contact-details {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-details h2 {
  margin: 0 0 0.85rem;
  font-size: 1.5rem;
  color: #0f172a;
}

.contact-details p,
.contact-details li {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.78);
}

.contact-details ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-section--faq {
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

.contact-faq__heading {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  color: #0f172a;
}

.contact-faq {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-faq__item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.75);
  padding: 1.8rem 2rem;
  box-shadow: 0 28px 48px -38px rgba(15, 23, 42, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-faq__item h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.contact-faq__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.76);
}

.contact-faq__item a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-faq__item a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 3.2rem 0 3rem;
  }

  .contact-card {
    padding: 1.8rem 1.9rem;
  }
}

.legal-hero {
  background: linear-gradient(135deg, rgba(35, 78, 82, 0.88), rgba(15, 23, 42, 0.92));
  color: #ffffff;
  padding: 3.5rem 0 3rem;
}

.legal-hero__content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.legal-hero__content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.1rem);
  line-height: 1.08;
}

.legal-hero__content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.legal-toc {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-toc a {
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

.legal-section {
  padding: 2rem 0;
}

.legal-section__content {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legal-section__group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-section__content h2 {
  margin: 0;
  font-size: 1.9rem;
  color: #0f172a;
}

.legal-section__content h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #0f172a;
}

.legal-section__content p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.78);
}

.legal-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.8);
}

.legal-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(35, 78, 82, 0.55);
}

.legal-section + .legal-section {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.legal-section + .legal-section .legal-section__content {
  padding-top: 1.1rem;
}

.legal-section__content strong {
  color: #0f172a;
}

.legal-section__content a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.legal-section__content a:hover {
  text-decoration: underline;
}

.legal-updated {
  font-size: 0.88rem;
  color: rgba(15, 23, 42, 0.62);
}

@media (max-width: 640px) {
  .legal-hero {
    padding: 3rem 0 2.6rem;
  }

  .legal-toc {
    gap: 0.45rem;
  }

  .legal-card {
    padding: 1.65rem 1.8rem;
  }
}

.about-section--split {
  padding-top: 0;
  padding-bottom: 4rem;
}

.about-split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.about-split h2 {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  color: #0f172a;
}

.about-split p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.78);
}

.about-cta {
  background: linear-gradient(135deg, rgba(35, 78, 82, 0.1), rgba(15, 23, 42, 0.07));
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-cta .btn {
  align-self: flex-start;
}

@media (max-width: 640px) {
  .about-hero {
    padding: 3.25rem 0 3rem;
  }

  .about-card {
    padding: 1.75rem 1.85rem;
  }

  .about-cta {
    padding: 1.75rem;
  }
}

:root {
  color-scheme: light;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-display: "DM Serif Display", "Georgia", serif;
  --color-background: #f7f7f5;
  --color-surface: #ffffff;
  --color-primary: #234e52;
  --color-primary-contrast: #ffffff;
  --color-accent: #ee6c4d;
  --color-muted: #718096;
  --color-border: rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --max-width: 1200px;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-background);
  color: #1a202c;
  line-height: 1.6;
}

main#main-content {
  margin-bottom: 11.4rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.logo:focus,
.logo:hover,
.main-nav a:hover,
.main-nav a:focus,
.btn:hover,
.btn:focus,
.site-footer__column a:hover,
.site-footer__column a:focus,
.site-footer__email:hover,
.site-footer__email:focus,
.site-footer__social a:hover,
.site-footer__social a:focus {
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
}

.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
  position: relative;
  z-index: 25;
}

.site-header__menu-toggle:focus-visible {
  outline: 3px solid rgba(35, 78, 82, 0.25);
  outline-offset: 2px;
}

.site-header__menu-toggle:hover {
  background: rgba(35, 78, 82, 0.08);
}

.site-header__menu-icon {
  position: relative;
  width: 1.35rem;
  height: 0.14rem;
  background: currentColor;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.site-header__menu-icon::before,
.site-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.35rem;
  height: 0.14rem;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header__menu-icon::before {
  top: -0.38rem;
}

.site-header__menu-icon::after {
  top: 0.38rem;
}

.site-header.is-open .site-header__menu-icon {
  background: transparent;
}

.site-header.is-open .site-header__menu-icon::before {
  transform: translateY(0.38rem) rotate(45deg);
}

.site-header.is-open .site-header__menu-icon::after {
  transform: translateY(-0.38rem) rotate(-45deg);
}

.site-header.is-open .site-header__menu-toggle {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.site-header.is-open .site-header__menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-primary);
  font-weight: 700;
}

.site-header__nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-header__nav-links a {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.site-header__nav-links .btn--nav {
  margin-left: 1.25rem;
  color: #ffffff;
}

.btn--nav {
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
}

html,
body {
  overflow-x: hidden;
}

body.site-header--locked {
  overflow: hidden;
}

@media (max-width: 991px) {
  .site-header .container {
    padding: 0.75rem 1.25rem;
  }

  .site-header__menu-toggle {
    display: inline-flex;
  }

  .site-header__nav {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
  }

  .site-header__nav-inner {
    position: absolute;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    padding: 3rem 1.75rem 2rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    box-shadow: -20px 0 40px -30px rgba(15, 23, 42, 0.7);
  }

  .site-header__nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    color: inherit;
  }

  .site-header__nav-links a {
    color: #ffffff;
  }

  .site-header__nav-links .btn--nav {
    width: 100%;
    margin-left: 0;
  }

  .site-header.is-open .site-header__nav {
    pointer-events: auto;
    opacity: 1;
  }

  .site-header.is-open .site-header__nav-inner {
    transform: translateX(0);
  }

  .site-header::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 15;
  }

  .site-header.is-open::after {
    opacity: 1;
    pointer-events: auto;
  }

  .btn--nav {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
  }
}

.site-footer {
  margin-top: 4rem;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.site-footer__upper {
  padding: 3rem 0;
}

.site-footer__upper-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.25rem;
  align-items: start;
}

.site-footer__important-wrapper {
  display: contents;
}

@media (max-width: 720px) {
  .site-footer__upper-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

.site-footer__about p {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__links h3,
.site-footer__popular h3,
.site-footer__contact h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__links ul,
.site-footer__popular ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__links a,
.site-footer__popular a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__popular a:hover {
  color: rgba(94, 234, 212, 0.9);
}

.site-footer__email {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-footer__social a:hover {
  background: rgba(94, 234, 212, 0.15);
  border-color: rgba(94, 234, 212, 0.8);
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__lower {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 15, 24, 0.9);
  padding: 1.85rem 0;
  font-size: 0.9rem;
}

.site-footer__lower-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

.site-footer__disclaimer-text {
  margin: 0 auto;
  max-width: 920px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__disclaimer-text strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer__copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 768px) {
  .site-footer__lower-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__disclaimer strong {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__copyright {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__contact h3 {
  margin-bottom: 0.75rem;
}

.site-footer__contact a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__contact a:hover {
  color: rgba(94, 234, 212, 0.9);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(35, 78, 82, 0.92), rgba(10, 20, 28, 0.85));
  color: #fff;
}

.hero--home {
  background: linear-gradient(135deg, rgba(35, 78, 82, 0.9), rgba(10, 20, 28, 0.88));
  color: #fff;
  padding: 4rem 0 2.5rem;
}

.hero-home__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: #e6fffa;
}

.hero-home__content .tag {
  align-self: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f0fff4;
}

.hero-home__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0;
  color: #ffffff;
}

.hero-home__lead {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(248, 255, 252, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-home__content .search-bar {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-home__content .search-bar input {
  background: transparent;
  color: #ffffff;
}

.hero-home__content .search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero-home__content .search-bar button {
  background: var(--color-accent);
  color: #fff;
}

.hero-home__pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.hero-home__pills span {
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(240, 255, 250, 0.9);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.hero--origin {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero--origin .tag {
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-content {
  color: #fff;
}

.hero-stats {
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  max-width: 720px;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.16);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.28);
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.hero-image {
  margin: 2rem 0 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-image img {
  width: 100%;
  display: block;
  height: auto;
}

.search-bar {
  margin: 2.5rem auto 0;
  width: min(100%, 640px);
  display: flex;
  gap: 0.75rem;
  background: var(--color-surface);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  align-items: stretch;
}

.search-bar input {
  flex: 1;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.5rem;
  outline: none;
}

.search-bar button {
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

.search-bar__label {
  display: inline;
}

.search-bar__icon {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.4rem;
}

.search-bar__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.search-bar--home .search-bar__icon {
  margin-left: 0;
  width: 1.2rem;
  height: 1.2rem;
}

@media (max-width: 480px) {
  .search-bar {
    gap: 0.5rem;
    padding: 0.65rem 0.8rem;
  }

  .search-bar input {
    font-size: 0.95rem;
  }

  .search-bar button {
    padding: 0.55rem 0.75rem;
  }

  .search-bar__label {
    display: none;
  }

  .search-bar__icon {
    display: inline-flex;
  }
}

.search-bar button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.search-suggestions {
  margin: 0.75rem auto 0;
  width: min(100%, 640px);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-bar__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.search-suggestion {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-suggestion:hover {
  background: rgba(35, 78, 82, 0.1);
}

.origin-grid,
.trip-grid {
  margin: 1.5rem auto 0;
  display: grid;
  gap: 1.5rem;
}

.origin-grid {
  margin: 3rem auto;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.page-home .country-grid {
  margin-top: 0;
}

.page-home .country-city-card {
  cursor: pointer;
}

.trip-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1rem auto 0;
}

.card {
  background: var(--color-surface);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card__meta {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.card__description {
  color: #4a5568;
  font-size: 0.95rem;
}

.card__footer {
  margin-top: 1.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(35, 78, 82, 0.08);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.trip-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.trip-card__title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.trip-card__state {
  font-weight: 500;
  color: var(--color-muted);
}

.trip-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.trip-card__meta--secondary {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #5f6b7a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trip-card__meta--secondary span {
  background: rgba(35, 78, 82, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.trip-card__tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trip-card__highlights-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

.trip-card__tags--themes {
  margin-top: 1.25rem;
  position: relative;
  padding-top: 0.35rem;
}

.trip-card__tag-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 600;
  margin-right: 0.5rem;
}

.trip-card__tags--themes .tag {
  margin-top: 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 12px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.filter-panel {
  margin: 1rem 0 1rem;
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.filter-panel.is-open {
  max-height: none;
  opacity: 1;
  overflow: visible;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-end;
}

.filter-search {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: min(100%, 320px);
}

.filter-search__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.filter-search input {
  padding: 0.7rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-search input:focus {
  outline: none;
  border-color: rgba(35, 78, 82, 0.35);
  box-shadow: 0 0 0 3px rgba(35, 78, 82, 0.15);
}

.filter-sections {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.filter-panel-toggle {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.35rem;
}

.filter-panel-toggle__button {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel-toggle__button:hover,
.filter-panel-toggle__button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.filter-panel-toggle__status {
  font-size: 0.85rem;
  opacity: 0.85;
}

.filter-section {
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.filter-section__header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.filter-section__header span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.filter-section__title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.filter-section__toggle {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.filter-section__toggle:hover,
.filter-section__toggle:focus-visible {
  border-color: rgba(35, 78, 82, 0.4);
  background: rgba(35, 78, 82, 0.1);
  outline: none;
}

.filter-section__toggle[aria-expanded="true"] {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  border-color: var(--color-primary);
}

.filter-section__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 280px;
  opacity: 1;
  overflow-y: auto;
  padding-right: 0.4rem;
}

.filter-section__chips::-webkit-scrollbar {
  width: 6px;
}

.filter-section__chips::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
  border-radius: 999px;
}

.filter-section__chips[hidden] {
  display: flex;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  margin-top: 0;
}

.filter-chip {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.is-active {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
  border-color: var(--color-primary);
}

.section-heading {
  margin: 4rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary);
}

.empty-state {
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 16px;
  border: 1px dashed var(--color-border);
  color: var(--color-muted);
}

.hero--origin .hero-content p {
  max-width: 630px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.trip-card__route {
  margin: 1.25rem 0;
  text-align: left;
}

.trip-card__route-label {
  margin: 0 0 0.5rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

.trip-card__route-stops {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.9rem;
  color: #2d3748;
}

.trip-card__route-stop {
  background: rgba(35, 78, 82, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

.trip-card__route-arrow {
  color: rgba(45, 55, 72, 0.6);
  font-size: 0.85rem;
}

.trip-card--remix {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border-radius: 22px;
  border: none;
  box-shadow: 0 25px 50px -20px rgba(15, 23, 42, 0.25);
  background: #fff;
}

.trip-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.trip-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-card__badges {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.trip-card__badge {
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.trip-card__badge--muted {
  background: rgba(15, 118, 110, 0.75);
}

.trip-card__body {
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.trip-card__heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trip-card__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
}

.trip-card__state {
  font-size: 1rem;
  font-weight: 500;
  color: #4a5568;
  margin-left: 0.35rem;
}

.trip-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: #556072;
}

.trip-card__metrics span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.trip-card__metrics i {
  font-style: normal;
  font-size: 0.95rem;
}

.trip-card__section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.trip-card__section--split {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}

.trip-card__section-label {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  font-weight: 600;
}

.trip-card__description {
  margin: 0;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.55;
}

.trip-card__info {
  margin: 0;
  color: #2d3748;
  font-weight: 600;
}

.trip-card__tags--themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag--ghost {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.25);
}

.trip-card__footer {
  padding: 1.25rem 1.75rem 1.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  background: #f8fafc;
}

.btn--primary {
  background: #0f766e;
  color: #fff;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.25);
}

.trip-card--horizontal {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.35);
}

.trip-card__media {
  position: relative;
  height: 100%;
}

.trip-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
}

.trip-card__media-badges {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}

.trip-card__content {
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trip-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.trip-card__title {
  margin: 0;
  font-size: 1.7rem;
  color: #1e293b;
  font-weight: 700;
}

.trip-card__state {
  margin-left: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

.trip-card__highlight {
  margin: 0.35rem 0 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.5;
}

.trip-card__cta .btn--primary {
  padding: 0.7rem 1.35rem;
}

.trip-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.trip-card__metric-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.trip-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  color: #475569;
  font-size: 0.95rem;
}

.trip-card__metrics span {
  background: rgba(148, 163, 184, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trip-card__metrics i {
  font-style: normal;
  font-size: 0.95rem;
}

.trip-card__section-label,
.trip-card__info {
  margin: 0;
}

.trip-card__section-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f9aa9;
  font-weight: 600;
}

.trip-card__info {
  color: #1f2937;
  font-weight: 600;
}

.trip-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.trip-card__route-stops {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.trip-card__route-stop {
  background: rgba(14, 165, 233, 0.12);
  color: #0e7490;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.trip-card__route-arrow {
  color: rgba(15, 23, 42, 0.45);
  font-size: 0.9rem;
}

.trip-card--wide {
  margin: 1.2rem 0;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 32px 60px -30px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.trip-card__inner {
  align-items: stretch;
}

.trip-card__media {
  max-height: 160px;
}

.trip-card__media-badges {
  gap: 0.45rem;
}

.trip-card__badge {
  padding: 0.28rem 0.6rem;
  font-size: 0.7rem;
}

.trip-card__content {
  padding: 1.1rem 1.4rem;
  gap: 0.8rem;
}

.trip-card__title {
  font-size: 1.45rem;
}

.trip-card__pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
}

.trip-card__route-rail {
  gap: 0.25rem 0.45rem;
}

.trip-card__route-dot {
  width: 8px;
  height: 8px;
}

.trip-card__route-stop {
  font-size: 0.85rem;
}

.trip-card__metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  color: #475569;
  font-size: 0.78rem;
}

.trip-card__metrics-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.trip-card__metrics-row i {
  font-style: normal;
  font-size: 0.9rem;
}

.trip-card__metric-pill {
  background: rgba(148, 163, 184, 0.18);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.trip-card__inner {
  grid-template-columns: clamp(160px, 20%, 220px) 1fr;
}

.trip-card__media {
  max-height: 150px;
}

.trip-card__badge {
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
}

.trip-card__content {
  padding: 1rem 1.2rem;
  gap: 0.75rem;
}

.trip-card__title {
  font-size: 1.4rem;
}

.trip-card__pill {
  font-size: 0.74rem;
}

.trip-card__route-dot {
  width: 7px;
  height: 7px;
}

.trip-card__route-stop {
  font-size: 0.82rem;
}

.trip-card__section-label {
  font-size: 0.7rem;
}

.trip-card__subtext {
  font-size: 0.82rem;
}

.tag--ghost {
  padding: 0.26rem 0.52rem;
  font-size: 0.76rem;
}

.trip-grid-card,
.trip-grid-card__col,
.trip-grid-card__section,
.trip-grid-card__title,
.trip-grid-card__text,
.trip-grid-card__row,
.trip-grid-card__thumb,
.trip-grid-card__thumb-labels,
.badge,
.badge--duration,
.badge--difficulty,
.badge--state,
.badge--muted,
.badge--month,
.badge--month-more,
.badge--theme,
.badge--theme-more,
.trip-grid-card__category,
.trip-grid-card__cta {
  all: unset;
}

.trip-duo-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.3rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #fff;
  box-shadow: 0 24px 40px -28px rgba(15, 23, 42, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trip-duo-card:hover,
.trip-duo-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 35px 60px -35px rgba(15, 23, 42, 0.45);
  border-color: rgba(56, 189, 248, 0.5);
}

.trip-duo-card__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #e5e7eb;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6), rgba(10, 20, 28, 0.8));
}

.trip-duo-card__media img {
  background-color: #e5e7eb;
  transition: opacity 0.3s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-duo-card__badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.25s ease;
}

.trip-duo-card:hover .trip-duo-card__badges,
.trip-duo-card:focus-within .trip-duo-card__badges {
  transform: translateY(-3px);
}

.trip-duo-card__tags .chip,
.trip-duo-card__tags .chip:focus {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trip-duo-card__tags .chip:hover,
.trip-duo-card__tags .chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -12px rgba(15, 23, 42, 0.45);
}

.trip-duo-card__tags .chip:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  outline-offset: 2px;
}

.trip-duo-card__section {
  position: relative;
  padding-left: 0.75rem;
}

.trip-duo-card__section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: rgba(226, 232, 240, 0.9);
  transition: background 0.25s ease;
}

.trip-duo-card:hover .trip-duo-card__section::before,
.trip-duo-card:focus-within .trip-duo-card__section::before {
  background: rgba(56, 189, 248, 0.5);
}

.trip-duo-card .btn--primary {
  padding: 0.65rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trip-duo-card .btn--primary:hover,
.trip-duo-card .btn--primary:focus-visible {
  transform: translateX(3px);
  box-shadow: 0 12px 24px -18px rgba(14, 165, 233, 0.55);
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.chip--primary {
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
}

.chip--secondary {
  background: rgba(15, 118, 110, 0.82);
  color: #fff;
}

.chip--muted {
  background: rgba(148, 163, 184, 0.18);
  color: #475569;
}

.chip--accent {
  background: rgba(14, 165, 233, 0.16);
  color: #0e7490;
}

.chip--accent-more {
  background: rgba(14, 165, 233, 0.08);
  color: #075985;
}

.chip--theme {
  background: rgba(15, 118, 110, 0.16);
  color: #0f766e;
}

.chip--theme-more {
  background: rgba(148, 163, 184, 0.22);
  color: #475569;
}

.trip-duo-card__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.trip-duo-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.trip-duo-card__title {
  margin: 0;
  font-size: 1.65rem;
  color: #0f172a;
  font-weight: 700;
}

.trip-duo-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.4rem;
}

.trip-duo-card__section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.trip-duo-card__label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f9aa9;
  font-weight: 600;
}

.trip-duo-card__text {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
}

.trip-duo-card__text--muted {
  color: #9aa5b1;
  font-style: italic;
}

.trip-duo-card__text--highlight {
  color: #0e7490;
  font-weight: 600;
}

.trip-duo-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.trip-duo-card .btn--primary {
  padding: 0.65rem 1.25rem;
}

.trip-duo-card__route {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.trip-duo-card__route-sep {
  color: rgba(15, 23, 42, 0.5);
  font-weight: 600;
}

@media (max-width: 980px) {
  .trip-duo-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .trip-duo-card__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .trip-duo-card {
    grid-template-columns: 1fr;
  }

  .trip-duo-card__media {
    height: 200px;
  }

  .trip-duo-card__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hero--country {
  background: linear-gradient(135deg, rgba(35, 78, 82, 0.9), rgba(10, 20, 28, 0.85));
  color: #fff;
}

.hero--country .hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: #e6fffa;
}

.hero--country .hero-content .tag {
  align-self: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f0fff4;
}

.hero--country .hero-content h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  color: #ffffff;
}

.hero--country .hero-content > p {
  margin: 0 auto;
  max-width: 560px;
  color: rgba(248, 255, 252, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-stats--country {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero-stats--country > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 140px;
}

.hero-stats--country strong {
  font-size: 1.8rem;
  color: #ffffff;
}

.hero-stats--country span {
  color: rgba(226, 252, 255, 0.75);
  font-size: 0.95rem;
}

.country-search {
  margin: 1.5rem auto 0;
}

.country-search--hero {
  margin: 1.5rem auto 0;
  width: min(100%, 640px);
}

.country-search__form {
  width: min(100%, 640px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.country-search__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.75);
}

.country-search__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.65rem 0.9rem;
  box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.45);
}

.country-search__controls input {
  flex: 1;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.3rem 0.4rem;
  background: transparent;
  color: #0f172a;
  outline: none;
}

.country-search__controls input::placeholder {
  color: rgba(71, 85, 105, 0.7);
}

.country-search__reset {
  border: none;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.country-search__reset:hover,
.country-search__reset:focus-visible {
  background: rgba(15, 23, 42, 0.12);
  color: #111827;
}

.country-search__empty {
  margin-top: 1rem;
  text-align: center;
  color: rgba(15, 23, 42, 0.64);
  font-size: 0.95rem;
}

.country-search--hero .country-search__form {
  width: 100%;
}

.country-search--hero .country-search__label {
  color: rgba(255, 255, 255, 0.85);
}

.country-search--hero .country-search__controls {
  background: rgba(8, 16, 22, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.8);
}

.country-search--hero .country-search__controls input {
  color: #ffffff;
}

.country-search--hero .country-search__controls input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.country-search--hero .country-search__reset {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.country-search--hero .country-search__reset:hover,
.country-search--hero .country-search__reset:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.country-search--hero .country-search__empty {
  color: rgba(255, 255, 255, 0.8);
}

.country-grid {
  display: grid;
  gap: 1.75rem;
  margin: 2.5rem auto 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.country-city-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #0f172a;
  box-shadow: 0 30px 50px -32px rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
}

.country-city-card__media {
  position: relative;
  height: 220px;
}

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

.country-city-card__color {
  background: linear-gradient(135deg, #0f172a, #234e52);
}

.country-city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 28, 0.4), rgba(10, 20, 28, 0.85));
}

.country-city-card__meta {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #fff;
}

.country-city-card__meta h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.country-city-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: #fff;
}

.country-city-card__count {
  font-weight: 600;
  color: #475569;
}

.hero--country .hero-content p {
  max-width: 504px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-block {
  margin: 4rem auto 0;
}

.section-heading {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #0f172a;
}

.section-heading p {
  margin: 0;
  font-size: 1rem;
  color: #4a5568;
}

.country-grid--global {
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.75rem;
}

.country-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  box-shadow: 0 35px 55px -38px rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.country-card__media {
  position: relative;
  height: 220px;
}

.country-card__media img,
.country-card__media-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-card__media-color {
  background: linear-gradient(135deg, #0f172a, #234e52);
}

.country-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 16, 0.25), rgba(9, 12, 16, 0.85));
}

.country-card__media-meta {
  position: absolute;
  bottom: 1.35rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #fff;
}

.country-card__media-meta h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
}

.country-card__media-meta span {
  font-size: 0.95rem;
  opacity: 0.85;
}

.country-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.6rem 1.65rem;
}

.country-card__summary {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

.country-card__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.country-card__city {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.85);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.country-card__city:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -18px rgba(15, 23, 42, 0.45);
}

.country-card__city a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: inherit;
}

.country-card__city-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}

.country-card__city-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
}

.country-card__footer {
  display: flex;
  justify-content: flex-end;
}

.country-card__footer .btn {
  align-self: flex-end;
}

.country-card__cities-empty {
  font-size: 0.9rem;
  color: #64748b;
}

@media (max-width: 720px) {
  .country-city-card__media {
    height: 200px;
  }

  .country-city-card__footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .country-grid--global {
    grid-template-columns: 1fr;
  }

  .country-card__body {
    padding: 1.35rem 1.3rem 1.45rem;
  }

  .country-card__city {
    padding: 0.7rem 0.9rem;
  }
}