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

:root {
  --color-cream: #f5f1ed;
  --color-navy: #1a2332;
  --color-charcoal: #2d3748;
  --color-gray: #4a5568;
  --color-light-gray: #cbd5e0;
  --color-accent: #3182ce;
  --color-white: #ffffff;

  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-max: 1280px;
  --section-padding: 120px;
  --gap-sm: 16px;
  --gap-md: 32px;
  --gap-lg: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
}

header {
  background-color: var(--color-cream);
  border-bottom: 1px solid rgba(26, 35, 50, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: rgba(245, 241, 237, 0.95);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.3s ease;
}

.site-name:hover {
  opacity: 0.7;
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-gray);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-navy);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-navy);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--color-navy);
  transition: all 0.3s ease;
}

.hero {
  background-color: var(--color-cream);
  padding: 160px 0 120px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  margin-bottom: 32px;
  line-height: 1.1;
  color: var(--color-navy);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin-bottom: 48px;
  color: var(--color-gray);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background-color: var(--color-cream);
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--color-gray);
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-cream);
  border-color: var(--color-navy);
}

.btn-primary:hover {
  background-color: var(--color-charcoal);
  border-color: var(--color-charcoal);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.features {
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
}

.features h2 {
  text-align: center;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 80px;
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
}

.feature-card {
  padding: 0;
  background-color: transparent;
  transition: all 0.3s ease;
}

.feature-icon {
  color: var(--color-navy);
  margin-bottom: 24px;
  opacity: 0.8;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

.content-section {
  padding: var(--section-padding) 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.content-grid:last-child {
  margin-bottom: 0;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.content-text p {
  color: var(--color-gray);
  margin-bottom: 24px;
  line-height: 1.7;
}

.content-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-light-gray);
}

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(26, 35, 50, 0.1);
  color: var(--color-gray);
  line-height: 1.7;
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list li strong {
  color: var(--color-navy);
  font-weight: 600;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-top: 80px;
}

.stat-card {
  text-align: center;
  padding: 48px 24px;
  background-color: var(--color-white);
  border-radius: 12px;
}

.stat-card h3 {
  font-size: 4rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.stat-card p {
  color: var(--color-gray);
  font-size: 1.125rem;
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.team-card {
  background-color: var(--color-white);
  border: 1px solid rgba(26, 35, 50, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26, 35, 50, 0.08);
}

.team-image {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background-color: var(--color-light-gray);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 32px;
}

.team-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.team-role {
  color: var(--color-gray);
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 15px;
}

.team-bio {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

.team-more {
  text-align: center;
  padding: 48px 32px;
  background-color: var(--color-white);
  border-radius: 12px;
  font-style: italic;
  color: var(--color-gray);
  border: 1px solid rgba(26, 35, 50, 0.08);
}

.services-grid {
  display: grid;
  gap: 80px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background-color: transparent;
  transition: all 0.3s ease;
}

.service-card:nth-child(even) {
  direction: rtl;
}

.service-card:nth-child(even) > * {
  direction: ltr;
}

.service-image {
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-light-gray);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 0;
}

.service-content h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.service-content > p {
  color: var(--color-gray);
  margin-bottom: 32px;
  line-height: 1.7;
  font-size: 1.125rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  color: var(--color-gray);
  line-height: 1.7;
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-navy);
  font-weight: 600;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--color-gray);
  margin-bottom: 48px;
  line-height: 1.7;
  font-size: 1.125rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item p {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-item a {
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--color-navy);
}

.contact-form-wrapper {
  background-color: var(--color-white);
  padding: 48px;
  border-radius: 12px;
  border: 1px solid rgba(26, 35, 50, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
  font-size: 15px;
}

.required {
  color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px;
  border: 1px solid rgba(26, 35, 50, 0.15);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: var(--color-cream);
  color: var(--color-navy);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  background-color: var(--color-white);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
  width: 18px;
  height: 18px;
}

.checkbox-label span {
  color: var(--color-gray);
  line-height: 1.6;
  font-size: 15px;
}

.checkbox-label a {
  color: var(--color-navy);
  text-decoration: underline;
}

.form-message {
  padding: 16px 24px;
  border-radius: 8px;
  display: none;
  margin-top: 16px;
  font-size: 15px;
}

.form-message.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.form-message.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.legal-content {
  background-color: var(--color-cream);
}

.legal-document {
  max-width: 900px;
  margin: 0 auto;
}

.legal-document h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 64px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.legal-document h2:first-child {
  margin-top: 0;
}

.legal-document p {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.legal-document ul {
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-left: 32px;
}

.legal-document a {
  color: var(--color-navy);
  text-decoration: underline;
}

.legal-document a:hover {
  opacity: 0.7;
}

.cta-section {
  background-color: var(--color-navy);
  color: var(--color-cream);
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--color-cream);
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 48px;
  color: rgba(245, 241, 237, 0.8);
}

.cta-section .btn-primary {
  background-color: var(--color-cream);
  color: var(--color-navy);
  border-color: var(--color-cream);
}

.cta-section .btn-primary:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
}

footer {
  background-color: var(--color-navy);
  color: var(--color-cream);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 64px;
  margin-bottom: 64px;
}

.footer-section h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--color-cream);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: rgba(245, 241, 237, 0.7);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(245, 241, 237, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-cream);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 237, 0.15);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(245, 241, 237, 0.6);
  font-size: 14px;
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .container {
    padding: 0 32px;
  }

  .content-grid,
  .contact-wrapper,
  .service-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .content-grid.reverse,
  .service-card:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .container {
    padding: 0 24px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-cream);
    padding: 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(26, 35, 50, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a.active::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 80px;
  }

  .page-hero {
    padding: 100px 0 60px;
  }

  .features h2,
  .cta-content h2 {
    font-size: 2rem;
    margin-bottom: 48px;
  }

  .features-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .stat-card h3 {
    font-size: 3rem;
  }

  .content-grid {
    margin-bottom: 80px;
  }

  .content-image,
  .service-image {
    height: 320px;
  }

  .team-image {
    height: 280px;
  }

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

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

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

  .stats-section {
    grid-template-columns: 1fr;
  }

  .footer-content {
    gap: 40px;
  }
}
