@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: #071729;
  --muted: #46566a;
  --navy: #132b4f;
  --navy-2: #0d1f3a;
  --red: #b72034;
  --red-dark: #941a2a;
  --teal: #0f766e;
  --gold: #c9973c;
  --line: #dce3ea;
  --soft: #f5f7fa;
  --soft-2: #edf3f4;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(16, 32, 51, 0.13);
  --radius: 8px;
  --header-height: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: 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: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 234, 0.9);
  backdrop-filter: blur(16px);
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  flex: 0 1 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(19, 43, 79, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 12px 24px rgba(19, 43, 79, 0.14);
}

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

.brand-name {
  display: block;
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 10px;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  color: #26374a;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--red);
  background: rgba(183, 32, 52, 0.08);
  outline: 0;
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef3f5;
  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: var(--navy);
}

.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: var(--red);
  box-shadow: 0 14px 30px rgba(183, 32, 52, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.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);
}

.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.96), rgba(9, 24, 46, 0.78) 50%, rgba(9, 24, 46, 0.34)),
    linear-gradient(0deg, rgba(7, 18, 35, 0.34), rgba(7, 18, 35, 0.34));
}

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

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

.page-hero.destinations-hero,
.page-hero.contact-hero {
  background-image: url("../images/travel-ready.png");
}

.page-hero.process-hero {
  background-image: url("../images/hero-visa-consultancy.png");
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f7d36f;
  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: rgba(8, 24, 39, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.28);
  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;
}

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

.section-white {
  background: var(--white);
}

.section-muted {
  background: var(--soft-2);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 0%, rgba(15, 118, 110, 0.38), transparent 34%),
    linear-gradient(135deg, var(--navy-2), #173d57);
}

.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;
}

.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;
}

.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: rgba(8, 24, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  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: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: var(--radius);
}

.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: var(--teal);
  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: #eef4f6;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.country-card {
  display: grid;
  gap: 14px;
}

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

.country-meta span {
  padding: 5px 9px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

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

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

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

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

.process-step {
  position: relative;
  padding: 20px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  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: #f7d36f;
  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: var(--red);
  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);
}

.source-panel {
  color: var(--white);
  background: var(--navy);
  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: var(--white);
  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;
}

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

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

.form-panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.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: #ffffff;
  border: 1px solid #b8c6d6;
  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(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.13);
}

.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(13, 31, 58, 0.93), rgba(13, 31, 58, 0.84)),
    url("../images/travel-ready.png") 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: #081827;
}

.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(15, 118, 110, 0.9), rgba(19, 43, 79, 0.94)),
    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 (max-width: 1080px) {
  .header-actions .btn {
    display: none;
  }

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

  .process-strip {
    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);
  }

  .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);
  }

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

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

  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 {
    grid-template-columns: 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 {
    gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

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

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-line {
    font-size: 0.64rem;
  }

  .header-actions {
    gap: 6px;
  }

  .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.97), rgba(9, 24, 46, 0.88)),
      linear-gradient(0deg, rgba(7, 18, 35, 0.38), rgba(7, 18, 35, 0.38));
  }

  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,
  .process-strip,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .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;
  }

  .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;
  }
}
