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

:root {
  --blue:        #1a6fa8;
  --blue-light:  #dff0fc;
  --blue-dark:   #0d4d7a;
  --blue-vivid:  #0ea5e9;
  --teal:        #0d9488;
  --teal-light:  #ccfbf1;
  --mint:        #6ee7b7;
  --white:       #ffffff;
  --cream:       #f0f9ff;
  --grey-50:     #f8fafc;
  --grey-100:    #f1f5f9;
  --grey-200:    #e2e8f0;
  --grey-400:    #94a3b8;
  --grey-600:    #475569;
  --grey-800:    #1e293b;
  --gold:        #fbbf24;
  --coral:       #f87171;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 4px 24px rgba(0,0,0,.07);
  --shadow-md:   0 8px 32px rgba(0,0,0,.1);
  --shadow-lg:   0 16px 48px rgba(0,0,0,.14);
  --shadow-blue: 0 8px 32px rgba(26,111,168,.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

a { color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
}
.btn:hover::after { background: rgba(255,255,255,.1); }
.btn:hover { transform: translateY(-3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-vivid), var(--blue-dark));
  color: white;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { box-shadow: 0 12px 40px rgba(14,165,233,.45); }
.btn--teal {
  background: linear-gradient(135deg, var(--teal), #0f766e);
  color: white;
  box-shadow: 0 8px 28px rgba(13,148,136,.35);
}
.btn--teal:hover { box-shadow: 0 12px 40px rgba(13,148,136,.5); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--teal-light), var(--blue-light));
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
}

.email-link { max-width: 100%; overflow-wrap: anywhere; }

/* ── NAV ───────────────────────────────── */
nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1320px;
  z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transition: all .4s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
  padding: 0 36px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { line-height: 1.15; }
.logo-text .logo-line1, .logo-text .logo-line2 {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
}
.logo-text .logo-line1 { font-size: 1.15rem; font-weight: 600; color: var(--blue); }
.logo-text .logo-line2 { font-size: 1.6rem; font-weight: 700; color: var(--blue); margin-top: -3px; }
.logo-text .logo-sub {
  display: block; margin-top: 3px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  color: var(--grey-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--grey-600);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  transition: all .2s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--grey-800); border-radius: 2px; transition: .3s; }

/* ── PAGE HEADER ───────────────────────── */
.page-hero {
  padding: 190px 0 64px;
  background: linear-gradient(145deg, rgba(10,37,64,.95) 0%, rgba(13,61,107,.92) 40%, rgba(10,107,94,.92) 100%);
  color: white;
  text-align: center;
}
.page-hero .breadcrumb {
  margin-top: 18px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-top: 16px;
}

/* ── LEGAL CONTENT ─────────────────────── */
.legal-content {
  padding: 72px 0 96px;
}
.legal-content .container { max-width: 860px; }
.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin: 44px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; color: var(--grey-600); }
.legal-content ul { margin: 0 0 14px 22px; color: var(--grey-600); }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--grey-800); }
.legal-content a { color: var(--blue); font-weight: 600; }
.legal-updated {
  display: inline-block;
  font-size: .8rem;
  color: var(--grey-400);
  margin-bottom: 8px;
}
.legal-placeholder {
  background: var(--gold);
  color: #78350f;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* ── FOOTER ────────────────────────────── */
footer {
  background: linear-gradient(160deg, #0a1628 0%, #0d2b4d 100%);
  color: rgba(255,255,255,.65);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo-line1, .footer-brand .logo-line2 { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,.5); }
.footer-brand strong { color: white; display: block; font-size: 1.05rem; margin-bottom: 2px; }
.footer-brand p { font-size: .875rem; margin-top: 14px; line-height: 1.75; }
.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue-vivid), var(--teal));
  color: white;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  margin-top: 20px;
  box-shadow: 0 8px 24px rgba(14,165,233,.3);
  transition: all .25s;
}
.footer-tel:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(14,165,233,.4); }
footer h4 { color: white; font-size: .88rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .04em; text-transform: uppercase; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.55); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-links a[aria-current="page"] { color: white; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
  nav { top: 8px; width: calc(100% - 24px); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links, nav > .nav-inner > a.btn { display: none; }
  .hamburger { display: flex; z-index: 1; }

  nav.open .nav-inner { height: auto; flex-wrap: wrap; padding-bottom: 12px; }
  nav.open .nav-logo { order: 1; }
  nav.open .hamburger { order: 2; }
  nav.open .nav-links {
    display: flex;
    flex-direction: column;
    order: 3;
    width: 100%;
    gap: 4px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,.08);
  }
  nav.open .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  nav.open > .nav-inner > a.btn {
    display: flex;
    order: 4;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.open .hamburger span:nth-child(2) { opacity: 0; }
  nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .page-hero { padding: 150px 0 48px; }
}

@media (max-width: 480px) {
  .legal-content { padding: 56px 0 72px; }
}
