/* ============================================================
   Finland Assignment Help — Site stylesheet
   Warm-premium theme · navy + gold over warm cream
   Built on the Kuwait Assignment Help design tokens
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --navy: #15296E;
  --navy-900: #0F1E54;
  --navy-700: #21399C;
  --blue: #2A5BEA;
  --blue-50: #EEF3FF;
  --gold: #FFBD24;
  --gold-200: #FFE7A6;
  --gold-100: #FFF3D1;
  --gold-600: #B8810A;

  /* Warm neutral substrate */
  --ink-900: #0E1525;
  --ink-800: #1C2433;
  --ink-700: #2D3645;
  --ink-600: #4C566A;
  --ink-500: #6B7589;
  --ink-400: #9AA3B5;
  --ink-300: #C3CAD7;
  --ink-200: #E0E4EC;
  --ink-100: #ECEFF4;

  --cream: #FBF6EC;        /* warm page bg */
  --cream-soft: #F4ECDC;   /* warm soft section */
  --cream-deep: #EFE4CE;
  --surface: #FFFFFF;

  /* Semantic */
  --success: #1F9D57;
  --success-50: #E7F6ED;

  /* Type */
  --font-display: 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows (navy-tinted) */
  --sh-xs: 0 1px 2px rgba(14,29,79,.06);
  --sh-sm: 0 2px 8px rgba(14,29,79,.07);
  --sh-md: 0 8px 24px rgba(14,29,79,.10);
  --sh-lg: 0 18px 48px rgba(14,29,79,.14);
  --sh-cta: 0 12px 30px rgba(255,189,36,.45);

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink-800);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 .5em;
}
p { text-wrap: pretty; margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
img, svg { max-width: 100%; }
img { height: auto; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { width: 100%; max-width: 820px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 88px; }
.section-sm { padding-block: 60px; }
@media (max-width: 720px){ .section{ padding-block: 56px; } }

.bg-cream { background: var(--cream); }
.bg-soft { background: var(--cream-soft); }
.bg-white { background: var(--surface); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4 { color: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.bg-navy .eyebrow { color: var(--gold); }
.eyebrow::before { content:""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity:.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  padding: 14px 26px; border-radius: var(--r-md); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out), background .14s; line-height: 1;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--ink-900); box-shadow: var(--sh-cta); }
.btn-primary:hover { transform: translateY(-2px); background: #ffc83f; }
.btn-primary:active { transform: translateY(1px) scale(.99); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--ink-200); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.bg-navy .btn-ghost { color:#fff; border-color: rgba(255,255,255,.35); }
.bg-navy .btn-ghost:hover { border-color:#fff; background: rgba(255,255,255,.06); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Chips ---------- */
.chip {
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-ui); font-size:13.5px; font-weight:600; color: var(--ink-700);
  background:#fff; border:1px solid var(--ink-200); padding:8px 14px; border-radius: var(--r-pill);
}
.chip svg { width:15px; height:15px; color: var(--success); }

/* ---------- Cards ---------- */
.card {
  background:#fff; border:1px solid var(--ink-100); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--sh-sm);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.icon-tile {
  width:52px; height:52px; border-radius: var(--r-md); display:grid; place-items:center;
  background: var(--gold-100); color: var(--navy); margin-bottom:18px; flex:none;
}
.icon-tile svg { width:26px; height:26px; }
.icon-tile.blue { background: var(--blue-50); color: var(--blue); }
.icon-tile.navy { background: var(--navy); color: var(--gold); }

/* ---------- Eyebrow grid helpers ---------- */
.grid { display:grid; gap:20px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 960px){ .g-3,.g-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .g-2,.g-3,.g-4 { grid-template-columns: 1fr;} }

/* ---------- Section heading block ---------- */
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-inline:auto; text-align:center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sec-head p { font-size: 18px; color: var(--ink-600); margin-top: 4px; }

/* ---------- Star rating ---------- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

/* ---------- Accordion ---------- */
.acc-item { border-bottom: 1px solid var(--ink-200); }
.acc-q {
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  font-family: var(--font-display); font-weight:700; font-size:18px; color: var(--navy);
  padding: 22px 48px 22px 0; position:relative; display:block;
}
.acc-q::after {
  content:"+"; position:absolute; right:6px; top:50%; transform: translateY(-50%);
  width:30px; height:30px; border-radius:50%; background: var(--gold-100); color: var(--navy);
  font-size:20px; font-weight:700; display:grid; place-items:center; transition: transform .3s var(--ease-out), background .2s;
}
.acc-item.open .acc-q::after { content:"–"; background: var(--gold); transform: translateY(-50%) rotate(180deg); }
.acc-a { max-height:0; overflow:hidden; transition: max-height .35s var(--ease-out); }
.acc-a-inner { padding: 0 56px 24px 0; color: var(--ink-600); font-size: 16.5px; }

/* ---------- Frosted nav ---------- */
.nav-shell { position: sticky; top: 14px; z-index: 50; }
.nav {
  display:flex; align-items:center; gap: 24px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border:1px solid var(--ink-100); border-radius: var(--r-lg); box-shadow: var(--sh-sm);
  padding: 12px 16px 12px 18px;
}
.nav-links { display:flex; align-items:center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; color: var(--ink-700);
  padding: 9px 13px; border-radius: var(--r-sm); transition: background .14s, color .14s;
}
.nav-links a:hover, .nav-links a.active { background: var(--blue-50); color: var(--navy); }
.nav-cta { margin-left: auto; display:flex; align-items:center; gap:10px; }
.nav-burger { display:none; margin-left:auto; background:none; border:none; cursor:pointer; padding:8px; color: var(--navy); }
.nav-burger svg { width:26px; height:26px; }

.mobile-menu { display:none; }
@media (max-width: 960px){
  .nav-links, .nav-cta .btn span.hide-sm { display:none; }
  .nav-burger { display:block; }
  .mobile-menu.open { display:block; }
  .mobile-menu {
    margin-top: 10px; background:#fff; border:1px solid var(--ink-100); border-radius: var(--r-lg);
    box-shadow: var(--sh-md); padding: 12px;
  }
  .mobile-menu a { display:block; padding: 13px 14px; border-radius: var(--r-sm); font-weight:700; color: var(--navy); font-family: var(--font-display); }
  .mobile-menu a:hover { background: var(--blue-50); }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #C7CFE6; }
.footer a { color: #C7CFE6; }
.footer a:hover { color:#fff; }
.footer h4 { color:#fff; font-size: 15px; letter-spacing:.02em; margin-bottom: 16px; }
.footer-cols { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px){ .footer-cols{ grid-template-columns: 1fr 1fr; gap:32px;} }
@media (max-width: 520px){ .footer-cols{ grid-template-columns: 1fr;} }
.footer-links { list-style:none; padding:0; margin:0; display:grid; gap:11px; font-size:14.5px; font-family: var(--font-ui); }

/* ---------- Floating CTA ---------- */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 60; display:flex; flex-direction:column; gap:12px; align-items:flex-end; }
.fab-wa {
  width:58px; height:58px; border-radius:50%; background:#25D366; color:#fff; display:grid; place-items:center;
  box-shadow: var(--sh-lg); transition: transform .2s var(--ease-spring);
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width:30px; height:30px; }
.fab-quote {
  background: var(--navy); color:#fff; font-family:var(--font-display); font-weight:800; font-size:15px;
  padding: 13px 20px; border-radius: var(--r-pill); box-shadow: var(--sh-lg); display:inline-flex; gap:8px; align-items:center;
}
.fab-quote:hover { background: var(--navy-700); }
@media (max-width: 720px){ .fab-quote span.hide-sm{ display:none; } }

/* ---------- Stacked-paper quote form ---------- */
.quote-stack { position: relative; }
.qf-drop {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1.5px dashed var(--ink-300); border-radius: var(--r-md);
  padding: 14px 16px; background: var(--cream); transition: border-color .15s, background .15s;
  font-size: 13.5px; color: var(--ink-600); line-height: 1.4;
}
.qf-drop:hover { border-color: var(--blue); background: var(--blue-50); }
.quote-stack::before,
.quote-stack::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-xl);
  z-index: 0;
}
.quote-stack::before {
  transform: translateY(16px) scale(.955);
  box-shadow: var(--sh-md); opacity: .65;
}
.quote-stack::after {
  transform: translateY(8px) scale(.978);
  box-shadow: var(--sh-sm); opacity: .85;
}
.quote-stack .quote-card {
  position: relative; z-index: 1;
  box-shadow: var(--sh-lg);
  animation: quoteRise .6s var(--ease-out) both;
}
@keyframes quoteRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){ .quote-stack .quote-card{ animation: none; } }

/* ---------- Expert horizontal slider ---------- */
.expert-slider {
  overflow: hidden; width: 100%; padding-block: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.expert-track {
  display: flex; gap: 20px; width: max-content;
  animation: expertScroll 48s linear infinite;
}
.expert-slider:hover .expert-track { animation-play-state: paused; }
.expert-card {
  flex: 0 0 300px; width: 300px;
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--sh-sm);
}
@keyframes expertScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 10px)); }
}
@media (prefers-reduced-motion: reduce){ .expert-track{ animation: none; } }

/* ---------- Hero glow ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(60% 60% at 82% 88%, rgba(255,189,36,.30), transparent 70%),
    radial-gradient(55% 55% at 12% 8%, rgba(42,91,234,.16), transparent 70%);
}
.hero > * { position: relative; z-index:1; }

/* ---------- Forms ---------- */
.field { display:block; margin-bottom: 16px; }
.field > label { display:block; font-family: var(--font-ui); font-weight:600; font-size:13.5px; color: var(--ink-700); margin-bottom:7px; }
.input, .select, .textarea {
  width:100%; font-family: var(--font-body); font-size:16px; color: var(--ink-900);
  background:#fff; border:1.5px solid var(--ink-200); border-radius: var(--r-md); padding: 13px 15px;
  transition: border-color .14s, box-shadow .14s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline:none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42,91,234,.16);
}

/* ---------- Prose (blog + policies) ---------- */
.prose { font-size: 18px; color: var(--ink-700); line-height: 1.75; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; color: var(--navy); }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose strong { color: var(--ink-900); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 4px solid var(--gold); background: var(--gold-100); margin: 1.6em 0;
  padding: 18px 24px; border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink-800); font-style: italic;
}
.prose hr { border:none; border-top:1px solid var(--ink-200); margin: 2em 0; }

/* ---------- Trust marquee ---------- */
.trust-strip { border-top:1px solid var(--ink-200); border-bottom:1px solid var(--ink-200); }
.uni-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap: 14px 30px; }
.uni-item { display:flex; align-items:center; gap:10px; opacity:.82; transition: opacity .2s; }
.uni-item:hover { opacity:1; }
.uni-item img { width:32px; height:36px; }
.uni-item span { font-family: var(--font-display); font-weight:800; font-size:15px; color: var(--navy); }

/* ---------- Breadcrumb ---------- */
.crumb { font-family: var(--font-ui); font-size: 13.5px; color: var(--ink-500); display:flex; gap:8px; flex-wrap:wrap; }
.crumb a { color: var(--ink-500); }
.crumb a:hover { color: var(--navy); }

/* ---------- Misc ---------- */
.divider-dot { color: var(--gold); }
.pill-tag { display:inline-block; font-family:var(--font-ui); font-size:12.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--blue); background: var(--blue-50); padding:5px 12px; border-radius: var(--r-pill); }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink-600); }
.skip-link { position:absolute; left:-999px; }
.skip-link:focus { left:16px; top:16px; z-index:200; background:#fff; padding:10px 16px; border-radius:8px; box-shadow:var(--sh-md); }

/* ---------- Responsive: collapse inline two-column grids on tablet/mobile ---------- */
@media (max-width: 920px){
  main [style*="grid-template-columns"]{ grid-template-columns: 1fr !important; }
  main aside[style*="sticky"]{ position: static !important; top:auto !important; }
  .section { padding-block: 56px; }
}
@media (max-width: 600px){
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding-inline: 18px; }
  .btn-lg { padding: 15px 24px; font-size: 16px; }
  .fab-stack { right: 16px; bottom: 16px; }
}
