@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --slate: #3B5B8C;
  --slate-dark: #2a4270;
  --slate-light: #5a7ab0;
  --slate-pale: #e8eef7;
  --gray-light: #f4f5f7;
  --gray-mid: #d1d5db;
  --gray-text: #6b7280;
  --black: #0f1117;
  --black-soft: #1e2330;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--black); background: var(--white); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-mid);
  padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--black); text-decoration: none; }
.logo span { color: var(--slate); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--black-soft); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--slate); border-bottom-color: var(--slate); }
.nav-cta { background: var(--slate) !important; color: var(--white) !important; padding: 0.55rem 1.3rem; border-radius: 4px; border-bottom: none !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--slate-dark) !important; }

/* FOOTER */
footer { background: var(--black); color: #9ca3af; padding: 3.5rem 5% 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.8rem; display: block; }
.footer-logo span { color: var(--slate-light); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: #6b7280; max-width: 260px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { text-decoration: none; color: #6b7280; font-size: 0.85rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: #4b5563; }

/* SHARED UTILITIES */
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.8rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--black); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.section-title.light { color: var(--white); }
.section-sub { font-size: 1rem; color: var(--gray-text); line-height: 1.7; max-width: 560px; }
.section-sub.light { color: #9ca3af; }

.btn-primary { background: var(--slate); color: var(--white); padding: 0.85rem 2rem; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--slate-dark); transform: translateY(-2px); }
.btn-outline-dark { border: 1px solid var(--gray-mid); color: var(--black); padding: 0.85rem 2rem; border-radius: 4px; text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: border-color 0.2s; display: inline-block; }
.btn-outline-dark:hover { border-color: var(--slate); color: var(--slate); }

.page-hero { padding: 8rem 5% 5rem; background: var(--black-soft); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -150px; right: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(59,91,140,0.3) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-tag { display: inline-block; background: rgba(59,91,140,0.2); border: 1px solid rgba(59,91,140,0.4); color: #8fafd9; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 2px; margin-bottom: 1.5rem; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--white); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.2rem; max-width: 700px; }
.page-hero p { font-size: 1.05rem; color: #9ca3af; line-height: 1.7; max-width: 560px; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.pill { background: var(--white); border: 1px solid var(--gray-mid); padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 500; color: var(--black-soft); }

/* CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: 0.8rem; font-weight: 600; color: var(--black-soft); letter-spacing: 0.03em; }
input, select, textarea { border: 1px solid var(--gray-mid); border-radius: 4px; padding: 0.75rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--black); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--slate); box-shadow: 0 0 0 3px rgba(59,91,140,0.1); }
textarea { resize: vertical; min-height: 120px; }
.form-submit { background: var(--slate); color: var(--white); border: none; padding: 0.9rem 2rem; border-radius: 4px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s; letter-spacing: 0.02em; align-self: flex-start; }
.form-submit:hover { background: var(--slate-dark); transform: translateY(-2px); }

@media (max-width: 900px) {
  .nav-links li:not(:last-child) { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
