/* ===== NORDIC BUILD — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --navy: #1e3a8a;
  --navy-dark: #152c6e;
  --navy-deeper: #0f1f4d;
  --navy-light: #2d4fa0;
  --accent: #e8edf7;
  --accent-mid: #c8d4ef;
  --gray: #6b7280;
  --gray-light: #f8f9fb;
  --white: #ffffff;
  --text: #374151;
  --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
  padding: 0 40px;
}
header.scrolled {
  background: rgba(30, 58, 138, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(30,58,138,0.2);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; cursor: pointer;
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: white; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text-main {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 17px; color: white;
  letter-spacing: 0.04em; line-height: 1.1;
}
.logo-text-sub {
  font-size: 10px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.15em; text-transform: uppercase;
}
nav { display: flex; gap: 4px; align-items: center; }
nav a {
  text-decoration: none; color: white; font-size: 14px;
  font-family: 'Jost', sans-serif; font-weight: 400;
  padding: 8px 16px; border-radius: 6px;
  transition: background 0.2s; letter-spacing: 0.02em;
}
nav a:hover { background: rgba(255,255,255,0.12); }
nav a.active { background: rgba(255,255,255,0.15); }
nav a.btn-calc {
  background: white; color: var(--navy);
  font-weight: 600; margin-left: 8px;
}
nav a.btn-calc:hover { background: var(--accent); }

/* Mobile nav */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.mobile-nav {
  display: none; background: var(--navy);
  padding: 8px 0 20px; position: fixed;
  top: 70px; left: 0; right: 0; z-index: 99;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 13px 32px; color: white;
  text-decoration: none; font-size: 16px; font-family: 'Cormorant Garamond', serif;
  border-left: 3px solid transparent; transition: border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { border-left-color: white; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-deeper); color: white;
  padding: 64px 40px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 700; margin-bottom: 6px;
}
.footer-brand-sub {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 18px;
}
.footer-desc { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.fb-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px;
  background: rgba(255,255,255,0.08); padding: 8px 16px; border-radius: 8px;
  transition: background 0.2s;
}
.fb-link:hover { background: rgba(255,255,255,0.15); color: white; }
.footer-heading {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 20px; font-family: 'Jost', sans-serif;
}
.footer-links a {
  display: block; color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 14px; padding: 5px 0; transition: color 0.2s;
  font-family: 'Cormorant Garamond', serif; font-size: 16px;
}
.footer-links a:hover { color: white; }
.footer-contact-item {
  display: flex; gap: 10px; margin-bottom: 12px;
  color: rgba(255,255,255,0.65); font-size: 14px;
}
.footer-map { border-radius: 10px; overflow: hidden; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,0.35); font-size: 12px;
}

/* ===== HERO (shared) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 50%, var(--navy-deeper) 100%);
  padding: 130px 40px 80px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04), transparent 60%);
}
.page-hero-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 16px;
  font-family: 'Jost', sans-serif;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 58px);
  color: white; font-weight: 400; line-height: 1.15;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.page-hero p {
  color: rgba(255,255,255,0.68); font-size: 17px; line-height: 1.7;
  max-width: 560px; margin: 0 auto; position: relative; z-index: 1;
}

/* ===== SECTION WRAPPERS ===== */
.section { padding: 96px 40px; }
.section-white { background: white; }
.section-gray { background: var(--gray-light); }
.section-navy { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 12px; font-family: 'Jost', sans-serif;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--navy); font-weight: 400; margin-bottom: 20px;
}
.section-title.white { color: white; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; text-decoration: none;
  padding: 16px 36px; border-radius: 8px;
  font-family: 'Cormorant Garamond', serif; font-size: 16px;
  cursor: pointer; border: none; transition: all 0.25s;
  letter-spacing: 0.03em;
}
.btn-primary { background: var(--navy); color: white; font-weight: 600; }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,58,138,0.25); }
.btn-white { background: white; color: var(--navy); font-weight: 700; }
.btn-white:hover { background: var(--accent); transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ===== CARDS ===== */
.card {
  background: var(--gray-light); border-radius: 16px;
  border: 1px solid var(--accent); padding: 36px 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: 0 8px 32px rgba(30,58,138,0.1); transform: translateY(-3px); }
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; color: var(--navy); margin-bottom: 12px; font-weight: 600;
}
.card-text { color: var(--gray); line-height: 1.7; font-size: 15px; }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  header { padding: 0 20px; }
  nav { display: none; }
  .burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 110px 20px 60px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 48px 20px 24px; }
}
