/* ===================================
   CRIMSON COIN - MONOCHROME SOPHISTICATED DESIGN
   CSS Reset & Base Styles
   =================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 16px;
}

h1 {
  font-size: 48px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 24px;
}

p {
  font-size: 16px;
  line-height: 1.8;
  color: #2c2c2c;
  margin-bottom: 16px;
}

a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* ===================================
   CONTAINER & LAYOUT
   =================================== */

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

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
}

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

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #2c2c2c;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #000000;
  border-bottom-color: #000000;
}

/* ===================================
   MOBILE MENU
   =================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1001;
  background-color: #000000;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #2c2c2c;
  transform: scale(1.05);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: #000000;
  z-index: 1000;
  padding: 80px 32px 32px;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
  opacity: 0.7;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: #cccccc;
  padding-left: 8px;
}

/* ===================================
   HERO SECTIONS
   =================================== */

.hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 60px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.01) 10px,
    rgba(0, 0, 0, 0.01) 20px
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 24px;
  color: #000000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.subheadline {
  font-size: 20px;
  color: #4a4a4a;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-subheadline {
  font-size: 18px;
  color: #666666;
  margin-bottom: 40px;
  text-align: center;
}

/* ===================================
   BUTTONS
   =================================== */

.btn-primary,
.btn-secondary,
.btn-link {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #000000;
  text-align: center;
}

.btn-primary {
  background-color: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #2c2c2c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #000000;
}

.btn-secondary:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-link {
  background: transparent;
  color: #000000;
  border: none;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 2px solid #000000;
  border-radius: 0;
}

.btn-link:hover {
  border-bottom-color: #666666;
  color: #666666;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ===================================
   CARDS & GRIDS (FLEXBOX ONLY)
   =================================== */

.service-grid,
.benefits-grid,
.testimonial-grid,
.philosophy-grid,
.values-grid,
.types-grid,
.steps-grid,
.pricing-grid,
.case-study-card,
.category-grid,
.post-grid,
.contact-grid,
.stats-grid,
.suggestions-grid,
.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 40px;
}

.service-card,
.benefit-item,
.testimonial-card,
.philosophy-item,
.value-card,
.type-card,
.step-item,
.pricing-card,
.case-study-card,
.category-card,
.post-card,
.contact-card,
.stat-item,
.suggestion-card,
.link-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 32px;
  flex: 1 1 300px;
  min-width: 280px;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.service-card:hover,
.value-card:hover,
.type-card:hover,
.post-card:hover,
.suggestion-card:hover,
.link-card:hover {
  border-color: #000000;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card h3,
.value-card h3,
.type-card h3,
.post-card h3 {
  margin-bottom: 16px;
  color: #000000;
}

.service-card p,
.value-card p,
.post-card p {
  color: #4a4a4a;
  margin-bottom: 16px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin: 24px 0 16px;
  font-family: 'Playfair Display', serif;
}

/* ===================================
   SERVICE DETAIL CARDS
   =================================== */

.service-detail-card {
  background-color: #fafafa;
  border-left: 4px solid #000000;
  padding: 40px;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  background-color: #f5f5f5;
  border-left-width: 8px;
}

.service-detail-card h2 {
  margin-bottom: 16px;
}

.service-detail-card p {
  margin-bottom: 16px;
}

.service-detail-card .price {
  font-size: 28px;
  margin: 24px 0;
}

/* ===================================
   TESTIMONIALS & REVIEWS
   =================================== */

.testimonials {
  background-color: #f9f9f9;
  padding: 60px 20px;
  margin-bottom: 60px;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid #d0d0d0;
  padding: 32px;
  font-style: italic;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card::before {
  content: '"';
  font-size: 72px;
  line-height: 1;
  position: absolute;
  top: 16px;
  left: 16px;
  color: #e0e0e0;
  font-family: 'Playfair Display', serif;
}

.testimonial-card p {
  color: #1a1a1a;
  position: relative;
  z-index: 1;
  padding-left: 24px;
}

.client-name {
  font-style: normal;
  font-weight: 700;
  color: #000000;
  margin-top: 16px;
  padding-left: 24px;
}

/* ===================================
   BENEFITS & FEATURES
   =================================== */

.benefit-item,
.philosophy-item,
.feature-item {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.benefit-item img,
.philosophy-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.2);
}

.benefit-item p,
.philosophy-item p {
  font-size: 16px;
  color: #2c2c2c;
  font-weight: 600;
}

/* ===================================
   STATS & METRICS
   =================================== */

.stat-item {
  text-align: center;
  padding: 32px;
  background-color: #fafafa;
  border: 2px solid #e0e0e0;
}

.stat-item h3 {
  font-size: 48px;
  color: #000000;
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-item p {
  font-size: 16px;
  color: #4a4a4a;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
   BLOG & CATEGORIES
   =================================== */

.category-tag,
.category-card {
  background-color: #000000;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
}

.category-tag:hover,
.category-card:hover {
  background-color: #2c2c2c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category {
  display: inline-block;
  background-color: #f0f0f0;
  color: #000000;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 16px;
  font-weight: 700;
}

/* ===================================
   LISTS
   =================================== */

.results-list,
.metrics-list,
.popular-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.results-list li,
.metrics-list li,
.popular-list li {
  padding: 16px 16px 16px 48px;
  margin-bottom: 12px;
  background-color: #fafafa;
  border-left: 3px solid #000000;
  position: relative;
  color: #2c2c2c;
  transition: all 0.3s ease;
}

.results-list li:hover,
.metrics-list li:hover,
.popular-list li:hover {
  background-color: #f0f0f0;
  border-left-width: 6px;
  padding-left: 52px;
}

.results-list li::before,
.metrics-list li::before,
.popular-list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: #000000;
  font-weight: 700;
  font-size: 18px;
}

/* ===================================
   TEXT-IMAGE SECTIONS
   =================================== */

.text-image-section,
.content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.text-image-section > *,
.content-grid > * {
  flex: 1 1 300px;
}

/* ===================================
   CONTACT & FORMS
   =================================== */

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.contact-card {
  flex: 1 1 280px;
  min-width: 250px;
  padding: 32px;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
}

.contact-card h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #000000;
}

.address,
.hours,
.note {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
}

.form-placeholder {
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  padding: 40px;
  margin-top: 32px;
}

.form-placeholder p {
  margin-bottom: 24px;
  color: #2c2c2c;
  font-weight: 600;
}

/* ===================================
   LOCATION & CTA SECTIONS
   =================================== */

.location,
.location-about,
.location-map,
.cta,
.cta-final {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
  margin-bottom: 60px;
}

.cta h2,
.cta-final h2 {
  font-size: 40px;
  margin-bottom: 16px;
  color: #000000;
}

.urgency {
  margin-top: 24px;
  font-size: 14px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 20px 32px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  color: #cccccc;
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #cccccc;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.copyright {
  text-align: center;
  color: #999999;
  font-size: 14px;
  padding-top: 32px;
  border-top: 1px solid #333333;
  margin-top: 40px;
}

/* ===================================
   LEGAL PAGES
   =================================== */

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #000000;
}

.legal-content h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #2c2c2c;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #4a4a4a;
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  color: #ffffff;
  padding: 24px;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-text {
  flex: 1 1 400px;
  font-size: 14px;
  color: #cccccc;
}

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

.cookie-btn {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.cookie-accept {
  background-color: #ffffff;
  color: #000000;
}

.cookie-accept:hover {
  background-color: #f0f0f0;
}

.cookie-reject {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.cookie-reject:hover {
  background-color: #2c2c2c;
}

.cookie-settings {
  background-color: transparent;
  color: #cccccc;
  border: 1px solid #666666;
}

.cookie-settings:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Cookie Settings Modal */
#cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background-color: #ffffff;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #666666;
  line-height: 1;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  color: #000000;
  transform: rotate(90deg);
}

.cookie-category {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.cookie-category h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #000000;
}

.cookie-category p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 48px;
  height: 24px;
  cursor: pointer;
}

.cookie-toggle input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  
  .hero h1 { font-size: 36px; }
  .subheadline { font-size: 16px; }
  
  /* Navigation */
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .mobile-menu { display: block; }
  
  /* Sections */
  section { padding: 32px 16px; margin-bottom: 40px; }
  .hero { padding: 60px 16px; }
  
  /* Grids */
  .service-grid,
  .benefits-grid,
  .testimonial-grid,
  .philosophy-grid,
  .values-grid,
  .types-grid,
  .steps-grid,
  .pricing-grid,
  .category-grid,
  .post-grid,
  .contact-grid,
  .stats-grid,
  .suggestions-grid,
  .links-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  /* Cards */
  .service-card,
  .benefit-item,
  .testimonial-card,
  .philosophy-item,
  .value-card,
  .type-card,
  .step-item,
  .pricing-card,
  .contact-card,
  .stat-item,
  .suggestion-card,
  .link-card {
    flex: 1 1 100%;
    min-width: 100%;
    padding: 24px;
  }
  
  .service-detail-card {
    padding: 24px;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }
  
  /* Text-Image Sections */
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Cookie Banner */
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal-content {
    padding: 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  h1 { font-size: 40px; }
  .hero h1 { font-size: 48px; }
  
  .service-card,
  .value-card,
  .type-card,
  .post-card {
    flex: 1 1 calc(50% - 12px);
    min-width: calc(50% - 12px);
  }
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.hero,
.service-card,
.testimonial-card,
.stat-item {
  animation: fadeIn 0.6s ease forwards;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }

/* ===================================
   ACCESSIBILITY
   =================================== */

*:focus {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  #cookie-banner,
  #cookie-modal {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000000;
  }
  
  a {
    text-decoration: underline;
  }
}