:root {
  --forest-dark: #0A0F0B;
  --moss-black: #0F1A13;
  --shadow-green: #1A2420;
  --earth-pine: #223529;
  --woodland-slate: #3F5A45;
  --accent-lime: #A3E635;
  --soft-leaf: #F0FDF4;
  --card-shadow: 0 8px 24px rgba(10, 15, 11, 0.6);
  --card-shadow-hover: 0 12px 32px rgba(163, 230, 53, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --font-heading: 'Chivo', sans-serif;
  --font-body: 'Karla', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--forest-dark);
  color: var(--soft-leaf);
  line-height: 1.7;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--soft-leaf);
}

h1 {
  font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.75rem);
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--accent-lime);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--soft-leaf);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--forest-dark);
  padding: 1.5rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(15, 26, 19, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(10, 15, 11, 0.6);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--soft-leaf);
  letter-spacing: -0.01em;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-lime);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--soft-leaf);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-lime);
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--accent-lime);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--moss-black);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 16px rgba(10, 15, 11, 0.8);
  }
  
  .nav.active {
    right: 0;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--moss-black) 100%);
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(45deg, var(--shadow-green) 25%, transparent 25%, transparent 75%, var(--shadow-green) 75%, var(--shadow-green)),
                    linear-gradient(45deg, var(--shadow-green) 25%, transparent 25%, transparent 75%, var(--shadow-green) 75%, var(--shadow-green));
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  opacity: 0.03;
}

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

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(10, 15, 11, 0.8);
}

.hero h1 .accent {
  color: var(--accent-lime);
  display: block;
  text-shadow: 0 0 20px rgba(163, 230, 53, 0.3);
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--soft-leaf);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent-lime);
  color: var(--forest-dark);
  box-shadow: 0 4px 16px rgba(163, 230, 53, 0.3);
}

.btn-primary:hover {
  background: var(--soft-leaf);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(163, 230, 53, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--accent-lime);
  border: 2px solid var(--accent-lime);
  box-shadow: 0 0 20px rgba(163, 230, 53, 0.2);
}

.btn-outline:hover {
  background: var(--accent-lime);
  color: var(--forest-dark);
  box-shadow: 0 0 30px rgba(163, 230, 53, 0.4);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
  position: relative;
}

.section-dark {
  background: var(--moss-black);
}

.section-shadow {
  background: var(--shadow-green);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-lime);
  box-shadow: 0 0 12px rgba(163, 230, 53, 0.5);
}

.section-header p {
  color: rgba(240, 253, 244, 0.8);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

.card {
  background: var(--shadow-green);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(163, 230, 53, 0.1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(163, 230, 53, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  color: var(--accent-lime);
  filter: drop-shadow(0 4px 8px rgba(163, 230, 53, 0.3));
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--soft-leaf);
}

.card p {
  color: rgba(240, 253, 244, 0.85);
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--earth-pine);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  border-left: 4px solid var(--accent-lime);
}

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

.service-card .icon {
  width: 48px;
  height: 48px;
  color: var(--accent-lime);
}

.service-card h3 {
  color: var(--accent-lime);
  margin-bottom: 0.5rem;
}

.service-card .price {
  color: var(--soft-leaf);
  font-weight: 600;
  font-size: 1.125rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(163, 230, 53, 0.2);
}

.pricing-card {
  background: var(--shadow-green);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.pricing-card:hover {
  border-color: var(--accent-lime);
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(163, 230, 53, 0.2);
}

.pricing-card.featured {
  border-color: var(--accent-lime);
  background: var(--earth-pine);
  transform: scale(1.05);
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--accent-lime);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--soft-leaf);
  margin-bottom: 1.5rem;
}

.pricing-card .price span {
  font-size: 1rem;
  color: rgba(240, 253, 244, 0.6);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(163, 230, 53, 0.1);
  color: rgba(240, 253, 244, 0.9);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--accent-lime);
  font-weight: 700;
  font-size: 1.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.portfolio-item {
  background: var(--shadow-green);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  padding: 0;
  margin-bottom: var(--space-md);
}

.portfolio-item.fade-up.visible {
  padding: 0;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
}

.portfolio-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.portfolio-overlay {
  padding: 1.5rem;
}

.portfolio-overlay h3 {
  margin-bottom: 0.75rem;
  color: var(--accent-lime);
}

.portfolio-overlay p {
  margin-bottom: 0.5rem;
  color: rgba(240, 253, 244, 0.9);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .portfolio-overlay {
    padding: 1.25rem;
  }
  
  .portfolio-overlay h3 {
    font-size: 1.25rem;
  }
  
  .portfolio-overlay p {
    font-size: 0.9rem;
  }
}

@media (max-width: 320px) {
  .portfolio-overlay {
    padding: 1rem;
  }
  
  .portfolio-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .portfolio-overlay p {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  margin-bottom: 0.75rem;
  color: var(--accent-lime);
}

.portfolio-content .location {
  color: rgba(240, 253, 244, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--soft-leaf);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: var(--shadow-green);
  border: 2px solid rgba(163, 230, 53, 0.2);
  border-radius: var(--radius-sm);
  color: var(--soft-leaf);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-lime);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 253, 244, 0.5);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}

.footer {
  background: var(--forest-dark);
  padding: var(--space-md) 0 1.5rem;
  border-top: 1px solid rgba(163, 230, 53, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 0 var(--space-md);
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--accent-lime);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(240, 253, 244, 0.8);
  font-size: 0.95rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(163, 230, 53, 0.1);
  color: rgba(240, 253, 244, 0.6);
  font-size: 0.9rem;
}

.contact-form {
  width: 100%;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(240, 253, 244, 0.9);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

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

@media (max-width: 320px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.content-wrapper h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-lime);
}

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

.content-wrapper p {
  margin-bottom: 1rem;
  color: rgba(240, 253, 244, 0.9);
  line-height: 1.8;
}

.content-wrapper strong {
  color: var(--soft-leaf);
  font-weight: 600;
}

.content-wrapper a {
  color: var(--accent-lime);
  text-decoration: underline;
}

.content-wrapper a:hover {
  color: var(--soft-leaf);
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 1.5rem;
  }
  
  .content-wrapper h2 {
    margin-top: 2rem;
    font-size: 1.75rem;
  }
  
  .content-wrapper p {
    font-size: 1rem;
  }
  
  div[style*="max-width: 900px"],
  div[style*="max-width: 1000px"] {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
}

@media (max-width: 320px) {
  .content-wrapper {
    padding: 0 1rem;
  }
  
  .content-wrapper h2 {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .content-wrapper p {
    font-size: 0.9rem;
    margin-bottom: 0.875rem;
    line-height: 1.6;
  }
  
  div[style*="max-width: 900px"],
  div[style*="max-width: 1000px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--moss-black);
  padding: 1.5rem;
  box-shadow: 0 -4px 16px rgba(10, 15, 11, 0.8);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 2px solid var(--accent-lime);
}

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

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

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-md: 1.5rem;
  }
  
  .header {
    padding: 1rem 0;
  }
  
  .header-container {
    padding: 0 1.5rem;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .hero {
    padding: 6rem 1.5rem 3rem;
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-bg-dark,
  .section-bg-darker {
    padding: 2.5rem 0 !important;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-grid > * {
    margin-bottom: 1.5rem;
  }
  
  .card-grid > *:last-child {
    margin-bottom: 0;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-item {
    margin-bottom: 1.5rem;
  }
  
  .portfolio-item:last-child {
    margin-bottom: 0;
  }
  
  .section > .container > * {
    margin-bottom: 2rem;
  }
  
  .section > .container > *:last-child {
    margin-bottom: 0;
  }
  
  .section > .container > .card-grid,
  .section > .container > .portfolio-grid,
  .section > .container > .pricing-grid {
    margin-bottom: 2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  
  .footer-bottom {
    padding: 0 1.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons .btn {
    width: 100%;
  }
  
  .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn-primary {
    margin-right: 0;
  }
  
  .section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.875rem;
  }
  
  [style*="grid-template-columns: repeat(auto-fit, minmax(300px"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  [style*="font-size: 1.5rem"] {
    font-size: 1.25rem !important;
  }
  
  [style*="font-size: 1.25rem"] {
    font-size: 1.1rem !important;
  }
  
  [style*="font-size: 1.125rem"] {
    font-size: 1rem !important;
  }
  
  [style*="margin-top: 2rem"] {
    margin-top: 1.5rem !important;
  }
  
  [style*="margin-bottom: 2rem"] {
    margin-bottom: 1.5rem !important;
  }
  
  [style*="margin: 2.5rem"] {
    margin: 1.5rem auto !important;
  }
  
  div[style*="max-width: 900px"],
  div[style*="max-width: 1000px"] {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  
  div[style*="font-size: 3rem"] {
    font-size: 2.25rem !important;
  }
  
  p[style*="font-size: 1.125rem"] {
    font-size: 1rem !important;
  }
  
  .footer {
    padding: 1.5rem 0 1rem !important;
  }
  
  .footer-content {
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .footer-bottom {
    padding-top: 1rem !important;
  }
}

@media (max-width: 320px) {
  :root {
    --space-lg: 2rem;
    --space-md: 1rem;
  }
  
  .header {
    padding: 0.75rem 0;
  }
  
  .header-container {
    padding: 0 1rem;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .hero {
    padding: 5rem 1rem 2rem;
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-bg-dark,
  .section-bg-darker {
    padding: 1.5rem 0 !important;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  
  .card h3 {
    font-size: 1.25rem;
  }
  
  .card p {
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .footer-bottom {
    padding: 0 1rem;
  }
  
  .footer-section h4 {
    font-size: 1rem;
  }
  
  .footer-section a {
    font-size: 0.85rem;
  }
  
  .footer-section p {
    font-size: 0.85rem;
  }
  
  .portfolio-item {
    margin-bottom: 1rem;
    padding: 0;
  }
  
  .portfolio-item img {
    width: 100%;
    height: auto;
  }
  
  .card-grid > *,
  .portfolio-grid > * {
    margin-bottom: 1rem;
  }
  
  .card-grid > *:last-child,
  .portfolio-grid > *:last-child {
    margin-bottom: 0;
  }
  
  .section > .container > * {
    margin-bottom: 1.5rem;
  }
  
  .section > .container > *:last-child {
    margin-bottom: 0;
  }
  
  .section > .container > .card-grid,
  .section > .container > .portfolio-grid,
  .section > .container > .pricing-grid {
    margin-bottom: 1.5rem;
  }
  
  .pricing-card {
    padding: 1rem;
  }
  
  .pricing-card h3 {
    font-size: 1.5rem;
  }
  
  .pricing-card .price {
    font-size: 2rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  [style*="grid-template-columns: repeat(auto-fit, minmax(300px"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  [style*="font-size: 3rem"] {
    font-size: 2rem !important;
  }
  
  [style*="font-size: 1.5rem"] {
    font-size: 1.1rem !important;
  }
  
  [style*="font-size: 1.25rem"] {
    font-size: 1rem !important;
  }
  
  [style*="font-size: 1.125rem"] {
    font-size: 0.9rem !important;
  }
  
  [style*="margin-top: 2rem"] {
    margin-top: 1rem !important;
  }
  
  [style*="margin-bottom: 2rem"] {
    margin-bottom: 1rem !important;
  }
  
  [style*="margin: 2.5rem"] {
    margin: 1rem auto !important;
  }
  
  [style*="margin-bottom: 1.5rem"] {
    margin-bottom: 1rem !important;
  }
  
  div[style*="max-width: 900px"],
  div[style*="max-width: 1000px"] {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }
  
  [style*="gap: 3rem"] {
    gap: 1rem !important;
  }
  
  .footer {
    padding: 1rem 0 0.75rem !important;
  }
  
  .footer-content {
    gap: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  .footer-bottom {
    padding-top: 0.75rem !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }
  
  .footer-section p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  
  .card[style*="margin-top: 2rem"] {
    margin-top: 1rem !important;
  }
  
  .card h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  textarea {
    min-height: 120px !important;
  }
  
  .form-checkbox label {
    font-size: 0.8rem !important;
  }
  
  .section-bg-dark,
  .section-bg-darker {
    padding: 1.5rem 0 !important;
  }
  
  div[style*="font-size: 3rem"] {
    font-size: 1.75rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  p[style*="font-size: 1.125rem"] {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  
  h2[style*="margin-bottom: 1.5rem"] {
    margin-bottom: 1rem !important;
  }
  
  p[style*="margin-bottom: 2rem"] {
    margin-bottom: 1rem !important;
  }
  
  p[style*="margin-bottom: 1.5rem"] {
    margin-bottom: 1rem !important;
  }
  
  p[style*="margin-bottom: 0.5rem"] {
    margin-bottom: 0.4rem !important;
  }
  
  p[style*="margin-top: 1rem"] {
    margin-top: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  .section-bg-dark,
  .section-bg-darker {
    padding: 2rem 0 !important;
  }
  
  div[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  div[style*="max-width: 900px"],
  div[style*="max-width: 1000px"] {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--moss-black);
  padding: 2rem;
}

.error-content {
  text-align: center;
  max-width: 600px;
}

.error-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  color: var(--accent-lime);
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

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

.error-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1rem;
  color: var(--accent-lime);
}

