:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5f6c7f;
  --line: #d9e3f0;
  --paper: #f4f7fb;
  --surface: #ffffff;
  --blue: #00966e;
  --blue-dark: #006847;
  --green: #00966e;
  --green-dark: #006847;
  --red: #d62612;
  --red-dark: #af1f10;
  --gold: #00966e;
  --gold-dark: #006847;
  --soft-gold: #f2fff8;
  --soft-blue: #effff8;
  --soft-red: #fff2f1;
  --flag-white: #ffffff;
  --flag-green: #00966e;
  --flag-red: #d62612;
  --shadow: 0 18px 40px rgba(13, 35, 68, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.header-inner,
.main-menu,
.search-form,
main,
.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  gap: 14px;
  padding: 16px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-flag {
  width: 82px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(20, 32, 51, 0.16));
  transform-origin: center;
  animation: flagLogoWave 6s ease-in-out infinite;
}

.footer-brand .brand-flag {
  width: 72px;
  height: 48px;
}

.brand strong {
  display: block;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

@keyframes flagLogoWave {
  0%,
  100% {
    transform: perspective(280px) rotateY(-5deg) translateY(0);
  }

  50% {
    transform: perspective(280px) rotateY(5deg) translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-flag {
    animation: none;
  }
}

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

.language-switcher {
  display: flex;
  grid-column: 1 / -1;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.lang-button {
  min-height: 42px;
  min-width: 40px;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.lang-button:first-child {
  border-left: 0;
}

.lang-button.is-active {
  color: #fff;
  background: var(--green);
}

.button,
.search-form button,
.newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary,
.search-form button,
.newsletter-form button {
  border: 1px solid var(--red);
  color: #fff;
  background: var(--red);
}

.button-primary:hover,
.search-form button:hover,
.newsletter-form button:hover {
  background: var(--red-dark);
}

.button-light {
  border: 1px solid var(--line);
  color: var(--green-dark);
  background: var(--surface);
}

.button-light:hover {
  border-color: var(--green);
}

.button-gold {
  border: 1px solid var(--green);
  color: var(--green-dark);
  background: var(--surface);
}

.button-gold:hover {
  color: #fff;
  background: var(--green-dark);
}

.mobile-identity-banner {
  display: none;
}

.mobile-flag-wave {
  position: relative;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(0, 150, 110, 0.22);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(13, 35, 68, 0.1);
  perspective: 700px;
}

.mobile-flag-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 28% 62%, rgba(255, 255, 255, 0.18)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 10px, rgba(0, 0, 0, 0.03) 10px 20px);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.mobile-flag-wave span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 58px;
  background: linear-gradient(to bottom, var(--flag-white) 0 33.333%, var(--flag-green) 33.333% 66.666%, var(--flag-red) 66.666% 100%);
  transform-origin: left center;
  animation: mobileFlagWave 4.6s ease-in-out infinite;
}

@keyframes mobileFlagWave {
  0%,
  100% {
    transform: rotateY(-5deg) skewY(0.45deg);
  }

  50% {
    transform: rotateY(5deg) skewY(-0.45deg) translateZ(6px);
  }
}

.main-menu {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.main-menu::-webkit-scrollbar {
  display: none;
}

.main-menu a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-weight: 900;
  text-decoration: none;
}

.main-menu a:hover {
  color: var(--green-dark);
  background: var(--soft-blue);
}

.search-form {
  display: grid;
  gap: 9px;
  padding-bottom: 16px;
}

.search-form > label,
.newsletter-form > label:not(.consent-check) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-form input,
.newsletter-form input:not([type="checkbox"]):not(.form-honeypot) {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--surface);
}

main {
  padding: 22px 0 56px;
}

.ticker,
.news-showcase,
.category-panel,
.featured-news,
.article-view,
.main-layout,
.topic-section,
.services-section,
.promo-row,
.push-box {
  margin-bottom: 24px;
}

.ticker {
  display: grid;
  gap: 8px;
  border-left: 5px solid var(--red);
  border-radius: 9px;
  padding: 14px 16px;
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(13, 35, 68, 0.06);
}

.ticker strong,
.section-label {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker span {
  color: var(--muted);
  line-height: 1.45;
}

.news-showcase {
  display: grid;
  gap: 18px;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 255, 248, 0.92)),
    radial-gradient(circle at 85% 20%, rgba(217, 31, 47, 0.13), transparent 34%);
}

.news-showcase h1 {
  max-width: 920px;
  font-size: clamp(2rem, 6vw, 4.2rem);
}

.news-showcase-copy > p:not(.section-label) {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.flag-scene {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.86), transparent 54%),
    linear-gradient(135deg, rgba(0, 150, 110, 0.1), rgba(214, 38, 18, 0.1));
  perspective: 900px;
}

.flag-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flag-fallback {
  position: absolute;
  inset: 22px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.flag-fallback span {
  display: block;
  width: min(72vw, 260px);
  aspect-ratio: 5 / 3;
  border-radius: 9px;
  background: linear-gradient(to bottom, var(--flag-white) 0 33.333%, var(--flag-green) 33.333% 66.666%, var(--flag-red) 66.666% 100%);
  box-shadow: 0 24px 50px rgba(13, 35, 68, 0.18);
  transform-origin: left center;
  animation: fallbackFlagWave 4.8s ease-in-out infinite;
}

.flag-scene.is-three-ready .flag-fallback {
  opacity: 0;
}

@keyframes fallbackFlagWave {
  0%,
  100% {
    transform: rotateY(-16deg) skewY(1deg);
  }

  50% {
    transform: rotateY(9deg) skewY(-1deg) translateZ(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flag-fallback span {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

.section-label {
  display: block;
  margin: 0 0 7px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

p {
  margin: 0;
}

.category-panel,
.news-showcase,
.panel,
.ad-card,
.promo-card,
.push-box,
.article-card,
.featured-card,
.full-article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(13, 35, 68, 0.07);
}

.category-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.category-panel h2,
.section-heading h2,
.promo-card h2,
.push-box h2 {
  font-size: clamp(1.35rem, 5vw, 2.1rem);
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: flex-start;
}

.category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--blue-dark);
  background: #f9fbff;
  font-weight: 900;
  cursor: pointer;
}

.category-button.is-active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.featured-card {
  display: grid;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.featured-media {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(135deg, #e9fff7, #fff3f4);
}

.featured-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 150, 110, 0.24), rgba(214, 38, 18, 0.18)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 22px);
  z-index: 1;
  pointer-events: none;
}

.featured-media span {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(2.4rem, 10vw, 5.4rem);
  font-weight: 950;
  line-height: 0.9;
  text-shadow: 0 12px 28px rgba(8, 20, 40, 0.2);
}

.featured-image,
.card-image,
.full-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

.featured-image {
  object-position: 70% center;
}

.featured-image.is-image-failed,
.card-image.is-image-failed,
.full-article-image.is-image-failed {
  min-height: 220px;
  background:
    linear-gradient(to bottom, var(--flag-white) 0 33.333%, var(--flag-green) 33.333% 66.666%, var(--flag-red) 66.666% 100%),
    linear-gradient(135deg, rgba(0, 150, 110, 0.12), rgba(214, 38, 18, 0.12));
}

.featured-content {
  padding: 22px;
}

.tag-list,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  color: #fff;
  background: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.featured-card h1 {
  margin-top: 14px;
  font-size: clamp(1.85rem, 3.8vw, 3.25rem);
  line-height: 1.05;
}

.featured-card .excerpt {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.meta-row {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 850;
}

.wage-table,
.modal-table {
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  font-size: 0.94rem;
}

.wage-table th,
.wage-table td,
.modal-table th,
.modal-table td {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.wage-table tr:first-child th,
.modal-table tr:first-child th {
  border-top: 0;
}

.wage-table th,
.modal-table th {
  color: var(--blue-dark);
  background: var(--soft-blue);
}

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

.article-share {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
}

.article-share span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--green-dark);
  background: var(--surface);
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.share-button:hover,
.share-button:focus-visible {
  border-color: var(--green);
  background: var(--soft-blue);
}

.share-button-whatsapp {
  border-color: rgba(0, 150, 110, 0.34);
  color: #fff;
  background: var(--green);
}

.share-button-facebook {
  border-color: rgba(214, 38, 18, 0.36);
  color: var(--red-dark);
  background: var(--soft-red);
}

.main-layout {
  display: grid;
  gap: 20px;
}

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

.news-grid,
.topic-grid,
.popular-list,
.ad-stack,
.promo-row {
  display: grid;
  gap: 14px;
}

.article-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-card:hover,
.article-card:focus-visible,
.featured-card:hover,
.featured-card:focus-visible {
  border-color: rgba(0, 150, 110, 0.42);
  box-shadow: 0 20px 44px rgba(13, 35, 68, 0.13);
  transform: translateY(-2px);
  outline: none;
}

.card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(0, 150, 110, 0.88), rgba(214, 38, 18, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.32), transparent 32%);
}

.card-body {
  padding: 16px;
}

.article-card h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.article-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.read-more {
  min-height: 38px;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--green-dark);
  background: var(--soft-blue);
  font-weight: 950;
  cursor: pointer;
}

.read-more:hover {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.popular-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.popular-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.popular-item strong {
  color: var(--red);
  font-size: 1.2rem;
}

.popular-item span {
  font-weight: 900;
  line-height: 1.35;
}

.panel,
.ad-card,
.promo-card,
.push-box {
  padding: 18px;
}

.ad-card {
  background: var(--soft-red);
}

.ad-card-blue {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.ad-card-blue .section-label,
.ad-card-blue p,
.ad-card-blue a {
  color: rgba(255, 255, 255, 0.88);
}

.ad-card h2,
.promo-card h2 {
  font-size: 1.24rem;
}

.top-work-card {
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.34);
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 122, 0, 0.14), transparent 40%),
    linear-gradient(160deg, #061e3a 0%, #08294e 58%, #04152a 100%);
  box-shadow: 0 18px 38px rgba(6, 30, 58, 0.18);
}

.top-work-logo {
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto 14px;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.top-work-card .section-label {
  color: #ff7a00;
}

.top-work-card h2 {
  color: #fff;
  font-size: 1.32rem;
  line-height: 1.12;
}

.top-work-subtitle,
.top-work-intro {
  color: rgba(255, 255, 255, 0.88);
}

.top-work-subtitle {
  margin-top: 8px;
  font-weight: 900;
}

.top-work-intro {
  margin-top: 14px;
}

.top-work-jobs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.top-work-jobs li,
.top-work-benefits span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.2;
}

.top-work-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.top-work-benefits span {
  color: #ffd7af;
  background: rgba(255, 122, 0, 0.15);
}

.top-work-contact {
  display: grid;
  gap: 5px;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  line-height: 1.35;
}

.top-work-contact strong {
  color: #fff;
  font-size: 1rem;
}

.top-work-contact a {
  color: #fff;
  font-weight: 900;
}

.top-work-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  border-radius: 8px;
  padding: 0 14px;
  color: #061e3a;
  background: #ff7a00;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 20px rgba(255, 122, 0, 0.22);
}

.top-work-cta:hover,
.top-work-cta:focus-visible {
  background: #ff9633;
  outline: none;
}

.ad-card p,
.promo-card p,
.site-footer p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.ad-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--red-dark);
  font-weight: 950;
  text-decoration: none;
}

.ad-card-blue a {
  color: #fff;
}

.topic-section {
  scroll-margin-top: 180px;
}

.work-ads {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.work-ad {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 32px rgba(13, 35, 68, 0.1);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.work-ad:hover,
.work-ad:focus-visible {
  border-color: rgba(0, 150, 110, 0.46);
  box-shadow: 0 20px 42px rgba(13, 35, 68, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.work-ad img {
  display: block;
  width: 100%;
  height: auto;
}

.services-section {
  display: grid;
  gap: 18px;
  scroll-margin-top: 180px;
}

.services-hero,
.services-reasons,
.services-languages,
.service-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(13, 35, 68, 0.07);
}

.services-hero {
  display: grid;
  gap: 20px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.9)),
    linear-gradient(120deg, rgba(199, 154, 43, 0.14), transparent 45%);
}

.services-hero h2 {
  max-width: 820px;
  font-size: clamp(2rem, 6vw, 4rem);
}

.services-hero p:not(.section-label),
.service-contact-panel p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.service-contact-panel {
  border-left: 5px solid var(--gold);
  border-radius: 9px;
  padding: 18px;
  background: var(--soft-gold);
}

.service-phone {
  display: inline-flex;
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: 1.45rem;
  font-weight: 950;
  text-decoration: none;
}

.service-email {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-dark);
  font-weight: 900;
  text-decoration: none;
}

.service-email:hover,
.service-phone:hover {
  text-decoration: underline;
}

.services-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(199, 154, 43, 0.72);
  box-shadow: 0 20px 42px rgba(13, 35, 68, 0.12);
  transform: translateY(-2px);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-gold));
}

.service-icon-svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.service-card h3 {
  font-size: 1.28rem;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.48;
}

.service-request {
  width: fit-content;
  margin-top: 4px;
}

.services-support {
  display: grid;
  gap: 14px;
}

.services-reasons,
.services-languages {
  padding: 18px;
}

.reasons-grid,
.language-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.reasons-grid span,
.language-chip-list span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--blue-dark);
  background: #fff;
  font-weight: 900;
}

.reasons-grid span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin: auto 8px auto 0;
  border-radius: 999px;
  background: var(--gold);
}

.promo-strong {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.promo-strong .section-label,
.promo-strong p {
  color: rgba(255, 255, 255, 0.86);
}

.newsletter-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-check {
  position: static;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.consent-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.subscription-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-message {
  min-height: 1.4em;
  color: var(--blue-dark);
  font-weight: 850;
}

.form-message.is-error {
  color: var(--red-dark);
}

.form-message.is-success {
  color: var(--green-dark);
}

.subscription-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.whatsapp-subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 150, 110, 0.28);
  border-radius: 10px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 255, 248, 0.94)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0 32%, rgba(0, 150, 110, 0.12) 32% 66%, rgba(214, 38, 18, 0.12) 66%);
  box-shadow: 0 12px 30px rgba(13, 35, 68, 0.07);
}

.whatsapp-subscribe h2 {
  font-size: clamp(1.35rem, 5vw, 2.1rem);
}

.whatsapp-subscribe p:not(.section-label) {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.whatsapp-subscribe .newsletter-form {
  margin-top: 0;
  border: 1px solid rgba(0, 150, 110, 0.2);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.whatsapp-subscribe .form-message {
  margin: 0;
  color: var(--green-dark);
}

.whatsapp-subscribe .form-message.is-error {
  color: var(--red-dark);
}

.consent-text {
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .whatsapp-subscribe {
    grid-template-columns: minmax(0, 1fr);
  }

  .whatsapp-subscribe .newsletter-form {
    padding: 12px;
  }

  .consent-check {
    font-size: 0.86rem;
  }
}

.push-box {
  display: grid;
  gap: 16px;
  align-items: center;
}

.site-footer {
  display: grid;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer h2 {
  margin: 0;
  font-size: 1rem;
}

.article-view[hidden] {
  display: none;
}

body.article-open .ticker,
body.article-open .news-showcase,
body.article-open .category-panel,
body.article-open .featured-news,
body.article-open .main-layout,
body.article-open .topic-section,
body.article-open .services-section,
body.article-open .promo-row,
body.article-open .whatsapp-subscribe,
body.article-open .push-box {
  display: none;
}

.full-article {
  overflow: hidden;
}

.back-to-news {
  width: fit-content;
  margin: 18px 18px 0;
}

.full-article-media {
  overflow: hidden;
  aspect-ratio: 16 / 7.4;
  max-height: 520px;
  margin-top: 18px;
  background: var(--soft-blue);
}

.full-article-body {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 5vw, 46px);
}

.full-article-body h1 {
  margin-top: 16px;
  font-size: clamp(1.95rem, 4.4vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1.07;
}

.article-copy {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(1.03rem, 2vw, 1.16rem);
  line-height: 1.78;
}

.article-copy p {
  margin: 0;
}

.bottom-back {
  margin-top: 24px;
}

.article-modal {
  width: min(860px, calc(100% - 28px));
  max-height: min(88vh, 920px);
  border: 0;
  border-radius: 12px;
  padding: 0;
  box-shadow: var(--shadow);
}

.article-modal::backdrop {
  background: rgba(8, 20, 40, 0.56);
}

.article-modal article {
  position: relative;
  padding: 22px;
  background: var(--surface);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
}

.modal-title {
  margin: 14px 48px 10px 0;
  font-size: clamp(1.7rem, 6vw, 3rem);
}

.modal-content {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  white-space: pre-line;
}

.source-line {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 850;
}

.source-line a {
  color: var(--blue);
  font-weight: 950;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 18px;
  color: var(--muted);
  background: var(--surface);
}

@media (min-width: 700px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .header-actions {
    grid-template-columns: auto auto auto;
    align-items: center;
  }

  .language-switcher {
    grid-column: auto;
  }

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

  .ticker {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .news-showcase {
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.62fr);
    align-items: center;
    padding: 26px;
  }

  .services-hero {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    padding: 28px;
  }

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

  .services-support {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  }

  .flag-scene {
    min-height: 230px;
  }

  .category-panel {
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  }

  .whatsapp-subscribe,
  .push-box {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .featured-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .topic-grid,
  .promo-row,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-ads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .main-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
  }

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

  .promo-row,
  .site-footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .header-inner,
  .main-menu,
  .search-form,
  main,
  .site-footer,
  .mobile-identity-banner {
    width: min(100% - 20px, 1220px);
  }

  .header-inner {
    gap: 10px;
    padding: 10px 0 8px;
  }

  .brand {
    gap: 10px;
  }

  .brand-flag {
    width: 66px;
    height: 44px;
  }

  .footer-brand .brand-flag {
    width: 62px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.22rem;
  }

  .brand small {
    margin-top: 3px;
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .header-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
  }

  .language-switcher {
    width: 100%;
  }

  .lang-button {
    min-width: 0;
    flex: 1 1 0;
    min-height: 36px;
    padding: 0 6px;
    font-size: 0.82rem;
  }

  .button,
  .search-form button,
  .newsletter-form button {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
  }

  .mobile-identity-banner {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 auto 10px;
    border: 1px solid rgba(0, 150, 110, 0.24);
    border-radius: 10px;
    padding: 9px;
    background: linear-gradient(135deg, #fff, #f2fff9);
    box-shadow: 0 10px 22px rgba(13, 35, 68, 0.07);
  }

  .mobile-identity-copy strong {
    display: block;
    color: var(--green-dark);
    font-size: 0.95rem;
    line-height: 1.12;
  }

  .mobile-identity-copy p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .main-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 8px;
  }

  .main-menu a {
    flex: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 34px;
    padding: 8px 5px;
    background: var(--surface);
    font-size: 0.72rem;
    line-height: 1.08;
    text-align: center;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 7px;
    padding-bottom: 10px;
  }

  .search-form input {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  main {
    padding-top: 14px;
  }

  .ticker {
    padding: 11px 12px;
  }

  .featured-card h1 {
    font-size: 1.58rem;
    line-height: 1.12;
  }

  .featured-media {
    min-height: 150px;
  }

  .featured-card .excerpt {
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .featured-actions,
  .article-share,
  .meta-row {
    margin-top: 12px;
  }

  .wage-table,
  .modal-table {
    margin-top: 12px;
    font-size: 0.86rem;
  }

  .news-showcase {
    gap: 12px;
    padding: 16px;
  }

  .news-showcase h1 {
    font-size: 1.95rem;
  }

  .news-showcase-copy > p:not(.section-label) {
    margin-top: 10px;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .flag-scene {
    order: -1;
    min-height: 142px;
  }

  .featured-content,
  .full-article-body,
  .panel,
  .ad-card,
  .promo-card,
  .whatsapp-subscribe,
  .push-box {
    padding: 16px;
  }

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

  .read-more {
    width: 100%;
  }

  .article-share {
    align-items: stretch;
  }

  .article-share span {
    width: 100%;
  }

  .share-button {
    flex: 1 1 calc(50% - 5px);
  }

  .service-actions,
  .service-request {
    width: 100%;
  }

  .services-hero,
  .service-card,
  .services-reasons,
  .services-languages {
    padding: 16px;
  }

  .full-article-media {
    aspect-ratio: 16 / 10;
  }

  .work-ads {
    gap: 12px;
  }

  .back-to-news {
    width: calc(100% - 32px);
    margin: 16px 16px 0;
  }
}
