:root {
  --primary: #1B4965;
  --primary-dark: #0D2B3E;
  --accent: #C4965B;
  --accent-dark: #A67B3E;
  --bg: #FFFFFF;
  --bg-alt: #F5F1EB;
  --text-dark: #1A1A2E;
  --text-light: #5A6573;
  --text-muted: #8A95A5;
  --border: #E5DDD4;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(27, 73, 101, 0.08);
  --radius: 8px;
  --max-width: 1140px;
  --font-base: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

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

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

/* --- Navbar --- */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.navbar .logo span { color: var(--accent); }

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

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 4px 0;
  position: relative;
}

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

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

.nav-links a.active { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.25s;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 780px;
  margin: 0 auto 18px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat .label {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 4px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-align: center;
}

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

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

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

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

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

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

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

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 40px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

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

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

.about-strip h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--primary); margin-bottom: 16px; }

.about-strip p { color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }

.about-strip .visual {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.about-strip .visual .big-icon { font-size: 3.5rem; margin-bottom: 16px; }

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

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

.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.925rem;
}

.trust-strip .trust-item .badge {
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.testimonial-card .stars { color: var(--accent); font-size: 1rem; margin-bottom: 10px; }

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.925rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
}

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

.cta-strip h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 12px; }

.cta-strip p { opacity: 0.8; margin-bottom: 24px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* --- Page Hero Band --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 60px 0 48px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }

.page-hero p { opacity: 0.8; max-width: 540px; margin: 8px auto 0; }

/* --- Content --- */
.content { padding: 56px 0; }

.content h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

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

.content h3 { font-size: 1.1rem; color: var(--primary); margin-top: 24px; margin-bottom: 8px; }

.content p { color: var(--text-light); line-height: 1.75; margin-bottom: 14px; }

.content ul, .content ol { padding-left: 24px; color: var(--text-light); margin-bottom: 14px; }
.content li { margin-bottom: 6px; line-height: 1.65; }

.content strong { color: var(--text-dark); }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { font-size: 1.4rem; color: var(--primary); margin-bottom: 16px; }

.contact-info p { color: var(--text-light); margin-bottom: 8px; line-height: 1.7; }

.contact-info .detail { margin-top: 20px; }

.contact-info .detail strong { display: block; color: var(--primary); margin-bottom: 2px; }

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

.contact-form-wrap h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 16px; }

.contact-form-wrap p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }

.contact-form-wrap .btn { display: inline-block; }

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 52px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
}

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

.footer p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 8px; }

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }

.footer ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer .legal-note { font-size: 0.8rem; opacity: 0.5; margin-top: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.45);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 12px;
    box-shadow: var(--shadow);
  }

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

  .hamburger { display: block; }

  .hero-stats { gap: 28px; }
  .hero-stat .num { font-size: 1.6rem; }

  .about-strip { grid-template-columns: 1fr; gap: 28px; }

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

  .testimonials { grid-template-columns: 1fr; }

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

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

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

  .trust-strip .trust-items { flex-direction: column; align-items: center; gap: 16px; }
}
