/* ============================================================
   Nordic Trust Services — Main Stylesheet
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  /* Brand colours — Nordic Trust Services */
  --navy:       #084a5b;
  --blue:       #1b96d3;
  --blue-light: #48c2c5;
  --grey:       #7093a0;
  --white:      #ffffff;
  --off-white:  #f0f7fa;
  --grey-light: #d6e6ed;

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Montserrat', sans-serif;

  --radius:     8px;
  --shadow:     0 4px 24px rgba(8, 74, 91, 0.12);
  --transition: 0.25s ease;
  --max-width:  1160px;
  --nav-height: 72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── UTILITIES ── */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section__eyebrow--light { color: var(--blue-light); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.section__title--light { color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 150, 211, 0.30);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(8, 74, 91, 0.92);
  backdrop-filter: blur(14px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 500 !important;
}
.nav__cta:hover {
  background: var(--blue-light) !important;
  transform: translateY(-1px);
}
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero__bg-photo {
  position: absolute;
  inset: 0;
  background: url('/assets/hero-bg.jpg') center center / cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 74, 91, 0.82) 0%,
    rgba(8, 74, 91, 0.60) 50%,
    rgba(27, 150, 211, 0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 0 4rem;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

/* ── WHY SECTION ── */
.why {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.why__photo-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/section-bg.jpg') center center / cover no-repeat;
}
.why__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 74, 91, 0.88);
}
.why__inner {
  position: relative;
  z-index: 1;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.why__card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition);
}
.why__card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}
.why__icon { font-size: 1.75rem; margin-bottom: 1rem; }
.why__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.why__card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ── CONTACT ── */
.contact {
  padding: 7rem 0;
  background: var(--navy);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__text .section__title { color: var(--white); }
.contact__text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__form input,
.contact__form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color var(--transition);
  outline: none;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--blue-light); }
.contact__form textarea { resize: vertical; }

/* ── FOOTER ── */
.footer {
  background: #042e39;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__logo-img {
  height: 28px;
  width: auto;
  opacity: 0.85;
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(8, 74, 91, 0.98);
    padding: 1.5rem 5%;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .contact__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__actions { flex-direction: column; }
  .btn { text-align: center; }
}
