/* Finovas Global — page & section styles */

/* ─────────────────────────── Section decorations ─────────────────────────── */
.section { position: relative; isolation: isolate; }
.section--mist { overflow: hidden; }
.section--mist::before, .section--mist::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px);
}
.section--mist::before {
  width: 300px; height: 300px; top: -90px; right: -90px;
  background: radial-gradient(circle, var(--sky-tint), transparent 68%);
}
.section--mist::after {
  width: 260px; height: 260px; bottom: -100px; left: -80px;
  background: radial-gradient(circle, var(--mint-tint), transparent 70%);
}

/* ─────────────────────────── Hero ─────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(128% 120% at 84% -12%, var(--navy-soft) 0%, var(--navy) 48%, var(--navy-deep) 100%);
  color: var(--on-navy);
  padding-block: clamp(58px, 8vw, 116px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before, .hero__bg::after { content: ""; position: absolute; border-radius: 50%; }
.hero__bg::before { width: 520px; height: 520px; right: -150px; top: -190px;
  background: radial-gradient(circle, rgba(122,107,255,0.42), transparent 66%); }
.hero__bg::after { width: 420px; height: 420px; left: -160px; bottom: -220px;
  background: radial-gradient(circle, rgba(18,199,163,0.20), transparent 64%); }
.hero__ring {
  position: absolute; right: 5%; top: 14%; width: 340px; height: 340px;
  border: 1.5px solid rgba(255,255,255,0.08); border-radius: 50%; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.04fr 0.96fr; gap: clamp(30px, 5vw, 66px); align-items: center;
}
.hero h1 { color: #fff; }
.hero__lead { font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.24rem);
  color: var(--on-navy-muted); margin-top: 19px; max-width: 524px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.hero__proof .stars-text { font-size: 0.9rem; color: var(--on-navy-muted); }

/* Hero decorative shapes */
.hero-deco i:nth-child(1) { width: 20px; height: 20px; border-radius: 50%; background: var(--amber); top: 16%; left: 7%; }
.hero-deco i:nth-child(2) { width: 56px; height: 56px; border-radius: 50%; border: 8px solid var(--mint); top: 60%; left: 4%; }
.hero-deco i:nth-child(3) { width: 28px; height: 28px; background: var(--coral); top: 50%; left: 3%;
  clip-path: polygon(38% 0,62% 0,62% 38%,100% 38%,100% 62%,62% 62%,62% 100%,38% 100%,38% 62%,0 62%,0 38%,38% 38%); }
.hero-deco i:nth-child(4) { width: 78px; height: 26px; border-radius: 999px; background: rgba(122,107,255,.5); top: 9%; right: 17%; }
.hero-deco i:nth-child(5) { width: 15px; height: 15px; border-radius: 50%; background: var(--pink); top: 30%; right: 8%; }
.hero-deco i:nth-child(6) { width: 84px; height: 84px; border-radius: 60% 40% 55% 45% / 48% 52% 48% 52%;
  background: rgba(18,199,163,.22); bottom: 12%; right: 12%; }
.hero-deco i:nth-child(7) { width: 26px; height: 26px; background: var(--amber); bottom: 26%; right: 38%;
  clip-path: polygon(50% 0,100% 100%,0 100%); }

/* Hero visual */
.hero__visual { position: relative; }
.hero__visual .visual-frame {
  position: relative;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-navy);
  aspect-ratio: 4 / 3; background: linear-gradient(155deg, var(--navy-soft), var(--navy-deep));
  border: 1px solid rgba(255,255,255,0.08);
}
.hero__visual .visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .visual-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(165deg, transparent 44%, rgba(16,27,56,0.55));
}
.hero__visual .visual-deco { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.14); }
.hero__visual .visual-deco svg { width: 44%; height: 44%; }
.hero__badge {
  position: absolute; left: -24px; bottom: 28px;
  background: #fff; border-radius: var(--r-md); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 232px;
}
.hero__badge .badge-ic { width: 44px; height: 44px; border-radius: 13px;
  background: var(--amber-tint); color: #D98A00; display: grid; place-items: center; flex-shrink: 0; }
.hero__badge .badge-ic svg { width: 22px; height: 22px; }
.hero__badge b { display: block; color: var(--navy); font-size: 1.06rem; }
.hero__badge span { font-size: 0.78rem; color: var(--muted); }
.hero__chip {
  position: absolute; right: 30px; top: -18px;
  background: #fff; border-radius: var(--r-pill); padding: 11px 17px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 0.86rem; color: var(--navy);
}
.hero__chip .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--mint-tint);
  color: #0C9C80; display: grid; place-items: center; }
.hero__chip .dot svg { width: 15px; height: 15px; }

/* ─────────────────────────── Page hero (sub-pages) ─────────────────────────── */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(122% 132% at 50% -30%, var(--navy-soft), var(--navy) 56%, var(--navy-deep));
  color: var(--on-navy); padding-block: clamp(60px, 7.5vw, 116px);
}
.page-hero .hero__inner, .page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 740px; margin-inline: auto; }
.page-hero p { color: var(--on-navy-muted); max-width: 600px; margin: 16px auto 0; font-size: 1.08rem; }
.page-hero .eyebrow { color: #fff; background: rgba(255,255,255,0.12);
  padding: 7px 16px; border-radius: var(--r-pill); }
.page-hero .deco i:nth-child(1) { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); top: 24%; left: 12%; }
.page-hero .deco i:nth-child(2) { width: 46px; height: 46px; border-radius: 50%; border: 7px solid var(--mint); top: 54%; left: 7%; }
.page-hero .deco i:nth-child(3) { width: 64px; height: 22px; border-radius: 999px; background: rgba(122,107,255,.5); top: 22%; right: 10%; }
.page-hero .deco i:nth-child(4) { width: 24px; height: 24px; background: var(--coral); top: 60%; right: 14%;
  clip-path: polygon(50% 0,100% 100%,0 100%); }

/* ─────────────────────────── Trust strip ─────────────────────────── */
.trust-strip {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 3.4vw, 50px); flex-wrap: wrap;
}
.trust-strip__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); }
.trust-strip__item { font-weight: 700; font-size: 1.06rem; color: var(--navy);
  opacity: 0.5; transition: opacity var(--t-fast), color var(--t-fast); }
.trust-strip__item:hover { opacity: 1; color: var(--sky-strong); }

/* ─────────────────────────── Country cards ─────────────────────────── */
.country-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), border-color var(--t-base);
}
.country-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); border-color: transparent; }
.country-card__media {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
}
.country-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.country-card:hover .country-card__media img { transform: scale(1.08); }
.country-card__flag {
  position: absolute; top: 14px; left: 14px;
  width: 50px; height: 50px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow-sm);
}
.country-card__body { padding: 23px 25px 26px; display: flex; flex-direction: column; flex: 1; }
.country-card__body h3 { font-size: 1.34rem; }
.country-card__body p { color: var(--muted); font-size: 0.95rem; margin: 8px 0 16px; }
.country-card__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.country-card__foot .go { color: var(--sky-strong); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.country-card__foot .go svg { width: 17px; height: 17px; transition: transform var(--t-fast); }
.country-card:hover .go svg { transform: translateX(5px); }

/* ─────────────────────────── Stat band ─────────────────────────── */
.section--navy, .section--navy-deep { position: relative; overflow: hidden; }
.stat-band { position: relative; z-index: 2; display: grid;
  grid-template-columns: repeat(var(--sb, 4), 1fr); gap: clamp(20px, 3vw, 40px); }
.stat { text-align: center; padding: 8px; }
.stat__value {
  font-size: clamp(2.3rem, 1.5rem + 2.7vw, 3.5rem); font-weight: 700;
  color: #fff; letter-spacing: -0.03em; line-height: 1;
}
.stat:nth-child(1) .stat__value { color: #fff; }
.stat:nth-child(2) .stat__value { color: #66E0C6; }
.stat:nth-child(3) .stat__value { color: #FFC76B; }
.stat:nth-child(4) .stat__value { color: #A99BFF; }
.stat__label { color: var(--on-navy-muted); margin-top: 11px; font-size: 0.96rem; }
.band-deco i:nth-child(1) { width: 16px; height: 16px; border-radius: 50%; background: var(--amber); top: 24%; left: 9%; }
.band-deco i:nth-child(2) { width: 40px; height: 40px; border-radius: 50%; border: 6px solid rgba(102,224,198,.6); bottom: 18%; left: 22%; }
.band-deco i:nth-child(3) { width: 60px; height: 20px; border-radius: 999px; background: rgba(122,107,255,.4); top: 20%; right: 12%; }
.band-deco i:nth-child(4) { width: 22px; height: 22px; background: var(--coral); bottom: 24%; right: 20%;
  clip-path: polygon(50% 0,100% 100%,0 100%); }

/* ─────────────────────────── Showcase ─────────────────────────── */
.showcase__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.showcase__row + .showcase__row { margin-top: clamp(40px, 6vw, 92px); }
.showcase__row--flip .showcase__media { order: 2; }
.showcase__media .frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
}
.showcase__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.showcase__list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.showcase__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); }
.showcase__list svg { width: 22px; height: 22px; color: var(--success); flex-shrink: 0; margin-top: 1px; }

/* ─────────────────────────── Deadline callout ─────────────────────────── */
.deadline-card {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(135deg, var(--sky-tint), var(--violet-tint));
  border: 1px solid #D3DCFF; border-radius: var(--r-lg); padding: 26px 28px;
}
.deadline-card .cal {
  width: 62px; height: 62px; border-radius: var(--r-md); background: #fff;
  display: grid; place-items: center; color: var(--sky-strong); flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.deadline-card .cal svg { width: 30px; height: 30px; }
.deadline-card b { color: var(--navy); font-size: 1.08rem; display: block; }
.deadline-card span { color: var(--muted); font-size: 0.92rem; }

/* ─────────────────────────── Blog ─────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 30px); }
.blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), border-color var(--t-base);
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: transparent; }
.blog-card__media {
  aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
}
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.07); }
.blog-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-size: 0.8rem; color: var(--muted); }
.blog-card__body h3 { font-size: 1.17rem; line-height: 1.32; }
.blog-card__body p { color: var(--muted); font-size: 0.95rem; margin: 9px 0 16px; }
.blog-card__more { margin-top: auto; color: var(--sky-strong); font-weight: 600; font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 6px; }

.article { max-width: 770px; margin-inline: auto; }
.article__cover {
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px;
  aspect-ratio: 16 / 8; background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 0.9rem; }
.article__body { font-size: 1.08rem; color: #3A4365; }
.article__body p { margin-bottom: 18px; }
.article__body h3 { margin: 32px 0 12px; color: var(--navy); }
.article__body ul { margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.article__body li { position: relative; padding-left: 27px; color: #3A4365; }
.article__body li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--sky);
}
.article__body strong { color: var(--navy); }

/* ─────────────────────────── Jobs ─────────────────────────── */
.job-card {
  display: flex; align-items: center; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 23px 26px; transition: border-color var(--t-fast), box-shadow var(--t-base), transform var(--t-fast);
}
.job-card:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); transform: translateX(5px); }
.job-card__main { flex: 1; }
.job-card__main h3 { font-size: 1.16rem; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ─────────────────────────── About ─────────────────────────── */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 30px); }
.vm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px; position: relative; overflow: hidden;
}
.vm-card::after { content: ""; position: absolute; top: -50px; right: -50px;
  width: 140px; height: 140px; border-radius: 50%; background: var(--sky-tint); }
.vm-card:last-child::after { background: var(--mint-tint); }
.vm-card > * { position: relative; }
.vm-card h3 { font-size: 1.34rem; margin-bottom: 10px; }
.vm-card p { color: var(--muted); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-grid .frame {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
}
.story-grid .frame img { width: 100%; height: 100%; object-fit: cover; }
.team-card { text-align: center; }
.team-card .avatar { width: 96px; height: 96px; margin: 0 auto 16px; font-size: 1.7rem; }
.team-card:nth-child(3n+2) .avatar { background: linear-gradient(140deg, var(--mint), #3FD9B6); }
.team-card:nth-child(3n) .avatar { background: linear-gradient(140deg, var(--coral), #FF9E6B); }
.team-card b { display: block; color: var(--navy); font-size: 1.08rem; font-weight: 600; }
.team-card .role { color: var(--sky-strong); font-weight: 600; font-size: 0.88rem; margin: 3px 0 8px; }
.team-card p { color: var(--muted); font-size: 0.92rem; }

/* ─────────────────────────── Contact ─────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 48px); align-items: start; }
.branch-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; transition: border-color var(--t-fast), box-shadow var(--t-base), transform var(--t-fast);
}
.branch-card:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.branch-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.branch-card__head .flag { font-size: 2rem; }
.branch-card__head b { color: var(--navy); font-size: 1.13rem; }
.branch-row { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; color: var(--muted); font-size: 0.93rem; }
.branch-row svg { width: 18px; height: 18px; color: var(--sky-strong); flex-shrink: 0; margin-top: 3px; }
.branch-row a { color: var(--muted); }
.branch-row a:hover { color: var(--sky-strong); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }

/* ─────────────────────────── Misc ─────────────────────────── */
.notfound { text-align: center; padding: clamp(70px, 12vw, 140px) 0; }
.notfound .big {
  font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--sky), var(--violet)); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.notfound h1 { margin: 6px 0 12px; }
.notfound p { color: var(--muted); max-width: 420px; margin: 0 auto 26px; }

.prose { max-width: 770px; margin-inline: auto; }
.prose h2 { font-size: 1.42rem; margin: 32px 0 12px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 25px; color: var(--muted); }
.prose li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--sky); }
.prose .updated { font-size: 0.86rem; color: var(--muted); margin-bottom: 26px; }
.prose strong { color: var(--navy); }

.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.booking-aside {
  background: radial-gradient(120% 120% at 20% 0%, var(--navy-soft), var(--navy) 70%);
  color: var(--on-navy); padding: 34px 30px;
}
.booking-aside h3 { color: #fff; font-size: 1.32rem; }
.booking-aside > p { color: var(--on-navy-muted); margin-top: 8px; font-size: 0.94rem; }
.booking-aside ul { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.booking-aside li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.93rem; }
.booking-aside li svg { width: 20px; height: 20px; color: #66E0C6; flex-shrink: 0; margin-top: 1px; }
.booking-split { display: grid; grid-template-columns: 0.82fr 1fr; }
