/* ==========================================================================
   /tools/feeding-calculator — калькулятор нормы еды и воды
   Базовые стили (author-block, pillar) — наследуем от pregnancy-calculator
   ========================================================================== */
@import url("/assets/css/pregnancy-calculator.css");

.fc-page {
  --fc-accent:   #c7e3e3;
  --fc-accent-2: #7ec4c4;
  --fc-water:    #3a8aa8;
  --fc-milk:     #bda000;
  --fc-surface:  #f5fbfb;
  --fc-border:   #d8ebeb;
  --fc-ink:      var(--main-bg-color);
  --fc-muted:    var(--dark-text-color);

  background: #f6fbfb;
  padding: 0 0 60px;
}

/* ---------------------------------------------------------- HERO ---------- */
.fc-hero {
  position: relative;
  padding: 110px 0 56px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid #e0ecec;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(230, 244, 244, 0.78) 100%),
    url("/assets/images/tools-hero-bg.webp") center / cover no-repeat,
    linear-gradient(180deg, #ffffff 0%, #e8f4f4 100%);
}

.fc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 340px at 50% -140px, rgba(126, 196, 196, 0.32), transparent 65%),
    radial-gradient(500px 200px at 12% 100%, rgba(58, 138, 168, 0.12), transparent 70%);
  pointer-events: none;
}

.fc-hero > * {
  position: relative;
  z-index: 1;
}

.fc-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.fc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e0ecec;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-muted);
  margin-bottom: 20px;
}

.fc-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fc-water);
  box-shadow: 0 0 0 4px rgba(58, 138, 168, 0.2);
  animation: tools-pulse 2s ease-in-out infinite;
}

.fc-hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(30px, 4.6vw, 52px) !important;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fc-ink);
  margin: 0 0 18px !important;
}

.fc-hero-title span {
  display: inline-block;
  position: relative;
  color: var(--fc-water);
  font-style: italic;
}

.fc-hero-title span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 7px;
  background: linear-gradient(90deg, rgba(126, 196, 196, 0.8), rgba(58, 138, 168, 0.45));
  border-radius: 999px;
  z-index: -1;
}

.fc-hero-lead {
  max-width: 640px;
  margin: 0 auto 24px !important;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fc-muted);
}

.fc-hero-meta {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fc-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid #e0ecec;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fc-ink);
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.04);
}

.fc-hero-meta svg {
  color: var(--fc-water);
}

/* ----------------------------------------------------------- CALC ---------- */
.fc-calc {
  margin-top: -28px;
  margin-bottom: 48px;
  padding: 28px !important;
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 22px;
  box-shadow:
    0 20px 60px rgba(20, 60, 80, 0.07),
    0 4px 12px rgba(20, 60, 80, 0.03);
  position: relative;
  z-index: 2;
  scroll-margin-top: 100px;
}

/* --- Табы верхнего уровня: Молоко / Вода --- */
.fc-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  background: #e8f4f4;
  border-radius: 14px;
  margin-bottom: 24px;
}

.fc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  color: var(--fc-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fc-tab:hover {
  color: var(--fc-ink);
}

.fc-tab.is-active {
  background: #ffffff;
  color: var(--fc-ink);
  box-shadow: 0 4px 10px rgba(20, 60, 80, 0.08);
}

.fc-tab svg {
  opacity: 0.7;
}

.fc-tab.is-active svg {
  opacity: 1;
  color: var(--fc-water);
}

/* --- Переключатель типа вскармливания --- */
.fc-mode-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #eef7f7;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.fc-mode {
  position: relative;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fc-muted);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.fc-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fc-mode:hover {
  color: var(--fc-ink);
}

.fc-mode.is-active {
  background: #ffffff;
  color: var(--fc-ink);
  box-shadow: 0 2px 6px rgba(20, 60, 80, 0.07);
}

/* --- Форма --- */
.fc-form {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .fc-form {
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }

  .fc-field-birth {
    grid-column: 1 / -1;
  }
}

.fc-field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-ink);
  margin-bottom: 8px;
}

.fc-optional {
  color: var(--fc-muted);
  font-weight: 500;
  font-size: 12.5px;
  margin-left: 4px;
}

.fc-input-wrap {
  position: relative;
}

.fc-input {
  width: 100%;
  padding: 14px 56px 14px 16px;
  background: #f7fbfb;
  border: 1.5px solid var(--fc-border);
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--fc-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fc-input:focus {
  outline: none;
  border-color: var(--fc-water);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(58, 138, 168, 0.12);
}

.fc-input::placeholder {
  color: #95b4b4;
  font-weight: 500;
}

.fc-input-error {
  border-color: #d14343 !important;
  background: #fff5f5 !important;
  animation: fc-shake 0.4s ease;
}

@keyframes fc-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.fc-input-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fc-muted);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

.fc-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
}

.fc-select {
  padding: 14px 40px 14px 16px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2395b4b4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #f7fbfb;
}

.fc-field-hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--fc-muted);
  line-height: 1.45;
}

/* --- Чипы «условия» для воды --- */
.fc-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fc-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f7fbfb;
  border: 1.5px solid var(--fc-border);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fc-muted);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.fc-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fc-chip:hover {
  border-color: var(--fc-accent-2);
  color: var(--fc-ink);
}

.fc-chip:has(input:checked) {
  background: var(--fc-water);
  border-color: var(--fc-water);
  color: #fff;
}

.fc-chip:has(input:checked)::before {
  content: "✓";
  font-weight: 800;
}

/* --- Кнопка расчёта --- */
.fc-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(180deg, #1b1b1b 0%, #111 100%);
  color: #fff;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.18);
}

.fc-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #262626 0%, #181818 100%);
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.24);
}

.fc-submit:active {
  transform: translateY(0);
}

/* --- Результат --- */
.fc-result {
  margin-top: 24px;
  padding: 28px;
  background:
    radial-gradient(600px 220px at 80% -40px, rgba(126, 196, 196, 0.28), transparent 70%),
    #f5fbfb;
  border: 1px solid var(--fc-border);
  border-radius: 18px;
  animation: fc-fade-in 0.35s ease;
}

@keyframes fc-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fc-result-main {
  text-align: center;
  margin-bottom: 22px;
}

.fc-result-eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fc-muted);
  margin-bottom: 14px;
}

.fc-amount-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 44px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf4f4 100%);
  border: 2px solid var(--fc-accent-2);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(58, 138, 168, 0.15), inset 0 1px 0 #fff;
  min-width: 220px;
}

.fc-amount-water {
  background: linear-gradient(180deg, #ffffff 0%, #e4f1f8 100%);
  border-color: var(--fc-water);
  box-shadow: 0 12px 30px rgba(58, 138, 168, 0.2), inset 0 1px 0 #fff;
}

.fc-amount-value {
  font-family: "Montserrat", sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--fc-ink);
}

.fc-amount-unit {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-water);
}

.fc-result-formula {
  margin: 16px auto 0;
  max-width: 520px;
  font-size: 14px;
  color: var(--fc-muted);
  line-height: 1.55;
}

.fc-result-formula strong {
  color: var(--fc-ink);
}

.fc-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.fc-result-card {
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  text-align: center;
}

.fc-result-card span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fc-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.fc-result-card strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--fc-ink);
}

.fc-tip {
  margin: 10px 0 0;
  padding: 12px 16px;
  background: #e7f3f8;
  border-left: 3px solid var(--fc-water);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--fc-ink);
  line-height: 1.5;
}

/* --- Поделиться --- */
.fc-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.fc-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--fc-border);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.fc-share-btn:hover {
  border-color: var(--fc-water);
  transform: translateY(-1px);
}

.fc-share-btn svg {
  color: var(--fc-water);
}

.fc-share-toast {
  font-size: 13.5px;
  color: #2a8b52;
  font-weight: 600;
  padding: 7px 12px;
  background: #e9f6ee;
  border-radius: 8px;
}

/* ---------------------------------------------------------- TABLES ---------- */
.fc-tables {
  margin-bottom: 56px;
  scroll-margin-top: 80px;
}

.fc-tables-head {
  text-align: center;
  margin-bottom: 24px;
}

.fc-tables-head h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 8px !important;
  color: var(--fc-ink);
  letter-spacing: -0.02em;
}

.fc-tables-head p {
  margin: 0;
  color: var(--fc-muted);
  font-size: 15px;
}

.fc-table-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.fc-table-tab {
  padding: 9px 18px;
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--fc-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.fc-table-tab:hover {
  color: var(--fc-ink);
  border-color: var(--fc-accent-2);
}

.fc-table-tab.is-active {
  background: var(--fc-ink);
  border-color: var(--fc-ink);
  color: #fff;
}

.fc-table-wrap {
  background: #fff;
  border: 1px solid var(--fc-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 60, 80, 0.05);
}

.fc-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}

.fc-table thead th {
  padding: 12px 14px;
  background: #eaf4f4;
  border-bottom: 2px solid var(--fc-accent-2);
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fc-ink);
  vertical-align: bottom;
  line-height: 1.25;
}

.fc-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef5f5;
  color: var(--fc-ink);
  vertical-align: top;
}

.fc-table tbody tr:last-child td {
  border-bottom: 0;
}

.fc-table tbody tr:nth-child(even) {
  background: #fafdfd;
}

.fc-table tbody tr:hover {
  background: #eff9f9;
}

.fc-table tbody td strong {
  font-weight: 700;
  color: var(--fc-water);
}

.fc-table tbody tr.fc-row-zero td {
  color: var(--fc-muted);
  font-style: italic;
}

.fc-table-foot {
  margin: 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--fc-muted);
  border-top: 1px solid var(--fc-border);
  background: #eef7f7;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.fc-print-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.fc-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 12px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fc-ink);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(20, 60, 80, 0.05);
}

.fc-print-btn:hover {
  border-color: var(--fc-water);
  background: #f5fbfb;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(58, 138, 168, 0.15);
}

.fc-print-btn svg {
  color: var(--fc-water);
}

.fc-print-hint {
  font-size: 13px;
  color: var(--fc-muted);
  line-height: 1.45;
  flex: 1 1 220px;
}

/* ---------------------------------------------------------- METHODS ---------- */
.fc-methods {
  margin-bottom: 56px;
  padding: 36px !important;
  background:
    radial-gradient(800px 260px at 100% 0%, rgba(126, 196, 196, 0.18), transparent 70%),
    linear-gradient(135deg, #f2fafa 0%, #e6f3f3 100%);
  border: 1px solid var(--fc-border);
  border-radius: 22px;
  scroll-margin-top: 80px;
}

.fc-methods h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  margin: 0 0 10px !important;
  color: var(--fc-ink);
  letter-spacing: -0.02em;
}

.fc-methods-lead {
  margin: 0 0 22px;
  max-width: 680px;
  font-size: 15px;
  color: var(--fc-muted);
  line-height: 1.55;
}

.fc-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.fc-method {
  position: relative;
  padding: 24px 22px 20px;
  background: #ffffff;
  border: 1px solid var(--fc-border);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fc-method:hover {
  transform: translateY(-3px);
  border-color: var(--fc-accent-2);
  box-shadow: 0 14px 30px rgba(20, 60, 80, 0.08);
}

.fc-method-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--fc-ink);
  color: #fff;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(17, 17, 17, 0.15);
}

.fc-method h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px !important;
  color: var(--fc-ink);
}

.fc-method-equation {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 0 12px !important;
  background: var(--fc-surface);
  border: 1px dashed var(--fc-accent-2);
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--fc-water);
  letter-spacing: 0.02em;
}

.fc-method p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fc-muted);
}

/* ---------------------------------------------------------- SEO ---------- */
.fc-seo {
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fc-ink);
}

.fc-seo h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  margin: 40px 0 14px !important;
  letter-spacing: -0.015em;
}

.fc-seo h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 700;
  margin: 26px 0 10px !important;
  color: var(--fc-ink);
}

.fc-seo p {
  margin: 0 0 14px;
  color: var(--fc-ink);
}

.fc-seo ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.fc-seo li {
  margin-bottom: 6px;
  line-height: 1.55;
}

.fc-seo a {
  color: var(--fc-water);
  text-decoration: underline;
  text-decoration-color: rgba(58, 138, 168, 0.4);
  text-underline-offset: 3px;
}

.fc-seo a:hover {
  text-decoration-color: var(--fc-water);
}

/* ------------------------------------------------------------- FAQ ---------- */
.fc-page .faq-section {
  background: none;
  padding: 0 !important;
  margin: 0 0 40px !important;
}

.fc-page .faq-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 3vw, 28px) !important;
  font-weight: 700;
  color: var(--fc-ink);
  text-align: center;
  margin: 0 0 24px !important;
  letter-spacing: -0.01em;
}

.fc-page .faq-list {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-page .faq-item {
  background: #fff;
  border: 1px solid #e4eeee;
  border-radius: 16px;
  padding: 0 26px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.fc-page .faq-item:hover {
  border-color: var(--fc-accent-2);
  box-shadow: 0 4px 16px rgba(20, 60, 80, 0.05);
}

.fc-page .faq-item.active {
  border-color: var(--fc-water);
  box-shadow: 0 8px 24px rgba(58, 138, 168, 0.15);
}

.fc-page .faq-heading {
  margin: 0;
}

.fc-page .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fc-ink);
  transition: color 0.25s;
  letter-spacing: -0.01em;
}

.fc-page .faq-question:hover {
  color: var(--fc-water);
}

.fc-page .faq-icon {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: var(--fc-water);
}

.fc-page .faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.fc-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fc-page .faq-answer-inner {
  padding-bottom: 22px;
}

.fc-page .faq-answer-inner p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fc-muted);
  margin: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
}

.fc-page .faq-answer-inner p a {
  color: var(--fc-water);
  text-decoration: underline;
  text-decoration-color: rgba(58, 138, 168, 0.4);
  text-underline-offset: 3px;
}

.fc-page .faq-item.active .faq-answer-inner p {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .fc-hero {
    padding: 90px 0 40px !important;
  }

  .fc-calc {
    padding: 20px !important;
    border-radius: 18px;
    margin-top: -20px;
  }

  .fc-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fc-tab {
    justify-content: center;
    padding: 10px 12px;
    font-size: 14px;
  }

  .fc-mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .fc-mode {
    text-align: center;
    font-size: 13px;
    padding: 8px 6px;
  }

  .fc-amount-value {
    font-size: 44px;
  }

  .fc-amount-chip {
    padding: 16px 30px;
    min-width: 180px;
  }

  .fc-result {
    padding: 20px;
  }

  .fc-methods {
    padding: 22px !important;
  }

  .fc-row {
    grid-template-columns: 1fr 120px;
  }

  /* Таблицы: карточный режим */
  .fc-table {
    min-width: 0;
  }

  .fc-table thead {
    display: none;
  }

  .fc-table,
  .fc-table tbody,
  .fc-table tr,
  .fc-table td {
    display: block;
    width: 100%;
  }

  .fc-table tr {
    padding: 10px 14px;
    border-bottom: 1px solid var(--fc-border);
  }

  .fc-table tr:last-child {
    border-bottom: 0;
  }

  .fc-table tbody td {
    padding: 6px 0;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }

  .fc-table tbody td::before {
    content: attr(data-th);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fc-muted);
    flex-shrink: 0;
  }

  .fc-table tbody tr:nth-child(even) {
    background: #fafdfd;
  }
}

/* Print */
@media print {
  .fc-hero,
  .fc-calc,
  .fc-methods,
  .fc-seo,
  .fc-share,
  .fc-print-row,
  .tools-pillar-link,
  .calc-author-block,
  .faq-section,
  header,
  footer {
    display: none !important;
  }

  .fc-page {
    background: #fff;
  }

  .fc-tables {
    margin: 0;
  }

  .fc-table-wrap {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .fc-table-wrap[hidden] {
    display: block !important;
  }
}
