/* ==========================================================================
   BỘ RỬA VƯỜN PHYTOPHOS COP + PH7 - THIẾT KẾ DÀNH CHO NHÀ VƯỜN (50 - 70 TUỔI)
   Tiêu chí: Chữ to rõ, tương phản cao, hình ảnh thực tế, nút bấm lớn dễ thao tác
   ========================================================================== */

:root {
  --primary: #15803d;        /* Xanh lá nông nghiệp đậm, dịu mắt */
  --primary-dark: #0f5126;   /* Xanh đậm tương phản */
  --primary-light: #ecfdf5;  /* Nền xanh nhạt dịu mát */
  --accent: #d97706;         /* Cam hổ phách nổi bật */
  --accent-dark: #b45309;
  --danger: #dc2626;         /* Đỏ cảnh báo */
  --danger-light: #fef2f2;
  --dark: #111827;           /* Đen than cực kỳ dễ đọc */
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --yellow-light: #fef9c3;
  
  --font-base: 19px;         /* Chữ cơ bản to rõ cho người lớn tuổi */
  --font-scale: 1;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 8px 20px -4px rgba(21, 128, 61, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: calc(var(--font-base) * var(--font-scale));
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--dark);
  background-color: #f9fafb;
  line-height: 1.7;
  word-break: break-word;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: #991b1b;
  color: #ffffff;
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar-badge {
  background: #fbbf24;
  color: #78350f;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
}

.top-bar-phone {
  color: #fef08a;
  text-decoration: none;
  font-weight: 800;
  border-bottom: 2px dashed #fef08a;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: 40px 0 50px;
  border-bottom: 1px solid var(--gray-200);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 2px solid #86efac;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--danger);
  background: #fee2e2;
  padding: 2px 10px;
  border-radius: 8px;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-image-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 2px solid #bbf7d0;
  text-align: center;
}

.product-combo-img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 15px 15px rgba(0,0,0,0.15));
}

.combo-banner-badge {
  background: linear-gradient(135deg, #15803d, #166534);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  margin-top: 18px;
  font-size: 1.15rem;
  font-weight: 800;
}

/* PRICE & QUICK CALL BOX */
.price-box {
  background: #fefce8;
  border: 3px solid #facc15;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.price-main {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--danger);
  line-height: 1;
}

.price-old {
  font-size: 1.4rem;
  color: var(--gray-600);
  text-decoration: line-through;
  font-weight: 600;
}

.free-ship-tag {
  background: #dc2626;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.price-desc {
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.price-checklist {
  list-style: none;
  margin-bottom: 20px;
}

.price-checklist li {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-checklist li::before {
  content: "✅";
  font-size: 1.2rem;
}

/* BIG BUTTONS */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px 28px;
  background: linear-gradient(135deg, #15803d, #166534);
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(21, 128, 61, 0.5);
  background: linear-gradient(135deg, #166534, #14532d);
}

.btn-pulse {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: #ffffff;
  color: #b45309;
  border: 3px solid #f59e0b;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  margin-top: 14px;
  transition: all 0.2s;
}

.btn-phone:hover {
  background: #fffbeb;
}

/* SECTION TITLES */
.section {
  padding: 60px 0;
}

.section-alt {
  background: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.section-badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.2rem;
  color: var(--gray-700);
}

/* REAL IMAGES COMPARISON SECTION (USER'S 3 PHOTOS) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.gallery-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.gallery-card.warning-card {
  border-color: #fca5a5;
  background: #fffafa;
}

.gallery-card.success-card {
  border-color: #86efac;
  background: #f0fdf4;
  border-width: 3px;
  position: relative;
}

.card-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #15803d;
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.gallery-img-wrap {
  width: 100%;
  height: 340px;
  background: #1e293b;
  overflow: hidden;
  position: relative;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gallery-step-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.gallery-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.gallery-card-desc {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* PRODUCT DETAIL SECTION */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  border: 2px solid #bbf7d0;
}

.product-header-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 2px dashed #bbf7d0;
  padding-bottom: 18px;
}

.product-thumb {
  width: 100px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.product-spec {
  display: inline-block;
  background: var(--yellow-light);
  color: #854d0e;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list li strong {
  color: var(--primary-dark);
}

.feature-icon {
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1.2;
}

/* HOW TO USE GUIDE */
.guide-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  border: 3px solid #86efac;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.step-item {
  background: var(--primary-light);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  border: 1px solid #a7f3d0;
}

.step-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.step-text {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ORDER FORM SECTION */
.order-section {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  padding: 60px 0;
  border-top: 2px solid #86efac;
}

.order-box {
  background: white;
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border: 3px solid #15803d;
}

.form-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 1.2rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-label span {
  color: var(--danger);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  background: #f9fafb;
  border: 2px solid #d1d5db;
  border-radius: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* COMBO SELECTOR CARDS */
.combo-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.combo-card-label {
  cursor: pointer;
  display: block;
}

.combo-card-label input[type="radio"] {
  display: none;
}

.combo-card-content {
  border: 2px solid #cbd5e1;
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  background: white;
  transition: all 0.2s ease;
}

.combo-card-label input[type="radio"]:checked + .combo-card-content {
  border-color: var(--primary);
  background: #f0fdf4;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
  transform: translateY(-2px);
}

.combo-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.combo-card-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--danger);
}

.combo-card-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 6px;
  display: inline-block;
}

/* TOTAL SUMMARY BOX */
.order-summary-box {
  background: #fefce8;
  border: 2px dashed #eab308;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.summary-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--danger);
}

/* COMMITMENT BOX */
.commit-box {
  background: var(--primary-light);
  border: 2px solid #a7f3d0;
  border-radius: 14px;
  padding: 18px;
  margin-top: 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 50px 0 100px;
  font-size: 1.05rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.footer-hotline {
  font-size: 1.8rem;
  font-weight: 900;
  color: #facc15;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
}

/* FONT SIZE CONTROLLER (FLOATING) */
.font-resizer {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: white;
  border: 2px solid #15803d;
  border-radius: 30px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  z-index: 999;
}

.resizer-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
}

.btn-resize {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--dark);
  transition: all 0.2s;
}

.btn-resize:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* FLOATING MOBILE CTA */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.12);
  z-index: 998;
  border-top: 2px solid #86efac;
}

.mobile-bar-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-mobile-call {
  flex: 0 0 60px;
  height: 52px;
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
}

.btn-mobile-order {
  flex: 1;
  height: 52px;
  background: linear-gradient(135deg, #15803d, #166534);
  color: white;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.4);
}

/* SUCCESS MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: white;
  border-radius: 24px;
  padding: 36px 30px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  border: 3px solid #86efac;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  animation: popModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popModal {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-icon {
  font-size: 64px;
  margin-bottom: 14px;
  display: inline-block;
  animation: bounceIcon 1s infinite alternate;
}

@keyframes bounceIcon {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.modal-text {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 22px;
  line-height: 1.6;
}

.modal-order-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.modal-order-info div {
  margin-bottom: 8px;
}

.btn-modal-close {
  background: var(--primary);
  color: white;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-img-wrap {
    height: 380px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-mobile-bar {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .combo-options {
    grid-template-columns: 1fr;
  }
}
