:root {
  --primary: #1B3C53;
  --secondary: #234C6A;
  --tertiary: #456882;
  --accent: #D2C1B6;
  --light: #FFFFFF;
  --dark: #121212;
  --gray: #F5F5F5;

  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--tertiary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary);
  color: var(--light);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
  font-family: var(--font-primary);
  font-size: 1rem;
}

button:hover,
.btn:hover {
  background: var(--secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-md);
}

header {
  position: relative;
  padding: var(--space-md) 0;
  background: var(--light);
  border-bottom: 1px solid rgba(27, 60, 83, 0.1);
  transition: all var(--transition-medium);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-medium);
}

.logo:hover img {
  transform: rotate(0);
}

@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 100;
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop li {
  margin-left: var(--space-lg);
}

.nav-desktop a {
  position: relative;
  font-weight: 500;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-medium);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--primary);
  z-index: 99;
  transition: right var(--transition-medium);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
}

.nav-mobile.active {
  right: 0;
  opacity: 1;
}

.nav-mobile ul {
  list-style: none;
  padding: 0 var(--space-lg);
}

.nav-mobile li {
  margin: var(--space-md) 0;
}

.nav-mobile a {
  color: var(--light);
  font-size: 1.25rem;
  display: block;
  padding: var(--space-sm) 0;
}

.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-medium);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 50%, rgba(69, 104, 130, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(210, 193, 182, 0.3) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--light);
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  color: var(--light);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
}

.hero-cta {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast);
}

.hero-cta:hover {
  transform: translateY(-3px);
}

section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: var(--space-sm);
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: var(--light);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  height: 200px;
  background-color: var(--gray);
  position: relative;
}

.product-content {
  padding: var(--space-lg);
}

.product-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.25rem;
  margin: var(--space-sm) 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  flex: 2;
  min-width: 300px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.info-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-right: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: var(--space-sm);
  margin-top: 0.3rem;
}

.map-container {
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-xl);
}

footer {
  background-color: var(--primary);
  color: var(--light);
  padding: var(--space-lg) 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-menu a:hover {
  color: var(--accent);
}

.copyright {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.policy-popup {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  padding: var(--space-md);
  background: var(--light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: none;
}

.policy-popup.active {
  display: block;
  animation: fadeIn var(--transition-medium);
}

.policy-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70vh;
  text-align: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.thank-you {
  text-align: center;
  padding: var(--space-xl) 0;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-desktop {
    display: none;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --space-md: 0.8rem;
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero {
    height: 60vh;
    min-height: 350px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .feature-card,
  .product-card {
    padding: var(--space-md);
  }
}