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

:root {
  --green-dark: #043d37;
  --green-deep: #032a26;
  --green-glow: #0a5a51;
  --beige-bg: #f3ede0;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-soft: #6b6b6b;
  --border-soft: #e5e0d4;
  --star: #f5b942;
  --radius-btn: 3px;
  --radius-card: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 15px;
  scroll-behavior: smooth;
}
html { zoom: 1.2; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.page { width: 100%; background: #fff; overflow: hidden; }

/* ============ LOGO ============ */
.logo {
  display: inline-flex;
  align-items: center;
  /* Color of the "counter" holes inside R and E — match the section background */
  --logo-counter: #f3f3f3;
  color: var(--green-dark);
}
.logo-svg {
  height: 32px;
  width: auto;
  aspect-ratio: 2400 / 260;  /* matches the cropped viewBox */
  display: block;
}
.logo-light {
  color: #fff;
  --logo-counter: #032a26; /* matches --green-deep (footer bg) */
}
.logo-light .logo-svg { height: 28px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  width: 100%;
  min-height: 820px;
  overflow: hidden;
  background: #f3f3f3;
  animation: fadeIn 0.8s var(--ease);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.4s var(--ease);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right,
    rgba(243,243,243,0.96) 0%,
    rgba(243,243,243,0.92) 30%,
    rgba(243,243,243,0.72) 50%,
    rgba(243,243,243,0.35) 70%,
    rgba(243,243,243,0) 85%
  );
  pointer-events: none;
}
.hero:hover .hero-bg { transform: scale(1.02); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 30px 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-content > * {
  max-width: 720px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 92px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-top: 56px;
  letter-spacing: -1.2px;
  animation: fadeUp 0.9s var(--ease);
}

.hero-desc {
  margin-top: 30px;
  color: #5a5a5a;
  font-size: 16px;
  line-height: 1.7;
  animation: fadeUp 1.1s var(--ease);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--green-dark);
  color: #fff;
  padding: 16px 38px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  margin-top: 30px;
  border-radius: 999px;
  border: none;
  transition: transform 0.2s var(--ease);
  animation: fadeUp 1.3s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.arrow {
  font-size: 14px;
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 52px;
  animation: fadeUp 1.5s var(--ease);
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s var(--ease);
}
.feature:hover { transform: translateY(-2px); }
.feature:hover .feature-icon { color: var(--green-glow); }
.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--green-dark);
  transition: color 0.3s var(--ease);
  flex-shrink: 0;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-text {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.35;
  text-align: left;
}
.feature-divider {
  width: 1px;
  height: 36px;
  background: #c9c0ad;
}


/* ============ THREE CARDS ============ */
.cards-section {
  background: var(--green-dark);
  padding: 36px 30px 48px;
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  background: var(--green-dark);
  transition: transform 0.4s var(--ease);
  animation: fadeUp 0.9s var(--ease) backwards;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(3) { animation-delay: 0.4s; }
.card:hover { transform: translateY(-4px); }
.card:hover .card-image img { transform: scale(1.04); }

.card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 18px;
  margin: 14px 14px 0;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card-badge-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 17px;
  font-family: 'Cormorant Garamond', serif;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.card-body {
  background: var(--green-dark);
  color: #fff;
  padding: 30px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #fff;
}

.card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 0 0 20px;
}

.card-list { margin-bottom: 26px; flex: 1; }
.card-list li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.92);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.check { color: #fff; font-weight: 700; font-size: 13px; }

.card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid #fff;
  padding: 15px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  border-radius: 999px;
  transition: transform 0.2s var(--ease);
}
.card-btn:hover {
  transform: translateY(-2px);
}

/* ============ PRODUCTS ============ */
.products-section {
  background: #fff;
  padding: 50px 40px 56px;
  text-align: center;
}
.products-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.3px;
}
.products-sub {
  color: var(--text-soft);
  font-size: 13.5px;
  margin-top: 6px;
  margin-bottom: 36px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}
.product {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  animation: fadeUp 0.8s var(--ease) backwards;
}
.product:nth-child(1) { animation-delay: 0.1s; }
.product:nth-child(2) { animation-delay: 0.2s; }
.product:nth-child(3) { animation-delay: 0.3s; }
.product:nth-child(4) { animation-delay: 0.4s; }
.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(31,61,54,0.14);
  border-color: transparent;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 2;
  transition: transform 0.3s var(--ease);
}
.product:hover .product-badge { transform: scale(1.06); }
.badge-best { background: #e8eee0; color: #5b6f3e; }
.badge-popular { background: #f5e9d8; color: #8a6a3a; }
.badge-choice { background: #d9e8e0; color: #2e6650; }
.badge-new { background: #dfe9dc; color: #4a6b3f; }

.product-image {
  background: #f7f3eb;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.product:hover .product-image img { transform: scale(1.06); }

.product-info { padding: 18px 20px 22px; }
.product-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}
.product:hover .product-name { color: var(--green-dark); }
.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.stars { color: var(--star); font-size: 13px; letter-spacing: 1px; }
.rating-text { font-size: 12.5px; color: var(--text-soft); }
.product-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.product-link {
  color: var(--text-mid);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.product-link:hover { color: var(--green-dark); }
.product-link:hover .arrow { transform: translateX(4px); }

.view-all-wrap { margin-top: 40px; text-align: center; }
.view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
  padding: 14px 38px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s var(--ease);
}
.view-all-btn:hover {
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--green-deep);
  color: #fff;
  padding: 48px 40px;
}
.footer-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: wrap;
}
.footer-left {
  text-align: left;
  flex-shrink: 0;
  width: 240px;
}
.footer-left .logo { margin-bottom: 16px; }
.footer-tag {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 520px;
}
.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  text-align: left;
  transition: transform 0.3s var(--ease);
}
.footer-item:hover { transform: translateX(4px); }
.footer-item:hover .footer-icon {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}
.footer-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-icon svg { width: 20px; height: 20px; }
.footer-text h5 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  margin-bottom: 5px;
  color: #fff;
}
.footer-text p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; animation: fadeIn 0.2s var(--ease); }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 26, 0.55);
  backdrop-filter: blur(2px);
}
.modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 36px 36px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalPop 0.3s var(--ease);
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: #6b6b6b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s var(--ease);
}
.modal-close:hover { background: #f0f0f0; }
.modal-close svg { width: 18px; height: 18px; }
.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.modal-icon svg { width: 30px; height: 30px; }
.modal-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.modal-sub {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 22px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #e0ddd6;
  border-radius: 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.modal-input::placeholder { color: #9b9b9b; }
.modal-input:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(4,61,55,0.08);
}
.modal-textarea {
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
  line-height: 1.5;
}
.modal-submit {
  margin-top: 6px;
  background: var(--green-dark);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.modal-submit:hover {
  background: var(--green-glow);
  transform: translateY(-2px);
}
.modal-status {
  margin-top: 12px;
  font-size: 12.5px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
}
.modal-status--success { background: #e6f0ea; color: #1f5b40; }
.modal-status--error { background: #fceaea; color: #a4302a; }
.modal-status--pending { background: #f3eee2; color: #6b6b6b; }
.modal-submit:disabled { opacity: 0.6; cursor: wait; }

.modal-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--text-soft);
}
.modal-secure svg { color: var(--text-soft); flex-shrink: 0; }

@media (max-width: 520px) {
  .modal-dialog { padding: 28px 22px 22px; border-radius: 16px; }
  .modal-title { font-size: 19px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero { min-height: 560px; }
  .hero-content { padding: 36px 30px; max-width: 100%; }
  .hero-title { font-size: 42px; }
  .hero-features { flex-wrap: wrap; gap: 18px; }
  .feature-divider { display: none; }
  .cards-container { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 36px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-right { max-width: 100%; }
}
@media (max-width: 520px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
}
