/* ══════════════════════════════════════════════════════════════════
   Reed Products Landing — CSS (vintajj-2025 theme, v25 info-page язык)
   Палитра: #004a4a primary · #D4A574 gold accent · #fcf6ee cream
            #fafaf9 neutral bg · #292524/#44403c body · #57534e/#78716c muted
            #e7e5e4/#e9dfcb borders
   Заголовки: 'Cormorant Garamond', Georgia, serif. Body — наследует от темы.
   ══════════════════════════════════════════════════════════════════ */

/* Body-текст наследует шрифт темы; защищаемся только от theme'вого justify/italic */
.rp-landing,
.rp-landing p,
.rp-landing li,
.rp-landing td,
.rp-landing div {
  text-align: left;
  font-style: normal;
}
.rp-landing {
  color: #292524;
  max-width: none;
  margin: 0;
  padding: 0;
  line-height: 1.65;
}

/* H1/H2/H3 — Cormorant Garamond (серифный акцент бренда v25) */
.rp-landing h1,
.rp-landing h2,
.rp-landing h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.005em;
  text-align: left;
}
.rp-landing h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.08;
  font-weight: 500;
  color: #292524;
  margin: 0 0 18px;
}
.rp-landing h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  font-weight: 500;
  color: #292524;
  margin: 0 0 20px;
}
.rp-landing h3 {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #004a4a;
  margin: 0 0 8px;
}
/* italic-accent внутри заголовков */
.rp-landing h1 em,
.rp-landing h2 em {
  font-style: italic;
  color: #004a4a;
  font-weight: 500;
}

.rp-landing section {
  padding: 30px 0;
  border-bottom: 1px solid #e7e5e4;
}
.rp-landing section:last-child { border-bottom: none; }
.rp-offer { border-bottom: none; padding-bottom: 12px; }

.rp-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #78716c;
  margin: 0 0 14px;
  font-style: normal;
}
.rp-section-lead {
  font-size: 1.0625rem;
  color: #57534e;
  max-width: 720px;
  margin: 0 0 30px;
  line-height: 1.6;
}

/* ── CTA — pill primary (заливка teal + золотая стрелка) ── */
.rp-cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #004a4a;
  color: #fafaf9 !important;
  -webkit-text-fill-color: #fafaf9;
  padding: 13px 28px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none !important;
  border: 1px solid #004a4a;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 74, 74, 0.08);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.rp-cta-primary .rp-arrow { color: #D4A574; font-size: 1.15em; line-height: 1; transition: transform 0.2s ease; }
.rp-cta-primary:hover {
  background: #013b3b;
  border-color: #013b3b;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(0, 74, 74, 0.35);
}
.rp-cta-primary:hover .rp-arrow { transform: translateX(4px); }
.rp-cta-primary:active { transform: translateY(0); box-shadow: 0 1px 3px rgba(0, 74, 74, 0.08); }
.rp-cta-primary:focus-visible { outline: 2px solid #004a4a; outline-offset: 3px; }
.rp-cta-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── CTA — pill ghost/outlined (вторичное действие) ── */
.rp-cta-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: #004a4a !important;
  -webkit-text-fill-color: #004a4a;
  padding: 13px 28px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none !important;
  border: 1px solid #004a4a;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.rp-cta-ghost .rp-arrow { color: #D4A574; font-size: 1.15em; line-height: 1; transition: transform 0.2s ease; }
.rp-cta-ghost:hover { background: #fcf6ee; transform: translateY(-1px); }
.rp-cta-ghost:hover .rp-arrow { transform: translateX(4px); }
.rp-cta-ghost:active { transform: translateY(0); }
.rp-cta-ghost:focus-visible { outline: 2px solid #004a4a; outline-offset: 3px; }

/* ══ 1. HERO ══ */
.rp-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.rp-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: stretch;
  padding: 24px 0 36px !important;
  border-bottom: 1px solid #e7e5e4;
}
.rp-hero-text {
  display: flex; flex-direction: column; justify-content: center;
  gap: 20px;
  padding: 4px 0;
}
.rp-hero-text .rp-lead {
  font-size: 1.0625rem;
  color: #44403c;
  margin: 0;
  line-height: 1.6;
}
.rp-hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0;
}
.rp-hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  margin: 4px 0 0;
  font-size: 0.875rem; color: #78716c;
}
.rp-hero-meta span::before { content: "\2713 "; color: #D4A574; font-weight: 700; }
.rp-hero-image {
  background: #ffffff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,74,74,0.04), 0 12px 28px -14px rgba(0,74,74,0.14);
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  min-height: 340px;
}
.rp-hero-image:not(:has(img))::after {
  content: "Фото заготовки";
  font-size: 0.9375rem; font-weight: 500; color: #004a4a;
  letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.5;
}
.rp-hero-image img {
  /* !important — тема vintajj-2025 задаёт глобально img{height:auto}, перебивает fill */
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center;
  position: absolute; inset: 0;
  color: transparent; font-size: 0;
  z-index: 1;
}

/* ══ 2. ЧТО ДЕЛАЕМ (3 этапа с monoline SVG) ══ */
.rp-steps-do {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: start;
}
.rp-do-item {
  background: #ffffff;
  border: 1px solid #e7e5e4; border-radius: 14px;
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.rp-do-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #fcf6ee;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 0 12px;
}
.rp-do-icon svg { display: block; }
.rp-do-item p {
  font-size: 0.9375rem; color: #57534e; margin: 0; line-height: 1.6;
}

/* ══ 3. ЧТО ПРЕДЛАГАЕМ (карточки с фото) ══ */
.rp-offer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.rp-card {
  background: #ffffff; border: 1px solid #e7e5e4; border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.rp-card-img {
  aspect-ratio: 4 / 3;
  background: #ffffff;
  overflow: hidden;
  display: grid; place-items: center;
  position: relative;
}
.rp-card-img:not(:has(img))::after {
  content: "Фото";
  font-size: 0.75rem; font-weight: 500; color: #78716c;
  letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6;
}
.rp-card-img picture { display: block; width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; }
.rp-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  position: absolute; inset: 0;
  color: transparent; font-size: 0;
  z-index: 1; display: block;
}
.rp-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.rp-card-body p { font-size: 0.875rem; color: #57534e; margin: 0 0 16px; flex: 1; line-height: 1.55; }
.rp-card-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 500; color: #004a4a !important;
  text-decoration: none !important;
  border-bottom: 2px solid #D4A574; padding-bottom: 3px;
  transition: gap 0.15s ease;
}
.rp-card-cta .rp-arrow { color: #D4A574; }
.rp-card-cta:hover { gap: 11px; }

/* ══ 4. ФОРМА ══ */
.rp-form-section {
  background: #fafaf9;
  margin: 0;
  padding: 0 0 34px !important; /* pt:0 → margin-top h2 (48px темы) схлопывается вверх, серый фон от заголовка */
}
.rp-form-section > h2 { margin-top: 0 !important; }
.rp-form-section > .rp-section-lead { margin-bottom: 22px; }
.rp-form {
  max-width: 960px; margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e7e5e4; border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,74,74,0.04);
}
.rp-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rp-field { display: flex; flex-direction: column; gap: 6px; }
.rp-field-span-2 { grid-column: span 2; }
.rp-field > span:first-child { font-size: 0.8125rem; font-weight: 500; color: #44403c; }
.rp-req { color: #c0443d; font-style: normal; }
.rp-field input[type="text"],
.rp-field input[type="tel"],
.rp-field input[type="email"],
.rp-field input[type="number"],
.rp-field select,
.rp-field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 10px 14px;
  border: 1px solid #d7d3d0;
  border-radius: 10px;
  background: #ffffff;
  color: #292524;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rp-field input:focus,
.rp-field select:focus,
.rp-field textarea:focus {
  outline: none;
  border-color: #004a4a;
  box-shadow: 0 0 0 3px rgba(0, 74, 74, 0.12);
}
.rp-field input.rp-invalid,
.rp-field select.rp-invalid,
.rp-field textarea.rp-invalid {
  border-color: #c0443d;
  box-shadow: 0 0 0 3px rgba(192, 68, 61, 0.08);
}
.rp-consent {
  flex-direction: row !important;
  align-items: flex-start; gap: 10px;
  font-size: 0.8125rem; color: #57534e;
  padding-top: 4px;
}
.rp-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px;
  accent-color: #004a4a;
}
.rp-consent a { color: #004a4a; }

/* Upload zone */
.rp-upload-wrap { display: flex; flex-direction: column; gap: 6px; }
.rp-upload {
  display: block;
  border: 2px dashed #cbb98f; border-radius: 12px;
  background: #fcf6ee;
  padding: 20px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rp-upload:hover { background: #f6ecd9; border-color: #004a4a; }
.rp-upload.rp-dragover { background: #f0e2c4; border-color: #004a4a; }
.rp-upload input[type="file"] { display: none; }
.rp-upload-label { display: flex; align-items: center; gap: 14px; }
.rp-upload-icon { font-size: 24px; color: #004a4a; line-height: 1; }
.rp-upload-text { font-size: 0.875rem; color: #44403c; }
.rp-upload-hint { font-size: 0.75rem; color: #78716c; }
.rp-upload-status { font-size: 0.8125rem; color: #004a4a; padding: 4px 0; }
.rp-upload-status.rp-error { color: #c0443d; }

/* Submit row */
.rp-form-submit-row {
  margin-top: 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.rp-form-note { font-size: 0.8125rem; color: #78716c; }
.rp-form-result {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.875rem;
  display: none;
}
.rp-form-result.rp-success {
  display: block; background: #edf5f5; border: 1px solid #b3d9d9; color: #004a4a;
}
.rp-form-result.rp-error {
  display: block; background: #fbeceb; border: 1px solid #e6b7b3; color: #8b322c;
}

/* ══ 5. TIMELINE ══ */
.rp-steps {
  list-style: none; padding: 0; margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.rp-steps li {
  counter-increment: step;
  position: relative;
  padding: 48px 16px 16px;
  background: #ffffff; border: 1px solid #e7e5e4; border-radius: 12px;
  font-size: 0.875rem; line-height: 1.5; color: #57534e;
}
.rp-steps li::before {
  content: counter(step);
  position: absolute;
  top: 12px; left: 16px;
  color: #D4A574;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}
.rp-steps li strong { color: #292524; }

/* ══ 6. ФОРМЫ И ХАРАКТЕРИСТИКИ ══ */
.rp-specs-table {
  width: 100%; border-collapse: collapse;
  background: #ffffff; border: 1px solid #e7e5e4; border-radius: 12px;
  overflow: hidden;
  font-size: 0.9375rem;
}
.rp-specs-table th {
  background: #fcf6ee; text-align: left;
  padding: 12px 18px; color: #004a4a; font-weight: 600;
  border-bottom: 1px solid #e9dfcb;
}
.rp-specs-table td { padding: 12px 18px; border-bottom: 1px solid #f0eee9; }
.rp-specs-table tr:last-child td { border-bottom: none; }
.rp-specs-note { margin: 16px 0 0; font-size: 0.8125rem; color: #78716c; line-height: 1.6; }

/* ══ 7. FAQ ══ */
.rp-faq details {
  background: #ffffff; border: 1px solid #e7e5e4;
  border-radius: 10px; padding: 12px 18px; margin-bottom: 10px;
  transition: border-color 0.15s ease;
}
.rp-faq details[open] { border-color: #e9dfcb; }
.rp-faq summary {
  cursor: pointer; font-weight: 500;
  font-size: 0.975rem; color: #292524;
  list-style: none; position: relative; padding-right: 28px;
}
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; color: #004a4a; line-height: 1;
}
.rp-faq details[open] summary::after { content: "\2212"; }
.rp-faq p { margin: 12px 0 0; font-size: 0.875rem; color: #57534e; line-height: 1.6; }

/* ══ 8. FINAL CTA — warm cream + outlined pill ══ */
.rp-cta-finale {
  text-align: center;
  background: #fcf6ee;
  border: 1px solid #e9dfcb;
  border-radius: 16px;
  padding: 36px 24px 40px !important;
  border-bottom: none !important;
  margin-top: 20px;
}
.rp-cta-finale h2 { margin-top: 0; margin-bottom: 12px; }
.rp-cta-finale p { color: #44403c; margin: 0 0 22px; font-size: 1rem; }
.rp-cta-finale .rp-finale-contacts {
  margin: 0 0 22px; font-size: 0.9375rem; color: #57534e;
}
.rp-cta-finale .rp-finale-contacts a { color: #004a4a; text-decoration: none; border-bottom: 1px solid #D4A574; }
/* outlined pill — border 1.5px, transparent bg, Cormorant italic */
.rp-cta-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: #004a4a !important;
  -webkit-text-fill-color: #004a4a;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 12px 34px;
  min-height: 44px;
  border: 1.5px solid #004a4a;
  border-radius: 999px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.rp-cta-outline .rp-arrow { color: #D4A574; font-style: normal; font-size: 1em; transition: transform 0.2s ease; }
.rp-cta-outline:hover { background: #ffffff; transform: translateY(-1px); }
.rp-cta-outline:hover .rp-arrow { transform: translateX(4px); }
.rp-cta-outline:focus-visible { outline: 2px solid #004a4a; outline-offset: 3px; }

/* ══ Responsive ══ */
@media (max-width: 960px) {
  .rp-hero { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 !important; }
  .rp-steps-do { grid-template-columns: repeat(3, 1fr); }
  .rp-offer-grid { grid-template-columns: 1fr; }
  .rp-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .rp-landing { padding: 0 16px; }
  .rp-landing section { padding: 32px 0; }
  .rp-steps-do { grid-template-columns: 1fr; }
  .rp-offer-grid { grid-template-columns: 1fr; }
  .rp-steps { grid-template-columns: 1fr; }
  .rp-form { padding: 20px; }
  .rp-form-grid { grid-template-columns: 1fr; }
  .rp-field-span-2 { grid-column: span 1; }
  .rp-hero-image { order: -1; min-height: 260px; }
  .rp-hero-ctas { flex-direction: column; align-items: stretch; }
  .rp-hero-ctas .rp-cta-primary,
  .rp-hero-ctas .rp-cta-ghost { justify-content: center; width: 100%; }
  .rp-specs-table { font-size: 0.8125rem; }
  .rp-specs-table th, .rp-specs-table td { padding: 10px 12px; }
  .rp-zagotovka-grid { grid-template-columns: 1fr; }
}

/* ── Наша заготовка (реальные фото) ── */
.rp-zagotovka-lead {
  font-size: 1.05rem; line-height: 1.6; color: #57534e;
  margin: 0 0 20px; max-width: 640px;
}
.rp-zagotovka-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.rp-zagotovka-item {
  margin: 0; border-radius: 12px; overflow: hidden; background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,74,74,0.04), 0 12px 28px -14px rgba(0,74,74,0.12);
}
.rp-zagotovka-item picture { display: block; }
.rp-zagotovka-item img {
  display: block; width: 100% !important; height: auto; aspect-ratio: 3 / 2; object-fit: cover !important;
}
.rp-zagotovka-item figcaption {
  padding: 10px 14px; font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #78716c;
}

/* ── Товар: тростник-сырьё (сноп) — s81 ───────────────────── */
.rp-product { border-bottom: 1px solid #ece3d4; }
.rp-product-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 32px; align-items: start; margin-top: 8px;
}
.rp-product-img { position: relative; border-radius: 14px; overflow: hidden; background: #f0e2c4; aspect-ratio: 3 / 2; }
.rp-product-img picture { display: block; width: 100%; height: 100%; }
.rp-product-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }
.rp-product-opts { display: flex; flex-direction: column; gap: 20px; }
.rp-opt-group h3 {
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: #D4A574; margin: 0 0 8px; font-weight: 700;
}
.rp-opt-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.rp-opt-list li {
  font-size: 0.9rem; color: #57534e; line-height: 1.5;
  padding-left: 16px; position: relative;
}
.rp-opt-list li::before { content: "—"; position: absolute; left: 0; color: #004a4a; font-weight: 700; }
.rp-opt-list strong { color: #004a4a; }
.rp-opt-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.rp-opt-specs span {
  font-size: 0.8125rem; color: #004a4a; background: #edf5f5; border: 1px solid #b3d9d9;
  border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.rp-product-opts .rp-cta-primary { align-self: flex-start; margin-top: 6px; }
.rp-product-uses {
  font-size: 0.9rem; color: #57534e; line-height: 1.6; margin: 26px 0 0;
  padding: 16px 18px; background: #fcf6ee; border-radius: 12px;
}
.rp-product-uses strong { color: #004a4a; }
.rp-product-uses a { color: #004a4a; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) {
  .rp-product-grid { grid-template-columns: 1fr; gap: 20px; }
}
