:root {
  --primary: #1E3A5F;
  --primary-dark: #14283F;
  --primary-light: #2C5282;
  --accent: #C17F3B;
  --accent-light: #D49A5A;
  --accent-dark: #9E6530;
  --bg: #FFFFFF;
  --bg-alt: #F4F1EE;
  --bg-dark: #1E3A5F;
  --text-dark: #1E3A5F;
  --text-body: #4A5568;
  --text-light: #718096;
  --text-white: #FFFFFF;
  --border: #D4CDC5;
  --border-light: #E8E3DE;
  --shadow: 0 2px 8px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 8px 24px rgba(30, 58, 95, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container: 1140px;
  --nav-height: 68px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--primary);
}

.nav-logo svg {
  color: var(--accent);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a:not(.btn) {
  display: block;
  padding: 8px 16px;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}

.nav-links li a:not(.btn):hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.nav-links li a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border-color: var(--text-white);
}

.btn-outline:hover {
  background: var(--text-white);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: calc(var(--nav-height) + 80px) 0 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-white);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 80px 0;
}

.bg-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* Value Props */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.prop-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}

.prop-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.prop-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

.prop-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.prop-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent-light);
}

.service-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* About Strip */
.about-strip {
  position: relative;
}

.about-strip-content {
  max-width: 720px;
}

.about-strip-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-strip-text p {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-strip-text .btn {
  margin-top: 12px;
}

.about-strip-text .btn-outline {
  color: var(--primary);
  border-color: var(--primary);
}

.about-strip-text .btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}

/* Credentials Strip */
.credentials {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}

.credentials-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.credential-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cred-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cred-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.cta-content .btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-light);
}

.footer-col ul li span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
}

.footer-credentials {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Page Hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--primary);
  color: var(--text-white);
}

.page-hero-content {
  max-width: 680px;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* Content Page (legal, about) */
.content-page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-page ul {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.content-page ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.content-list {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.content-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Legal Content */
.legal-content p {
  font-size: 0.95rem;
}

.legal-content a {
  color: var(--accent);
  font-weight: 500;
}

.legal-content a:hover {
  color: var(--accent-dark);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-size: 1rem;
  color: var(--text-body);
}

.contact-detail a:hover {
  color: var(--accent);
}

.contact-form-wrapper {
  background: var(--bg-alt);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.contact-form-wrapper h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-form-wrapper p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Process Steps */
.process-section {
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links li a:not(.btn) {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: calc(var(--nav-height) + 48px) 0 64px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .props-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .prop-card {
    padding: 28px 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-strip-text h2 {
    font-size: 1.5rem;
  }

  .credentials-strip {
    gap: 24px;
  }

  .credential-item {
    width: calc(50% - 12px);
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content .btn-lg {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-col:first-child {
    grid-column: span 2;
  }

  .page-hero {
    padding: calc(var(--nav-height) + 40px) 0 40px;
  }

  .page-hero h1 {
    font-size: 1.7rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
    padding: 20px;
  }

  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .content-page h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-col:first-child {
    grid-column: span 1;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}