/* Country-specific pricing: all three countries are rendered into the HTML;
   only the selected one is shown. Default (no JS) is Guatemala, set via
   body[data-country] in the layout. */
.price-for-country,
.caption-for-country {
  display: none;
}

body[data-country="US"] .price-for-country.country-US,
body[data-country="GT"] .price-for-country.country-GT,
body[data-country="HN"] .price-for-country.country-HN {
  display: inline;
}

body[data-country="US"] .caption-for-country.country-US,
body[data-country="GT"] .caption-for-country.country-GT,
body[data-country="HN"] .caption-for-country.country-HN {
  display: block;
}

/* Product page: nav country switch */
.country-switch {
  align-self: flex-start;
  margin: 4px 24px 0;
  border: 1px solid var(--color-gray);
  background-color: transparent;
  color: var(--color-gray);
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 26px 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23525252' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
}

@media (min-width: 768px) {
  .country-switch { margin: 0 0 0 12px; }
}

/* Product page: hero */
.product-hero {
  background: #ffffff;
  text-align: center;
  padding: calc(var(--nav-height) + 56px) 24px 56px;
}

.product-hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.product-hero-logo {
  height: 100px;
  width: auto;
  margin: 0 auto 28px;
}

.product-hero h1 {
  font-size: 1.8rem;
  line-height: 1.25;
  color: var(--color-gray);
  margin-bottom: 16px;
}

.product-hero p {
  font-size: 1.05rem;
  color: var(--color-gray-soft);
  margin-bottom: 28px;
}

@media (min-width: 600px) {
  .product-hero h1 { font-size: 2.2rem; }
  .product-hero p { font-size: 1.15rem; }
}

@media (min-width: 992px) {
  .product-hero h1 { font-size: 2.6rem; }
}

/* Product page: features */
.features {
  background: #f7f7f7;
  padding: 64px 24px;
}

.feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 56px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-text {
  max-width: 480px;
  text-align: center;
}

.feature-text h2 {
  font-size: 1.35rem;
  color: var(--color-gray);
  margin-bottom: 10px;
}

.feature-text p {
  color: var(--color-gray-soft);
  font-size: 1rem;
}

.feature-image {
  width: 100%;
}

.feature-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 900px) {
  .feature-row {
    flex-direction: row;
    text-align: left;
    gap: 48px;
  }

  .feature-row.reverse {
    flex-direction: row-reverse;
  }

  .feature-text {
    flex: 1;
    text-align: left;
    max-width: 380px;
  }

  .feature-image {
    flex: 1.3;
  }
}

/* Product page: pricing */
.pricing {
  background: #ffffff;
  padding: 64px 24px;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.tier-card {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.tier-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gray);
  margin-bottom: 8px;
}

.tier-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-gray);
}

.tier-price-period {
  font-size: 0.9rem;
  color: var(--color-gray-soft);
  margin-bottom: 2px;
}

.tier-price-annual {
  font-size: 0.85rem;
  color: var(--color-gray-soft);
  margin-bottom: 4px;
}

.tier-users {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-gray);
  margin-bottom: 20px;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tier-features li {
  padding: 6px 0;
  color: var(--color-gray-soft);
  font-size: 0.9rem;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.tier-features li::before {
  content: "✓";
  color: var(--color-yellow);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-table-wrap {
  display: none;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  isolation: isolate;
}

@media (min-width: 900px) {
  .pricing-cards {
    display: none;
  }

  .pricing-table-wrap {
    display: block;
  }
}

.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #ffffff;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
}

.feature-col,
.feature-name-cell {
  position: sticky;
  left: 0;
  background: #ffffff;
  z-index: 1;
  box-shadow: 1px 0 0 #e5e5e5;
}

.feature-col {
  text-align: left;
  color: var(--color-gray);
}

.plan-col {
  text-align: center;
  background: #f7f7f7;
  min-width: 140px;
  vertical-align: top;
}

.plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gray);
  margin-bottom: 6px;
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-gray);
}

.plan-price-period {
  font-size: 0.8rem;
  color: var(--color-gray-soft);
}

.plan-price-annual {
  font-size: 0.75rem;
  color: var(--color-gray-soft);
  margin-bottom: 4px;
}

.plan-users {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gray);
}

.group-row td {
  background: #fafafa;
  color: var(--color-gray);
  font-weight: 700;
  font-size: 0.85rem;
  padding-top: 16px;
  padding-bottom: 8px;
  border-top: 1px solid #e5e5e5;
}

.feature-name-cell {
  color: var(--color-gray-soft);
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
}

.feature-cell {
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.feature-check {
  color: var(--color-yellow);
  font-weight: 700;
}

.feature-dash {
  color: #ccc;
}

.coming-soon-badge {
  font-size: 0.8rem;
  margin-left: 4px;
  cursor: help;
}

.pricing-caption {
  text-align: center;
  color: var(--color-gray-soft);
  font-size: 0.85rem;
  margin-top: 12px;
}

.pricing-caption:first-of-type {
  margin-top: 24px;
}
