:root {
  --primary: #1a3c4a;
  --primary-light: #2a5c6e;
  --accent: #c8923a;
  --accent-light: #e0aa50;
  --bg: #fafafa;
  --bg-alt: #f2f5f6;
  --bg-dark: #0f2a34;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #f0f4f5;
  --border: #dce3e5;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(26, 60, 74, 0.08);
}

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

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text-dark); background: var(--bg); line-height: 1.6; font-size: 16px; }

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

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

/* Navbar */
.navbar { background: #fff; 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: 64px; }
.navbar .logo { font-size: 1.25rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.navbar .logo:hover { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-mid); padding: 4px 0; border-bottom: 2px solid transparent; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--accent); }
.nav-cta { margin-left: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }
#menu-toggle { display: none; }
#menu-toggle:checked ~ .nav-links { display: flex; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 16px 24px; gap: 12px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-links a { width: 100%; }
  .nav-cta { margin-left: 0; margin-top: 4px; }
}

/* Buttons */
.btn { display: inline-block; padding: 10px 28px; font-size: 0.9rem; font-weight: 600; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: 0.25s; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--bg-alt); }

/* Hero */
.page-hero { background: var(--primary); color: var(--text-light); padding: 60px 0 50px; text-align: center; }
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 640px; margin: 0 auto; }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 1.75rem; color: var(--primary); margin-bottom: 12px; text-align: center; }
.section-sub { font-size: 1rem; color: var(--text-mid); text-align: center; max-width: 680px; margin: 0 auto 48px; }

/* Hero (home) */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%); color: var(--text-light); padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::after { 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"); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.8rem; line-height: 1.2; max-width: 700px; }
.hero p { font-size: 1.15rem; opacity: 0.85; max-width: 600px; margin: 18px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat-tile { background: rgba(255,255,255,0.07); border-radius: var(--radius); padding: 22px 20px; text-align: center; backdrop-filter: blur(4px); }
.stat-tile .num { font-size: 1.8rem; font-weight: 700; color: var(--accent); display: block; }
.stat-tile .label { font-size: 0.85rem; opacity: 0.75; margin-top: 4px; }

@media (max-width: 768px) {
  .hero { padding: 64px 0 50px; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
}

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; transition: 0.25s; }
.service-card:hover { box-shadow: var(--shadow); border-color: var(--accent); transform: translateY(-3px); }
.service-card .icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.55; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* About strip */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-strip h2 { font-size: 1.75rem; color: var(--primary); margin-bottom: 16px; }
.about-strip p { color: var(--text-mid); margin-bottom: 14px; }
.about-strip .visual { text-align: center; font-size: 8rem; opacity: 0.25; line-height: 1; color: var(--primary); }

@media (max-width: 768px) {
  .about-strip { grid-template-columns: 1fr; gap: 24px; }
  .about-strip .visual { font-size: 5rem; }
}

/* Credentials strip */
.credentials { background: var(--primary); color: var(--text-light); text-align: center; padding: 36px 0; }
.credentials p { font-size: 0.95rem; opacity: 0.8; }
.credentials strong { color: var(--accent); }

/* Testimonials strip */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; }
.testimonial-card .quote { font-size: 0.92rem; color: var(--text-mid); font-style: italic; margin-bottom: 14px; }
.testimonial-card .author { font-weight: 600; color: var(--primary); font-size: 0.85rem; }

@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* CTA strip */
.cta-strip { background: var(--accent); color: #fff; text-align: center; padding: 56px 0; }
.cta-strip h2 { font-size: 1.6rem; margin-bottom: 10px; }
.cta-strip p { opacity: 0.9; margin-bottom: 24px; font-size: 1rem; }

/* Content pages */
.content-page { padding: 50px 0 70px; }
.content-page h2 { font-size: 1.4rem; color: var(--primary); margin: 32px 0 12px; }
.content-page h3 { font-size: 1.1rem; color: var(--primary); margin: 24px 0 8px; }
.content-page p { color: var(--text-mid); margin-bottom: 14px; max-width: 780px; }
.content-page ul { color: var(--text-mid); margin: 0 0 18px 24px; }
.content-page ul li { margin-bottom: 6px; }

/* Footer */
.footer { background: var(--bg-dark); color: var(--text-light); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--accent); }
.footer-col p, .footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-col a:hover { color: var(--accent-light); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
