/* Tensavit — COD-ленд. Мобайл-first, ЦА 50+, якорь-цвет: cúrcuma (тёплое золото).
   Финальную палитру сверить с preland_tensavit_angulo_B.html при финализации
   (преленда пока нет в репозитории — цвета заданы под описание SPEC). */

:root {
  --c-gold:      #E39A0C;   /* cúrcuma / золото — акцент */
  --c-gold-dark: #B87908;
  --c-cta:       #E4620E;   /* CTA — контрастный тёплый оранжевый */
  --c-cta-hover: #C8530A;
  --c-ink:       #2B2015;   /* основной текст, тёплый тёмно-коричневый */
  --c-muted:     #6B5D4C;
  --c-bg:        #FFFDF7;   /* тёплый почти-белый фон */
  --c-card:      #FFFFFF;
  --c-cream:     #FAF1DE;   /* кремовые секции */
  --c-line:      #ECE0C8;
  --c-ok:        #1F8A4C;   /* доверие / галочка */
  --maxw:        640px;     /* читаемая колонка */
  --radius:      14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;              /* база ≥18px под 50+ */
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
}

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

section { padding: 40px 0; }
section.alt { background: var(--c-cream); }

h1, h2, h3 { line-height: 1.25; color: var(--c-ink); margin: 0 0 .5em; }
h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.55rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.15rem; }
.muted { color: var(--c-muted); }
.center { text-align: center; }

/* ── Плейсхолдеры изображений (реальные картинки лягут в assets/img/) ── */
.img-ph {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px; border-radius: var(--radius);
  background: linear-gradient(135deg, #FBE8C8, #F3D8A0);
  color: var(--c-gold-dark); font-weight: 600; text-align: center;
  border: 1px dashed var(--c-gold);
}
.img-ph.small { min-height: 140px; }

/* ── Реальные изображения ленда (hero / cúrcuma / producto) ── */
.lp-img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); margin: 20px auto;
}
.offer-card .lp-img { max-width: 380px; margin: 4px auto 18px; }

/* ── Кнопки: тач-таргет ≥52px, глагол действия ── */
.btn {
  display: inline-block; min-height: 54px; line-height: 1.2;
  padding: 15px 28px; border: 0; border-radius: var(--radius);
  font-size: 1.15rem; font-weight: 800; text-decoration: none;
  cursor: pointer; text-align: center; -webkit-appearance: none;
}
.btn-cta { background: var(--c-cta); color: #fff; box-shadow: 0 4px 14px rgba(228,98,14,.35); }
.btn-cta:hover, .btn-cta:active { background: var(--c-cta-hover); }
.btn-block { display: block; width: 100%; }

/* ── Hero ── */
.hero { background: var(--c-cream); padding-top: 32px; }
.hero .trust-strip {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center;
  margin: 18px 0 0; padding: 0; list-style: none; font-weight: 600; color: var(--c-gold-dark);
}
.hero .trust-strip li::before { content: "✓ "; color: var(--c-ok); }

/* ── Триггеры доверия (карточки) ── */
.trust-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.trust-card { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 18px; }
.trust-card .ic { font-size: 1.8rem; }

/* ── FAQ (аккордеон native <details>) ── */
.faq details { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); margin-bottom: 10px; padding: 4px 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; font-size: 1.08rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--c-gold-dark); }
.faq details[open] summary::after { content: "－"; }

/* ── Оффер / цена ── */
.offer-card {
  background: var(--c-card); border: 2px solid var(--c-gold);
  border-radius: var(--radius); padding: 24px; text-align: center; margin-top: 18px;
}
.offer-card .price { font-size: 2.6rem; font-weight: 800; color: var(--c-cta); }
.offer-card .price small { font-size: 1rem; color: var(--c-muted); font-weight: 600; }
.offer-card ul { list-style: none; padding: 0; margin: 14px 0; }
.offer-card li { padding: 6px 0; }
.offer-card li::before { content: "✓ "; color: var(--c-ok); font-weight: 800; }
.badge-cod { display: inline-block; background: var(--c-ok); color:#fff; font-weight:700; border-radius: 999px; padding: 6px 16px; margin-bottom: 12px; }

/* ── Форма COD ── */
.form-section { background: var(--c-cream); }
.cod-form { background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; margin-top: 10px; }
.cod-form label { display: block; font-weight: 700; margin: 14px 0 6px; }
.cod-form input[type="text"],
.cod-form input[type="tel"] {
  width: 100%; min-height: 54px; padding: 12px 14px; font-size: 1.15rem;
  border: 2px solid var(--c-line); border-radius: 10px; background: #fff; color: var(--c-ink);
}
.cod-form input:focus { outline: none; border-color: var(--c-gold); }
.phone-wrap { display: flex; align-items: stretch; }
/* Префикс — чисто визуальный: не кликается, не выделяется, не в табуляции
   (span и так не фокусируется), размер шрифта = размеру шрифта поля. */
.phone-prefix {
  display: flex; align-items: center; padding: 0 14px; font-size: 1.15rem; font-weight: 700;
  background: var(--c-cream); border: 2px solid var(--c-line); border-right: 0;
  border-radius: 10px 0 0 10px; color: var(--c-ink);
  flex: 0 0 auto; pointer-events: none;
  -webkit-user-select: none; user-select: none;
}
.phone-wrap input { min-width: 0; }   /* flex-элемент не распирает контейнер на 320px */
.phone-wrap input { border-radius: 0 10px 10px 0 !important; }
.form-note { text-align: center; color: var(--c-muted); font-size: .95rem; margin: 12px 0 0; }
.form-error { background: #FDECEA; color: #B3261E; border: 1px solid #F3B4AE; border-radius: 10px; padding: 12px 14px; margin-bottom: 6px; font-weight: 600; }

/* honeypot — уводим за экран (НЕ display:none, чтобы боты заполняли) */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── Подвал / легенды COFEPRIS ── */
.legal { background: #201811; color: #D8CBB6; font-size: .92rem; padding: 26px 0; }
.legal p { margin: 0 0 8px; }
.legal .container > p:first-child { font-weight: 700; color: #F0E6D2; }

/* ── Thank-you ── */
.gracias .checkmark {
  width: 84px; height: 84px; margin: 20px auto; border-radius: 50%;
  background: var(--c-ok); color: #fff; font-size: 3rem; line-height: 84px; text-align: center;
}

/* ══ ЛЕНД-1 (2026-07-23): новые блоки ══ */

/* Hero: строка цены + подпись под кнопкой */
.hero-price { font-size: 1.35rem; font-weight: 800; color: var(--c-cta); margin: 16px 0 0; }
.btn-sub    { text-align: center; font-size: .98rem; margin: 10px 0 0; }

/* Цитата (история Lucía) — левая золотая полоса */
.quote {
  margin: 22px 0; padding: 6px 0 6px 18px;
  border-left: 4px solid var(--c-gold);
  font-size: 1.22rem; font-style: italic; color: var(--c-ink);
}

/* Выделенная строка (Diez días) */
.destacado { font-size: 1.28rem; font-weight: 800; color: var(--c-ink); margin: 12px 0 0; }

/* Así funciona — три шага (крупная цифра слева; шрифт ≥ базового 18px) */
.steps { list-style: none; margin: 20px 0 0; padding: 0; }
.step  { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.step:last-child { margin-bottom: 0; }
.step-num {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-gold); color: #fff; font-weight: 800; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 { margin: 6px 0 6px; }
.step-body p  { margin: 0; font-size: 1rem; }        /* 1rem = 18px база, не мельче */

/* Микротекст под полем телефона (две строки: формат ввода + про звонок) */
.field-hint { font-size: .95rem; color: var(--c-muted); margin: 8px 0 2px; }
.field-hint + .field-hint { margin-top: 2px; }

/* ══ ДОВЕРИЕ-1 (2026-07-30): секция отзывов ══ */

/* Фон секции. Соседи: сверху «Diez días» (.alt, кремовый), снизу «El precio»
   (обычный --c-bg). Берём карточный белый + хайрлайны сверху/снизу — полоса
   читается отдельным блоком, двух одинаковых фонов подряд нет. */
.testimonios {
  background: var(--c-card);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

/* Строка соцдоказательства: на 1-2 пункта крупнее базы (18px → 20.7px),
   без курсива, по левому краю как h2, отступ до сетки карточек. */
.testi-lead { font-size: 1.15rem; color: var(--c-muted); margin: 0 0 20px; }

/* Одна колонка на всех ширинах: колонка чтения 640px, три в ряд дали бы
   ~190px на карточку — нечитаемо для ЦА 45-60. Горизонтального скролла нет. */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.testi {
  background: var(--c-cream); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 18px 20px;
}
.testi p { margin: 0; font-size: 1rem; }      /* 1rem = 18px база, требование ≥17px */

.testi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.testi-ini {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-gold); color: var(--c-ink);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center;
}
.testi-meta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.testi-meta strong { font-weight: 700; }
.testi-meta span { font-size: .92rem; color: var(--c-muted); }

/* ── Планшет+ ── */
@media (min-width: 700px) {
  h1 { font-size: 2.4rem; }
  .trust-cards { grid-template-columns: 1fr 1fr 1fr; }
}
