:root {
  --brand-blue: #3f4397;
  --brand-blue-dark: #1e244f;
  --brand-blue-soft: #5a79b6;
  --brand-yellow: #f4df18;
  --paper: #f7f5ef;
  --surface: rgba(255, 255, 255, 0.94);
  --line: rgba(25, 31, 61, 0.1);
  --text: #171c2f;
  --muted: #636a7e;
  --shadow: 0 18px 40px rgba(18, 24, 44, 0.08);
  --shadow-soft: 0 10px 26px rgba(18, 24, 44, 0.05);
  --radius-xl: 10px;
  --radius-lg: 4px;
  --radius-md: 2px;
}

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

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(63, 67, 151, 0.20), transparent 28%),
    radial-gradient(circle at 18% 22%, rgba(90, 121, 182, 0.14), transparent 24%),
    radial-gradient(circle at top left, rgba(244, 223, 24, 0.09), transparent 22%),
    linear-gradient(180deg, #e5ebf8 0%, #f1f1ee 42%, #faf9f7 100%);
}

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

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.top-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding: 10px 18px;
  border-radius: 2px 2px 0 0;
  background: #232831;
  color: white;
}

.top-bar-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
}

.top-bar-label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 22px;
  margin-bottom: 20px;
  border-radius: 0;
  background: rgba(33, 39, 95, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.site-header-classic {
  position: static;
  top: auto;
  border-radius: 0 0 2px 2px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(25, 31, 61, 0.08);
  border-top: 0;
  box-shadow: var(--shadow-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
}

.brand strong,
.brand span,
.main-nav a,
.lang-btn {
  color: white;
}

.brand-dark strong,
.brand-dark span,
.main-nav-dark a {
  color: var(--text);
}

.brand strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.16rem;
}

.brand span {
  display: block;
  opacity: 0.75;
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  opacity: 0.9;
  font-size: 0.94rem;
  font-weight: 500;
}

.main-nav a.is-active,
.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
  color: var(--brand-yellow);
}

.main-nav-dark a.is-active,
.main-nav-dark a:hover,
.main-nav-dark a:focus-visible {
  color: var(--brand-blue-soft);
}

.main-nav-dark a.is-active {
  padding: 8px 12px;
  color: white;
}

body.page-home .main-nav-dark a.is-active {
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
}

body.page-immigration .main-nav-dark a.is-active {
  background: #4f6fb3;
}

body.page-logistics .main-nav-dark a.is-active {
  background: #2f7e7a;
}

body.page-about .main-nav-dark a.is-active {
  background: #b58a2d;
}

body.page-contact .main-nav-dark a.is-active {
  background: #4d6a90;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 7px 11px;
  border-radius: 0;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.lang-switch-light {
  background: rgba(33, 39, 95, 0.06);
}

.lang-switch-light .lang-btn {
  color: var(--text);
}

.hero,
.section {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.75fr);
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(33, 39, 95, 0.98), rgba(63, 67, 151, 0.92));
}

.hero-compact {
  min-height: 0;
}

.hero-copy,
.hero-side {
  position: relative;
}

.eyebrow,
.section-tag {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero .eyebrow,
.hero h1,
.hero .lead,
.trust-card,
.fact-strip {
  color: white;
}

.hero h1,
.section-heading h2,
.content-block h2,
.info-card h3,
.service-card h3,
.contact-box h3 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
}

.hero h1 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  max-width: 30ch;
  text-wrap: pretty;
}

.lead,
.section-heading p,
.info-card p,
.service-card p,
.content-block p,
.contact-box p,
.contact-box li {
  line-height: 1.65;
  font-size: 1rem;
}

.lead {
  margin-top: 8px;
  max-width: 62ch;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy {
  min-width: 0;
}

.hero-side {
  align-self: start;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand-yellow);
  color: var(--brand-blue-dark);
  box-shadow: 0 10px 20px rgba(244, 223, 24, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: white;
}

.button.ghost-dark {
  background: transparent;
  border: 1px solid rgba(23, 28, 47, 0.16);
  color: var(--text);
}

.button.tertiary,
.button.whatsapp {
  background: white;
  color: var(--brand-blue-dark);
  border: 1px solid var(--line);
}

.button.whatsapp {
  background: linear-gradient(135deg, #1d8d63, #29b474);
  color: white;
  border-color: transparent;
}

.button.text-button {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-blue-dark);
  justify-content: flex-start;
  box-shadow: none;
}

.trust-card,
.fact-strip,
.info-card,
.service-card,
.content-block,
.contact-box,
.notice-card {
  border-radius: var(--radius-lg);
}

.trust-card,
.fact-strip {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-card .clean-list,
.fact-strip p {
  font-size: 0.84rem;
}

.quick-entry {
  padding-top: 20px;
  padding-bottom: 20px;
}

.home-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 0;
  min-height: 300px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(18, 24, 44, 0.76), rgba(18, 24, 44, 0.42)),
    linear-gradient(135deg, #788b95 0%, #a8bbc1 26%, #8ca1a8 52%, #5f7078 76%, #3d4a4f 100%);
  border: 1px solid rgba(17, 22, 41, 0.08);
}

.home-stage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px 22px;
  color: white;
}

.stage-title {
  margin: 0;
  max-width: 22ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.4rem, 2.4vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.stage-lead {
  max-width: 58ch;
  margin-top: 12px;
  font-size: 0.92rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.84);
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.stage-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.stage-highlights span {
  padding: 0 0 0 14px;
  position: relative;
  background: transparent;
  border: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.84);
}

.stage-highlights span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.home-stage-panel {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, rgba(44, 58, 92, 0.28), rgba(255, 255, 255, 0.02));
}

.stage-frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.stage-grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.18;
}

.stage-card {
  position: absolute;
  display: flex;
  align-items: end;
  padding: 12px;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  box-shadow: 0 12px 24px rgba(20, 25, 43, 0.16);
}

.stage-card-primary {
  inset: 24px auto auto 24px;
  width: 42%;
  height: 46%;
  background: linear-gradient(135deg, rgba(31, 37, 79, 0.92), rgba(53, 63, 109, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stage-card-secondary {
  inset: auto 24px 24px auto;
  width: 46%;
  height: 40%;
  background: linear-gradient(135deg, rgba(74, 99, 134, 0.84), rgba(30, 36, 79, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-card-accent {
  inset: 34% 16% auto auto;
  width: 32%;
  height: 24%;
  background: rgba(247, 245, 239, 0.92);
  color: var(--brand-blue-dark);
  border-left: 4px solid var(--brand-yellow);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 0;
  margin-top: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
  border: 1px solid rgba(20, 24, 42, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.home-hero-copy {
  padding: 34px 36px 32px;
}

.home-hero-title {
  margin: 0;
  max-width: 18ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.home-hero-lead {
  max-width: 60ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.home-hero-panel {
  padding: 34px 30px;
  border-left: 1px solid rgba(20, 24, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(30, 36, 79, 0.98), rgba(55, 66, 115, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}

.home-hero-panel-inner {
  max-width: 24rem;
  color: white;
}

.clean-list-compact {
  padding-left: 18px;
  line-height: 1.8;
  font-size: 0.92rem;
}

.home-summary {
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

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

.home-summary-card {
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 24, 42, 0.08);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
}

.home-summary-card p:last-of-type {
  color: var(--muted);
}

.home-section-heading {
  margin-bottom: 18px;
}

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

.service-card-home {
  padding: 28px;
  border-radius: 0;
}

.service-card-home h3 {
  margin-bottom: 10px;
}

.home-service-actions {
  margin-top: 16px;
}

.home-meta {
  padding-top: 26px;
}

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

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, rgba(30, 36, 79, 0.98), rgba(57, 69, 120, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid rgba(20, 24, 42, 0.08);
}

.page-intro-copy {
  min-width: 0;
  color: white;
}

.page-intro-title {
  margin: 0;
  max-width: 24ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.14;
  color: white;
}

.page-intro-lead {
  max-width: 60ch;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.page-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.page-intro-side {
  align-self: stretch;
}

.page-intro-note {
  height: 100%;
  padding: 16px 18px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}

.page-intro-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1rem;
}

.page-intro-note p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.95fr);
  min-height: 320px;
  margin-top: 18px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a315e 0%, #3a4378 56%, #596899 100%);
  border: 1px solid rgba(20, 24, 42, 0.08);
}

.landing-hero::before {
  content: none;
}

.landing-hero::after {
  content: none;
}

.landing-hero-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 58px 28px 120px;
  text-align: center;
  color: white;
}

.landing-hero-map {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    url("assets/heroes/home-map-paraguay.png") center/cover no-repeat;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-kicker,
.landing-welcome {
  margin: 0;
}

.landing-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
}

.landing-welcome {
  margin-top: 28px;
  font-size: 1rem;
}

.landing-title {
  margin: 10px auto 0;
  max-width: 24ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2.1rem, 3.9vw, 3.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.landing-tagline {
  max-width: 28ch;
  margin: 18px auto 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.landing-subtitle {
  max-width: 62ch;
  margin: 22px auto 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.landing-services-card {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  padding: 0 24px;
}

.landing-services-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px 24px;
  background: white;
  border: 1px solid rgba(20, 24, 42, 0.08);
  box-shadow: var(--shadow);
}

.landing-card-title {
  margin: 0;
  text-align: center;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.35rem;
}

.landing-service-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid rgba(244, 223, 24, 0.8);
}

.landing-service-item {
  text-align: center;
}

.landing-icon {
  color: var(--brand-yellow);
  font-size: 1.6rem;
  line-height: 1;
}

.landing-service-item h3 {
  margin: 10px 0 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.landing-service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.landing-card-note {
  max-width: 64ch;
  margin: 22px auto 0;
  text-align: center;
  color: var(--muted);
}

.landing-card-actions {
  margin-top: 18px;
  text-align: center;
}

.landing-section {
  margin-top: 34px;
}

.landing-section-head {
  margin-bottom: 24px;
  text-align: center;
}

.landing-section-head h2 {
  display: inline-block;
  margin: 0;
  padding-bottom: 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  border-bottom: 2px solid var(--brand-yellow);
}

.landing-two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.landing-two-col-alt {
  grid-template-columns: 0.9fr 1.1fr;
}

.landing-text-block p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.landing-text-block h3 {
  margin: 0 0 14px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.25rem;
}

.landing-highlight-box {
  padding: 24px;
  background: linear-gradient(180deg, rgba(30, 36, 79, 0.98), rgba(55, 66, 115, 0.95));
  color: white;
}

.landing-highlight-box strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.2rem;
}

.landing-highlight-box p {
  margin: 0 0 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.landing-image-block {
  min-height: 220px;
}

.landing-image-scene {
  height: 100%;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(30, 36, 79, 0.14), rgba(30, 36, 79, 0.06)),
    url("assets/leistungen-koordiniert.png") center/cover no-repeat;
  border: 1px solid rgba(20, 24, 42, 0.08);
}

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

.topic-hero {
  position: relative;
  min-height: 280px;
  margin-top: 18px;
  border-radius: 2px;
  overflow: hidden;
}

.topic-hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 54px 24px 92px;
  text-align: center;
  color: white;
}

.topic-title {
  margin: 10px auto 0;
  max-width: 16ch;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.08;
}

.topic-lead {
  max-width: 60ch;
  margin: 16px auto 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.topic-summary-card {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding: 0 24px;
}

.topic-summary-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 24px 24px;
  background: white;
  border: 1px solid rgba(20, 24, 42, 0.08);
  box-shadow: var(--shadow);
}

.topic-summary-inner strong {
  display: block;
  text-align: center;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.2rem;
}

.topic-summary-inner p {
  max-width: 64ch;
  margin: 14px auto 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.65;
}

.topic-summary-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

body.page-immigration .topic-hero {
  background:
    linear-gradient(180deg, rgba(19, 31, 58, 0.36), rgba(19, 31, 58, 0.68)),
    linear-gradient(135deg, rgba(79, 111, 179, 0.16), rgba(244, 223, 24, 0.06)),
    url("assets/heroes/immigration-customs.jpg") center 34%/cover no-repeat;
}

body.page-logistics .topic-hero {
  background:
    linear-gradient(180deg, rgba(17, 32, 56, 0.28), rgba(17, 32, 56, 0.58)),
    url("assets/heroes/logistics.jpg") center/cover no-repeat;
}

body.page-about .topic-hero {
  background:
    linear-gradient(180deg, rgba(30, 36, 79, 0.22), rgba(30, 36, 79, 0.48)),
    url("assets/team.jpg") center 20%/cover no-repeat;
}

body.page-contact .topic-hero {
  background:
    linear-gradient(180deg, rgba(30, 36, 79, 0.26), rgba(30, 36, 79, 0.56)),
    url("assets/heroes/contact.jpg") center/cover no-repeat;
}

.page-intro-note-warm {
  background: linear-gradient(135deg, rgba(244, 223, 24, 0.16), rgba(255, 255, 255, 0.08));
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

.section {
  margin-top: 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(20, 24, 42, 0.06);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.narrow {
  max-width: 72ch;
}

.section-heading h2 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.section-heading p,
.info-card p,
.service-card p,
.content-block p,
.contact-box p,
.contact-box li {
  color: var(--muted);
}

.card-grid,
.split-layout,
.service-grid,
.contact-layout {
  display: grid;
  gap: 18px;
}

.section-stack-top {
  margin-top: 18px;
}

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

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

.split-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.info-card,
.service-card,
.content-block,
.contact-box,
.notice-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(18, 24, 44, 0.03);
}

.info-card.accent {
  background: linear-gradient(135deg, rgba(90, 121, 182, 0.08), rgba(244, 223, 24, 0.12));
}

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

.content-block h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.fact-strip {
  display: grid;
  gap: 10px;
}

.notice-card {
  background: linear-gradient(135deg, rgba(244, 223, 24, 0.2), rgba(255, 255, 255, 0.98));
}

.contact-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.assistant-form {
  display: grid;
  gap: 16px;
}

.form-status {
  padding: 16px 18px;
  border: 1px solid var(--line);
}

.form-status strong {
  display: block;
  margin-bottom: 6px;
}

.form-status p {
  margin: 0;
}

.form-status-success {
  background: linear-gradient(135deg, rgba(39, 132, 96, 0.12), rgba(255, 255, 255, 0.98));
}

.form-status-error {
  background: linear-gradient(135deg, rgba(176, 59, 59, 0.12), rgba(255, 255, 255, 0.98));
}

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

.assistant-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.consent-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 400;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.assistant-form input,
.assistant-form select,
.assistant-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(25, 31, 61, 0.16);
  font: inherit;
  background: white;
  color: var(--text);
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 2px;
  background: rgba(30, 36, 79, 0.9);
  color: white;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 24, 44, 0.18);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--brand-blue);
}

.site-footer {
  padding: 22px 6px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.site-footer a {
  color: var(--brand-blue);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.legal-section h1,
.legal-card h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 22px 24px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.legal-card p,
.legal-card li {
  line-height: 1.72;
  color: var(--muted);
}

.legal-card code {
  padding: 1px 5px;
  background: rgba(30, 36, 79, 0.08);
  color: var(--brand-blue-dark);
}

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

.maintenance-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.maintenance-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(25, 31, 61, 0.08);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.72);
}

.maintenance-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 54px 54px 48px;
  background:
    linear-gradient(140deg, rgba(30, 36, 79, 0.98), rgba(63, 67, 151, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  color: white;
}

.maintenance-kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.maintenance-title {
  margin: 0;
  max-width: 11ch;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.maintenance-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.maintenance-note {
  max-width: 56ch;
  padding: 18px 20px;
  border-left: 4px solid var(--brand-yellow);
  background: rgba(255, 255, 255, 0.08);
}

.maintenance-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.maintenance-note p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.maintenance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.maintenance-countdown {
  display: inline-flex;
  align-items: end;
  gap: 14px;
  width: fit-content;
  padding: 18px 24px 16px;
  background: linear-gradient(135deg, rgba(244, 223, 24, 0.98), rgba(231, 208, 22, 0.94));
  color: var(--brand-blue-dark);
  box-shadow: 0 18px 36px rgba(244, 223, 24, 0.22);
}

.maintenance-countdown-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  line-height: 0.9;
}

.maintenance-countdown-number {
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.maintenance-countdown-unit {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maintenance-countdown-meta {
  display: grid;
  gap: 4px;
}

.maintenance-countdown-meta strong {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.maintenance-countdown-meta span {
  font-size: 0.98rem;
  line-height: 1.3;
}

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

.maintenance-meta-card {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.maintenance-meta-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.maintenance-meta-card strong,
.maintenance-meta-card a {
  font-size: 0.98rem;
  color: white;
}

.maintenance-visual {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(247, 245, 239, 0.08), rgba(247, 245, 239, 0.02)),
    linear-gradient(160deg, rgba(229, 235, 248, 0.86), rgba(250, 249, 247, 0.92));
}

.maintenance-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    url("assets/heroes/home-map-paraguay.png") center / cover no-repeat;
  opacity: 0.86;
}

.maintenance-visual::after {
  content: "";
  position: absolute;
  inset: auto 42px 42px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(244, 223, 24, 0.92), rgba(244, 223, 24, 0) 58%),
    radial-gradient(circle at 50% 50%, rgba(63, 67, 151, 0.24), rgba(63, 67, 151, 0) 70%);
  filter: blur(2px);
}

.maintenance-badge {
  position: absolute;
  top: 34px;
  right: 34px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(25, 31, 61, 0.1);
  color: var(--brand-blue-dark);
  box-shadow: var(--shadow-soft);
}

.maintenance-badge img {
  width: 46px;
  height: 46px;
  border-radius: 4px;
  object-fit: cover;
}

.maintenance-badge strong {
  display: block;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1rem;
}

.maintenance-badge span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.maintenance-panel {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 34px;
  z-index: 1;
  padding: 24px 24px 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(25, 31, 61, 0.1);
  box-shadow: var(--shadow-soft);
}

.maintenance-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.maintenance-panel strong {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.maintenance-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.maintenance-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
  color: var(--text);
}

.maintenance-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-yellow);
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .card-grid-2,
  .card-grid-3,
  .split-layout,
  .service-grid,
  .contact-layout,
  .top-bar,
  .home-stage,
  .page-intro,
  .home-hero,
  .home-summary-grid,
  .home-service-grid,
  .home-meta-grid,
  .landing-service-columns,
  .landing-two-col,
  .landing-two-col-alt,
  .landing-trust-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-stage,
  .maintenance-meta {
    grid-template-columns: 1fr;
  }

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

  .landing-hero-map {
    min-height: 220px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header {
    border-radius: 28px;
  }

  .main-nav {
    justify-content: flex-start;
  }

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

  .hero {
    padding: 16px;
  }

  .top-bar {
  border-radius: 2px 2px 0 0;
  }

  .site-header-classic {
    border-radius: 0 0 2px 2px;
  }

  .home-stage-copy {
    padding: 20px 18px;
  }

  .home-stage-panel {
    min-height: 220px;
  }

  .page-intro {
    padding: 18px;
  }

  .home-hero-panel {
    border-left: 0;
    border-top: 1px solid rgba(20, 24, 42, 0.08);
  }

  .landing-services-card {
    margin-top: -34px;
  }

  .topic-summary-card {
    margin-top: -26px;
  }

  .maintenance-copy {
    padding: 36px 24px 28px;
  }

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

  .maintenance-countdown {
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .maintenance-visual {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 16px, 100%);
    padding-top: 12px;
  }

  .site-header,
  .hero,
  .section {
    padding: 18px;
  }

  .top-bar {
    padding: 12px 14px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .button,
  .lang-switch {
    width: 100%;
  }

  .lang-switch {
    justify-content: center;
  }

  .home-stage {
    min-height: 0;
  }

  .stage-title {
    max-width: 100%;
    font-size: 1.5rem;
  }

  .stage-frame {
    inset: 16px;
  }

  .page-intro-title {
    max-width: 100%;
    font-size: 1.4rem;
  }

  .home-hero-copy,
  .home-hero-panel,
  .home-summary-card,
  .service-card-home {
    padding: 20px 18px;
  }

  .landing-hero-overlay,
  .landing-services-card,
  .landing-services-inner,
  .landing-highlight-box {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-hero-overlay {
    padding-top: 42px;
    padding-bottom: 84px;
  }

  .maintenance-shell {
    width: min(100% - 16px, 100%);
    padding-top: 12px;
  }

  .maintenance-countdown {
    padding: 16px 18px 14px;
  }

  .maintenance-countdown-value {
    gap: 8px;
  }

  .maintenance-countdown-number {
    font-size: 2.8rem;
  }

  .maintenance-countdown-unit {
    font-size: 0.92rem;
  }

  .maintenance-visual {
    min-height: 360px;
  }

  .maintenance-badge,
  .maintenance-panel {
    left: 18px;
    right: 18px;
  }

  .maintenance-badge {
    top: 18px;
  }

  .maintenance-panel {
    bottom: 18px;
    padding: 18px;
  }

  .topic-hero-overlay,
  .topic-summary-card,
  .topic-summary-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
}
