@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #F9F9F6;
  --color-bg-alt: #F0EDE8;
  --color-primary: #4A7A5E;
  --color-primary-dark: #3D6650;
  --color-secondary: #C27B57;
  --color-secondary-light: #D4936F;
  --color-text: #222222;
  --color-text-light: #555555;
  --color-white: #FFFFFF;
  --color-border: #E0DDD8;
  --color-overlay: rgba(34, 34, 34, 0.85);
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  
  --size-xs: 0.75rem;
  --size-sm: 0.875rem;
  --size-base: 1rem;
  --size-md: 1.125rem;
  --size-lg: 1.5rem;
  --size-xl: 2rem;
  --size-2xl: 2.5rem;
  --size-3xl: 3rem;
  
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 50%;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --max-width: 75rem;
  --header-height: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: var(--size-2xl); }
h2 { font-size: var(--size-xl); }
h3 { font-size: var(--size-lg); }
h4 { font-size: var(--size-md); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  position: fixed;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--size-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--color-primary);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-desktop a {
  font-size: var(--size-sm);
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-primary);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 9999;
  background: var(--color-bg);
  border-radius: 4px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  transform-origin: center;
}

.burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 20rem;
  height: 100vh;
  background: var(--color-bg);
  padding: var(--space-3xl) var(--space-xl);
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-base);
  z-index: 1001;
  overflow-y: auto;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-mobile-close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--color-text);
}

.nav-mobile-close span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-mobile-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.nav-mobile a {
  display: block;
  font-size: var(--size-md);
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.nav-mobile a:hover {
  color: var(--color-primary);
  padding-left: var(--space-sm);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-overlay);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(74, 122, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.hero-text {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--size-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: var(--size-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-desc {
  font-size: var(--size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  max-width: 32rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-image {
  position: relative;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  right: calc(var(--space-md) * -1);
  bottom: calc(var(--space-md) * -1);
  background: var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--size-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-secondary-light);
  color: var(--color-white);
  transform: translateY(-2px);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--color-text-light);
  font-size: var(--size-sm);
}

.features-grid {
  display: grid;
  gap: var(--space-md);
}

.feature-card {
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--size-lg);
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: var(--size-base);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: var(--size-sm);
  color: var(--color-text-light);
}

.comparison-section {
  background: var(--color-bg-alt);
}

.comparison-slider {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-wrapper {
  position: relative;
  aspect-ratio: 16/10;
}

.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-img.after {
  clip-path: inset(0 50% 0 0);
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--color-white);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
}

.comparison-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.comparison-handle::after {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--size-md);
  color: var(--color-primary);
}

.comparison-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-md);
}

.comparison-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--size-sm);
  font-weight: 500;
}

.comparison-label span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
}

.comparison-label.worn span {
  background: var(--color-secondary);
}

.comparison-label.restored span {
  background: var(--color-primary);
}

.steps-section {
  background: var(--color-white);
}

.steps-grid {
  display: grid;
  gap: var(--space-lg);
}

.step-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-primary);
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateX(4px);
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--size-lg);
  font-weight: 700;
  border-radius: var(--radius-full);
}

.step-content h3 {
  font-size: var(--size-base);
  margin-bottom: var(--space-xs);
}

.step-content p {
  font-size: var(--size-sm);
  color: var(--color-text-light);
}

.products-grid {
  display: grid;
  gap: var(--space-lg);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: var(--size-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.product-info {
  padding: var(--space-md);
}

.product-info h3 {
  font-size: var(--size-base);
  margin-bottom: var(--space-xs);
}

.product-info p {
  font-size: var(--size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.price {
  font-family: var(--font-heading);
  font-size: var(--size-lg);
  font-weight: 700;
  color: var(--color-primary);
}

.materials-grid {
  display: grid;
  gap: var(--space-md);
}

.material-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.material-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.material-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-secondary);
  font-size: var(--size-xl);
  border-radius: var(--radius-md);
}

.material-content h3 {
  font-size: var(--size-base);
  margin-bottom: var(--space-xs);
}

.material-content p {
  font-size: var(--size-sm);
  color: var(--color-text-light);
}

.contact-section {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.contact-wrapper {
  display: grid;
  gap: var(--space-xl);
}

.contact-info {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info h3 {
  color: var(--color-white);
  font-size: var(--size-lg);
  margin-bottom: var(--space-md);
}

.contact-info p {
  font-size: var(--size-sm);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--size-sm);
}

.contact-item i {
  width: 1.5rem;
  color: var(--color-secondary-light);
}

.contact-item a {
  color: var(--color-white);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-size: var(--size-lg);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--size-sm);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74, 122, 94, 0.1);
}

.form-group textarea {
  min-height: 6rem;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 2px;
  accent-color: var(--color-primary);
}

.checkbox-group label {
  font-size: var(--size-xs);
  color: var(--color-text-light);
  margin-bottom: 0;
}

.checkbox-group a {
  color: var(--color-primary);
  text-decoration: underline;
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 15rem;
  border: none;
}

.footer {
  background: var(--color-text);
  color: var(--color-white);
  padding: var(--space-lg) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--size-md);
  font-weight: 700;
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-md);
}

.footer-links a {
  font-size: var(--size-xs);
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-copy {
  font-size: var(--size-xs);
  color: rgba(255,255,255,0.5);
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: var(--space-md);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-popup.active {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.cookie-content p {
  font-size: var(--size-sm);
  color: var(--color-text-light);
}

.cookie-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: var(--space-sm);
}

.page-header {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--color-text-light);
  font-size: var(--size-sm);
  max-width: 32rem;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--size-xs);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb span {
  color: var(--color-text-light);
}

.content-section {
  padding: var(--space-xl) 0;
}

.content-prose {
  max-width: 48rem;
  margin: 0 auto;
}

.content-prose h2 {
  font-size: var(--size-lg);
  margin: var(--space-xl) 0 var(--space-md);
}

.content-prose h3 {
  font-size: var(--size-md);
  margin: var(--space-lg) 0 var(--space-sm);
}

.content-prose p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  font-size: var(--size-sm);
}

.content-prose ul,
.content-prose ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  color: var(--color-text-light);
  font-size: var(--size-sm);
}

.content-prose li {
  margin-bottom: var(--space-xs);
}

.thankyou-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
}

.thankyou-content {
  max-width: 32rem;
}

.thankyou-icon {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-size: var(--size-2xl);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
  animation: scaleIn 0.5s ease forwards;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.thankyou-content h1 {
  margin-bottom: var(--space-md);
}

.thankyou-content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
}

.error-content {
  max-width: 32rem;
}

.error-code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-content h1 {
  margin-bottom: var(--space-sm);
}

.error-content p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.gallery-grid {
  display: grid;
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.cta-section {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta-section .btn-primary:hover {
  background: var(--color-bg);
}

@media (min-width: 480px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  :root {
    --size-2xl: 3rem;
    --size-3xl: 4rem;
  }
  
  .hero h1 {
    font-size: var(--size-2xl);
  }
  
  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .cookie-btns {
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  
  .nav-desktop {
    display: block;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr 1.5fr;
  }
  
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  :root {
    --size-2xl: 3.5rem;
  }
  
  .section {
    padding: var(--space-3xl) 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

