/* ============================================
   AERO NODE - MINIMALIST DESIGN SYSTEM
   Modern, Clean, Professional Renovation Design
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2d2d2d;
  background-color: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style-position: inside;
}

/* ============================================
   TYPOGRAPHY - MINIMALIST STYLE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 16px;
  color: #4a4a4a;
}

strong {
  font-weight: 600;
  color: #2C5F7D;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

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

/* ============================================
   HEADER & NAVIGATION - MINIMALIST
   ============================================ */

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 32px;
}

.logo img {
  height: 45px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo:hover img {
  opacity: 0.8;
}

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

.nav-menu li a {
  font-size: 15px;
  font-weight: 500;
  color: #2d2d2d;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #2C5F7D;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2C5F7D;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* ============================================
   MOBILE MENU - MINIMALIST SLIDE-IN
   ============================================ */

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #2C5F7D;
  cursor: pointer;
  padding: 8px;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: #E8B963;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
}

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

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #2C5F7D;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: #E8B963;
}

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

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: #2d2d2d;
  padding: 12px 0;
  border-bottom: 1px solid #f4f4f2;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #2C5F7D;
}

/* ============================================
   BUTTONS - MINIMALIST STYLE
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: #2C5F7D;
  color: #ffffff;
  border-color: #2C5F7D;
}

.btn-primary:hover {
  background-color: #ffffff;
  color: #2C5F7D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 95, 125, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #2C5F7D;
  border-color: #2C5F7D;
}

.btn-secondary:hover {
  background-color: #2C5F7D;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 95, 125, 0.2);
}

/* ============================================
   HERO SECTIONS - MINIMALIST
   ============================================ */

.hero {
  background-color: #F4F4F2;
  padding: 80px 24px;
  margin-bottom: 60px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 24px;
  color: #1a1a1a;
}

.hero p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #4a4a4a;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}

.trust-indicators span {
  font-size: 14px;
  font-weight: 500;
  color: #2C5F7D;
  white-space: nowrap;
}

.hero-404 {
  background-color: #F4F4F2;
  padding: 100px 24px;
  text-align: center;
  margin-bottom: 60px;
}

.error-code {
  font-size: 120px;
  color: #E8B963;
  margin-bottom: 24px;
  line-height: 1;
}

.hero-thankyou {
  background-color: #F4F4F2;
  padding: 100px 24px;
  text-align: center;
  margin-bottom: 60px;
}

.checkmark {
  width: 80px;
  height: 80px;
  background-color: #2C5F7D;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 32px;
  animation: scaleIn 0.5s ease;
}

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

/* ============================================
   SECTIONS - CONSISTENT SPACING
   ============================================ */

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

section h2 {
  text-align: center;
  margin-bottom: 48px;
  color: #1a1a1a;
}

section > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 17px;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   FEATURE CARDS - FLEXBOX LAYOUT
   ============================================ */

.features {
  background-color: #ffffff;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.feature-card {
  flex: 1 1 250px;
  max-width: 280px;
  padding: 32px;
  background-color: #F4F4F2;
  border-radius: 2px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
  color: #2C5F7D;
  margin-bottom: 16px;
  font-size: 20px;
}

.feature-card p {
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* ============================================
   SERVICES - FLEXBOX GRID
   ============================================ */

.services-preview {
  background-color: #F4F4F2;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.service-card {
  flex: 1 1 260px;
  max-width: 280px;
  padding: 32px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.service-card:hover {
  border-color: #2C5F7D;
  box-shadow: 0 8px 24px rgba(44, 95, 125, 0.12);
  transform: translateY(-4px);
}

.service-card h3 {
  color: #1a1a1a;
  margin-bottom: 16px;
  font-size: 19px;
}

.service-card p {
  font-size: 15px;
  color: #E8B963;
  font-weight: 600;
}

/* ============================================
   SERVICES DETAILED PAGE
   ============================================ */

.services-detailed {
  background-color: #ffffff;
}

.service-detail {
  max-width: 800px;
  margin: 0 auto 48px;
  padding: 32px;
  background-color: #F4F4F2;
  border-left: 4px solid #2C5F7D;
  border-radius: 2px;
}

.service-detail h3 {
  color: #1a1a1a;
  margin-bottom: 16px;
  font-size: 22px;
}

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

.service-detail ul {
  margin-bottom: 20px;
  padding-left: 0;
}

.service-detail li {
  margin-bottom: 8px;
  color: #4a4a4a;
  font-size: 15px;
}

.service-detail .price {
  font-size: 20px;
  font-weight: 700;
  color: #2C5F7D;
  margin-bottom: 8px;
}

.service-detail .duration {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.advantages {
  background-color: #F4F4F2;
  text-align: center;
}

.advantages ul {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  padding-left: 0;
}

.advantages li {
  margin-bottom: 16px;
  font-size: 16px;
  color: #4a4a4a;
  padding-left: 28px;
  position: relative;
}

.advantages li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2C5F7D;
  font-weight: bold;
}

/* ============================================
   TESTIMONIALS - HIGH CONTRAST FOR READABILITY
   ============================================ */

.testimonials {
  background-color: #F4F4F2;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
}

.testimonial-card {
  flex: 1 1 400px;
  max-width: 550px;
  padding: 32px;
  background-color: #ffffff;
  border-left: 4px solid #E8B963;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #2d2d2d;
  font-style: italic;
}

.testimonial-card cite {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2C5F7D;
  font-style: normal;
  margin-top: 16px;
}

.rating {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #2C5F7D;
}

/* ============================================
   STATISTICS - FLEXBOX LAYOUT
   ============================================ */

.stats {
  background-color: #2C5F7D;
  color: #ffffff;
  text-align: center;
}

.stats h2 {
  color: #ffffff;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
}

.stat {
  flex: 1 1 200px;
  max-width: 250px;
  margin-bottom: 20px;
}

.stat h3 {
  font-size: 48px;
  color: #E8B963;
  margin-bottom: 8px;
}

.stat p {
  font-size: 16px;
  color: #ffffff;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
}

.stats-row .stat {
  font-size: 18px;
  font-weight: 600;
  color: #2C5F7D;
}

/* ============================================
   PROJECTS & PORTFOLIO - FLEXBOX GRID
   ============================================ */

.projects {
  background-color: #ffffff;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.project-card {
  flex: 1 1 450px;
  max-width: 550px;
  padding: 32px;
  background-color: #F4F4F2;
  border-radius: 2px;
  border-top: 4px solid #2C5F7D;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.project-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.project-card h3 {
  color: #1a1a1a;
  margin-bottom: 16px;
  font-size: 20px;
}

.project-card p {
  margin-bottom: 16px;
  color: #4a4a4a;
}

.project-details {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-top: 16px;
}

/* ============================================
   BLOG & ARTICLES - FLEXBOX LAYOUT
   ============================================ */

.featured-article {
  background-color: #F4F4F2;
  margin-bottom: 60px;
}

.article-feature {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.article-feature h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.article-feature p {
  font-size: 17px;
  margin-bottom: 16px;
}

.article-feature .meta {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.articles {
  background-color: #ffffff;
}

.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.article-card {
  flex: 1 1 320px;
  max-width: 360px;
  padding: 32px;
  background-color: #F4F4F2;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.article-card h3 {
  color: #1a1a1a;
  margin-bottom: 12px;
  font-size: 19px;
}

.article-card p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #4a4a4a;
}

.article-card .meta {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-methods {
  background-color: #ffffff;
}

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

.contact-method {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 32px;
  background-color: #F4F4F2;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 20px;
}

.contact-method h3 {
  color: #2C5F7D;
  margin-bottom: 16px;
}

.contact-method p {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-method a {
  color: #2C5F7D;
  font-weight: 600;
}

.contact-method a:hover {
  color: #E8B963;
}

.contact-info-section {
  background-color: #F4F4F2;
}

.info-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.info-block {
  flex: 1 1 320px;
  max-width: 450px;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 20px;
}

.info-block h3 {
  color: #2C5F7D;
  margin-bottom: 16px;
}

.trust-signals {
  background-color: #ffffff;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.trust-item {
  flex: 1 1 220px;
  max-width: 260px;
  padding: 24px;
  background-color: #F4F4F2;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 20px;
}

.trust-item p {
  font-size: 16px;
  font-weight: 600;
  color: #2C5F7D;
  margin: 0;
}

/* ============================================
   404 PAGE
   ============================================ */

.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.link-card {
  flex: 1 1 240px;
  max-width: 280px;
  padding: 32px;
  background-color: #F4F4F2;
  border-radius: 2px;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.link-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.link-card h3 {
  color: #2C5F7D;
  margin-bottom: 12px;
  font-size: 20px;
}

.link-card p {
  margin-bottom: 20px;
  font-size: 15px;
}

.help-section {
  background-color: #F4F4F2;
  text-align: center;
}

.help-section a {
  color: #2C5F7D;
  font-weight: 600;
}

.help-section a:hover {
  color: #E8B963;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.next-steps {
  background-color: #ffffff;
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.step {
  flex: 1 1 240px;
  max-width: 280px;
  padding: 32px;
  background-color: #F4F4F2;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 20px;
}

.step h3 {
  color: #2C5F7D;
  margin-bottom: 12px;
  font-size: 20px;
}

.step p {
  font-size: 15px;
  color: #4a4a4a;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  padding: 24px;
  background-color: #F4F4F2;
  border-left: 4px solid #2C5F7D;
  border-radius: 2px;
}

.step-item h3 {
  color: #2C5F7D;
  margin-bottom: 8px;
  font-size: 19px;
}

.resources {
  background-color: #F4F4F2;
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.resource-card {
  flex: 1 1 280px;
  max-width: 350px;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 20px;
}

.resource-card h3 {
  color: #1a1a1a;
  margin-bottom: 12px;
}

.resource-card p {
  margin-bottom: 20px;
}

.social-proof {
  background-color: #ffffff;
  text-align: center;
}

.explore {
  background-color: #F4F4F2;
  text-align: center;
}

.explore-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.story {
  background-color: #ffffff;
}

.story p {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: 17px;
  line-height: 1.8;
}

.values {
  background-color: #F4F4F2;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.value-card {
  flex: 1 1 240px;
  max-width: 280px;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 20px;
}

.value-card h3 {
  color: #2C5F7D;
  margin-bottom: 12px;
  font-size: 20px;
}

.value-card p {
  font-size: 15px;
  color: #4a4a4a;
}

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

.legal-content {
  background-color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px;
}

.legal-content h2 {
  color: #2C5F7D;
  margin-top: 40px;
  margin-bottom: 16px;
  text-align: left;
  font-size: 24px;
}

.legal-content p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
}

.legal-content ul {
  margin-bottom: 24px;
  padding-left: 0;
}

.legal-content li {
  margin-bottom: 12px;
  color: #4a4a4a;
  font-size: 16px;
}

.legal-content strong {
  color: #2C5F7D;
}

.cta-simple {
  background-color: #F4F4F2;
  text-align: center;
  padding: 60px 24px;
}

.cta-simple p {
  font-size: 18px;
  margin-bottom: 24px;
}

/* ============================================
   CTA BANNERS - MINIMALIST
   ============================================ */

.cta-banner {
  background-color: #2C5F7D;
  color: #ffffff;
  text-align: center;
  padding: 80px 24px;
  margin-bottom: 0;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner a {
  color: #E8B963;
  font-weight: 600;
}

.cta-banner a:hover {
  color: #ffffff;
}

.cta-banner .btn-primary {
  background-color: #E8B963;
  border-color: #E8B963;
  color: #1a1a1a;
}

.cta-banner .btn-primary:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #2C5F7D;
}

/* ============================================
   FOOTER - MINIMALIST
   ============================================ */

footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 24px 32px;
}

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

.footer-section {
  flex: 1 1 250px;
  max-width: 350px;
}

.footer-section h3 {
  color: #E8B963;
  margin-bottom: 16px;
  font-size: 18px;
}

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

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #cccccc;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #E8B963;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-legal {
  border-top: 1px solid #333;
  padding-top: 32px;
  text-align: center;
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 16px;
}

.footer-legal li {
  margin: 0;
}

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

.footer-legal a:hover {
  color: #E8B963;
}

.footer-legal p {
  color: #999;
  font-size: 14px;
  margin: 0;
}

/* ============================================
   COOKIE CONSENT BANNER - MINIMALIST
   ============================================ */

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease;
}

#cookie-banner.active {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-text {
  flex: 1 1 400px;
}

.cookie-text p {
  font-size: 15px;
  margin: 0;
  color: #cccccc;
}

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

.cookie-buttons button {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#accept-cookies {
  background-color: #2C5F7D;
  color: #ffffff;
}

#accept-cookies:hover {
  background-color: #E8B963;
  color: #1a1a1a;
}

#reject-cookies {
  background-color: transparent;
  color: #cccccc;
  border: 1px solid #cccccc;
}

#reject-cookies:hover {
  background-color: #cccccc;
  color: #1a1a1a;
}

#cookie-settings {
  background-color: transparent;
  color: #E8B963;
  border: 1px solid #E8B963;
}

#cookie-settings:hover {
  background-color: #E8B963;
  color: #1a1a1a;
}

/* ============================================
   COOKIE PREFERENCES MODAL
   ============================================ */

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

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

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #2C5F7D;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #E8B963;
}

.modal-content h2 {
  color: #2C5F7D;
  margin-bottom: 24px;
  font-size: 26px;
  text-align: left;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background-color: #F4F4F2;
  border-radius: 2px;
}

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

.cookie-category p {
  font-size: 15px;
  color: #4a4a4a;
  margin-bottom: 12px;
}

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

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

.cookie-toggle label {
  font-size: 15px;
  color: #2d2d2d;
  cursor: pointer;
}

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

.modal-buttons button {
  flex: 1 1 140px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#save-preferences {
  background-color: #2C5F7D;
  color: #ffffff;
}

#save-preferences:hover {
  background-color: #E8B963;
  color: #1a1a1a;
}

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

@media (max-width: 768px) {
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  /* Navigation - show mobile menu */
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hero sections */
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 16px;
  }
  
  .error-code {
    font-size: 80px;
  }
  
  /* Sections */
  section {
    padding: 32px 20px;
    margin-bottom: 40px;
  }
  
  /* Grids - stack on mobile */
  .features-grid,
  .services-grid,
  .testimonials-grid,
  .stats-grid,
  .project-grid,
  .articles-grid,
  .contact-grid,
  .info-blocks,
  .trust-grid,
  .quick-links-grid,
  .steps-grid,
  .resources-grid,
  .values-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card,
  .service-card,
  .testimonial-card,
  .stat,
  .project-card,
  .article-card,
  .contact-method,
  .info-block,
  .trust-item,
  .link-card,
  .step,
  .resource-card,
  .value-card {
    max-width: 100%;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    max-width: 100%;
  }
  
  .footer-legal ul {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
  
  /* Modal adjustments */
  .modal-content {
    padding: 32px 24px;
  }
  
  .modal-buttons {
    flex-direction: column;
  }
  
  .modal-buttons button {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .container {
    padding: 0 32px;
  }
  
  h1 {
    font-size: 40px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .feature-card,
  .service-card {
    flex: 1 1 calc(50% - 16px);
  }
  
  .project-card,
  .article-card {
    flex: 1 1 calc(50% - 16px);
  }
}

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

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

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

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

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

.fade-in {
  animation: fadeIn 0.6s ease;
}

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

@media print {
  header,
  footer,
  .mobile-menu,
  .mobile-menu-toggle,
  #cookie-banner,
  #cookie-modal,
  .cta-banner,
  .btn {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
}