:root {
  --primary: #0f3b5e;
  --primary-light: #1a5a8a;
  --primary-dark: #0a2538;
  --accent: #e87a2f;
  --accent-light: #f09a55;
  --accent-dark: #c4621a;
  --secondary: #2a9d8f;
  --secondary-light: #3fb8a8;
  --bg: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #0f3b5e;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: 0 2px 12px rgba(15, 59, 94, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 59, 94, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  -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; }

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

/* Navbar */
.navbar {
  background: var(--bg-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 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}
.navbar .logo:hover { color: var(--primary); }
.navbar .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--bg); }
.nav-links a.active { color: var(--primary); background: #eef2f7; font-weight: 600; }
.nav-links .btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-links .btn-nav:hover { background: var(--primary-light); color: white !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,122,47,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 550px;
  opacity: 0.9;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: white; }
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--text-light); color: var(--text-light); }
.btn-dark {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-dark:hover { background: var(--primary-light); border-color: var(--primary-light); color: white; }

/* Section */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-white); }
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Hero Band */
.page-hero {
  background: var(--primary);
  color: var(--text-light);
  padding: 60px 0 52px;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; }

/* Content section */
.content-section { padding: 70px 0; }
.content-section h2 { color: var(--primary); font-size: 1.6rem; margin-bottom: 16px; }
.content-section h3 { color: var(--primary-light); font-size: 1.2rem; margin: 24px 0 10px; }
.content-section p { margin-bottom: 16px; color: var(--text-dark); line-height: 1.7; }
.content-section ul { margin: 0 0 16px 24px; }
.content-section li { margin-bottom: 8px; line-height: 1.6; }
.content-section .legal-date { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.service-card .learn-more {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card .learn-more:hover { color: var(--accent-dark); }

/* About strip */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-strip h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.about-strip p { color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.about-strip .about-visual {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  font-size: 3.5rem;
  line-height: 1.2;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-strip .about-visual span { display: block; font-size: 1rem; font-weight: 500; margin-top: 12px; opacity: 0.85; }

/* Credentials strip */
.credentials {
  background: var(--primary);
  color: var(--text-light);
  padding: 40px 0;
  text-align: center;
}
.credentials .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.credentials .cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.credentials .cred-item strong { font-weight: 700; }
.credentials .cred-badge {
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: white;
  padding: 60px 0;
  text-align: center;
}
.cta-strip h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.cta-strip p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-outline { border-color: rgba(255,255,255,0.5); }
.cta-strip .btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 20px; }
.contact-info .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-info .info-row .ci-icon {
  width: 44px;
  height: 44px;
  background: #eef2f7;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info .info-row .ci-label { font-weight: 600; color: var(--text-dark); }
.contact-info .info-row .ci-value { color: var(--text-muted); font-size: 0.92rem; }
.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 20px; }
.contact-form-card .form-group { margin-bottom: 18px; }
.contact-form-card label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border var(--transition);
}
.contact-form-card input:focus,
.contact-form-card textarea:focus { outline: none; border-color: var(--primary); }
.contact-form-card textarea { resize: vertical; min-height: 110px; }
.contact-form-card .btn { width: 100%; justify-content: center; }

/* 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 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 8px; }
.footer-col .footer-logo { font-size: 1.2rem; font-weight: 700; color: white; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-contact { font-size: 0.9rem; line-height: 1.8; }
.footer-contact strong { color: white; font-weight: 600; }
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-links .btn-nav { text-align: center; }

  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .services-grid { grid-template-columns: 1fr; }
  .about-strip { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .page-hero { padding: 44px 0 36px; }
  .page-hero h1 { font-size: 1.7rem; }
  .credentials .container { gap: 20px; }
  .section-header h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
