/* Pogrebeniya Page Template Styles */

/* Three Column Comparison Section */
.comparison-section {
    width: 100%;
    background: #000;
    padding: 60px 0;
}

.comparison-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
    padding: 0 50px;
}

.comparison-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.comparison-row {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    padding: 0 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Column 1: Background, smaller font */
.comparison-column:first-child {
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    border-radius: 4px;
    min-height: calc(20 * 50px + 19 * 32px); /* 20 rows * 50px + 19 gaps * 32px */
}

.comparison-column:first-child .comparison-row {
    background: transparent;
    margin-bottom: 32px;
    font-size: 20px;
}

.comparison-column:first-child .comparison-row:last-child {
    margin-bottom: 0;
}

/* Columns 2 & 3: Only show background when content exists */
.comparison-column:not(:first-child) .comparison-row:empty {
    background: transparent;
    height: 50px;
    margin-bottom: 32px;
}

.comparison-column:not(:first-child) .comparison-row:not(:empty) {
    background: rgba(0, 0, 0, 0.25);
    margin-bottom: 32px;
}

.comparison-column:not(:first-child) .comparison-row:last-child {
    margin-bottom: 0;
}

/* Text content in middle and right columns - 20px font */
.comparison-column:not(:first-child) .comparison-row.text-content {
    font-size: 20px !important;
}

/* Mixed content (checkmarks/X's with text) - 20px font */
.comparison-column:not(:first-child) .comparison-row.mixed-content {
    font-size: 20px !important;
}

/* Keep checkmarks and X's at 36px */
.comparison-column:not(:first-child) .comparison-row.checkmark,
.comparison-column:not(:first-child) .comparison-row.x-mark {
    font-size: 36px !important;
}

/* Hover effects for better UX */
.comparison-row:hover {
    background: rgba(0, 0, 0, 0.35);
}

/* Responsive adjustments (non-responsive as requested, but keeping structure) */
@media (max-width: 768px) {
    .comparison-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .comparison-column {
        width: 100%;
    }
} 

/* ===== Funeral Agency: Mobile Tiers (scoped) ===== */
@media (max-width: 767px) {
  /* page scope: only run on these templates */
  .fa-mobile-tiers {
    margin: 20px auto;
    padding: 0 20px;
  }

  .fa-tier {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: saturate(120%);
    border: 1px solid #FFFFFF;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: none;
    transition: box-shadow 200ms ease;
    cursor: pointer;
  }
  .fa-tier:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.25); }

  .fa-tier-head {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .fa-tier-title {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.2;
    color: #FFF;
    text-align: left;
    margin: 0;
  }

  .fa-tier-price {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 54px;
    line-height: 1.0;
    color: #FFF;
    text-align: left;
  }
  .fa-tier-eur { font-family: Inter, sans-serif; font-weight: 600; font-size: 51px; color: #fff; opacity: 0.9; margin-top: -5px; }

  .fa-tier[data-tier="1"] .fa-hand::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 11v-2a2 2 0 1 1 4 0v2"/><path d="M13 11V7a2 2 0 1 1 4 0v4"/><path d="M17 11V8a2 2 0 1 1 4 0v7a6 6 0 0 1-6 6h-2a6 6 0 0 1-6-6v-3a2 2 0 1 1 4 0v3"/></svg>');
  }

  .fa-tier-body {
    padding: 0 20px 20px 20px;
  }

  .fa-cta-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 123px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    background: #FFFFFF;
    color: #000000;
    margin-bottom: 20px;
  }

  .fa-features {
    display: grid;
    grid-auto-rows: min-content;
    row-gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .fa-feature {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    column-gap: 12px;
    text-align: left;
  }

  .fa-feature .fa-feature-text {
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
    color: #FFFFFF;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }

  .fa-ico {
    width: 22px; height: 22px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 22px 22px;
  }
  .fa-ico-check {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22"><circle cx="12" cy="12" r="11" fill="%233C5B49"/><path d="M7 12.5l3 3 7-7" stroke="%23fff" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  }
  .fa-ico-x {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="22" height="22"><circle cx="12" cy="12" r="11" fill="%23d32f2f"/><path d="M8 8l8 8M16 8l-8 8" stroke="%23fff" stroke-width="2" stroke-linecap="round"/></svg>');
  }

  .fa-tier[aria-expanded="true"] { box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
}

/* Visibility control: hide mobile tiers on desktop, hide desktop sections on mobile */
@media (min-width: 768px) {
  .fa-mobile-tiers { display: none !important; }
}
@media (max-width: 767px) {
  .page-pricing-container,
  .comparison-section { display: none !important; }
}

/* Mobile nav buttons: stack vertically and enlarge by ~25% */
@media (max-width: 767px) {
  .page-nav-container { flex-direction: column; gap: 20px; height: auto; padding: 20px; }
  .page-nav-container .page-nav-btn { width: 313px; height: 96px; font-size: 22px; }
  .page-nav-container .page-nav-btn span { font-size: inherit; }
}

/* Desktop pricing: EUR 3px smaller than main price */
.page-pricing-container .pricing-price { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.page-pricing-container .pricing-price .pricing-bgn { font-family: Inter, sans-serif; font-weight: 700; font-size: 54px; line-height: 1; color: #fff; }
.page-pricing-container .pricing-price .pricing-eur { font-family: Inter, sans-serif; font-weight: 700; font-size: 51px; line-height: 1; color: #fff; }