/* MKTSEO Premium CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: #181818;
  --border-color: rgba(212, 175, 55, 0.15);
  --border-focus: rgba(212, 175, 55, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #707070;
  --gold: #d4af37;
  --gold-hover: #f3e5ab;
  --gold-light: rgba(212, 175, 55, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1120px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--gold);
}

/* Layout Utilities */
.container {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--bg-primary);
}

.section-light {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-gold {
  background: linear-gradient(135deg, var(--gold), #b59228);
  color: var(--bg-primary);
}

.section-gold h2, .section-gold h3, .section-gold p {
  color: var(--bg-primary);
}

/* Header / Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

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

.nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-secondary:hover {
  background-color: var(--gold);
  color: var(--bg-primary);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.btn-dark {
  background-color: var(--bg-primary);
  color: var(--gold);
  border-color: var(--bg-primary);
}

.btn-dark:hover {
  background-color: #1a1a1a;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08), transparent 50%);
}

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

.hero-tag {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-cta-wrapper {
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contrast Card */
.contrast-card {
  background: linear-gradient(135deg, #161200, #221b00);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
}

.contrast-title {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 0.5rem;
}

.contrast-list {
  list-style: none;
  margin-bottom: 2rem;
}

.contrast-list li {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
}

.contrast-list-red li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: bold;
}

.contrast-list-green li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* Stats Section */
.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 20px;
}

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

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--border-focus);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.15), 0 8px 16px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-link {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Page Header */
.page-header {
  padding: 160px 0 60px;
  background: radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.05), transparent 60%);
  border-bottom: 1px solid var(--border-color);
}

.page-header-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-meta {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* Split Content Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.split-image img {
  width: 100%;
  display: block;
}

.content-block {
  font-size: 1.05rem;
}

.content-block h3 {
  margin-top: 2rem;
  color: var(--gold);
}

.content-block p {
  margin-bottom: 1.5rem;
}

/* Comparison list */
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.compare-col {
  background-color: var(--bg-card);
  border-left: 3px solid var(--gold);
  padding: 2rem;
  border-radius: 4px;
}

.compare-col h4 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Steps Section */
.step-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.step-card {
  text-align: center;
  padding: 2rem;
}

.step-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

/* Accordion FAQ */
.faq-section {
  margin-top: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 1.25rem;
}

.faq-item summary {
  list-style: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact/CTA Section */
.cta-banner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

/* Form Styles */
.contact-form {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 40px auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  outline: none;
}

/* Footer */
.site-footer {
  background-color: #050505;
  border-top: 1px solid var(--border-color);
  padding: 60px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Burger Menu */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* Responsive Grid / Media Queries */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content .btn {
    width: 100%;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: 3rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    left: 0;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    padding: 0;
    list-style: none;
  }

  .footer-links li {
    text-align: center;
  }


  /* Hamburger transition to X */
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Responsive stats-bar vertical separators and gaps */
  .stats-bar div[style*="width:1px"],
  .stats-bar div[style*="width: 1px"] {
    display: none !important;
  }

  .stats-bar .container > div {
    gap: 24px !important;
    justify-content: center !important;
  }

  /* Form padding adjustments on mobile */
  .contact-form {
    padding: 1.75rem;
  }

  /* Adjust section padding for mobile screens */
  .section {
    padding: 50px 0;
  }

  /* Mobile navigation button adjustments */
  .nav-menu .btn {
    margin-left: 0 !important;
    width: 100%;
    margin-top: 1rem;
  }
}

/* Audit Carousel Styles */
.audit-carousel-container {
  position: relative;
  max-width: 900px;
  margin: 2.5rem auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.audit-carousel-slides {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audit-slide {
  display: none;
  width: 100%;
  text-align: center;
  animation: fadeEffect 0.6s ease-in-out;
}

.audit-slide.active {
  display: block;
}

@keyframes fadeEffect {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.audit-image {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: contain;
  margin: 0 auto 1.5rem auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.audit-caption {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.5rem 2rem 0.5rem 2rem;
  line-height: 1.6;
}

.audit-caption strong {
  color: var(--gold);
  font-weight: 600;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--border-color);
  color: var(--gold);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.carousel-control:hover {
  background: var(--gold);
  color: var(--bg-primary);
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.carousel-control.prev {
  left: 15px;
}

.carousel-control.next {
  right: 15px;
}

/* Dots */
.carousel-dots {
  text-align: center;
  padding: 1rem 0 0.5rem 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  background-color: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background-color: var(--gold);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .audit-carousel-container {
    padding: 1rem 0.5rem;
    margin: 1.5rem auto;
  }
  .audit-carousel-slides {
    min-height: 200px;
  }
  .audit-image {
    max-height: 300px;
    margin-bottom: 1rem;
  }
  .audit-caption {
    padding: 0.5rem 0.5rem;
    font-size: 0.85rem;
  }
  .carousel-control {
    width: 35px;
    height: 35px;
    top: 40%;
  }
  .carousel-control.prev {
    left: 5px;
  }
  .carousel-control.next {
    right: 5px;
  }
}

/* Audit Example Grid */
.audit-example-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.audit-carousel-column {
  width: 100%;
}

.audit-description-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.audit-feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem;
  border-radius: 6px;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.audit-feature-item:hover, .audit-feature-item.active {
  background-color: var(--bg-card);
  border-color: var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.audit-feature-item.active .audit-feature-num {
  color: var(--gold);
}

.audit-feature-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  line-height: 1;
}

.audit-feature-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  transition: var(--transition);
  color: var(--text-primary);
  text-align: left;
}

.audit-feature-item:hover h3, .audit-feature-item.active h3 {
  color: var(--gold);
}

.audit-feature-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 992px) {
  .audit-example-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Custom Interactive Animations & Micro-Movements */

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay classes for grids */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Micro-movements on Custom Service Grid Cards */
section.section-dark .grid-3 > div,
.step-card {
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background-color 0.3s ease !important;
}

section.section-dark .grid-3 > div:hover {
  border-color: var(--gold) !important;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.15), 0 8px 16px rgba(0, 0, 0, 0.5);
}

.step-card:hover {
  transform: translateY(-6px);
  background-color: rgba(255, 255, 255, 0.02);
}

/* Contact Grid & Map Styling */
.contact-grid-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto 0;
  align-items: stretch;
}

.contact-grid-wrapper .contact-form {
  margin: 0;
  max-width: 100%;
}

.contact-map {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  min-height: 450px;
  background-color: var(--bg-card);
  transition: var(--transition);
}

.contact-map:hover {
  border-color: var(--border-focus);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .contact-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-map {
    min-height: 350px;
  }
}



