:root {
  --brand: #1f7a3a;
  --brand2: #c62828;
  --dark: #1b2530;
  --text: #5f6975;
  --white: #ffffff;
  --soft: #f7f8fa;
  --border: #e6eaee;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: var(--dark);
  margin: 0;
}

/* NAV */
.clean-navbar {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo {
  width: 68px;
  height: auto;
  display: block;
}

.nav-brand span {
  color: var(--brand);
  font-weight: 800;
  font-size: 1.08rem;
}

.navbar .nav-link {
  color: var(--dark);
  font-weight: 600;
}

.navbar .nav-link:hover {
  color: var(--brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* LANGUAGE DROPDOWN */
.lang-switch {
  display: flex;
  align-items: center;
}

.lang-dropdown {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  min-height: 40px;
}

.flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-menu {
  position: absolute;
  top: 42px;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
  border: 1px solid #eee;
  display: none;
  min-width: 160px;
  z-index: 1000;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.lang-option:hover {
  background: #f5f5f5;
}

/* BUTTONS */
.btn-main {
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  border: none;
  color: #fff;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 700;
  transition: .25s ease;
}

.btn-main:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-custom {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 700;
}

.btn-outline-custom:hover {
  background: rgba(31,122,58,.06);
  color: var(--brand);
}

/* HERO */
.editorial-hero {
  padding: 44px 0 70px;
  background:
    linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72)),
    url("../image/epice-hero.png") center/cover no-repeat;
}

.hero-with-form-top {
  background:
    linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),
    url("../image/epice-hero.png") center/cover no-repeat;
  padding: 40px 0 60px;
}

.hero-shell,
.hero-shell-top {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-visual {
  height: 100%;
}

.hero-image-card {
  min-height: 680px;
  height: 100%;
  background:
    linear-gradient(rgba(14, 49, 28, 0.28), rgba(14, 49, 28, 0.28)),
    url("../image/epice-hero.png") center/cover no-repeat;
  position: relative;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 700;
  width: fit-content;
}

.hero-label.text-dark {
  color: var(--brand);
  background: rgba(31,122,58,.08);
  border: 1px solid rgba(31,122,58,.12);
}

.hero-mini-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-chip {
  background: rgba(255,255,255,.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 700;
}

.hero-panel {
  padding: 46px 42px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel-left {
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  background:
    linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1)),
    url("../image/epice-hero.png") center/cover no-repeat;
}

.hero-panel h1,
.hero-panel-left h1 {
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-description,
.hero-panel-left .hero-description {

  color: var(--dark);
  font-size: 1.06rem;
  margin-bottom: 24px;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 600;
}

.point-item i {
  color: var(--brand);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* SECTION */
.section-block {
  padding: 88px 0;
}

.alt-bg {
  background: var(--soft);
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-tag {
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
}

/* SERVICES GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  transition: .25s ease;
}

.service-box:hover {
  transform: translateY(-4px);
}

.service-number {
  font-size: 2rem;
  font-weight: 900;
  color: #1f7a3a;
  margin-bottom: 12px;
}

.service-box h5 {
  font-weight: 800;
  margin-bottom: 10px;
}

.service-box p {
  margin: 0;
  color: var(--text);
}

/* PROCESS */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  position: relative;
}

.timeline-step {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.timeline-card h5 {
  font-weight: 800;
  margin-bottom: 10px;
}

.timeline-card p {
  color: var(--text);
  margin: 0;
}

/* BENEFITS + FORM */
.benefit-panel,
.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 28px rgba(0,0,0,.04);
}

.form-panel-top {
  height: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(180deg, rgba(31,122,58,.04), rgba(198,40,40,.03));
}

.benefit-panel h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.benefit-stack {
  display: grid;
  gap: 14px;
}

.benefit-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--soft);
}

.benefit-row i {
  color: var(--brand);
  margin-top: 2px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.stats-card {
  background: linear-gradient(135deg, rgba(31,122,58,.06), rgba(198,40,40,.06));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.stats-card strong {
  display: block;
  font-size: 1.7rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-card span {
  color: var(--text);
}

.form-panel h3 {
  font-weight: 800;
  margin-bottom: 8px;
}

.form-intro {
  color: var(--text);
  margin-bottom: 18px;
}

.direct-form .form-label {
  font-weight: 700;
  margin-bottom: 6px;
}

.clean-input {
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 54px;
  padding: 14px 16px;
  background: #fff;
}

.clean-input::placeholder {
  color: #97a1ab;
}

.clean-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(31,122,58,.10);
}

.clean-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  text-align: center;
  color: var(--text);
  font-size: .95rem;
}

/* CTA */
.final-cta-wrap {
  padding-top: 0;
}

.final-cta {
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  border-radius: 30px;
  padding: 60px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  background:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)),
    url("../image/epice-hero.png") center/cover no-repeat;
}

.final-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.final-cta p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,.94);
}

/* FOOTER */
.editorial-footer {
  background: #111827;
  color: #d1d5db;
  padding: 28px 0;
}

.editorial-footer a {
  color: #fff;
  text-decoration: none;
}

.editorial-footer a:hover {
  text-decoration: underline;
}

/* BENEFIT VISUAL */
.benefit-visual-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.04);
  height: 100%;
}

.benefit-visual-image {
  min-height: 520px;
  height: 100%;
  border-radius: 20px;
  background:
    linear-gradient(rgba(14,49,28,0.18), rgba(14,49,28,0.18)),
    url("../image/epice-hero.png") center/cover no-repeat;
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
  .service-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255,255,255,.98);
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
  }

  .nav-actions {
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .hero-image-card {
    min-height: 320px;
  }

  .hero-panel,
  .hero-panel-left {
    padding: 28px 22px;
  }

  .hero-panel h1,
  .hero-panel-left h1 {
    font-size: 2.2rem;
  }

  .hero-points {
    justify-content: center;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .form-panel-top {
    border-top: 1px solid var(--border);
  }

  .section-block {
    padding: 68px 0;
  }

  .benefit-visual-image {
    min-height: 320px;
  }
}

@media (max-width: 767.98px) {
  .service-grid,
  .timeline-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .section-title h2,
  .benefit-panel h2,
  .final-cta h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 575.98px) {
  .nav-logo {
    width: 56px;
  }

  .nav-brand span {
    font-size: .95rem;
  }

  .hero-panel h1,
  .hero-panel-left h1 {
    font-size: 1.75rem;
  }

  .hero-panel,
  .hero-panel-left,
  .benefit-panel,
  .form-panel,
  .service-box,
  .timeline-card {
    padding: 20px 16px;
  }

  .hero-image-card,
  .benefit-visual-image {
    min-height: 240px;
  }

  .final-cta {
    padding: 36px 16px;
    border-radius: 20px;
  }
}

.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.product-img {
  width: 100%;
  height: 120px;
  background: #eee;
  border-radius: 8px;
  margin-bottom: 10px;
}

.thankyou-page {
  background: linear-gradient(135deg, #f8fafc, #eef3f7);
}

.thankyou-section {
  padding: 80px 0;
}

.thank-card {
  max-width: 700px;
  margin: auto;
  background: #fff;
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.thank-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1f7a3a, #c62828);
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.thank-sub {
  color: #666;
  margin-bottom: 25px;
}

.thank-box {
  background: #f7f9fb;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-bottom: 20px;
}

.thank-box h5 {
  margin-bottom: 10px;
  font-weight: 700;
}

.thank-box ul {
  margin: 0;
  padding-left: 18px;
}

.thank-highlight {
  background: rgba(31,122,58,0.08);
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  color: #1f7a3a;
}

.products-scroll-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.products-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  width: 100%;
  scrollbar-width: thin;
}

.products-scroll::-webkit-scrollbar {
  height: 8px;
}

.products-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 20px;
}

.product-slide {
  flex: 0 0 260px;
}

.products-nav {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f7a3a;
  cursor: pointer;
  transition: 0.2s ease;
  flex-shrink: 0;
}

.products-nav:hover {
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .product-slide {
    flex: 0 0 78%;
  }

  .products-nav {
    display: none;
  }
}

.catalog-btn {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
}

/* LANG SELECT THANK YOU PAGE */
#thankLangSelect {
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
  max-width: 140px;
}

#thankLangSelect:hover {
  border-color: #caa85c;
}

#thankLangSelect:focus {
  border-color: #caa85c;
  box-shadow: 0 0 0 2px rgba(202,168,92,0.2);
}