/* ===== GLOBAL VARIABLES ===== */
:root {
  /* Colors */
  --color-bg: #fdfbf7;
  --color-bg-alt: #eef3f6;
  --color-surface: #ffffff;
  --color-text: #172a3a;
  --color-text-muted: #3a506b;
  --color-primary: #7a9eb0;
  --color-primary-dark: #5c8396;
  --color-accent: #a4c3d2;
  --color-border: #d8e2e8;
  --color-light: #f0ebe1;

  /* Typography */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Arial Narrow', 'Helvetica Neue Condensed', 'Roboto Condensed', system-ui, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;

  /* Shadows */
  --shadow-sm: 0 4px 20px rgba(23, 42, 58, 0.08);
  --shadow-md: 0 8px 30px rgba(23, 42, 58, 0.12);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.05);
}

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

section
{
    padding-top: 40px;
    padding-bottom: 40px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--space-lg);
}
h3 {
  font-size: 1.5rem;
}
p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 1rem;
}

a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
a:hover {
  color: var(--color-text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

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

.section {
  padding: var(--space-xl) 0;
}
.section-alt {
  background-color: var(--color-bg-alt);
}
.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-primary-dark);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover {
  background-color: var(--color-text);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-text);
}
.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== CARDS ===== */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
  border: 1px solid var(--color-border);
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: var(--space-xl) var(--space-sm);
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.hero h1 {
  max-width: 800px;
  margin: 0 auto var(--space-sm);
}
.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--space-md);
}
.hero-small {
  padding: var(--space-lg) var(--space-sm);
  background-color: var(--color-bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.hero-small h1 {
  margin-bottom: var(--space-sm);
}
.hero-small p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
}
.category-card {
  text-align: center;
}
.category-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.3s;
}
.category-card:hover img {
  transform: scale(0.95);
}
.category-card h3 {
  margin-top: var(--space-sm);
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  text-align: center;
}
.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

/* ===== FAQ ===== */
.faq-item {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  background: var(--color-surface);
}
.faq-item h3 {
  margin-bottom: var(--space-xs);
}

/* ===== CONTACT FORM ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
}
.contact-info-item:hover {
  box-shadow: var(--shadow-sm);
}
.contact-info-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}
.form-group {
  margin-bottom: var(--space-sm);
}
.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--color-bg);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-dark);
}
.form-privacy {
  margin-bottom: var(--space-sm);
}
.privacy-label {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  line-height: 1.35;
  cursor: pointer;
}
.privacy-label input {
  margin-top: 2px;
}

/* ===== PRODUCTS PAGE ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.product-card .img-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}
.product-card .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card .img-wrapper:hover img {
  transform: scale(0.97);
}
.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}
.product-card p {
  flex-grow: 1;
  margin-bottom: var(--space-md);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.feature-card {
  background-color: var(--color-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  outline: 2px solid var(--color-border);
  outline-offset: -8px;
  transition: transform 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary-dark);
  margin: 0 auto var(--space-sm);
}
.contact-box {
  background: var(--color-surface);
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.contact-list {
  list-style: none;
  margin-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 1rem;
}
.contact-item svg {
  color: var(--color-primary-dark);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== CONTACT PAGE ===== */
.hero-small.contact-hero {
  position: relative;
  overflow: hidden;
}
.hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}
.hero-small.contact-hero .container {
  position: relative;
  z-index: 1;
}
.feature-rows {
  display: flex;
  gap: var(--space-lg);
  align-items: stretch;
}
@media (max-width: 768px) {
  .feature-rows {
    flex-direction: column;
  }
}
.form-content {
  flex: 1;
}
.form-wrapper {
  flex: 1;
}
.form-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.form-images-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 2px solid var(--color-border);
}
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 768px) {
  .info-cards-grid {
    grid-template-columns: 1fr;
  }
}
.info-card {
  background: var(--color-surface);
  padding: var(--space-md);
  text-align: center;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  transition: transform 0.3s;
}
.info-card:hover {
  transform: translateY(-4px);
}
.info-card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  border: 2px solid var(--color-border);
  color: var(--color-primary-dark);
}
.info-card-icon svg {
  width: 32px;
  height: 32px;
}
.info-card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-top: var(--space-md);
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
}

/* ===== THANKS PAGE ===== */
.thanks-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.thanks-card {
  max-width: 680px;
  width: 100%;
  text-align: center;
  padding: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.thanks-card h1 {
  margin-bottom: var(--space-sm);
  font-size: 2rem;
}
.thanks-card p {
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}