/*--------------------------------------------------------------
# 2026-11-11 (review R8 F15): home-page restyle to the country-page design system.
# Loaded by index.php only, AFTER main.css (the template file stays as it is; this sheet overrides it).
# Taken from uae.php / ksa.php / sg.php: sand backgrounds, ink text, Playfair Display headings + Nunito body,
# a fixed 70 px dark nav with the white logo, "Fynamics" wordmark and a small uppercase sub-label, gold CTA,
# white cards with a 1.5 px sand border, 16 px radius and a 3 px top bar, tag pills, a short gold rule over
# section titles, and the ink footer. Brand-neutral: the dark colour is the shared --ink every country page uses
# for its text and footer, and the accent is the gold family that 6 of the 8 country pages share (no flag colour).
# Semantic token names as proposed in the review: --brand, --brand-2, --accent, --accent-2.
# Contrast (WCAG 2.x, computed): white on --brand 16.73; white .80 on --brand 11.09; --accent on --brand 7.49;
# --brand on the gold button 7.49 (darkest end) / 11.80; --ink on --sand 15.66; --slate on white 7.53, on --sand 7.04,
# on --sand2 6.45; --accent-2 on white 6.29, on --sand 5.89, on --sand2 5.40; footer text white .70 on --brand 8.75;
# hero text over the photo, worst case (a pure-white pixel under the .88 ink overlay): white 11.4, white .82 8.6,
# --accent 5.1.
--------------------------------------------------------------*/
:root {
  --sand: #FAF7F2;
  --sand2: #F2EDE4;
  --sand3: #E8E0D4;
  --ink: #1C1C2E;
  --ink2: #2D2D42;
  --slate: #4A5568;
  --brd: #DDD6CC;
  --brd2: #C8BFB3;
  --brand: #1C1C2E;      /* nav, hero, dark sections, footer */
  --brand-2: #2D2D42;    /* hover / second dark */
  --accent: #D1A845;     /* gold: on dark backgrounds and button fills only */
  --accent-2: #7D5A07;   /* dark gold: text and lines on light backgrounds */
  --accent-3: #F0D78C;   /* light gold: button gradient end, hover */
  --r: 10px;
  --rl: 16px;
  --rxl: 22px;

  /* the template's own tokens, pointed at the system above */
  --font-default: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-primary: "Playfair Display", Georgia, serif;
  --font-secondary: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --color-default: #1C1C2E;
  --color-default-rgb: 28, 28, 46;
  --color-background: #FAF7F2;
  --color-background-rgb: 250, 247, 242;
  --color-primary: #7D5A07;
  --color-primary-rgb: 125, 90, 7;
  --color-secondary: #1C1C2E;
  --color-secondary-rgb: 28, 28, 46;
  --color-nav-dropdown: #1C1C2E;
  --color-nav-dropdown-hover: #7D5A07;
  --color-nav-dropdown-background: #ffffff;
  --color-nav-mobile-background: #ffffff;
}

body.index-page {
  font-family: var(--font-default);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.index-page h1, .index-page h2, .index-page h3, .index-page h4, .index-page h5, .index-page h6 {
  font-family: var(--font-primary);
  line-height: 1.15;
}

.index-page section {
  padding: 88px 0;
  color: var(--ink);
}

@media (min-width: 1200px) {
  .index-page .container { max-width: 1160px; }
}

.index-page .skip-link { background: var(--brand); }

/* ---------- Header: the country pages' fixed dark nav ---------- */
.index-page .header,
.index-page.scrolled .header {
  --color-background: #1C1C2E;
  --color-secondary: #ffffff;
  --color-nav: rgba(255, 255, 255, 0.82);
  --color-nav-hover: #ffffff;
  background: var(--brand);
  min-height: 70px;
  padding: 0;
}

.index-page.scrolled .header { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); }

.index-page .header .container-fluid {
  min-height: 70px;
  padding: 0 5%;
  gap: 16px;
}

.index-page .header .logo { gap: 10px; flex-shrink: 0; color: #fff; }

.index-page .header .logo img {
  height: 34px;
  width: auto;
  max-height: 34px;
  margin: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.index-page .header .logo-text { display: flex; flex-direction: column; line-height: 1; }

.index-page .header .logo h1 {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.index-page .header .logo .logo-sub {
  font-family: var(--font-default);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 3px;
  padding: 0;
  white-space: nowrap;
}

.index-page .header .btn-getstarted,
.index-page .header .btn-getstarted:focus {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: var(--brand);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s;
}

.index-page .header .btn-getstarted:hover,
.index-page .header .btn-getstarted:focus:hover {
  background: var(--accent-3);
  color: var(--brand);
  transform: translateY(-1px);
}

/* the default ring is the text colour (ink), which would vanish on the ink header */
.index-page .header .btn-getstarted:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 1200px) {
  .index-page .header .btn-getstarted { padding: 8px 16px; }
}

@media (max-width: 400px) {
  .index-page .header .container-fluid { padding: 0 16px; gap: 10px; }
  .index-page .header .logo img { height: 30px; max-height: 30px; }
  .index-page .header .logo .logo-sub { font-size: 0.6rem; }
  .index-page .header .btn-getstarted { padding: 7px 12px; font-size: 0.8rem; }
}

/* Desktop menu: light links on the dark bar, white drop-downs with ink text */
@media (min-width: 1200px) {
  .index-page .navmenu a,
  .index-page .navmenu a:focus {
    font-family: var(--font-default);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 24px 13px;
  }

  .index-page .navmenu .dropdown ul {
    border: 1px solid var(--brd);
    border-radius: var(--r);
    padding: 8px 0;
  }

  .index-page .navmenu .dropdown ul a,
  .index-page .navmenu .dropdown ul a:focus {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 9px 20px;
  }

  .index-page .navmenu .dropdown ul a[href]:hover { background: var(--sand); }
}

/* Mobile menu: white toggle on the dark bar; the open panel stays white with ink text */
@media (max-width: 1199px) {
  .index-page .mobile-nav-toggle { color: #fff; margin-right: 0; }

  .index-page.mobile-nav-active .navmenu { background: rgba(28, 28, 46, 0.86); }

  .index-page .navmenu ul { border-radius: var(--r); }

  .index-page .navmenu a,
  .index-page .navmenu a:focus {
    font-family: var(--font-default);
    font-size: 1rem;
    font-weight: 600;
  }

  .index-page .navmenu a i,
  .index-page .navmenu a:focus i { background-color: var(--sand2); color: var(--ink); }

  .index-page .navmenu .active i,
  .index-page .navmenu .active:focus i,
  .index-page .navmenu a i:hover { background-color: var(--brand); color: #fff; }
}

/* "Jordan (upcoming)" etc. are not links */
.index-page .navmenu .dropdown ul a:not([href]) { color: var(--slate); cursor: default; }

/* ---------- Hero: dark brand panel (the photo shows faintly under an ink overlay + the country pages' grid) ---------- */
.index-page .hero {
  --color-default: #ffffff;
  --color-default-rgb: 255, 255, 255;
  background: var(--brand);
  min-height: 86vh;
  padding: 150px 0 96px;
}

.index-page .hero:before {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, 0.04) 39px, rgba(255, 255, 255, 0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 255, 255, 0.04) 39px, rgba(255, 255, 255, 0.04) 40px),
    linear-gradient(120deg, rgba(28, 28, 46, 0.95) 0%, rgba(28, 28, 46, 0.88) 100%);
}

.index-page .hero h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  max-width: 900px;
}

/* the short gold bar the country heroes start with */
.index-page .hero h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 22px;
}

.index-page .hero h2 em { font-style: italic; color: var(--accent); }

.index-page .hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin: 16px 0 0;
  max-width: 560px;
  line-height: 1.7;
}

.index-page .hero .hero-ctas { gap: 12px; margin-top: 32px; }

.index-page .hero .hero-cta {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 9px;
  border-width: 1.5px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.index-page .hero .hero-cta-primary,
.index-page .hero .hero-cta-primary:focus {
  color: var(--brand);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-color: transparent;
}

.index-page .hero .hero-cta-primary:hover {
  color: var(--brand);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(209, 168, 69, 0.35);
}

.index-page .hero .hero-cta-ghost,
.index-page .hero .hero-cta-ghost:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.6);
}

.index-page .hero .hero-cta-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (max-width: 768px) {
  .index-page .hero { min-height: 0; padding: 120px 0 72px; }
  .index-page .hero p { font-size: 1.02rem; }
}

/* ---------- Section titles: gold rule + Playfair title + slate lead ---------- */
.index-page .section-title { padding-bottom: 44px; }

.index-page .section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 14px;
}

.index-page .section-title h2:before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-2);
  margin: 0 auto 20px;
}

.index-page .section-title h2:after { display: none; }

.index-page .section-title p {
  color: var(--slate);
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Country cards ---------- */
.index-page .countries { background: var(--sand); }

.index-page .countries .country-grid { gap: 16px; }

.index-page .countries .country-card {
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: var(--rl);
  padding: 26px 22px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

/* the 3 px top bar of the country pages' cards (no overflow:hidden, so the link's focus ring is not clipped) */
.index-page .countries .country-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.index-page .countries .country-card:hover {
  border-color: var(--brd2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.index-page .countries .country-region {
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
}

.index-page .countries .country-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.index-page .countries .country-card h3 a { color: var(--ink); }
.index-page .countries .country-card h3 a::after { border-radius: var(--rl); }
.index-page .countries .country-card:hover h3 a { color: var(--accent-2); }
.index-page .countries .country-card h3 a:focus-visible::after { outline: 3px solid var(--brand); outline-offset: 3px; }

.index-page .countries .country-card p { color: var(--slate); font-size: 0.88rem; line-height: 1.65; }

.index-page .countries .country-go { color: var(--accent-2); font-size: 0.82rem; font-weight: 700; }

/* ---------- About: tag pill, Playfair title, feature cards ---------- */
.index-page .about { background: var(--sand2); }

.index-page .about .content h3 {
  display: inline-block;
  background: var(--brand);
  color: var(--accent);
  font-family: var(--font-default);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.index-page .about .content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

.index-page .about .content p { color: var(--slate); font-size: 0.97rem; line-height: 1.75; }

.index-page .about .content .read-more {
  background: var(--brand);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0;
  padding: 13px 24px;
  border-radius: 9px;
  margin-top: 8px;
}

.index-page .about .content .read-more:hover { background: var(--brand-2); color: #fff; padding-right: 19px; }
.index-page .about .content .read-more:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.index-page .about .icon-box {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: var(--rl);
  padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.index-page .about .icon-box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity 0.25s;
}

.index-page .about .icon-box:hover { border-color: var(--brd2); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09); transform: translateY(-2px); }
.index-page .about .icon-box:hover::after { opacity: 1; }

.index-page .about .icon-box i,
.index-page .about .icon-box:hover i {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  font-size: 20px;
  margin-bottom: 14px;
  background: var(--brand);
  color: var(--accent);
}

.index-page .about .icon-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.index-page .about .icon-box p { color: var(--slate); font-size: 0.86rem; line-height: 1.65; }

/* the template's staggered cards → an even grid, as on the country pages */
.index-page .about .icon-boxes .col-md-6:nth-child(2) .icon-box,
.index-page .about .icon-boxes .col-md-6:nth-child(4) .icon-box { margin-top: 0; }

/* ---------- Stats: the country pages' "numbers" cards on sand (the photo is not shown) ---------- */
.index-page .stats {
  --color-default: #1C1C2E;
  --color-default-rgb: 28, 28, 46;
  background: var(--sand);
  padding: 88px 0;
}

.index-page .stats > img,
.index-page .stats:before { display: none; }

.index-page .stats .stats-title {
  color: var(--ink);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 44px;
}

.index-page .stats .stats-title::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-2);
  margin: 0 auto 20px;
}

.index-page .stats .stats-item {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: var(--rl);
  padding: 28px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.index-page .stats .stats-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.index-page .stats .stats-item span {
  font-family: var(--font-primary);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--brand);
  margin-bottom: 6px;
}

.index-page .stats .stats-item p {
  font-family: var(--font-default);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate);
}

/* ---------- Clients: logo strip on white, as UAE's clients band ---------- */
.index-page .clients {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
}

.index-page .clients .client-logo img { padding: 20px 28px; opacity: 0.75; }

/* ---------- FAQ: white question cards ---------- */
.index-page .faq { background: var(--sand2); }

.index-page .faq .content h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.index-page .faq .content h3 strong { font-style: italic; font-weight: 800; color: var(--accent-2); }
.index-page .faq .content p { color: var(--slate); font-size: 0.95rem; line-height: 1.75; }

.index-page .faq .faq-container .faq-item {
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: var(--r);
  padding: 17px 20px;
  margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s;
}

.index-page .faq .faq-container .faq-item:hover { border-color: var(--brd2); }
.index-page .faq .faq-container .faq-active { border-color: var(--brand); }

.index-page .faq .faq-container .faq-item h3,
.index-page .faq .faq-container .faq-active h3 {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.index-page .faq .faq-container .faq-item h3:hover { color: var(--accent-2); }
.index-page .faq .faq-container .faq-item h3 .num { color: var(--accent-2); }

.index-page .faq .faq-container .faq-item .faq-content p { color: var(--slate); font-size: 0.9rem; line-height: 1.75; }

.index-page .faq .faq-container .faq-item .faq-toggle,
.index-page .faq .faq-container .faq-active .faq-toggle { color: var(--brand); top: 21px; }

/* ---------- Security band: dark brand section (the fixed photo is not shown) ---------- */
.index-page .call-to-action {
  --color-default: #ffffff;
  background: var(--brand);
  padding: 88px 0;
}

.index-page .call-to-action > img { display: none; }

.index-page .call-to-action:before {
  background:
    radial-gradient(circle at 92% 10%, rgba(209, 168, 69, 0.10), transparent 40%),
    repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(209, 168, 69, 0.03) 28px, rgba(209, 168, 69, 0.03) 29px);
}

.index-page .call-to-action h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.index-page .call-to-action h3::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin: 0 0 20px;
}

@media (max-width: 991px) {
  .index-page .call-to-action h3::before { margin: 0 auto 20px; }
  .index-page .call-to-action h3 { margin-bottom: 16px; }
}

.index-page .call-to-action p { color: rgba(255, 255, 255, 0.78); font-size: 0.97rem; line-height: 1.75; margin: 0; }

/* ---------- Contact: one centred card ---------- */
.index-page .contact { background: var(--sand); }
.index-page .contact > .container > .row,
.index-page .contact .col-lg-6 > .row { justify-content: center; }

.index-page .contact .info-item {
  background: #fff;
  border: 1.5px solid var(--brd);
  border-radius: var(--rl);
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.index-page .contact .info-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--brand);
  color: var(--accent);
  font-size: 20px;
}

.index-page .contact .info-item h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 14px 0 6px; }
.index-page .contact .info-item p { font-size: 0.95rem; }

.index-page .contact .info-item .mail-link { color: var(--accent-2); font-weight: 700; }
.index-page .contact .info-item .mail-link:hover { color: var(--brand); }

/* ---------- Footer: the country pages' ink footer ---------- */
.index-page .footer {
  --color-background: #1C1C2E;
  --color-box-background: transparent;
  --color-default: #ffffff;
  --color-default-rgb: 255, 255, 255;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding: 0 0 24px;
}

.index-page .footer .footer-top { padding-top: 56px; }

.index-page .footer .footer-about .logo { margin-bottom: 14px; }

.index-page .footer .footer-about .logo span {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}

.index-page .footer .footer-about p { font-family: var(--font-default); font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

.index-page .footer .footer-about img {
  max-width: 220px;
  height: auto;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}

.index-page .footer h4 {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.index-page .footer .footer-links ul li { padding: 6px 0; color: rgba(255, 255, 255, 0.7); }
.index-page .footer .footer-links ul a { color: rgba(255, 255, 255, 0.75); line-height: 1.4; }
.index-page .footer .footer-links ul a:hover { color: #fff; }

.index-page .footer .footer-contact p { color: rgba(255, 255, 255, 0.7); }
.index-page .footer .footer-contact strong { color: #fff; }
.index-page .footer .footer-contact .mail-link { color: var(--accent); }
.index-page .footer .footer-contact .mail-link:hover { color: var(--accent-3); }

.index-page .footer .copyright {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.index-page .footer .copyright strong { color: #fff; }
.index-page .footer .copyright a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.index-page .footer .copyright a:hover { color: var(--accent-3); }
.index-page .footer .credits { color: rgba(255, 255, 255, 0.7); }

/* ---------- Scroll-to-top ---------- */
.index-page .scroll-top { background-color: var(--brand); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; }
.index-page .scroll-top i { color: var(--accent); }
.index-page .scroll-top:hover { background-color: var(--brand-2); }
.index-page .scroll-top:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* ---------- Phones ---------- */
@media (max-width: 768px) {
  .index-page section { padding: 64px 0; }
  .index-page .clients { padding: 28px 0; }
  .index-page .stats .stats-item span { font-size: 2.2rem; }
}

/* two numbers per row on phones, as the country pages' numbers grid */
@media (max-width: 767px) {
  .index-page .stats .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
  .index-page .stats .stats-item { padding: 22px 10px; }
  .index-page .stats .stats-item span { font-size: 1.9rem; }
  .index-page .stats .stats-item p { font-size: 0.68rem; letter-spacing: 0.05em; }
}
