/*
 * ILMA homepage refresh
 * Local, system-font styling only; no external assets or animation libraries.
 */

/* The trust band and cards use the existing ILMA palette with clearer hierarchy. */
.home .trust-strip {
  border-top: 1px solid #EDF0F6;
  border-bottom: 1px solid #E8ECF4;
  background: #fff;
}

.home .trust-strip-grid { gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.home .trust-strip-grid > div { min-height: 3.2rem; padding: .2rem .75rem; }
.home .trust-strip-grid > div + div { border-left: 1px solid #E8ECF4; }
.home .trust-strip-icon { width: 2.4rem; height: 2.4rem; border-radius: .8rem; background: #EFF4FF; color: var(--primary); }
.home .trust-strip-grid strong { font-size: .83rem; letter-spacing: -.01em; }
.home .trust-strip-grid small { color: #68758C; font-size: .72rem; line-height: 1.45; }

.home .destination-section {
  padding-top: 5.5rem;
  padding-bottom: 5.25rem;
  background: #F7F9FD;
}

.home .destination-section-heading { margin-bottom: 2.35rem; }
.home .destination-section-heading .section-title,
.home .services-section .section-title,
.home .section-title-wrap .section-title {
  color: #121D3D;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.home .destination-section-heading .section-subtitle,
.home .section-title-wrap .section-subtitle {
  color: #5E6B83;
  line-height: 1.7;
}

.home .destination-grid { gap: 1.15rem; }
.home .destination-card-premium {
  overflow: hidden;
  border: 1px solid #E7EBF3;
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 8px 26px rgba(16, 36, 78, .045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home .destination-card-premium:hover {
  transform: translateY(-4px);
  border-color: #CDD8F0;
  box-shadow: 0 18px 36px rgba(16, 36, 78, .1);
}

.home .destination-card-premium .dest-img-wrap {
  height: 218px;
  overflow: hidden;
  background: #E8EEF8;
}

.home .destination-card-premium .dest-img-wrap > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home .destination-card-premium:hover .dest-img-wrap > img:first-child { transform: scale(1.035); }
.home .dest-country-pill { left: 1rem; bottom: 1rem; box-shadow: 0 6px 18px rgba(12, 27, 59, .14); }
.home .dest-image-arrow { top: 1rem; right: 1rem; box-shadow: 0 6px 16px rgba(12, 27, 59, .12); }
.home .destination-card-premium .dest-content { padding: 1.25rem 1.3rem 1.35rem; }
.home .destination-card-premium .dest-title { font-size: 1.15rem; letter-spacing: -.025em; }
.home .destination-card-premium .dest-desc { min-height: 2.6rem; color: #62708A; font-size: .82rem; line-height: 1.6; }
.home .destination-card-premium .meta-chip { border: 1px solid #E7ECF5; border-radius: 999px; background: #F7F9FC; color: #58657D; }
.home .destination-journey { gap: .48rem; }
.home .journey-link { min-height: 2.5rem; border-radius: .7rem; font-size: .68rem; }
.home .journey-link-primary { box-shadow: 0 5px 12px rgba(220, 38, 38, .12); }

.home .why-ilma-section { padding-top: 5rem; padding-bottom: 5rem; background: #fff; }
.home .split-section-heading { margin-bottom: 2rem; }
.home .split-section-heading h2 { color: #121D3D; font-size: clamp(1.9rem, 3.5vw, 2.75rem); letter-spacing: -.045em; line-height: 1.08; }
.home .split-section-heading > p { color: #5E6B83; line-height: 1.7; }
.home .why-ilma-grid { gap: .85rem; }
.home .why-ilma-card {
  min-height: 205px;
  padding: 1.35rem;
  border: 1px solid #E8ECF4;
  border-radius: 1.1rem;
  background: linear-gradient(180deg, #fff, #FBFCFF);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home .why-ilma-card:hover { transform: translateY(-3px); border-color: #D3DDF0; box-shadow: 0 12px 24px rgba(19, 39, 81, .07); }
.home .why-card-number { margin-bottom: 1.25rem; color: #A02D35; }
.home .why-ilma-card h3 { color: #152244; font-size: 1rem; }
.home .why-ilma-card p { color: #657189; font-size: .8rem; line-height: 1.65; }

.home .services-section { padding-top: 5rem; padding-bottom: 5rem; background: #F7F9FD; }
.home .services-section .section-title-wrap { margin-bottom: 2.2rem; }
.home .service-card-premium {
  min-height: 250px;
  padding: 1.3rem;
  border: 1px solid #E6EAF2;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 7px 20px rgba(16, 36, 78, .035);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.home .service-card-premium:hover { transform: translateY(-3px); border-color: #CCD7F0; box-shadow: 0 14px 28px rgba(16, 36, 78, .08); }
.home .service-index { color: #526BA8; }
.home .service-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; background: #F0F4FF; color: var(--primary); }
.home .service-card-premium .service-title { color: #162344; font-size: 1rem; letter-spacing: -.02em; }
.home .service-card-premium .service-desc,
.home .service-card-premium .service-bullets li { color: #617089; line-height: 1.6; }

.home .process-section { padding-top: 5rem; padding-bottom: 5rem; background: #fff; }
.home .process-grid { gap: .8rem; }
.home .process-step {
  padding: 1rem 1rem 0 1.2rem;
  border-left: 1px solid #DCE3F0;
}
.home .process-step:first-child { padding-left: 0; }
.home .process-step-number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.15rem;
  border: 1px solid #D8E2F7;
  border-radius: 50%;
  background: #F1F5FF;
  color: var(--primary);
  letter-spacing: 0;
}
.home .process-step h3 { color: #182646; }
.home .process-step p { color: #63718A; line-height: 1.65; }

.home .eligibility-section { padding-top: 1rem; padding-bottom: 4rem; }
.home .eligibility-panel {
  min-height: 235px;
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1.65rem;
  background: linear-gradient(115deg, #071540 0%, #0B2470 62%, #153AA0 100%);
  box-shadow: 0 20px 45px rgba(6, 22, 73, .18);
}
.home .eligibility-panel::after {
  width: 380px;
  height: 380px;
  right: -150px;
  top: -190px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .055);
}
.home .eligibility-panel::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: 16%;
  bottom: -175px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  pointer-events: none;
}
.home .eligibility-panel h2 { letter-spacing: -.04em; line-height: 1.08; }
.home .eligibility-panel p { line-height: 1.65; }
.home .eligibility-actions .btn { position: relative; z-index: 1; min-height: 3.15rem; border-radius: .85rem; }

.home .contact-home-section { padding-top: 4rem; padding-bottom: 5rem; background: #F7F9FD; }
.home .contact-home-grid { align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.home .contact-home-grid h2 { color: #121D3D; font-size: clamp(1.9rem, 3.5vw, 2.65rem); letter-spacing: -.045em; line-height: 1.1; }
.home .contact-home-grid > div:first-child > p { color: #5E6B83; line-height: 1.7; }
.home .contact-home-details {
  gap: 0;
  padding: 1.25rem 1.45rem;
  border: 1px solid #E5EAF3;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 38, 78, .055);
}
.home .contact-home-details > div { padding: .85rem 0; }
.home .contact-home-details > div + div { border-top: 1px solid #EDF0F5; }
.home .contact-detail-label { color: #56637C; }
.home .contact-home-details p { line-height: 1.6; }

@media (max-width: 1024px) {
  .home .destination-grid { gap: .9rem; }
  .home .destination-card-premium .dest-content { padding: 1.05rem; }
  .home .destination-card-premium .dest-img-wrap { height: 190px; }
  .home .contact-home-grid { grid-template-columns: 1fr .9fr; }
}

@media (max-width: 820px) {
  .home .trust-strip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home .trust-strip-grid > div { padding: .2rem .45rem; }
  .home .trust-strip-grid > div + div { border-left: 1px solid #E8ECF4; }
  .home .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .why-ilma-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .services-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .home .trust-strip-grid { grid-template-columns: 1fr; gap: .3rem; padding-top: .65rem; padding-bottom: .65rem; }
  .home .trust-strip-grid > div { min-height: 2.7rem; padding: .35rem .1rem; }
  .home .trust-strip-grid > div + div { border-left: 0; border-top: 1px solid #EDF0F6; }
  .home .trust-strip-icon { width: 2rem; height: 2rem; }
  .home .destination-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .home .destination-section-heading { margin-bottom: 1.65rem; }
  .home .destination-section-heading .section-subtitle { margin: .7rem 0 0; font-size: .9rem; }
  .home .destination-grid { grid-template-columns: 1fr; gap: .8rem; }
  .home .destination-card-premium .dest-img-wrap { height: 205px; }
  .home .destination-card-premium .dest-content { padding: 1rem; }
  .home .destination-card-premium .dest-desc { min-height: 0; }
  .home .why-ilma-section,
  .home .services-section,
  .home .process-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .home .split-section-heading { display: block; margin-bottom: 1.6rem; }
  .home .split-section-heading > p { margin: .75rem 0 0; }
  .home .why-ilma-grid,
  .home .services-grid-home { grid-template-columns: 1fr; gap: .65rem; }
  .home .why-ilma-card { min-height: 0; padding: 1.1rem; }
  .home .why-card-number { margin-bottom: .8rem; }
  .home .service-card-premium { min-height: 0; }
  .home .service-card-top { margin-bottom: 1rem; }
  .home .process-grid { grid-template-columns: 1fr; gap: 1rem; }
  .home .process-step,
  .home .process-step:first-child { padding: 0 0 1rem; border: 0; border-bottom: 1px solid #E7EBF2; }
  .home .process-step:last-child { border-bottom: 0; }
  .home .process-step-number { margin-bottom: .7rem; }
  .home .eligibility-section { padding-bottom: 3rem; }
  .home .eligibility-panel { display: block; min-height: 0; padding: 1.65rem 1.25rem; border-radius: 1.2rem; }
  .home .eligibility-actions { display: grid; grid-template-columns: 1fr; margin-top: 1.15rem; }
  .home .eligibility-actions .btn { width: 100%; }
  .home .contact-home-section { padding-top: 3rem; padding-bottom: 3.5rem; }
  .home .contact-home-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .home .contact-home-details { padding: .7rem 1rem; }
}

/* ==========================================================================
   FULL-WIDTH SIX-COUNTRY HERO CAROUSEL
   ========================================================================== */

.country-hero-carousel {
  position: relative;
  isolation: isolate;
  height: clamp(430px, 40vw, 520px);
  min-height: 430px;
  padding: 0 !important;
  overflow: hidden;
  background: var(--primary-deep);
}
.country-hero-track {
  display: flex;
  width: 600%;
  height: 100%;
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.country-hero-slide {
  position: relative;
  flex: 0 0 16.666666%;
  width: 16.666666%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}
.country-hero-image,
.country-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.country-hero-image { object-fit: cover; object-position: center; z-index: -2; }
.country-hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(3,11,36,.92) 0%, rgba(3,11,36,.76) 35%, rgba(3,11,36,.26) 73%, rgba(3,11,36,.42) 100%), linear-gradient(0deg, rgba(3,11,36,.55), transparent 38%);
}
.country-hero-container {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 1;
}
.country-hero-content { max-width: 700px; padding: 2.3rem 0 3.3rem; color: #fff; }
.country-hero-kicker { display: inline-flex; align-items: center; gap: .6rem; color: #FDE68A; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 800; margin-bottom: .85rem; }
.country-hero-kicker span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; color: var(--primary-deep); background: #FDE68A; border-radius: 50%; letter-spacing: 0; }
.country-hero-kicker i { width: 1.5rem; height: 1px; background: rgba(253,230,138,.7); }
.country-hero-title { color: #fff; font-size: clamp(2.35rem, 5vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: .9rem; max-width: 680px; }
.country-hero-copy { color: #E2E8F0; font-size: clamp(.93rem, 1.25vw, 1.08rem); line-height: 1.6; max-width: 570px; margin-bottom: 1.45rem; }
.country-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.country-hero-actions .btn { min-height: 3.05rem; }
.country-hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.15rem; padding-top: 1.2rem; margin-top: 1.45rem; border-top: 1px solid rgba(255,255,255,.2); color: #CBD5E1; font-size: .72rem; font-weight: 700; }
.country-hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.country-hero-trust span::before { content: '✓'; color: #A7F3D0; font-weight: 900; }
.country-hero-control { position: absolute; top: 50%; z-index: 3; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(3,11,36,.35); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.country-hero-control:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.8); }
.country-hero-control:active { transform: translateY(-50%) scale(.95); }
.country-hero-prev { left: 1.5rem; }
.country-hero-next { right: 1.5rem; }
.country-hero-destination-nav {
  margin-top: 1rem;
  margin-bottom: .35rem;
}
.country-hero-destination-nav .country-hero-dots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
}
.country-hero-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.2rem;
  height: auto;
  padding: .55rem .65rem;
  border: 1px solid var(--surface-200);
  border-radius: .8rem;
  background: #fff;
  color: var(--text-sub);
  box-shadow: 0 4px 14px rgba(15,23,42,.07);
  font: inherit;
  font-size: .73rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.country-hero-dot:hover {
  border-color: var(--primary-100);
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(15,23,42,.1);
}
.country-hero-dot.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 7px 18px rgba(0,26,156,.2);
}
.country-hero-dot:active { transform: scale(.98); }

@media (max-width: 900px) {
  .country-hero-carousel { height: 470px; min-height: 470px; }
  .country-hero-control { width: 2.45rem; height: 2.45rem; }
  .country-hero-prev { left: .8rem; }
  .country-hero-next { right: .8rem; }
  .country-hero-content { padding-left: 2.2rem; padding-right: 2.2rem; }
  .country-hero-destination-nav { margin-top: .8rem; }
  .country-hero-destination-nav .country-hero-dots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
  .country-hero-dot { min-height: 2.9rem; padding: .5rem .45rem; font-size: .68rem; }
}
@media (max-width: 560px) {
  .country-hero-carousel { height: 520px; min-height: 520px; }
  .country-hero-image { object-position: 62% center; }
  .country-hero-overlay { background: linear-gradient(90deg, rgba(3,11,36,.94) 0%, rgba(3,11,36,.72) 58%, rgba(3,11,36,.48) 100%), linear-gradient(0deg, rgba(3,11,36,.7), transparent 65%); }
  .country-hero-content { padding: 2.25rem 2.65rem 3.1rem; }
  .country-hero-title { font-size: clamp(2.05rem, 10vw, 2.8rem); line-height: 1.07; }
  .country-hero-copy { font-size: .86rem; line-height: 1.5; margin-bottom: 1.1rem; }
  .country-hero-actions { flex-direction: column; gap: .55rem; }
  .country-hero-actions .btn { width: 100%; min-height: 2.75rem; padding: .7rem 1rem; font-size: .84rem; }
  .country-hero-trust { gap: .45rem .8rem; margin-top: 1rem; padding-top: .85rem; font-size: .63rem; }
  .country-hero-control { width: 2rem; height: 2rem; font-size: 1.5rem; }
  .country-hero-prev { left: .45rem; }
  .country-hero-next { right: .45rem; }
  .country-hero-destination-nav { margin-top: .7rem; }
  .country-hero-destination-nav .country-hero-dots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .country-hero-dot { min-height: 2.8rem; padding: .45rem .4rem; font-size: .69rem; }
}

@media (prefers-reduced-motion: reduce) {
  .country-hero-track { transition: none; }
}
