/* ═══════════════════════════════════════════════
   Norlit Legal Capital — Global Styles
   ═══════════════════════════════════════════════ */


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

:root {
  --navy: #354d6f;
  --navy-deep: #4a6080;
  --cream: #ffffff;
  --cream-dark: #e8e4db;
  --white: #ffffff;
  --text-light: rgba(215, 222, 235, 0.92);
  --text-muted: rgba(200, 210, 225, 0.72);
  --text-dark: #3a3a3a;
  --text-dark-muted: #6b6b6b;
  --accent: rgba(200, 210, 225, 0.45);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 400;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
}

.section-inner-c3 h2{
	padding: 0;
	margin: 60px 0 30px 0;
}

.section-inner-c3 p{
	padding: 0;
	margin: 0 0 16px 0;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(53, 77, 111, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(180, 190, 210, 0.15);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo svg {
  width: 48px;
  height: 48px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-logo-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 7px;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo-sub {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 4.5px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--text-light);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-contact {
  padding: 10px 28px;
  border: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-light);
  text-transform: uppercase;
  transition: all 0.3s;
}

.nav-contact:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* ── Search ── */
.nav-search {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-search-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-light);
  transition: stroke 0.3s;
}

.nav-search-btn:hover svg {
  stroke: var(--white);
}

.nav-search-input {
  width: 0;
  padding: 0;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 2px;
  outline: none;
  transition: width 0.3s ease, padding 0.3s ease;
  opacity: 0;
}

.nav-search-input::placeholder {
  color: var(--text-muted);
}

.nav-search.open .nav-search-input {
  width: 180px;
  padding: 7px 12px;
  opacity: 1;
}

.nav-search-results {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(42, 58, 92, 0.97);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(180, 190, 210, 0.15);
  border-radius: 4px;
  min-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 1200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.nav-search-results.visible {
  display: block;
}

.nav-search-results a {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(180, 190, 210, 0.08);
  transition: background 0.2s;
}

.nav-search-results a:hover {
  background: rgba(255,255,255,0.06);
}

.nav-search-results a:last-child {
  border-bottom: none;
}

.nav-search-results .result-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}

.nav-search-results .result-excerpt {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.nav-search-results .no-results {
  padding: 18px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .nav-search.open .nav-search-input {
    width: 120px;
  }
}

/* ── Hero (dark) ── */
.hero {
  min-height: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 148px 60px 64px;
  position: relative;
  background-image: url('/map-and-compass.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(53, 77, 111, 0.72);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ── Image Break ── */
.image-break {
  height: 260px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(53, 77, 111, 0.15) 0%,
    rgba(53, 77, 111, 0.05) 50%,
    rgba(53, 77, 111, 0.15) 100%
  );
}

.hero-logo svg {
  width: 120px;
  height: 120px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 14px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 48px;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 0;
}

.hero-cta {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--text-light);
  text-transform: uppercase;
  transition: all 0.4s;
}

.hero-cta:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(180, 190, 210, 0.5);
}

/* ── Page Header (smaller hero for inner pages) ── */
.page-header {
  background: var(--navy);
  padding: 160px 60px 80px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 8px;
  text-transform: uppercase;
}

.page-header p {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ── Sections ── */
.section-dark {
  background: var(--navy);
  color: var(--text-light);
  padding: 100px 60px;
}

.section-light {
  background: var(--cream);
  color: var(--text-dark);
  padding: 100px 60px;
}

.section-white {
  background: var(--white);
  color: var(--text-dark);
  padding: 100px 60px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-inner-c3 {
  max-width: 800px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-dark .section-label { color: var(--text-muted); }
.section-light .section-label,
.section-white .section-label { color: var(--text-dark-muted); }

.section-title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 32px;
}

.section-dark .section-title { color: var(--white); }
.section-light .section-title,
.section-white .section-title { color: var(--navy); }

.section-text {
  font-size: 18px;
  line-height: 1.9;
  font-weight: 400;
  max-width: 680px;
}

.section-text + .section-text { margin-top: 20px; }

.section-dark .section-text { color: var(--text-light); }
.section-light .section-text,
.section-white .section-text { color: var(--text-dark-muted); }

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.card {
  padding: 40px 32px;
  border: 1px solid rgba(180, 190, 210, 0.1);
  transition: border-color 0.3s;
}

.section-dark .card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(180, 190, 210, 0.1);
}

.section-light .card,
.section-white .card {
  background: var(--white);
  border-color: rgba(53, 77, 111, 0.08);
}

.card:hover { border-color: rgba(180, 190, 210, 0.3); }

.card h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 14px;
}

.section-dark .card h3 { color: var(--white); }
.section-light .card h3,
.section-white .card h3 { color: var(--navy); }

.card p {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
}

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
}

.process-step .step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text-light);
}

.section-light .process-step .step-icon {
  border-color: rgba(53, 77, 111, 0.15);
  color: var(--navy);
}

.process-step h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

/* ── Team Grid ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.team-member {
  text-align: center;
  padding: 40px 24px;
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(53, 77, 111, 0.08);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--navy);
}

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 24px;
  filter: grayscale(100%);
}

.team-member h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-member .role {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 16px;
}

.team-member p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark-muted);
  font-weight: 400;
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(53, 77, 111, 0.08);
  padding: 28px 0;
}

.faq-item:first-child { border-top: 1px solid rgba(53, 77, 111, 0.08); }

.faq-question {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-dark-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-top: 16px;
}

.faq-answer p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-dark-muted);
  font-weight: 400;
}

/* ── Advantages List ── */
.advantages {
  list-style: none;
  margin-top: 32px;
}

.advantages li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(180, 190, 210, 0.1);
  font-size: 18px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.advantages li::before {
  content: '\2726';
  position: absolute;
  left: -1px;
  top: 12px;
  font-size: 19px;
  color: var(--text-muted);
}

.section-light .advantages li {
  border-color: rgba(53, 77, 111, 0.08);
}

.section-light .advantages li::before {
  color: var(--navy);
  opacity: 0.35;
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 1px;
  margin: 0 auto;
}

.section-dark .divider { background: rgba(180, 190, 210, 0.15); }
.section-light .divider { background: rgba(53, 77, 111, 0.1); }

/* ── Contact Info ── */
.contact-info {
  text-align: center;
  margin-top: 48px;
}

.contact-info a {
  display: block;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.contact-info a:hover { opacity: 0.7; }

/* ── Footer ── */
.footer {
  background: var(--navy-deep);
  padding: 48px 60px;
  text-align: center;
}

.footer p {
  font-size: 16px;
  letter-spacing: 2px;
  color: rgba(220, 228, 240, 0.95);
}

.footer-links, .about-links{
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 16px;
  letter-spacing: 1.5px;
  color: rgba(220, 228, 240, 0.85);
  text-transform: uppercase;
  transition: color 0.3s;
}

.about-links a {
  font-size: 16px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text-light); }

/* ── Hamburger Menu ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
}

.hamburger span + span {
  margin-top: 6px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 58, 92, 0.97);
  backdrop-filter: blur(20px);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.open {
  display: flex;
  opacity: 1;
}

.mobile-overlay a {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 16px 0;
  transition: color 0.3s;
}

.mobile-overlay a:hover,
.mobile-overlay a.active {
  color: var(--white);
}

.mobile-overlay .nav-contact {
  margin-top: 24px;
  padding: 12px 36px;
  border: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 2px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.nav { padding: 16px 24px; }
	.nav-links { display: none; }
	.hamburger { display: flex; }
	.hero { padding: 100px 24px 60px; }
	.hero h1 { font-size: 36px; letter-spacing: 8px; }
	.hero-tagline { font-size: 28px; }
	.page-header { padding: 120px 24px 60px; }
	.page-header h1 { font-size: 32px; }
	.section-dark, .section-light, .section-white { padding: 60px 24px; }
	.two-col { grid-template-columns: 1fr; gap: 32px; }
	.card-grid { grid-template-columns: 1fr; }
	.process-steps { grid-template-columns: 1fr 1fr; }
	.team-grid { grid-template-columns: 1fr; }
	.image-break { height: 200px; background-attachment: scroll; }

	.footer-links{
		display: block;
	}

	.footer-links li{
		display: block;
	}

	#navSearch{
		display: none;
	}

	.footer {
		padding: 40px 10px;
	}
  
}