/* Country landing pages: each country gets its own look.
   The page wrapper carries --cty-a/-b (the two main colours of the national flag, brightened for the dark theme),
   three more colours derived from them, and one option from each of the families below (cty-p pattern, cty-c cards,
   cty-k kicker, cty-a alignment, cty-v section order). Nothing here changes what the text says. */

.cty {
  --brand-purple: var(--cty-a);
  --brand-magenta: var(--cty-b);
  --c-sky: var(--cty-a);
  --c-lilac: var(--cty-b);
  --c-mint: var(--cty-c);
  --c-amber: var(--cty-d);
  --c-coral: var(--cty-e);
  --band: linear-gradient(135deg, var(--cty-ad) 0%, var(--cty-a) 58%, var(--cty-b) 100%);
}

/* ---- hero ---- */
.cty .hero-futuristic { background: linear-gradient(160deg, #000 0%, color-mix(in srgb, var(--cty-ad) 55%, #07080d) 60%, #000 100%); }
.cty .hero-network .network-lines line { stroke: var(--cty-a); }
.cty .hero-network .network-lines line.data-flow { stroke: var(--cty-b); }
.cty .hero-network .network-nodes circle { fill: var(--cty-b); }
.cty .hero-eyebrow { color: var(--cty-b); border-color: color-mix(in srgb, var(--cty-a) 55%, transparent); background: color-mix(in srgb, var(--cty-a) 14%, transparent); }
.cty .hero-futuristic::before {
  content: attr(data-iso);
  position: absolute; right: 3%; bottom: -0.16em;
  font: 800 clamp(150px, 24vw, 340px)/1 "DM Sans", sans-serif; letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--cty-a) 8%, transparent);
  pointer-events: none; z-index: 1;
}
.cty .hero-futuristic::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5; }
.cty-p0 .hero-futuristic::after { background-image: radial-gradient(color-mix(in srgb, var(--cty-b) 34%, transparent) 1.2px, transparent 1.6px); background-size: 26px 26px; }
.cty-p1 .hero-futuristic::after { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--cty-a) 14%, transparent) 0 1px, transparent 1px 22px); }
.cty-p2 .hero-futuristic::after { background-image: repeating-radial-gradient(circle at 82% 110%, color-mix(in srgb, var(--cty-b) 18%, transparent) 0 1px, transparent 1px 38px); }
.cty-p3 .hero-futuristic::after { background-image: linear-gradient(color-mix(in srgb, var(--cty-a) 12%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--cty-a) 12%, transparent) 1px, transparent 1px); background-size: 48px 48px; }
.cty-p4 .hero-futuristic::after { background-image: repeating-linear-gradient(60deg, color-mix(in srgb, var(--cty-b) 12%, transparent) 0 2px, transparent 2px 30px), repeating-linear-gradient(-60deg, color-mix(in srgb, var(--cty-a) 10%, transparent) 0 2px, transparent 2px 30px); }
.cty-p5 .hero-futuristic::after { background: radial-gradient(ellipse at 18% 120%, color-mix(in srgb, var(--cty-a) 30%, transparent), transparent 60%), radial-gradient(ellipse at 90% -10%, color-mix(in srgb, var(--cty-b) 24%, transparent), transparent 55%); opacity: 1; }
.cty-a1 .hero-futuristic { text-align: left; }
.cty-a1 .hero-futuristic-inner { margin: 0; max-width: 1180px; padding: 0 clamp(8px, 6vw, 90px); }
.cty-a1 .hero-futuristic-title, .cty-a1 .hero-futuristic-sub { max-width: 760px; margin-left: 0; margin-right: 0; }
.cty-a1 .cty-chips { justify-content: flex-start; }
html[dir="rtl"] .cty-a1 .hero-futuristic { text-align: right; }
html[dir="rtl"] .cty-a1 .hero-futuristic-title, html[dir="rtl"] .cty-a1 .hero-futuristic-sub { margin-left: auto; margin-right: 0; }
html[dir="rtl"] .cty .hero-futuristic::before { right: auto; left: 3%; }

.cty-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 0; padding: 0; }
.cty-chips li { padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: #fff;
  background: color-mix(in srgb, var(--cty-a) 22%, transparent); border: 1px solid color-mix(in srgb, var(--cty-b) 45%, transparent); }
.cty-chips li:nth-child(2n) { background: color-mix(in srgb, var(--cty-b) 18%, transparent); }

/* ---- market snapshot ---- */
.cty-market { padding: 20px 0 10px; }
.cty-market-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cty-market-copy h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; margin: 0 0 16px; }
.cty-market-copy p { color: #b4bdd2; font-size: 17px; line-height: 1.75; margin: 0; }
.cty-facts { margin: 0; padding: 8px 26px; border-radius: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--cty-a) 16%, #0b0d18), #0b0d18);
  border: 1px solid color-mix(in srgb, var(--cty-a) 38%, transparent); }
.cty-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cty-facts > div:last-child { border-bottom: 0; }
.cty-facts dt { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cty-b); flex: 0 0 auto; }
.cty-facts dd { margin: 0; font-size: 16px; color: #fff; text-align: right; line-height: 1.5; }
html[dir="rtl"] .cty-facts dd { text-align: left; }
@media (max-width: 860px) { .cty-market-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---- country use cases stand out a little ---- */
.cty .use-card.cty-uc { border-color: color-mix(in srgb, var(--cty-a) 50%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--cty-a) 20%, transparent), rgba(255,255,255,0.02)); }

/* ---- card families ---- */
.cty-c1 .lp-pillar, .cty-c1 .svc-card, .cty-c1 .use-card, .cty-c1 .about-card, .cty-c1 .faq-item, .cty-c1 .cty-facts { border-radius: 6px; }
.cty-c2 .lp-pillar, .cty-c2 .use-card, .cty-c2 .about-card, .cty-c2 .faq-item { border-radius: 30px; }
.cty-c2 .cty-facts { border-radius: 30px; }
.cty-c3 .lp-pillar, .cty-c3 .use-card, .cty-c3 .about-card { border-top: 3px solid var(--cty-a); border-radius: 12px; }
.cty-c3 .faq-item { border-left: 3px solid var(--cty-b); }
html[dir="rtl"] .cty-c3 .faq-item { border-left: 1px solid rgba(255,255,255,0.08); border-right: 3px solid var(--cty-b); }

/* ---- kicker families ---- */
.cty-k1 .services-kicker { display: inline-block; padding: 5px 14px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
.cty-k2 .services-kicker::before { content: ""; display: inline-block; width: 26px; height: 2px; margin-inline-end: 10px; vertical-align: middle; background: currentColor; }

/* ---- links and buttons pick up the national colours ---- */
.cty .svc-card-link, .cty .lp-pillar > a, .cty .lp-nearby-link:hover { color: var(--cty-b); }
.cty .lp-nearby-link { border-color: color-mix(in srgb, var(--cty-a) 40%, transparent); }
.cty .op-chip { border-color: color-mix(in srgb, var(--cty-a) 55%, transparent); background: color-mix(in srgb, var(--cty-a) 14%, transparent); }
.cty .svcp-step-n { color: var(--cty-a); }
