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

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

:root {
  --ink: #061827;
  --muted: #42566c;
  --navy: #12346a;
  --navy-2: #071f3f;
  --red: #e11d48;
  --red-dark: #be123c;
  --teal: #00a88f;
  --gold: #f2b441;
  --sky: #0ea5e9;
  --orange: #f97316;
  --green: #16a34a;
  --line: #d7e4ef;
  --soft: #f7fbff;
  --soft-2: #e8f7f4;
  --white: #ffffff;
  --shadow: 0 20px 58px rgba(16, 32, 51, 0.15);
  --radius: 8px;
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(247, 251, 255, 0.6) 42%, rgba(232, 247, 244, 0.62)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(249, 115, 22, 0.06) 48%, rgba(225, 29, 72, 0.08)),
    url("../images/places/hero-cappadocia.jpg") center top / cover no-repeat fixed,
    var(--soft);
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-locked {
  overflow: hidden;
}

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;
  top: -120px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96) 52%, rgba(255, 241, 242, 0.96));
  border-bottom: 1px solid rgba(14, 165, 233, 0.26);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 36px rgba(16, 32, 51, 0.09);
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: var(--header-height);
  gap: 16px;
  margin: 0;
  padding: 0 16px 0 0;
}

.header-inner > * {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-width: 0;
  max-width: 230px;
  flex: 0 0 auto;
  font-weight: 800;
  line-height: 1.1;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 3px;
  overflow: hidden;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.brand-name {
  display: block;
  max-width: 160px;
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-line {
  display: block;
  max-width: 160px;
  margin-top: 2px;
  color: #314156;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-width: 0;
  width: auto;
  flex: 0 1 auto;
  gap: 14px;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: clamp(8px, 0.7vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 clamp(8px, 0.65vw, 12px);
  color: #26374a;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--red);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.1), rgba(14, 165, 233, 0.1));
  outline: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  flex: 0 0 auto;
  gap: 10px;
}

.login-link {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.login-link:hover,
.login-link:focus-visible {
  color: var(--red);
  outline: 0;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: linear-gradient(135deg, #eef8ff, #fff1f2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switcher button.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--sky));
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 14px 32px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--red-dark), #ea580c);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--red);
  border-color: rgba(183, 32, 52, 0.45);
  background: #fff7ed;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 18, 35, 0.92), rgba(18, 52, 106, 0.72) 46%, rgba(225, 29, 72, 0.22)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(242, 180, 65, 0.14) 48%, rgba(0, 168, 143, 0.18));
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(88svh - var(--header-height));
  padding: 74px 0 50px;
  background-image: url("../images/places/hero-istanbul.jpg");
}

.hero-world {
  min-height: calc(94svh - var(--header-height));
  background-position: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 28px;
  align-items: center;
}

.page-hero {
  min-height: 430px;
  padding: 92px 0 66px;
  background-image: url("../images/places/hero-cappadocia.jpg");
}

.page-hero.destinations-hero {
  background-image: url("../images/places/hero-cappadocia.jpg");
}

.page-hero.contact-hero {
  background-image: url("../images/places/hero-konya.jpg");
}

.page-hero.process-hero {
  background-image: url("../images/places/hero-istanbul.jpg");
}

.hero-content,
.page-hero-content {
  width: min(720px, 100%);
  min-width: 0;
}

.route-card::after,
.route-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 18, 35, 0.04), rgba(7, 18, 35, 0.78));
}

.route-card span {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  color: var(--white);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.52);
}

.route-card span {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ffd166;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page-title {
  margin-bottom: 22px;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.page-title {
  font-size: 3rem;
}

.hero-lead,
.page-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.65;
}

.hero h1,
.page-hero h1,
.hero .eyebrow,
.page-hero .eyebrow,
.hero-lead,
.page-lead {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.48);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.metric {
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(8, 24, 39, 0.76), rgba(0, 168, 143, 0.44));
  border: 1px solid rgba(255, 209, 102, 0.36);
  border-radius: var(--radius);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
}

.metric span {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 850;
}

.section {
  padding: 86px 0;
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-tight {
  padding: 58px 0;
}

.section-white {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(255, 255, 255, 0) 32%),
    linear-gradient(225deg, rgba(249, 115, 22, 0.09), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 251, 255, 0.68) 52%, rgba(255, 247, 237, 0.64));
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.section-white::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    repeating-linear-gradient(135deg, rgba(14, 165, 233, 0.055) 0 1px, transparent 1px 26px),
    linear-gradient(90deg, rgba(225, 29, 72, 0.045), rgba(0, 168, 143, 0.045));
  pointer-events: none;
}

.section-muted {
  background:
    linear-gradient(135deg, rgba(0, 168, 143, 0.1), rgba(255, 247, 237, 0.62) 46%, rgba(224, 242, 254, 0.68)),
    linear-gradient(45deg, rgba(225, 29, 72, 0.045), rgba(242, 180, 65, 0.07));
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.section-muted::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(18, 52, 106, 0.035) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(18, 52, 106, 0.028) 0 1px, transparent 1px 32px);
  pointer-events: none;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.94), rgba(0, 168, 143, 0.72) 48%, rgba(225, 29, 72, 0.58)),
    url("../images/places/country-uk.jpg") center / cover;
}

.section-dark p,
.section-dark .section-kicker {
  color: rgba(255, 255, 255, 0.9);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.compact-header {
  align-items: center;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 0;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.07rem;
  font-weight: 520;
  line-height: 1.72;
}

.world-window {
  overflow: hidden;
}

.route-gallery {
  display: grid;
  grid-auto-rows: 176px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.route-card {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  color: var(--white);
  background: #132b4f;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.route-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.route-card.tall {
  grid-row: span 2;
}

.route-card.wide {
  grid-column: span 2;
}

.route-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.28) contrast(1.06);
  transition: transform 0.36s ease;
}

.route-card:hover img,
.route-card:focus-visible img {
  transform: scale(1.055);
}

.route-card span {
  right: 16px;
  bottom: 16px;
  left: 16px;
  font-size: 1rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.two-column.reverse {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(8, 24, 39, 0.92), rgba(18, 52, 106, 0.82));
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: var(--radius);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.36);
}

.media-caption strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 900;
}

.service-grid,
.country-grid,
.value-grid,
.document-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.country-card,
.value-card,
.document-card,
.contact-card,
.faq-item,
.timeline-item,
.notice-panel,
.source-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 252, 255, 0.94)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(255, 247, 237, 0.16));
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.11);
}

.service-card,
.country-card,
.value-card,
.document-card,
.contact-card {
  padding: 24px;
}

.value-card,
.document-card,
.contact-card,
.faq-item,
.timeline-item,
.notice-panel {
  position: relative;
  overflow: hidden;
}

.value-card::before,
.document-card::before,
.contact-card::before,
.faq-item::before,
.timeline-item::before,
.notice-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--sky), var(--teal), var(--gold), var(--red));
}

.value-card:nth-child(3n + 2)::before,
.document-card:nth-child(3n + 2)::before,
.contact-card:nth-child(3n + 2)::before,
.faq-item:nth-child(3n + 2)::before,
.timeline-item:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
}

.value-card:nth-child(3n)::before,
.document-card:nth-child(3n)::before,
.contact-card:nth-child(3n)::before,
.faq-item:nth-child(3n)::before,
.timeline-item:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--navy));
}

.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 336px;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--sky), var(--teal), var(--gold), var(--red));
  border-radius: 0;
  pointer-events: none;
}

.service-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: -24px -24px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 18, 35, 0.02), rgba(7, 18, 35, 0.66));
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.3) contrast(1.06);
  transition: transform 0.34s ease;
}

.service-card:hover .service-photo img {
  transform: scale(1.055);
}

.service-photo figcaption {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.86), rgba(249, 115, 22, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: -44px 0 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky), var(--teal));
  border: 3px solid var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.18);
  z-index: 1;
}

.service-card:nth-child(3n + 2) .card-icon,
.value-card:nth-child(3n + 2) .card-icon,
.document-card:nth-child(3n + 2) .card-icon {
  background: linear-gradient(135deg, var(--red), var(--orange));
}

.service-card:nth-child(3n) .card-icon,
.value-card:nth-child(3n) .card-icon,
.document-card:nth-child(3n) .card-icon {
  background: linear-gradient(135deg, var(--gold), var(--green));
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.service-card h3,
.country-card h3,
.value-card h3,
.document-card h3,
.contact-card h3 {
  margin-bottom: 10px;
  color: var(--navy-2);
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.2;
}

.service-card p,
.country-card p,
.value-card p,
.document-card p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 540;
  line-height: 1.7;
}

.service-card .card-link {
  margin-top: auto;
  padding-top: 20px;
  color: var(--red);
  font-weight: 900;
}

.inline-list,
.check-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #34455a;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--sky));
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 900;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--navy);
  background: linear-gradient(135deg, #e0f2fe, #fff7ed);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.country-card {
  display: grid;
  position: relative;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 253, 255, 1) 58%, rgba(255, 247, 237, 0.78)),
    var(--white);
}

.country-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold), var(--teal), var(--sky));
}

.country-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--sky), var(--teal), var(--green), var(--gold));
}

.country-card:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--red), var(--navy));
}

.country-photo {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe, #fff7ed);
  border: 1px solid rgba(220, 227, 234, 0.9);
  border-radius: 6px;
}

.country-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.22) contrast(1.05);
  transition: transform 0.32s ease;
}

.country-card.is-generic-country .country-photo img {
  filter: saturate(1.35) contrast(1.08) hue-rotate(var(--country-hue, 0deg));
}

.country-card.has-live-photo .country-photo img {
  filter: saturate(1.24) contrast(1.06);
}

.country-card:hover .country-photo img {
  transform: scale(1.045);
}

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

.country-name {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.flag {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.09);
}

.flag-emoji {
  display: inline-grid;
  place-items: center;
  font-size: 1.45rem;
  line-height: 1;
}

.flag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag-de {
  background: linear-gradient(#111 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%);
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%);
}

.flag-it {
  background: linear-gradient(90deg, #009246 0 33.33%, #fff 33.33% 66.66%, #ce2b37 66.66%);
}

.flag-nl {
  background: linear-gradient(#ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66%);
}

.flag-es {
  background: linear-gradient(#aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.flag-gr {
  background:
    linear-gradient(90deg, transparent 0 36%, #fff 36% 48%, transparent 48%),
    linear-gradient(transparent 0 36%, #fff 36% 48%, transparent 48%),
    repeating-linear-gradient(#0d5eaf 0 11.11%, #fff 11.11% 22.22%);
}

.flag-gb {
  background:
    linear-gradient(90deg, transparent 0 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(transparent 0 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(90deg, transparent 0 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(transparent 0 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(35deg, transparent 0 43%, #fff 43% 48%, #c8102e 48% 52%, #fff 52% 57%, transparent 57%),
    linear-gradient(-35deg, transparent 0 43%, #fff 43% 48%, #c8102e 48% 52%, #fff 52% 57%, transparent 57%),
    #012169;
}

.flag-us {
  background:
    linear-gradient(#3c3b6e 0 53%, transparent 53%),
    repeating-linear-gradient(#b22234 0 7.7%, #fff 7.7% 15.4%);
}

.flag-ca {
  background: linear-gradient(90deg, #d80621 0 25%, #fff 25% 75%, #d80621 75%);
  position: relative;
}

.flag-ca::after {
  position: absolute;
  inset: 15px 18px 11px;
  content: "";
  background: #d80621;
  clip-path: polygon(50% 0, 58% 32%, 86% 18%, 70% 48%, 100% 54%, 66% 62%, 74% 100%, 50% 78%, 26% 100%, 34% 62%, 0 54%, 30% 48%, 14% 18%, 42% 32%);
}

.flag-ae {
  background:
    linear-gradient(90deg, #ff0000 0 28%, transparent 28%),
    linear-gradient(#00732f 0 33.33%, #fff 33.33% 66.66%, #000 66.66%);
}

.flag-sa {
  background: #006c35;
  position: relative;
}

.flag-sa::after {
  position: absolute;
  right: 10px;
  bottom: 12px;
  left: 10px;
  height: 3px;
  content: "";
  background: #fff;
  border-radius: 3px;
}

.flag-world {
  position: relative;
  background: radial-gradient(circle at 35% 35%, #7dd3fc, #0f766e 64%, #132b4f 65%);
}

.flag-world::before,
.flag-world::after {
  position: absolute;
  inset: 9px;
  content: "";
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.flag-world::after {
  inset: 9px 19px;
}

.country-card h3 {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.country-card .country-intro {
  color: #283b51;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.55;
  margin-bottom: 0;
}

.country-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.country-meta span {
  padding: 5px 9px;
  color: var(--navy);
  background: linear-gradient(135deg, #fff7ed, #e0f2fe);
  border: 1px solid rgba(242, 180, 65, 0.24);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.visual-tile {
  min-height: 260px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-tile::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 18, 35, 0.04), rgba(7, 18, 35, 0.82)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(225, 29, 72, 0.18));
}

.visual-tile h3 {
  margin-bottom: 5px;
  font-size: 1.24rem;
  line-height: 1.2;
}

.visual-tile p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
  line-height: 1.45;
}

.visual-tile.documents {
  background-image: url("../images/places/country-italy.jpg");
}

.visual-tile.travel {
  background-image: url("../images/places/country-canada.jpg");
}

.visual-tile.consulting {
  background-image: url("../images/places/hero-cappadocia.jpg");
}

.country-card.is-hidden {
  display: none;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.country-search {
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  margin: 0 0 24px;
}

.country-search span {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.country-search input {
  min-height: 52px;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  border-color: rgba(14, 165, 233, 0.34);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.06);
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.92));
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(16, 32, 51, 0.05);
  font-weight: 800;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-color: transparent;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  padding: 20px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(14, 165, 233, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.process-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffd166, var(--gold));
  border-radius: 50%;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.timeline-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.notice-panel,
.source-panel {
  padding: 24px;
}

.notice-panel {
  border-left: 5px solid var(--gold);
  background: linear-gradient(135deg, #ffffff, #fff7ed);
}

.source-panel {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-color: rgba(255, 255, 255, 0.1);
}

.source-panel p,
.source-panel a {
  color: rgba(255, 255, 255, 0.8);
}

.source-panel a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.9));
  border: 0;
  text-align: left;
  font-weight: 900;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 160ms ease;
}

.faq-question[aria-expanded="true"] svg {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.platform-shell,
.wizard-panel,
.auth-layout,
.dashboard-layout {
  display: grid;
  gap: 28px;
}

.platform-shell {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: start;
}

.wizard-panel {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  align-items: start;
}

.smart-form,
.wizard-form,
.result-card,
.checklist-preview,
.panel-card,
.dashboard-sidebar,
.document-status-grid article,
.kpi-grid article {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.94) 52%, rgba(255, 247, 237, 0.92)),
    linear-gradient(90deg, rgba(14, 165, 233, 0.1), rgba(225, 29, 72, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(16, 32, 51, 0.12);
}

.smart-form,
.wizard-form,
.result-card,
.checklist-preview,
.panel-card {
  padding: 24px;
}

.smart-form,
.wizard-form {
  display: grid;
  gap: 16px;
}

.result-card h3,
.checklist-preview h3,
.panel-card h2 {
  margin-bottom: 14px;
  color: var(--navy-2);
  font-size: 1.35rem;
  line-height: 1.18;
}

.result-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.result-list p,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.result-list strong,
.panel-head span {
  color: var(--navy);
  font-weight: 900;
  text-align: right;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.document-columns {
  display: grid;
  gap: 14px;
}

.document-columns article {
  padding: 14px;
  background: linear-gradient(135deg, #ecfeff, #fff7ed);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: var(--radius);
}

.document-columns h4 {
  margin: 0 0 8px;
  color: var(--navy);
}

.document-columns ul,
.dashboard-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-columns li,
.dashboard-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 700;
}

.document-columns li::before,
.dashboard-list li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  border-radius: 50%;
}

.auth-section,
.dashboard-section {
  min-height: calc(100svh - var(--header-height));
  background:
    linear-gradient(180deg, rgba(240, 249, 255, 0.92), rgba(255, 247, 237, 0.9)),
    url("../images/places/hero-cappadocia.jpg") center / cover fixed;
}

.auth-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.56fr);
  align-items: center;
}

.dashboard-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
}

.dashboard-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 18px);
  display: grid;
  gap: 8px;
  padding: 18px;
}

.dashboard-sidebar strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.05rem;
}

.dashboard-sidebar a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: var(--radius);
  font-weight: 800;
}

.dashboard-sidebar a:hover,
.dashboard-sidebar a:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--sky));
  outline: 0;
}

.dashboard-main {
  display: grid;
  gap: 18px;
}

.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 24, 39, 0.94), rgba(0, 168, 143, 0.78) 48%, rgba(225, 29, 72, 0.58)),
    url("../images/places/country-world.jpg") center / cover;
  border-radius: var(--radius);
}

.dashboard-hero h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.dashboard-hero .section-kicker {
  color: #ffd166;
}

.kpi-grid,
.document-status-grid {
  display: grid;
  gap: 14px;
}

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

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

.kpi-grid article,
.document-status-grid article {
  padding: 18px;
}

.kpi-grid span,
.document-status-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.kpi-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.status-success {
  color: var(--teal) !important;
}

.status-warning {
  color: #b7791f !important;
}

.status-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.status-timeline span {
  position: relative;
  min-height: 42px;
  padding: 10px;
  color: var(--muted);
  background: #f0f9ff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 850;
}

.status-timeline span.is-done {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--sky));
  border-color: transparent;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--navy);
  background: #f0f9ff;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-card a {
  color: var(--red);
  font-weight: 900;
}

.form-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 251, 255, 0.96) 48%, rgba(255, 247, 237, 0.94)),
    linear-gradient(90deg, rgba(0, 168, 143, 0.1), rgba(225, 29, 72, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(16, 32, 51, 0.14);
}

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

.field {
  display: grid;
  gap: 7px;
}

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

label {
  color: #2b3f55;
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 1px solid #a9c7dd;
  border-radius: var(--radius);
  font-weight: 650;
  outline: 0;
}

input::placeholder,
textarea::placeholder {
  color: #7a8899;
  opacity: 1;
}

.latin-date {
  direction: ltr;
  font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.field-hint {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

textarea {
  min-height: 126px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sky);
  box-shadow:
    0 0 0 4px rgba(14, 165, 233, 0.15),
    0 12px 26px rgba(14, 165, 233, 0.12);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--teal);
  font-weight: 900;
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 31, 63, 0.94), rgba(0, 168, 143, 0.78) 52%, rgba(225, 29, 72, 0.68)),
    url("../images/places/hero-cappadocia.jpg") center / cover;
}

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

.cta-inner h2 {
  margin-bottom: 8px;
  font-size: 2.1rem;
  line-height: 1.12;
}

.cta-inner p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, #071827, #12346a 52%, #073f46);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(160px, 0.7fr));
  gap: 28px;
  padding: 56px 0 38px;
}

.footer-main h3,
.footer-main h4 {
  color: var(--white);
}

.footer-main h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.footer-main h4 {
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-main ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-main a:hover,
.footer-main a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.mini-map {
  min-height: 230px;
  padding: 26px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 168, 143, 0.92), rgba(14, 165, 233, 0.8) 46%, rgba(225, 29, 72, 0.74)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 16px);
  border-radius: var(--radius);
}

.mini-map strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.mini-map p {
  color: rgba(255, 255, 255, 0.8);
}

.floating-whatsapp {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 18px;
  color: var(--white);
  background: #21c35e;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(20, 130, 72, 0.36);
  font-weight: 900;
  line-height: 1;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #16a950;
  outline: 0;
  transform: translateY(-1px);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

@media (min-width: 1181px) and (max-width: 1500px) {
  .nav-list li:nth-last-child(-n + 2) {
    display: none;
  }
}

@media (max-width: 1180px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    height: calc(100svh - var(--header-height));
    padding: 18px 14px 32px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 8px;
  }

  .nav-link {
    justify-content: space-between;
    min-height: 52px;
    padding: 0 16px;
    background: var(--soft);
    font-size: 0.95rem;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .service-grid,
  .country-grid,
  .value-grid,
  .document-grid,
  .visual-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-strip-wide,
  .kpi-grid,
  .document-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 3.35rem;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding: 92px 0 54px;
  }

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

  .route-gallery {
    grid-auto-rows: 160px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 2.75rem;
  }

  .page-title,
  .section-title {
    font-size: 2.1rem;
  }

  .hero-lead,
  .page-lead {
    font-size: 1.05rem;
  }

  .section {
    padding: 66px 0;
  }

  .section-header,
  .two-column,
  .two-column.reverse,
  .contact-layout,
  .cta-inner,
  .platform-shell,
  .wizard-panel,
  .auth-layout,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column.reverse .media-frame {
    order: 2;
  }

  .cta-inner {
    display: grid;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
    max-width: 362px;
    margin-left: 14px;
    margin-right: auto;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding-right: 6px;
  }

  .brand {
    min-width: 0;
    max-width: 184px;
    flex: 1 1 auto;
    gap: 8px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    max-width: 120px;
    font-size: 0.92rem;
  }

  .brand-line {
    max-width: 120px;
    font-size: 0.64rem;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    display: none;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .language-switcher button {
    min-width: 34px;
    min-height: 30px;
    padding: 0 6px;
    font-size: 0.76rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero::before,
  .page-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 18, 35, 0.94), rgba(9, 24, 46, 0.78)),
      linear-gradient(0deg, rgba(7, 18, 35, 0.24), rgba(7, 18, 35, 0.24));
  }

  .route-gallery {
    grid-auto-rows: 152px;
    grid-template-columns: 1fr;
  }

  .route-card.large,
  .route-card.tall,
  .route-card.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  h1 {
    font-size: 2rem;
  }

  .page-title,
  .section-title {
    font-size: 1.72rem;
  }

  .hero-actions,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .country-grid,
  .value-grid,
  .document-grid,
  .visual-strip,
  .process-strip,
  .process-strip-wide,
  .form-grid,
  .footer-main,
  .kpi-grid,
  .document-status-grid,
  .status-timeline {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-sidebar {
    grid-template-columns: 1fr;
  }

  .visual-tile {
    min-height: 190px;
    padding: 20px;
  }

  .country-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .metric {
    padding: 10px 8px;
  }

  .metric strong {
    font-size: 0.95rem;
  }

  .metric span {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .page-hero {
    min-height: 360px;
    padding: 66px 0 48px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .form-panel,
  .service-card,
  .country-card,
  .value-card,
  .document-card,
  .contact-card,
  .notice-panel,
  .source-panel {
    padding: 20px;
  }

  .service-photo {
    margin: -20px -20px 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    right: auto;
    left: min(calc(100vw - 72px), 318px);
    width: 58px;
    min-height: 58px;
    padding: 0;
  }

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

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