/* Country pages (/funeral-home-software/*). Loaded after site.css and switch.css. */

/* Three days, one system */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; position: relative; }
.days::before { content: ""; position: absolute; top: 44px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: 0.35; }
.day { position: relative; background: var(--white); border: 1px solid var(--border-light); border-radius: 20px; padding: 28px 28px 30px; box-shadow: 0 10px 30px rgba(21,42,92,0.06); transition: transform 0.25s, box-shadow 0.25s; }
.day:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,42,92,0.1); }
.day-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, #3b82f6, var(--blue)); color: var(--white); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--tint); }
.day-when { font-size: 12.5px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--blue); margin: 20px 0 6px; display: block; }
.day h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.15; color: var(--ink); margin-bottom: 16px; }
.day ul { list-style: none; display: grid; gap: 10px; }
.day li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text-body); }
.day li svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }

/* Two-column feature rows */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; max-width: 1200px; margin: 0 auto; }
.split.flip > :first-child { order: 2; }
.split .intro { margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--blue-soft); border-radius: var(--radius-full); padding: 7px 14px; }

/* IAFD audit section */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--text-body); }
.checks li > svg { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); margin-top: 0; }
.checks b { color: var(--ink); font-weight: 600; }
.audit-stage { border-radius: 24px; padding: 44px 40px; background: radial-gradient(120% 100% at 80% 0%, #d6e2ff 0%, #e6eeff 50%, #f1f5fe 100%); border: 1px solid var(--border-light); }
.audit { background: var(--white); border-radius: 16px; box-shadow: 0 24px 60px rgba(21,42,92,0.14); overflow: hidden; max-width: 460px; margin: 0 auto; }
.audit-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border-light); }
.audit-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.audit-sub { font-size: 12.5px; color: var(--text-muted); }
.audit-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-soft); border-radius: var(--radius-full); padding: 4px 10px 4px 8px; }
.audit-badge svg { width: 13px; height: 13px; }
.audit-rows { list-style: none; padding: 8px 22px; }
.audit-rows li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border-light); }
.audit-rows li:last-child { border-bottom: 0; }
.audit-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.audit-dot svg { width: 13px; height: 13px; }
.audit-row-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.audit-row-meta { font-size: 12.5px; color: var(--text-muted); }
.audit-time { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.audit-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; background: var(--tint); border-top: 1px solid var(--border-light); font-size: 13px; font-weight: 600; color: var(--ink); }
.audit-pdf { font-size: 11.5px; font-weight: 700; color: var(--white); background: var(--ink); border-radius: 6px; padding: 4px 9px; }
.price-group { padding: 16px 22px 0; font-size: 11.5px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; color: var(--blue); }
.audit-rows.prices { padding-top: 2px; padding-bottom: 4px; }
.audit-rows.prices li { grid-template-columns: 1fr auto; padding: 10px 0; }
.price-name { font-size: 14px; font-weight: 500; color: var(--ink); }
.price-amt { font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Hub page: one card per country */
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.country { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border-light); border-radius: 20px; padding: 28px 26px; box-shadow: 0 10px 30px rgba(21,42,92,0.06); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.country:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,42,92,0.1); border-color: #c7d6fb; }
.country h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 8px; }
.country p { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin-bottom: 20px; flex: 1; }
.country .go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }

.fine { max-width: 1200px; margin: 40px auto 0; font-size: 12.5px; color: var(--text-light); }
.section-ruled { border-top: 1px solid var(--border-light); }

/* Signing image: the composite has its own white backdrop, so it sits on a white section */
.sign-stage img { display: block; width: 112%; max-width: none; height: auto; margin: 0 -6%; }

/* Made for this country */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.tile { background: var(--white); border: 1px solid var(--border-light); border-radius: 18px; padding: 26px 24px; }
.tile-ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 22px; font-weight: 700; }
.tile-ic svg { width: 22px; height: 22px; }
.tile:nth-child(1) .tile-ic { background: var(--green-soft); color: var(--green); }
.tile:nth-child(2) .tile-ic { background: var(--blue-soft); color: var(--blue); }
.tile:nth-child(3) .tile-ic { background: var(--violet-soft); color: var(--violet); }
.tile:nth-child(4) .tile-ic { background: #ddf3f1; color: #0f766e; }
.tile h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); margin-bottom: 4px; }
.tile p { font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }

@media (max-width: 1024px) {
  .days { grid-template-columns: 1fr; max-width: 560px; }
  .days::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
  .sign-stage img { width: 100%; margin: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .countries { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .day { padding: 24px 22px; }
  .day h3 { font-size: 21px; }
  .audit-stage { padding: 20px 12px; border-radius: 18px; }
  .audit-head, .audit-foot { padding-left: 16px; padding-right: 16px; }
  .audit-rows { padding: 6px 16px; }
  .price-group { padding-left: 16px; padding-right: 16px; }
  .sign-stage img { width: 100%; margin: 0; }
  .tiles { gap: 10px; }
  .tile { padding: 18px 16px; }
  .tile-ic { width: 40px; height: 40px; margin-bottom: 12px; }
  .tile h3 { font-size: 15.5px; }
  .tile p { font-size: 13.5px; }
  .countries { grid-template-columns: 1fr; }
}
