:root {
  --bg: #f6fbf4;
  --bg-soft: #eef8ea;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-solid: #ffffff;
  --line: rgba(0, 128, 0, 0.14);
  --text: #1f3320;
  --muted: #567057;
  --primary: #008000;
  --primary-strong: #006c00;
  --accent: #09aa11;
  --success: #0e9f3c;
  --danger: #d14b61;
  --warning: #c58b15;
  --shadow: 0 24px 60px rgba(10, 87, 24, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top, rgba(9, 170, 17, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf1 50%, #eef8ea 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.no-wrap {
  white-space: nowrap;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 128, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-mark {
  width: 153px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.brand-mark-image {
  padding: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.muted {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 18px 40px rgba(9, 170, 17, 0.2);
}

.button-secondary {
  background: rgba(0, 128, 0, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.button-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.24);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #ffffff;
}

.header-home-link {
  width: auto;
  min-height: 42px;
  padding: 0 18px;
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
}

.button-full {
  width: 100%;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero-section,
.inner-hero {
  padding: 72px 0 48px;
}

.hero-grid,
.split-section,
.scheduling-layout,
.dashboard-grid,
.admin-board-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: calc(100vh - 116px);
}

.hero-copy h1,
.inner-hero h1,
.section-heading h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-text,
.inner-hero p,
.section-heading p,
.pricing-copy,
.card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-badges,
.logo-row,
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges {
  margin-top: 28px;
}

.hero-badges span,
.logo-row span,
.benefit-item,
.pricing-tag {
  border: 1px solid var(--line);
  background: rgba(0, 128, 0, 0.05);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.choice-page {
  min-height: auto;
}

.choice-logo-block {
  max-width: 860px;
  margin: 0 auto 28px;
  text-align: center;
}

.choice-logo-block h1 {
  max-width: none;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.choice-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(10, 87, 24, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(10, 87, 24, 0.16);
  border-color: rgba(9, 170, 17, 0.2);
}

.choice-card::after {
  display: none;
}

.choice-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.choice-card-copy {
  display: grid;
  gap: 8px;
  text-align: center;
}

.choice-card-copy p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.choice-feature-stack {
  display: grid;
  gap: 10px;
}

.choice-feature-item {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 128, 0, 0.08);
}

.choice-feature-item strong {
  font-size: 1rem;
}

.choice-feature-item span {
  color: var(--muted);
  line-height: 1.65;
}

.choice-card-footer {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.choice-cta-button {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  min-height: 50px;
  justify-content: space-between;
  width: auto;
  padding-inline: 20px 18px;
}

.choice-cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.14) 48%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.choice-cta-button:hover::before {
  transform: translateX(120%);
}

.choice-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.22s ease, background 0.22s ease;
}

.choice-cta-button:hover .choice-cta-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.22);
}

.choice-card-title {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.choice-card-lead {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.choice-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.choice-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.simple-footer {
  padding: 0 0 36px;
}

.simple-footer-inner {
  display: grid;
  gap: 6px;
  padding-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.stat-card strong,
.feature-card h3,
.testimonial-card strong,
.pricing-card h3,
.process-card h3,
.panel-header h2,
.agenda-panel h2,
.history-entry h3,
.booking-panel h2 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.stat-card.accent {
  background: linear-gradient(145deg, rgba(9, 170, 17, 0.12), rgba(0, 128, 0, 0.08));
}

.section {
  padding: 64px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.cards-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.testimonial-card,
.pricing-card,
.process-card {
  min-height: 100%;
}

.dark-section {
  background: linear-gradient(180deg, rgba(0, 128, 0, 0.06), rgba(9, 170, 17, 0.03));
  border-top: 1px solid rgba(0, 128, 0, 0.08);
  border-bottom: 1px solid rgba(0, 128, 0, 0.08);
}

.split-section {
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
}

.benefit-list {
  justify-content: flex-start;
}

.benefit-item {
  width: fit-content;
}

.testimonial-card span {
  color: var(--muted);
}

.pricing-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

@keyframes floatGentle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(9, 170, 17, 0.14), rgba(0, 128, 0, 0.08));
  border: 1px solid rgba(0, 128, 0, 0.08);
}

.cta-box > .button {
  flex-shrink: 0;
}

@media (min-width: 1025px) {
  .cta-box > .button {
    white-space: nowrap;
  }
}

.page-shell {
  min-height: 100vh;
}

.inner-hero {
  padding-top: 56px;
}

.agenda-hero {
  padding-bottom: 12px;
}

.inner-hero-content {
  max-width: 860px;
}

.agenda-hero .inner-hero-content {
  max-width: 620px;
}

.agenda-hero .inner-hero-content h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.inner-hero-content p {
  font-size: 1.12rem;
  line-height: 1.85;
}

.back-link {
  display: inline-flex;
  color: var(--muted);
  margin-bottom: 20px;
}

.scheduling-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.agenda-panel,
.booking-panel {
  min-height: 100%;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.slots-list,
.admin-slots-list {
  display: grid;
  gap: 14px;
}

.slot-item,
.admin-slot-item {
  border-radius: 18px;
  border: 1px solid rgba(0, 128, 0, 0.28);
  background: rgba(0, 128, 0, 0.07);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.slot-item {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.slot-item.active {
  border-color: rgba(0, 128, 0, 0.78);
  background: linear-gradient(180deg, rgba(232, 248, 232, 0.98), rgba(219, 243, 220, 0.96));
  box-shadow: 0 0 0 2px rgba(0, 128, 0, 0.2), 0 18px 36px rgba(0, 128, 0, 0.14);
  transform: translateY(-2px);
}

.slot-item.active strong {
  color: var(--primary);
}

.slot-item.active .slot-select-button {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  box-shadow: 0 12px 26px rgba(0, 128, 0, 0.18);
}

.slot-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.slot-line strong {
  display: block;
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.slot-duration {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.slot-action {
  display: flex;
  justify-content: flex-end;
}

.slot-select-button {
  min-height: 38px;
  padding: 0 16px;
}

.booking-success-state {
  display: grid;
  gap: 14px;
}

.scheduling-layout.is-success-state {
  grid-template-columns: 1fr;
}

.booking-panel-success {
  min-height: 560px;
  display: grid;
  align-items: center;
  justify-items: center;
}

.booking-panel-success .booking-success-state {
  width: min(760px, 100%);
  justify-items: center;
  text-align: center;
  gap: 18px;
}

.booking-success-state h2,
.booking-success-state p {
  margin: 0;
}

.booking-success-state p {
  color: var(--muted);
  line-height: 1.75;
}

.booking-success-state h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: #163716;
}

.booking-success-note {
  max-width: 620px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(0, 128, 0, 0.06);
  border: 1px solid rgba(0, 128, 0, 0.1);
  color: #234423;
  font-weight: 600;
}

.slot-meta,
.admin-slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  background: rgba(0, 128, 0, 0.06);
  color: var(--muted);
}

.chip.success {
  color: #155b2d;
  background: rgba(14, 159, 60, 0.14);
}

.chip.warning {
  color: #825d0f;
  background: rgba(197, 139, 21, 0.14);
}

.chip.danger {
  color: #8a2d3f;
  background: rgba(209, 75, 97, 0.12);
}

.status-text-default {
  color: var(--text);
}

.status-text-success {
  color: #155b2d;
}

.status-text-warning {
  color: #825d0f;
}

.status-text-danger {
  color: #8a2d3f;
}

.booking-form,
.stack-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 128, 0, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 14px 16px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(9, 170, 17, 0.7);
  box-shadow: 0 0 0 1px rgba(9, 170, 17, 0.2);
}

.selected-slot,
.feedback,
.empty-state,
.inline-alert {
  border-radius: 18px;
  padding: 16px 18px;
}

.selected-slot,
.empty-state {
  background: rgba(0, 128, 0, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
}

.feedback {
  margin-top: 18px;
  border: 1px solid transparent;
}

.feedback.success {
  background: rgba(14, 159, 60, 0.12);
  border-color: rgba(14, 159, 60, 0.24);
  color: #155b2d;
}

.feedback.error {
  background: rgba(209, 75, 97, 0.1);
  border-color: rgba(209, 75, 97, 0.2);
  color: #8a2d3f;
}

.inline-alert {
  background: rgba(197, 139, 21, 0.1);
  border: 1px solid rgba(197, 139, 21, 0.2);
  color: #825d0f;
  margin-bottom: 16px;
}

.admin-layout {
  max-width: 1120px;
}

.admin-login-shell {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 84px);
}

.login-card {
  width: min(480px, 100%);
  margin: 0 auto;
}

.login-card h2 {
  margin: 0 0 18px;
}

.dashboard-grid,
.admin-board-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-top-card {
  margin-bottom: 28px;
}

.admin-today-card {
  margin-bottom: 28px;
}

.admin-slot-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.admin-form-notes {
  grid-column: span 2;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-slot-item {
  display: grid;
  gap: 12px;
}

.admin-bookings-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(0, 128, 0, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.admin-bookings-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

.admin-bookings-table th,
.admin-bookings-table td {
  padding: 16px 18px;
  text-align: left;
}

.admin-bookings-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(0, 128, 0, 0.05);
}

.admin-bookings-table td {
  border-top: 1px solid rgba(0, 128, 0, 0.08);
}

.admin-booking-row {
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.admin-booking-row:hover {
  background: rgba(9, 170, 17, 0.08);
}

.admin-booking-row:active {
  transform: scale(0.998);
}

.admin-booking-row.is-attention {
  animation: adminRowAttentionPulse 1.2s ease-in-out infinite;
}

.admin-booking-row.is-attention td {
  background: rgba(209, 75, 97, 0.12);
  color: #5a1824;
  font-weight: 700;
}

.admin-booking-row.is-attention td:first-child {
  box-shadow: inset 4px 0 0 rgba(209, 75, 97, 0.92);
}

.admin-booking-row.is-attention:hover td {
  background: rgba(209, 75, 97, 0.18);
}

.admin-booking-row td:last-child {
  font-weight: 600;
  color: var(--text);
}

@keyframes adminRowAttentionPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.admin-slot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-slot-booking {
  border-top: 1px solid rgba(0, 128, 0, 0.08);
  padding-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.admin-inline-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 128, 0, 0.04);
  border: 1px solid rgba(0, 128, 0, 0.08);
}

.admin-financial-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-financial-card,
.history-financial-highlight {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 128, 0, 0.1);
  background: rgba(255, 255, 255, 0.72);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-financial-card.is-primary,
.history-financial-highlight:first-child {
  background: linear-gradient(135deg, rgba(9, 170, 17, 0.12), rgba(0, 128, 0, 0.08));
}

.admin-financial-card small,
.history-financial-highlight small {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-financial-card strong,
.history-financial-highlight strong {
  font-size: 1.05rem;
  line-height: 1.35;
}

.admin-financial-card span {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-patient-type {
  margin-top: 14px;
}

.admin-type-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.button.is-selected {
  box-shadow: 0 0 0 1px rgba(9, 170, 17, 0.18);
}

.history-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 22px;
  margin-bottom: 24px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(0, 128, 0, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 239, 0.96)),
    linear-gradient(135deg, rgba(9, 170, 17, 0.08), rgba(0, 128, 0, 0.02));
  box-shadow: 0 22px 54px rgba(10, 87, 24, 0.08);
}

.history-dashboard-copy {
  display: grid;
  gap: 10px;
}

.history-dashboard-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  color: #173417;
}

.history-dashboard-copy p {
  margin: 0;
  max-width: 760px;
  color: #466246;
  line-height: 1.7;
}

.history-dashboard-controls {
  display: grid;
  gap: 16px;
  align-content: start;
}

.history-filter-field,
.history-filter-status {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 128, 0, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.history-filter-field span,
.history-filter-status-label {
  color: #567057;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.history-filter-field select {
  min-height: 48px;
  border-radius: 14px;
}

.history-filter-status strong {
  color: #173417;
  font-size: 1.85rem;
  line-height: 1;
}

.history-filter-status small {
  color: #5a725a;
  line-height: 1.5;
}

.history-executive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
  gap: 20px;
  margin-bottom: 28px;
}

.history-money-board {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(0, 128, 0, 0.1);
  background:
    radial-gradient(circle at top right, rgba(9, 170, 17, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(240, 249, 239, 0.96));
  box-shadow: 0 22px 54px rgba(10, 87, 24, 0.08);
}

.history-money-board-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.history-money-board-header h2 {
  margin: 0;
  color: #173417;
  font-size: 1.6rem;
}

.history-money-board-header p {
  margin: 0;
  max-width: 320px;
  color: #557055;
  line-height: 1.65;
}

.history-money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.history-money-kpi {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.history-money-kpi span {
  color: #567057;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.history-money-kpi strong {
  color: #173417;
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.history-money-kpi small {
  color: #557055;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.history-money-kpi-expected {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 243, 0.96));
}

.history-money-kpi-received {
  background: linear-gradient(180deg, rgba(244, 255, 244, 0.98), rgba(229, 247, 229, 0.97));
}

.history-money-kpi-balance {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(246, 239, 221, 0.98));
  border-color: rgba(197, 139, 21, 0.16);
}

.history-ops-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.history-summary-card {
  display: grid;
  gap: 8px;
  text-align: left;
  min-width: 0;
  min-height: 132px;
  align-content: start;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 242, 0.95));
  box-shadow: 0 16px 36px rgba(10, 87, 24, 0.06);
}

.history-summary-card span {
  color: #567057;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.history-summary-card strong {
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  color: #173417;
  line-height: 1.22;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.history-summary-card-primary {
  background: linear-gradient(135deg, rgba(0, 128, 0, 0.12), rgba(9, 170, 17, 0.08));
}

.history-summary-card-accent {
  background: linear-gradient(180deg, rgba(255, 249, 236, 0.98), rgba(249, 242, 220, 0.98));
  border-color: rgba(197, 139, 21, 0.14);
}

.history-table-card {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.history-table-header,
.history-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.history-table-header h2,
.history-section-heading h2 {
  margin: 0;
  color: #173417;
  font-size: 1.4rem;
}

.history-table-note {
  margin: 0;
  max-width: 360px;
  color: #557055;
  line-height: 1.6;
  text-align: right;
}

.history-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(0, 128, 0, 0.08);
}

.history-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.98);
}

.history-table th,
.history-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 128, 0, 0.08);
  text-align: left;
  vertical-align: middle;
}

.history-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(241, 249, 239, 0.98);
  color: #436043;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.history-table td {
  color: #274227;
  line-height: 1.55;
}

.history-table tbody tr[data-history-row] {
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.history-table tbody tr:hover {
  background: rgba(0, 128, 0, 0.035);
}

.history-table tbody tr.is-selected {
  background: rgba(0, 128, 0, 0.09);
  box-shadow: inset 3px 0 0 #0b8d18;
}

.history-table tfoot td {
  background: rgba(236, 247, 234, 0.98);
  font-weight: 700;
  color: #173417;
  border-bottom: 0;
}

.history-detail-page {
  display: grid;
  gap: 24px;
}

.history-detail-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.history-dashboard-hero-detail {
  align-items: start;
}

.history-detail-chip-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.history-detail-section {
  display: grid;
  gap: 18px;
}

.history-patient-focus {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(0, 128, 0, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 237, 0.96)),
    linear-gradient(135deg, rgba(9, 170, 17, 0.08), rgba(0, 128, 0, 0.03));
  box-shadow: 0 18px 44px rgba(10, 87, 24, 0.08);
}

.history-patient-focus-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.history-patient-focus-header h3 {
  margin: 0;
  color: #173417;
  font-size: 1.45rem;
}

.history-patient-focus-header p {
  margin: 6px 0 0;
  color: #557055;
  line-height: 1.55;
}

.history-patient-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.history-patient-focus-stat {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 128, 0, 0.08);
}

.history-patient-focus-stat span {
  color: #567057;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.history-patient-focus-stat strong {
  color: #173417;
  font-size: 1.2rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.history-list {
  display: grid;
  gap: 18px;
}

.contact-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.contact-batch-card,
.contact-entry {
  display: grid;
  gap: 16px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-entry {
  display: grid;
  gap: 16px;
}

.history-entry-detail {
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.history-entry-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.history-entry-top p {
  margin: 0;
}

.history-entry-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-financial-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.history-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.history-detail-block {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: rgba(0, 128, 0, 0.04);
}

.history-detail-block strong {
  font-size: 1rem;
}

.history-detail-block span {
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.history-record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.history-record-item {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 240, 0.96));
}

.history-record-item span {
  color: #567057;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.history-record-item strong {
  color: #173417;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

[data-history-row].hidden,
[data-history-card].hidden {
  display: none !important;
}

.admin-detail-shell {
  max-width: 1280px;
}

.admin-detail-card {
  display: grid;
  gap: 24px;
}

.admin-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  gap: 22px;
  padding: 26px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 249, 237, 0.96)),
    linear-gradient(135deg, rgba(9, 170, 17, 0.08), rgba(0, 128, 0, 0.02));
  border: 1px solid rgba(0, 128, 0, 0.12);
}

.admin-detail-hero-main,
.admin-detail-hero-aside,
.admin-detail-overview,
.admin-detail-workspace,
.admin-detail-main,
.admin-detail-side,
.admin-detail-panel,
.admin-panel-grid {
  display: grid;
  gap: 16px;
}

.admin-detail-hero-main h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.1vw, 2.7rem);
  line-height: 1.05;
  color: #163716;
}

.admin-detail-hero-main p {
  margin: 0;
  max-width: 760px;
  color: #446244;
  font-size: 1.02rem;
  line-height: 1.7;
}

.admin-detail-hero-aside {
  align-content: start;
}

.admin-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-detail-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-overview-card {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(0, 128, 0, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 239, 0.95));
  box-shadow: 0 18px 38px rgba(10, 87, 24, 0.08);
}

.admin-overview-label {
  color: #597259;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-overview-card strong {
  font-size: 1.2rem;
  line-height: 1.2;
  color: #173417;
}

.admin-overview-card small {
  color: #4d664d;
  font-size: 0.94rem;
  line-height: 1.5;
}

.admin-patient-type-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 20px;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: rgba(0, 128, 0, 0.05);
}

.admin-detail-workspace {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  align-items: start;
}

.admin-detail-main,
.admin-detail-side {
  align-content: start;
}

.admin-detail-panel {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(10, 87, 24, 0.08);
}

.admin-detail-panel-financial {
  background:
    linear-gradient(180deg, rgba(252, 255, 251, 0.98), rgba(242, 250, 240, 0.96));
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel-heading h3 {
  margin: 0;
  font-size: 1.28rem;
  color: #173417;
}

.admin-panel-heading .eyebrow {
  margin-bottom: 6px;
}

.admin-panel-grid {
  grid-template-columns: minmax(0, 1fr);
}

.admin-panel-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-panel-grid-span-2 {
  grid-column: 1 / -1;
}

.admin-financial-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 128, 0, 0.08), rgba(9, 170, 17, 0.04));
  border: 1px solid rgba(0, 128, 0, 0.08);
}

.admin-financial-stat {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.admin-financial-stat span {
  color: #567057;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-financial-stat strong {
  color: #173417;
  font-size: 1.2rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-financial-value-danger {
  color: var(--danger) !important;
}

.admin-financial-stat small {
  color: #5a725a;
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-financial-stat-balance {
  background: linear-gradient(180deg, rgba(249, 255, 247, 0.98), rgba(226, 244, 222, 0.98));
  border: 1px solid rgba(0, 128, 0, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.admin-record-list {
  display: grid;
  gap: 10px;
}

.admin-record-list span {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 128, 0, 0.04);
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-inline-edit-field {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 128, 0, 0.08);
  background: rgba(247, 251, 246, 0.96);
  min-height: 100%;
}

.admin-inline-edit-field > strong {
  color: #345134;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-inline-display {
  padding: 0;
  border: 0;
  background: transparent;
  color: #183618;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-inline-display:hover {
  color: var(--primary-strong);
}

.admin-inline-controls {
  display: grid;
  gap: 10px;
}

.admin-inline-controls input,
.admin-inline-controls select,
.admin-inline-controls textarea {
  background: rgba(255, 255, 255, 0.98);
}

.admin-inline-conditional {
  display: grid;
  gap: 8px;
}

.admin-inline-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}

.admin-inline-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.admin-inline-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-detail-footer-action {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.admin-detail-footer-action .button {
  min-height: 54px;
  padding-inline: 34px;
}

.admin-status-checklist {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 128, 0, 0.04);
  border-top: 1px solid rgba(0, 128, 0, 0.08);
}

.admin-status-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  color: var(--text);
}

.admin-status-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.admin-status-option span {
  color: var(--text);
  line-height: 1.4;
}

.booking-public-shell {
  max-width: 960px;
}

.booking-public-card,
.booking-public-header,
.booking-public-grid {
  display: grid;
  gap: 18px;
}

.booking-public-card {
  background: rgba(255, 255, 255, 0.99);
}

.booking-public-header .eyebrow {
  margin-bottom: 6px;
  color: var(--primary-strong);
}

.booking-public-header h1 {
  margin: 0;
  color: #173417;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.booking-public-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.booking-public-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 128, 0, 0.08);
  color: #264226;
  font-size: 1rem;
  line-height: 1.5;
}

.booking-public-summary strong {
  color: #173417;
}

.booking-public-header p {
  margin: 0;
  color: #365236;
  font-size: 1.05rem;
  line-height: 1.75;
}

.booking-public-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-public-card .history-detail-block {
  padding: 18px;
  border-color: rgba(0, 128, 0, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.booking-public-card .history-detail-block strong {
  font-size: 1.1rem;
  color: #173417;
}

.booking-public-card .history-detail-block span {
  color: #314a31;
  font-size: 1rem;
  line-height: 1.7;
}

.booking-public-card .history-detail-block span strong {
  font-size: 1rem;
  color: #173417;
}

.booking-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.booking-public-actions .button {
  min-height: 48px;
  padding: 0 22px;
}

.booking-public-actions .button-primary {
  box-shadow: 0 18px 36px rgba(9, 170, 17, 0.22);
}

.booking-public-actions .button-secondary {
  background: rgba(0, 128, 0, 0.08);
  border-color: rgba(0, 128, 0, 0.16);
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-section,
  .choice-grid,
  .scheduling-layout,
  .dashboard-grid,
  .admin-board-grid,
  .cards-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .admin-slot-form {
    grid-template-columns: 1fr 1fr;
  }

  .admin-form-notes {
    grid-column: span 2;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 28px;
  }

  .history-dashboard-hero,
  .history-executive-grid,
  .history-detail-workspace {
    grid-template-columns: 1fr;
  }

  .history-money-grid,
  .history-ops-board {
    grid-template-columns: 1fr;
  }

  .history-money-board-header {
    flex-direction: column;
  }

  .contact-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-detail-hero,
  .admin-detail-workspace {
    grid-template-columns: 1fr;
  }

  .admin-detail-overview,
  .admin-financial-panel,
  .history-financial-strip,
  .history-details-grid,
  .booking-public-grid,
  .admin-panel-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .history-table-header,
  .history-section-heading,
  .history-detail-header-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-table-note,
  .history-detail-chip-stack {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-section,
  .section,
  .inner-hero {
    padding: 48px 0;
  }

  .card {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .header-inner .button {
    width: auto;
    flex: 0 0 auto;
  }

  .history-detail-header-actions {
    width: 100%;
  }

  .header-home-link {
    min-height: 38px;
    padding: 0 14px;
  }

  .choice-card {
    padding: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .contact-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-detail-overview,
  .admin-financial-panel,
  .history-financial-strip,
  .history-details-grid,
  .history-record-grid,
  .booking-public-grid,
  .admin-panel-grid-2,
  .admin-financial-summary {
    grid-template-columns: 1fr;
  }

  .admin-detail-hero {
    padding: 18px;
  }

  .history-dashboard-hero {
    padding: 18px;
  }

  .history-money-board {
    padding: 18px;
  }

  .admin-detail-actions {
    justify-content: flex-start;
  }

  .admin-patient-type-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .slot-item {
    grid-template-columns: 1fr;
  }

  .slot-action {
    justify-content: flex-start;
  }

  .contact-actions {
    flex-direction: column;
  }

  .history-entry-top {
    flex-direction: column;
  }

  .admin-slot-form {
    grid-template-columns: 1fr;
  }

  .admin-form-notes {
    grid-column: auto;
  }

  .admin-toolbar {
    width: 100%;
  }
}

/* Pagamento Pix - agendamento com checkout */
.payment-notice {
  font-size: 0.85rem;
  color: var(--text-muted, #6b7280);
  margin: 4px 0 0;
}

.payment-qr-image {
  display: block;
  width: 200px;
  height: 200px;
  margin: 16px auto;
  border-radius: 8px;
  background: #fff;
}

.payment-copy-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  margin-top: 12px;
  text-align: left;
}

.payment-qr-code {
  width: 100%;
  resize: none;
  font-family: monospace;
  font-size: 0.8rem;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #d1d5db);
}

/* Landing page de anuncio - Consulta Online */
.lp-hero-photo {
  width: 100%;
  max-width: 540px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

.feature-card,
.process-card {
  text-align: center;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-quote {
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

.testimonial-card .testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

@media (min-width: 1025px) {
  .lp-testimonials-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin: 0 auto;
  }
}

.lp-cta-strip {
  padding: 32px 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.lp-cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lp-cta-strip p {
  flex: 1 1 320px;
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lp-cta-strip .button-primary {
  flex: 0 0 auto;
  background: #ffffff;
  color: var(--primary-strong);
  box-shadow: none;
}

.lp-cta-strip .button-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.lp-price-box h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 6px 0 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.mobile-cta-bar {
  display: none;
}

@media (max-width: 640px) {
  .mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(10, 87, 24, 0.12);
  }

  .simple-footer {
    padding-bottom: 96px;
  }
}
