/* =====================================================
   TRIAL ORDER PAGE - trial-order.css
   Exact match to the image design + enhanced bottom features
===================================================== */

:root {
  --brand-green: #2b4a2b;
  --brand-beige: #faf8f2;
  --border-color: #ddd5be;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-light: #888;
  --linen: #d4c5a4;
}

/* Hero Split Layout */
.trial-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: var(--brand-beige);
}

.hero-left {
  padding: 60px 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-tagline {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #8b7355;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-left h1 .number {
  font-weight: 700;
  font-family: auto;
}

.hero-left h1 .italic-green {
  color: var(--brand-green);
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-badges-inline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.badge-inline {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.badge-icon {
  flex-shrink: 0;
  color: var(--brand-green);
  stroke-width: 1.5;
}

.badge-inline strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.badge-inline span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Hero Right Side */
.hero-right {
  position: relative;
  background: linear-gradient(to right, #f5f0e8 0%, #e8dcc8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 400px;
  height: 500px;
  position: relative;
}

.hero-model-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.hero-summary-card {
  position: absolute;
  right: 70px;
  top: 60%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  width: 280px;
  border: 1px solid var(--border-color);
}

.hero-summary-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.hero-summary-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-summary-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hero-summary-card li:last-child {
  border-bottom: none;
}

.hero-summary-card svg {
  flex-shrink: 0;
  color: var(--brand-green);
  width: 24px;
  height: 24px;
}

.hero-summary-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hero-summary-card small {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Main Content Three Column */
.trial-main {
  padding: 60px 0;
  background: #fff;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.trial-grid-three {
  display: grid;
  grid-template-columns: 1fr 1fr 380px;
  gap: 40px;
}

/* Info Blocks */
.info-block {
  margin-bottom: 40px;
}

.info-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-green);
}

/* What's Included */
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.item-card {
  background: var(--brand-beige);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
}

.item-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.item-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand-green);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.item-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
  line-height: 1.3;
}

.item-card p {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Color Mix */
.color-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.color-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.color-swatch {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.color-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.color-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
}

/* Size Ratio */
.size-section {
  background: var(--brand-beige);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.size-section:last-child {
  margin-bottom: 0;
}

.size-section h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-green);
  margin-bottom: 12px;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.size-section:last-child .size-grid {
  grid-template-columns: repeat(3, 1fr);
}

.size-box {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
}

.size-num {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.size-qty {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
}

.size-note {
  font-size: 11px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 10px;
}

/* Form Card Sticky */
.trial-col-right {
  position: sticky;
  top: 100px;
  align-self: start;
  margin: 0 0 30px;
  padding: 0 0 10px;
}

.form-card-sticky {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-card-sticky h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--brand-green);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  transition: all 0.2s;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(43, 74, 43, 0.1);
}

.form-field input.error {
  border-color: #d9534f;
}

.phone-wrap {
  display: flex;
  gap: 8px;
}

.phone-wrap select {
  width: 100px;
  flex-shrink: 0;
}

.phone-wrap input {
  flex: 1;
}

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

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--brand-green);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  font-family: 'Jost', sans-serif;
}

.btn-primary:hover {
  background: #1e3a1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 74, 43, 0.3);
}

.btn-primary:disabled {
  background: #999;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--brand-green);
  border: 1.5px solid var(--brand-green);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
}

.btn-outline:hover {
  background: var(--brand-green);
  color: #fff;
}

/* Enhanced Bottom Features - Matching Index Page Style */
.bottom-features-enhanced {
  background: linear-gradient(145deg, #fefcf7 0%, #faf6ed 100%);
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.features-enhanced-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-enhanced-card {
  background: #fff;
  text-align: center;
  padding: 35px 25px;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  border: 1px solid rgba(0,0,0,0.02);
}

.feature-enhanced-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.12);
  border-color: var(--linen);
}

.feature-icon {
  margin-bottom: 20px;
  color: var(--brand-green);
}

.feature-icon svg {
  stroke: #6b5a4a;
  transition: stroke 0.2s;
  width: 52px;
  height: 52px;
}

.feature-enhanced-card:hover .feature-icon svg {
  stroke: var(--brand-green);
}

.feature-enhanced-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-enhanced-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works - Vertical Steps (320px height) */
.process-steps-vertical {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 320px;
  width: 100%;
  margin: 20px 0;
}

.process-step-vertical {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--brand-beige);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 20px;
  position: relative;
  transition: all 0.2s ease;
}

.process-step-vertical:hover {
  transform: translateX(5px);
  border-color: var(--brand-green);
  background: #fff;
}

.step-icon-wrapper {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.step-icon-wrapper svg {
  stroke: var(--brand-green);
  width: 28px;
  height: 28px;
}

.step-number-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--brand-green);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.step-text {
  flex: 1;
}

.step-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-text p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.step-arrow-down {
  text-align: center;
  font-size: 20px;
  color: var(--brand-green);
  margin: -8px 0;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .trial-grid-three {
    grid-template-columns: 1fr 1fr;
  }
  .trial-col-right {
    grid-column: 1 / -1;
    position: static;
    max-width: 500px;
    margin: 40px auto 0;
  }
}

@media (max-width: 960px) {
  .trial-hero-split {
    grid-template-columns: 1fr;
  }
  .hero-right {
    display: none;
  }
  .hero-left {
    padding: 40px 30px;
  }
  .hero-left h1 {
    font-size: 40px;
  }
  /* Hide Trial Order Summary on mobile */
  .hero-summary-card {
    display: none;
  }
  
  /* Reorder sections on mobile: What's Included, Recommended Color Mix, Balanced Size Ratio, How It Works */
  .trial-grid-three {
    display: flex;
    flex-direction: column;
  }
  /* Make both columns display: contents so their children become direct children of the flex container */
  .trial-col-left,
  .trial-col-middle {
    display: contents;
  }
  /* Now order the individual info blocks */
  #whatsIncluded {
    order: 1;
  }
  #colorMix {
    order: 2;
  }
  #sizeRatio {
    order: 3;
  }
  #howItWorks {
    order: 4;
  }
  /* The form column remains last */
  .trial-col-right {
    order: 5;
  }
  
  .container-wide {
    padding: 0 20px;
  }
  .features-enhanced-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .hero-left h1 {
    font-size: 32px;
  }
  .included-grid {
    grid-template-columns: 1fr;
  }
  .color-cards {
    grid-template-columns: 1fr;
  }
  .size-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .features-enhanced-grid {
    grid-template-columns: 1fr;
  }
}

/* Language Selector */
.lang-selector {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-selector:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}