﻿:root {
  --ri-ink: #102437;
  --ri-text: #1f3546;
  --ri-brand-a: #0f6f66;
  --ri-brand-b: #1b4d81;
  --ri-accent: #cb2b7f;
  --ri-accent-dark: #a11b62;
  --ri-soft: #edf6fb;
}

@keyframes riFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ri-pro-landing {
  max-width: 1160px;
  margin: 0 auto;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ri-text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(18, 47, 73, 0.09);
}

.ri-pro-hero {
  text-align: center;
  padding: 64px 24px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(125deg, var(--ri-brand-a) 0%, var(--ri-brand-b) 45%, #2a4a96 100%);
  color: #fff;
  position: relative;
}

.ri-pro-brand {
  max-width: 220px;
  margin: 0 auto 16px;
}

.ri-pro-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.ri-pro-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.ri-pro-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.ri-pro-subtitle {
  margin: 12px auto 0;
  max-width: 760px;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.6);
}

.ri-pro-segment {
  margin: 10px auto 0;
  max-width: 760px;
  font-weight: 600;
  opacity: 0.95;
  color: #fff;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.58);
}

.ri-pro-contact {
  margin: 14px 0 0;
  font-size: 14px;
  opacity: 0.95;
  color: #fff;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.58);
}

.ri-pro-badge {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.ri-pro-hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ri-pro-btn {
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.ri-pro-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(18, 45, 71, 0.26);
  filter: saturate(1.08);
}

.ri-pro-btn-shop {
  background: linear-gradient(130deg, #0f1720, #152739);
  color: #fff;
}

.ri-pro-btn-wa {
  background: linear-gradient(130deg, var(--ri-accent), var(--ri-accent-dark));
  color: #fff;
}

.ri-pro-services,
.ri-pro-products,
.ri-pro-cta,
.ri-pro-custom-box,
.ri-pro-comunas-links,
.ri-pro-business-lines,
.ri-pro-couriers,
.ri-pro-categories,
.ri-pro-seo-copy,
.ri-pro-seo-extended,
.ri-pro-reviews-box,
.ri-pro-faq-final {
  padding: 42px 20px;
  animation: riFadeUp 0.55s ease both;
}

.ri-pro-business-lines { animation-delay: 0.06s; }
.ri-pro-seo-copy { animation-delay: 0.1s; }
.ri-pro-seo-extended { animation-delay: 0.14s; }
.ri-pro-categories { animation-delay: 0.18s; }
.ri-pro-products { animation-delay: 0.22s; }
.ri-pro-reviews-box { animation-delay: 0.26s; }
.ri-pro-faq-final { animation-delay: 0.3s; }
.ri-pro-bottom-cta { animation: riFadeUp 0.55s ease both; animation-delay: 0.34s; }

.ri-pro-services h2,
.ri-pro-products h2,
.ri-pro-cta h2,
.ri-pro-custom-box h2,
.ri-pro-business-lines h2,
.ri-pro-couriers h2,
.ri-pro-categories h2,
.ri-pro-seo-copy h2,
.ri-pro-seo-extended h2,
.ri-pro-reviews-box h2,
.ri-pro-faq-final h2 {
  margin: 0 0 14px;
  font-size: 30px;
  text-align: center;
}

.ri-pro-seo-copy {
  padding-top: 10px;
  padding-bottom: 24px;
}

.ri-pro-seo-copy h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  color: #0f3f53;
  text-align: center;
}

.ri-pro-seo-copy p {
  margin: 0;
  line-height: 1.75;
  color: #2f3f4a;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.ri-pro-seo-extended {
  background: linear-gradient(180deg, #f7fbfd, #eef6fb);
  border-radius: 16px;
  border: 1px solid #d8e8f1;
}

.ri-pro-seo-extended h3 {
  margin: 14px 0 8px;
  color: #0f4b61;
  text-align: center;
}

.ri-pro-seo-extended p {
  margin: 0;
  line-height: 1.75;
  color: #2f3f4a;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.ri-pro-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ri-pro-business-grid article {
  border: 1px solid #d8e7df;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 76, 104, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ri-pro-business-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(27, 74, 111, 0.16);
}

.ri-pro-business-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
  text-align: center;
}

.ri-pro-business-grid p {
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.ri-pro-courier-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ri-pro-courier-item {
  border: 1px dashed #b7ced6;
  background: #fff;
  border-radius: 10px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #255568;
  font-size: 13px;
  padding: 8px;
  text-align: center;
}

.ri-pro-courier-item img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.ri-pro-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ri-pro-category-card {
  text-decoration: none;
  border: 1px solid #d2e3eb;
  border-radius: 12px;
  background: #fff;
  color: #1e5569;
  padding: 14px;
  text-align: center;
  font-weight: 700;
}

.ri-pro-category-card:hover {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, var(--ri-brand-a), var(--ri-accent));
  border-color: transparent;
}

.ri-pro-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ri-pro-service-card {
  background: #fff;
  border: 1px solid #dce8ee;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.ri-pro-service-card h3 {
  margin: 0;
  font-size: 15px;
  text-align: center;
}

.ri-pro-carousel-section {
  margin-bottom: 26px;
}

.ri-pro-carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ri-pro-carousel-head h3 {
  margin: 0;
  font-size: 22px;
  color: #0f3f53;
  text-align: center;
}

.ri-pro-carousel-head a {
  text-decoration: none;
  color: #156481;
  font-weight: 700;
}

.ri-pro-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 230px);
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scroll-snap-type: x mandatory;
}

.ri-pro-carousel-track::-webkit-scrollbar {
  height: 8px;
}

.ri-pro-carousel-track::-webkit-scrollbar-thumb {
  background: #b8d0dd;
  border-radius: 999px;
}

.ri-pro-carousel-card {
  border: 1px solid #d8e7ed;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
  box-shadow: 0 10px 20px rgba(24, 66, 98, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ri-pro-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(23, 61, 92, 0.18);
}

.ri-pro-product-image {
  display: block;
  padding: 10px;
  background: #f4f9fc;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ri-pro-product-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: 190px !important;
  object-fit: contain;
  display: block;
}

.ri-pro-carousel-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: 190px !important;
  object-fit: contain;
}

.ri-pro-carousel-card h4 {
  margin: 10px 12px 6px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.ri-pro-carousel-card h4 a {
  color: #1b2a33;
  text-decoration: none;
}

.ri-pro-price {
  margin: 0 12px 10px;
  font-weight: 700;
  color: #0d5f78;
  text-align: center;
}

.ri-pro-product-actions {
  margin: 0 12px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ri-pro-product-actions a {
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
}

.ri-pro-product-actions a:first-child {
  background: #efefef;
  color: #111;
}

.ri-pro-product-actions a:last-child {
  background: linear-gradient(120deg, var(--ri-brand-a), var(--ri-accent));
  color: #fff;
}

.ri-pro-products-more,
.ri-pro-custom-box p,
.ri-pro-comunas-links h3 {
  text-align: center;
}

.ri-pro-products-more {
  margin-top: 14px;
}

.ri-pro-custom-box {
  border: 1px solid #d8e4ea;
  border-radius: 12px;
  background: #fff;
}

.ri-pro-custom-box p {
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.7;
}

.ri-pro-cta {
  text-align: center;
  background: linear-gradient(180deg, #edf5f9, #e5f2f8);
  border-radius: 14px;
}

.ri-pro-bottom-cta {
  margin: 26px 20px 40px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #cde2ee;
  background: linear-gradient(130deg, #edf7ff, #f8ecf3);
  text-align: center;
}

.ri-pro-bottom-cta p {
  margin: 0 0 10px;
  color: #274656;
  line-height: 1.65;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.ri-pro-bottom-cta .ri-pro-hero-actions {
  margin-top: 10px;
}

.ri-pro-reviews-box {
  border: 1px solid #d4e5ee;
  border-radius: 14px;
  background: #fff;
}

.ri-pro-reviews-shortcode {
  max-width: 980px;
  margin: 0 auto;
}

.ri-pro-faq-final {
  border: 1px solid #d6e4ec;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbfd, #f0f6fa);
}

.ri-pro-faq-final details {
  border: 1px solid #d6e7ef;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  margin-bottom: 10px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.ri-pro-faq-final summary {
  cursor: pointer;
  font-weight: 700;
  color: #194e63;
  font-size: 22px;
  line-height: 1.45;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ri-pro-faq-final summary::-webkit-details-marker {
  display: none;
}

.ri-pro-faq-final summary::before {
  content: "\25B8";
  color: var(--ri-accent);
  transition: transform 0.2s ease;
  font-size: 16px;
  line-height: 1;
}

.ri-pro-faq-final details[open] {
  border-color: #8ab9cf;
  background: #fafdff;
  box-shadow: 0 8px 18px rgba(20, 63, 95, 0.1);
}

.ri-pro-faq-final details[open] summary::before {
  transform: rotate(90deg);
}

.ri-pro-faq-final p {
  margin: 10px 0 0;
  line-height: 1.7;
  color: #2f3f4a;
  font-size: 18px;
}

.ri-pro-comunas-links .ri-pro-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.ri-pro-comunas-links .ri-pro-tags a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef7fb;
  border: 1px solid #d0e5ef;
  color: #235e75;
}

@media (max-width: 1024px) {
  .ri-pro-services-grid,
  .ri-pro-courier-logos,
  .ri-pro-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ri-pro-business-grid {
    grid-template-columns: 1fr;
  }

  .ri-pro-carousel-track {
    grid-auto-columns: minmax(210px, 210px);
  }

  .ri-pro-hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .ri-pro-services-grid,
  .ri-pro-courier-logos,
  .ri-pro-category-grid {
    grid-template-columns: 1fr;
  }

  .ri-pro-hero h1 {
    font-size: 26px;
  }

  .ri-pro-carousel-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ri-pro-carousel-track {
    grid-auto-columns: minmax(185px, 185px);
  }

  .ri-pro-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .ri-pro-faq-final summary {
    font-size: 18px;
    line-height: 1.35;
  }

  .ri-pro-faq-final p {
    font-size: 16px;
  }
}

.ri-pro-regions-view {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 20px 48px;
}

.ri-pro-regions-view h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 32px;
}

.ri-pro-regions-view > p {
  text-align: center;
  margin: 0 0 22px;
  color: #495e66;
}

.ri-pro-region-block {
  border: 1px solid #d6e6ee;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  margin-bottom: 12px;
}

.ri-pro-region-block h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: #1c5a74;
}

.ri-pro-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ri-pro-region-links a {
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d6e7ef;
  background: #f1f8fc;
  color: #245c73;
  font-size: 13px;
}

.ri-pro-region-links a:hover {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, #146f6a, #1d5f86);
  border-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .ri-pro-services,
  .ri-pro-products,
  .ri-pro-cta,
  .ri-pro-custom-box,
  .ri-pro-comunas-links,
  .ri-pro-business-lines,
  .ri-pro-couriers,
  .ri-pro-categories,
  .ri-pro-seo-copy,
  .ri-pro-seo-extended,
  .ri-pro-reviews-box,
  .ri-pro-faq-final,
  .ri-pro-bottom-cta {
    animation: none !important;
  }

  .ri-pro-btn,
  .ri-pro-business-grid article,
  .ri-pro-carousel-card,
  .ri-pro-faq-final details {
    transition: none !important;
  }
}
