:root {
  --ocean-blue: #0a4b7a;
  --ocean-blue-light: #1a6da3;
  --ocean-blue-dark: #062d4a;
  --white: #ffffff;
  --sand: #e8d5b7;
  --sand-dark: #d4bd9a;
  --stone: #a89070;
  --text-dark: #1a1a2e;
  --text-muted: #555;
  --bg-light: #f7f5f1;
  --bg-dark: #0f1a2e;
  --shadow: 0 2px 20px rgba(10, 75, 122, 0.1);
  --radius: 8px;
  --transition: 0.3s ease;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(10, 75, 122, 0.08);
  z-index: 1000;
  height: 72px;
}

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

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ocean-blue);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--ocean-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ocean-blue);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--ocean-blue);
}

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

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

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--ocean-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  line-height: 1;
}

.btn-primary {
  background: var(--ocean-blue);
  color: var(--white);
  border-color: var(--ocean-blue);
}

.btn-primary:hover {
  background: var(--ocean-blue-light);
  border-color: var(--ocean-blue-light);
}

.btn-outline {
  background: transparent;
  color: var(--ocean-blue);
  border-color: var(--ocean-blue);
}

.btn-outline:hover {
  background: var(--ocean-blue);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--ocean-blue);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--ocean-blue);
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--ocean-blue-dark) 0%, var(--ocean-blue) 50%, var(--ocean-blue-light) 100%);
  color: var(--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.03'%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.4;
}

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

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

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--sand);
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

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

/* Stats */
.stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sand);
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 0;
  margin-top: 4px;
}

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

.section-light {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 52px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ocean-blue-dark);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(10, 75, 122, 0.06);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(10, 75, 122, 0.12);
}

.service-card .icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ocean-blue-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Trust strip */
.trust-strip {
  background: var(--ocean-blue);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}

.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--sand);
  flex-shrink: 0;
}

/* Page header (inner pages) */
.page-header {
  padding: 130px 0 56px;
  background: linear-gradient(135deg, var(--ocean-blue-dark), var(--ocean-blue));
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.85;
  font-size: 1.1rem;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  background: var(--bg-light);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-image svg {
  width: 200px;
  height: 200px;
  fill: var(--stone);
  opacity: 0.3;
}

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ocean-blue-dark);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 14px;
}

.value-item .v-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

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

/* Contact page */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

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

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail .cd-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 75, 122, 0.06);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--ocean-blue-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde1e6;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(10, 75, 122, 0.08);
}

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

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean-blue-dark);
  margin-top: 40px;
  margin-bottom: 12px;
}

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

.legal-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

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

.legal-content ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--ocean-blue);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--ocean-blue-light);
}

.legal-content .legal-date {
  margin-top: 40px;
  color: var(--text-muted);
  opacity: 0.7;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col p,
.footer-col li {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--sand);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.84rem;
  opacity: 0.6;
}

/* Section CTA */
.section-cta {
  text-align: center;
  padding: 60px 0;
  background: var(--ocean-blue);
  color: var(--white);
}

.section-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-cta p {
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(10, 75, 122, 0.08);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    align-items: stretch;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-links .btn {
    text-align: center;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }

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

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

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

  .stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .section-title h2 {
    font-size: 1.6rem;
  }

  .services-grid,
  .services-list {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    height: 220px;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

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

  .page-header h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 24px;
  }

  .trust-strip .container {
    gap: 24px;
    flex-direction: column;
  }
}
