:root {
  --ink: #1f2328;
  --muted: #5f6975;
  --paper: #ffffff;
  --line: #dfe4ea;
  --soft: #f3f6f8;
  --deep: #183642;
  --brand: #197278;
  --brand-dark: #125056;
  --sun: #f2b544;
  --coral: #d9583f;
  --shadow: 0 20px 55px rgba(24, 54, 66, .16);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfcfd;
  letter-spacing: 0;
}

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

button { border: 0; cursor: pointer; font: inherit; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 0 44px;
  color: #fff;
  background: rgba(13, 31, 39, .94);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--sun);
  color: #14323f;
  font-weight: 900;
}

.brand span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.74);
  font-weight: 700;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,.84);
  font-weight: 750;
  font-size: 14px;
}

.nav a:hover { color: #fff; }

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

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.12);
}

.mobile-menu-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-nav {
  display: none;
}

.language-switcher { position: relative; }

.language-toggle {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-weight: 850;
}

.language-toggle svg,
.btn svg,
.icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 128px;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: #111d24;
  box-shadow: var(--shadow);
  display: none;
}

.language-switcher.open .language-menu {
  display: grid;
  gap: 4px;
}

.language-menu button {
  min-height: 36px;
  border-radius: 7px;
  background: transparent;
  color: rgba(255,255,255,.8);
  text-align: left;
  padding: 0 10px;
  font-weight: 800;
}

.language-menu button.active,
.language-menu button:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  white-space: nowrap;
}

.btn.primary {
  background: var(--sun);
  color: #17313b;
}

.btn.dark {
  background: var(--brand);
  color: #fff;
}

.btn.light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.page-hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: #102630;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero::before {
  background-image: url("hero-ruta-alemania.png");
  background-size: cover;
  background-position: center;
  opacity: .5;
}

.page-hero::after {
  background: linear-gradient(90deg, rgba(9, 26, 34, .96) 0%, rgba(9, 26, 34, .72) 54%, rgba(9, 26, 34, .28) 100%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 108px 0 72px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  color: #ffe0a1;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .98;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

section { padding: 76px 0; }

.soft { background: var(--soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  max-width: 780px;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 640px;
  font-size: 17px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: 22px;
  align-items: start;
}

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

.card,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 22px;
  display: grid;
  gap: 14px;
  min-height: 190px;
  min-width: 0;
  overflow: hidden;
}

.panel {
  padding: 24px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e8f4f3;
  color: var(--brand);
}

.card h3,
.panel h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.card p,
.panel p,
.panel li {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.checklist {
  display: grid;
  gap: 14px;
}

.check-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.check-row span {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e8f4f3;
  color: var(--brand-dark);
  font-weight: 900;
}

.notice {
  padding: 18px;
  background: #fff8e8;
  border: 1px solid #f5ddb0;
  border-radius: var(--radius);
  color: #62430b;
  line-height: 1.55;
}

.legal {
  display: grid;
  gap: 22px;
}

.legal h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
}

.legal h3 {
  margin: 10px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.legal p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.legal a {
  color: var(--brand-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.legal-block {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.legal-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.68;
}

.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.profile-photo {
  margin: 0;
  text-align: center;
}

.profile-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 62% 42%;
  border: 7px solid #fff;
  box-shadow: var(--shadow);
}

.profile-photo figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-weight: 750;
}

.profile-copy {
  display: grid;
  gap: 18px;
}

.profile-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.process-list {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.process-step h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.process-step p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}

.offer-card {
  min-width: 0;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.offer-card.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow);
}

.offer-card .tag {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--brand-dark);
  background: #e8f4f3;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.offer-card p,
.offer-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.offer-note {
  padding: 14px;
  border-left: 3px solid var(--sun);
  background: #fff8e8;
}

.offer-card .btn { margin-top: auto; }

.service-list {
  display: grid;
  gap: 12px;
  font-size: 17px;
}

.faq-list {
  max-width: 900px;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 22px;
}

.faq-list summary {
  padding: 20px 34px 20px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.cta {
  background: var(--deep);
  color: #fff;
  padding: 72px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
}

.cta p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.76);
  max-width: 700px;
  line-height: 1.55;
  font-size: 18px;
}

.footer {
  padding: 32px 0;
  background: #111d24;
  color: rgba(255,255,255,.7);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,.86);
  font-weight: 750;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 1080px) {
  .site-header { padding: 0 24px; }
  .nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 18px 18px;
    background: rgba(13, 31, 39, .98);
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
  }

  .mobile-nav.open {
    display: grid;
    gap: 4px;
  }

  .mobile-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 7px;
    color: rgba(255,255,255,.9);
    font-size: 16px;
    font-weight: 800;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: rgba(255,255,255,.1);
    color: #fff;
  }
  .grid-2,
  .cta-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-photo { text-align: left; }
}

@media (max-width: 720px) {
  .site-header {
    min-height: auto;
    height: 70px;
    padding: 14px 18px;
  }

  .site-header .btn { display: none; }
  .site-header > .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .mobile-menu-toggle {
    position: absolute;
    left: 18px;
  }
  .wrap { width: min(100% - 34px, 1180px); }
  .page-hero .wrap { padding: 76px 0 54px; }
  h1 { font-size: 42px; }
  section { padding: 54px 0; }
  .section-head { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .profile-photo { text-align: center; }
  .profile-photo img { width: 220px; height: 220px; }
  .process-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .process-step > span { width: 42px; height: 42px; }
  .process-step h2 { font-size: 23px; }
}
