@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

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

:root {
  --primary: #0f6d62;
  --primary-dark: #0a4f47;
  --secondary: #142222;
  --accent: #d97706;
  --text: #1f2b2b;
  --text-light: #5f6b6b;
  --bg: #f8f5ee;
  --bg-light: #fffdf9;
  --border: #ded8cb;
  --surface-shadow: 0 14px 36px rgba(20, 34, 34, 0.09);
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 14%, rgba(15, 109, 98, 0.12), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(217, 119, 6, 0.1), transparent 20%),
    var(--bg);
}

.skip-link {
  position: absolute;
  left: 0.9rem;
  top: -100%;
  z-index: 2000;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0.9rem;
}

nav {
  background: rgba(255, 253, 249, 0.84);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid rgba(20, 34, 34, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  letter-spacing: 0.2px;
  color: var(--secondary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 7rem 1.5rem;
  text-align: center;
  background:
    linear-gradient(140deg, rgba(15, 109, 98, 0.95) 0%, rgba(10, 79, 71, 0.93) 64%),
    repeating-linear-gradient(
      -35deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 7px,
      transparent 7px,
      transparent 14px
    );
}

.hero::after {
  content: "";
  position: absolute;
  width: min(680px, 90vw);
  aspect-ratio: 1;
  right: -210px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  animation: rise-in 0.65s ease both;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.15rem, 7vw, 3.9rem);
  margin-bottom: 0.8rem;
  line-height: 1.05;
}

.hero p {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.85rem;
  background: #fff;
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

h1,
h2 {
  text-wrap: balance;
}

a,
button,
.btn,
.menu-toggle {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
.nav-links a:focus-visible,
.footer-section a:focus-visible {
  outline: 3px solid rgba(15, 109, 98, 0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  margin-left: 0.7rem;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary-dark);
}

.btn-block {
  width: 100%;
  text-align: center;
}

section {
  padding: 4.4rem 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.section-hidden {
  display: none;
}

.section-enter {
  animation: section-enter 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
  color: var(--secondary);
  line-height: 1.14;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2.4rem;
  max-width: 48ch;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1.6rem;
  background: var(--bg-light);
  border-radius: 18px;
  border: 1px solid rgba(20, 34, 34, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 18px rgba(20, 34, 34, 0.06);
  animation: rise-in 0.45s ease both;
}

.feature-card:nth-child(2) { animation-delay: 0.05s; }
.feature-card:nth-child(3) { animation-delay: 0.1s; }
.feature-card:nth-child(4) { animation-delay: 0.15s; }
.feature-card:nth-child(5) { animation-delay: 0.2s; }
.feature-card:nth-child(6) { animation-delay: 0.25s; }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--surface-shadow);
  border-color: rgba(15, 109, 98, 0.24);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.4rem;
  color: var(--secondary);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.72;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--surface-shadow);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 170px;
  background: linear-gradient(155deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.65rem;
}

.product-content {
  padding: 1.35rem;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--secondary);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.product-features {
  color: var(--text-light);
  margin-bottom: 1rem;
  padding-left: 1.2rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: center;
  margin-top: 2rem;
}

.about-image {
  width: 100%;
  min-height: 320px;
  background:
    linear-gradient(145deg, rgba(15, 109, 98, 0.92), rgba(10, 79, 71, 0.94)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 8px,
      transparent 8px,
      transparent 16px
    );
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  color: #fff;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--text-light);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(20, 34, 34, 0.08);
  border-radius: 14px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin-top: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(20, 34, 34, 0.08);
  border-radius: 14px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.1rem;
  color: var(--secondary);
}

.contact-item p {
  color: var(--text-light);
}

.contact-form {
  background: #fff;
  border: 1px solid rgba(20, 34, 34, 0.08);
  box-shadow: 0 8px 22px rgba(20, 34, 34, 0.07);
  padding: 1.6rem;
  border-radius: 18px;
}

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

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 109, 98, 0.12);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

footer {
  background: var(--secondary);
  color: #fff;
  padding: 3rem 1.5rem 1.3rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.2rem;
}

.footer-section h3 {
  margin-bottom: 0.6rem;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  line-height: 1.9;
  display: block;
}

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

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.996);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    border-bottom: 1px solid rgba(20, 34, 34, 0.08);
    flex-direction: column;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 20px rgba(20, 34, 34, 0.08);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 5.3rem 1.2rem;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 0.7rem;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
