:root {
  --slate: #2f4f6f;
  --dark-slate: #1e3a5f;
  --cool-gray: #6b7b8d;
  --light-gray: #e8edf2;
  --lime: #a8e10c;
  --cobalt: #0047ab;
  --white: #ffffff;
  --black: #0a0e14;
  --font-main: 'Inter', sans-serif;
  --font-head: 'Exo 2', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header */
.site-header {
  background: var(--dark-slate);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}

.brand-logo img {
  border-radius: 8px;
  object-fit: cover;
}

.accent-txt {
  color: var(--lime);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 20, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-family: var(--font-head);
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--light-gray);
}

.btn-primary {
  display: inline-block;
  background: var(--lime);
  color: var(--dark-slate);
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--cobalt);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 71, 171, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--cobalt);
  border: 2px solid var(--cobalt);
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

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

/* Sections */
section {
  padding: 80px 0;
}

h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--dark-slate);
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-family: var(--font-head);
  color: var(--dark-slate);
  margin-bottom: 12px;
}

/* Services */
.featured-services {
  background: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--lime);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--cobalt);
  margin-bottom: 16px;
}

/* About preview */
.about-preview {
  background: var(--white);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.col-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.col-text p {
  margin-bottom: 16px;
  color: var(--cool-gray);
}

/* Stats */
.stats-block {
  background: var(--dark-slate);
  color: var(--white);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--lime);
}

.stat-label {
  color: var(--light-gray);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testi-card {
  background: var(--light-gray);
  padding: 28px;
  border-radius: 10px;
  border-left: 4px solid var(--cobalt);
}

.testi-card cite {
  display: block;
  margin-top: 16px;
  color: var(--cool-gray);
  font-style: normal;
  font-weight: 500;
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-slate), var(--cobalt));
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  margin-bottom: 24px;
  color: var(--light-gray);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--light-gray);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--lime);
  font-family: var(--font-head);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col address {
  font-style: normal;
  line-height: 1.8;
}

.footer-col a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-slate);
  color: var(--white);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  min-width: 280px;
  font-size: 0.95rem;
}

.cookie-content a {
  color: var(--lime);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.btn-cookie.accept {
  background: var(--lime);
  color: var(--dark-slate);
}

.btn-cookie.accept:hover {
  background: var(--cobalt);
  color: var(--white);
}

.btn-cookie.customize {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-cookie.customize:hover {
  background: rgba(255,255,255,0.1);
}

.btn-cookie.decline {
  background: transparent;
  color: var(--cool-gray);
  border: 1px solid var(--cool-gray);
}

.btn-cookie.decline:hover {
  background: rgba(255,255,255,0.05);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
  color: var(--black);
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--cool-gray);
}

.cookie-option {
  margin: 16px 0;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* Page hero */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: var(--white);
}

.page-hero .hero-content {
  max-width: 700px;
}

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

/* About page */
.company-story {
  background: var(--white);
}

.company-story p {
  color: var(--cool-gray);
  margin-bottom: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card p:first-of-type {
  color: var(--cobalt);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card p:last-of-type {
  color: var(--cool-gray);
  font-size: 0.9rem;
}

.values {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 24px;
}

.value-item i {
  font-size: 2.5rem;
  color: var(--lime);
  margin-bottom: 16px;
  background: var(--dark-slate);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

.value-item p {
  color: var(--cool-gray);
}

/* Blog */
.blog-posts {
  background: var(--white);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.post-body {
  padding: 24px;
}

.post-body h3 {
  font-size: 1.2rem;
  line-height: 1.4;
}

.post-body h3 a {
  color: var(--dark-slate);
  text-decoration: none;
}

.post-body h3 a:hover {
  color: var(--cobalt);
}

.post-meta {
  color: var(--cool-gray);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.post-body p {
  color: var(--cool-gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.read-more {
  color: var(--cobalt);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.read-more i {
  transition: transform 0.3s;
}

.read-more:hover i {
  transform: translateX(4px);
}

/* Blog post */
.blog-post {
  background: var(--white);
}

.post-article {
  max-width: 900px;
  margin: 0 auto;
}

.post-hero-img {
  margin-bottom: 32px;
}

.post-hero-img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.post-article h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--dark-slate);
  margin-bottom: 16px;
}

.post-content h2 {
  text-align: left;
  font-size: 1.5rem;
  margin: 32px 0 16px;
  color: var(--cobalt);
}

.post-content p {
  color: var(--cool-gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Contact */
.contact-section {
  background: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--cobalt);
  margin-top: 4px;
}

.info-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.info-item p,
.info-item a {
  color: var(--cool-gray);
  text-decoration: none;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s;
  background: var(--light-gray);
}

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

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.checkbox-group input {
  width: auto;
}

/* Success modal */
.success-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}

.success-modal.show {
  display: flex;
}

.success-modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  position: relative;
}

.success-modal-content i {
  font-size: 4rem;
  color: var(--lime);
  margin-bottom: 16px;
}

.success-modal-content h3 {
  color: var(--dark-slate);
  margin-bottom: 12px;
}

.close-success {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--cool-gray);
}

/* Legal pages */
.legal-page {
  background: var(--white);
  padding: 80px 0;
}

.legal-page .container {
  max-width: 900px;
}

.legal-page h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--dark-slate);
  margin-bottom: 32px;
}

.legal-page h2 {
  text-align: left;
  font-size: 1.3rem;
  margin: 24px 0 12px;
  color: var(--cobalt);
}

.legal-page p {
  color: var(--cool-gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Pagination */
.pagination {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--dark-slate);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  z-index: 500;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-slate);
    padding: 20px;
    gap: 16px;
  }

  .main-nav ul.show {
    display: flex;
  }

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

  .services-grid,
  .stats-grid,
  .values-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

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

  .posts-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

/* Parallax */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
  }
}

h1, h2, h3, h4, h5, h6 {word-break: break-word;}
