:root {
  --primary: #1a2a4a;
  --primary-light: #2c4a7c;
  --accent: #c8952e;
  --accent-light: #e8c16a;
  --bg: #ffffff;
  --bg-alt: #f8f6f3;
  --text-dark: #1a1a2e;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

/* === 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: 72px;
}

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

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

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

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

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background var(--transition);
}

.nav-cta:hover {
  background: #b07d20;
}

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

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

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-primary:hover {
  background: #b07d20;
  border-color: #b07d20;
}

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

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

/* === Hero === */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

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

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

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

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-icon {
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

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

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

.section-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

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

.about-strip h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

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

.about-strip-icon {
  font-size: 8rem;
  text-align: center;
  opacity: 0.7;
}

/* === Credentials strip === */
.credentials {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0;
}

.credentials .container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.cred-item {
  text-align: center;
}

.cred-item .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.cred-item .value {
  font-size: 1.05rem;
  font-weight: 600;
}

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

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

.cta-strip p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-strip .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

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

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

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

/* === Page hero === */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 64px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.page-hero p {
  opacity: 0.85;
  font-size: 1.05rem;
}

/* === Content sections (inner pages) === */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 32px;
}

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

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

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

.content-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-light);
}

.content-section ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* === Contact form === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-detail .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-detail .label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-detail .val {
  font-weight: 500;
  color: var(--text-dark);
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 20px;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

/* === Footer === */
.footer {
  background: #0f1b30;
  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;
  margin-bottom: 40px;
}

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

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
  transition: color var(--transition);
}

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

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

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

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

  .hamburger {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

  .about-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-strip-icon {
    font-size: 4rem;
  }

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

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

  .credentials .container {
    gap: 32px;
  }

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

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

  .cta-strip h2 {
    font-size: 1.6rem;
  }

  .navbar .logo {
    font-size: 1rem;
  }
}
