/* ==========================================================================
   Soft Restaurant® 10 — page styles
   ========================================================================== */

.text-sr-orange { color: #ef6e16; }

/* Shared section title ("sppb-section-title") */
.section-heading { position: relative; z-index: 1; margin-bottom: 50px; }
.section-heading__title {
  margin: 0 0 15px;
  font-size: 40px;
  line-height: 40px;
  font-weight: 800;
  color: #3c3b44;
}

/* ---------- Hero ---------- */
.sr10-hero {
  display: flex;
  align-items: center;
  height: 400px;
  padding: 76px 0 23px;
  color: #fff;
  font-size: 20px;
  background-image: url('../../img/soft-restaurant-10/hero-sr10.jpg');
  background-position: 0 0;
}
.sr10-hero > .container { width: 100%; }
.sr10-hero__overlay { background-color: rgba(0, 0, 0, .11); }
.sr10-hero__content { margin-bottom: 30px; }
.sr10-hero__title { margin: 0 0 .5rem; font-size: 55px; font-weight: 700; line-height: 1.2; color: #fff; }

/* ---------- Sticky in-page navigation ---------- */
.section-nav {
  position: sticky;
  top: var(--sr-header-height);
  z-index: 998;
  padding: 9px 0;
  background-color: #4d4161;
}
.section-nav__list { margin: 0; padding: 0; list-style: none; text-align: center; }
.section-nav__list li { display: inline-block; }
.section-nav__list a {
  display: inline-block;
  margin-right: 5px;
  padding: 5px;
  border-radius: 4px;
  color: #f5f5f5;
  text-transform: none;
}
.section-nav__list a:hover { color: #f5f5f5; background-color: rgba(152, 167, 180, .35); }
.section-nav__list li.is-active a { color: #fff; background-color: #ec6000; }

/* ---------- Intro ---------- */
.intro { padding: 50px 0 15px; background-color: #fff; }
.intro__title {
  margin: 0 0 30px;
  font-size: 43px;
  line-height: 55px;
  font-weight: 700;
  color: #3c3b44;
  text-transform: none;
}
.intro__reg { font-size: 19px; }
.intro__lead { margin: 0 auto 30px; font-size: 20px; line-height: 28px; }
.intro__video { padding: 11px 0 5px; }

/* Small orange play button with the pulsing ripple from custom.css (.sombra) */
.intro__play.play-button {
  position: relative;
  z-index: 0;
  width: 29px;
  height: 29px;
  margin: 10px 0;
  padding: 2px;
  font-size: 25px;
  line-height: 1;
  background-color: #ec6000;
  box-shadow: none;
}
.intro__play.play-button--pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgb(236 96 0 / 80%), 0 0 0 30px rgb(236 96 0 / 60%), 0 0 0 45px rgb(236 96 0 / 40%);
  animation: sr10Ripple 2s infinite;
}
@keyframes sr10Ripple {
  0% { opacity: 0; transform: scale(.5); }
  10% { opacity: 1; }
  90% { opacity: 0; }
  100% { opacity: 0; transform: scale(1); }
}

/* ---------- Benefits ---------- */
.benefits { padding: 25px 0 31px; }
.benefit { display: flex; align-items: flex-start; margin-bottom: 10px; }
.benefit__icon {
  flex: 0 0 auto;
  margin-right: 15px;
  padding: 0 7px 7px;
  color: #ee6f23;
  font-size: 28px;
  line-height: 28px;
}
.benefit__title { margin: 0 0 5px; font-size: 16px; line-height: 24px; color: #4a4a4a; }
.benefits__summary { margin: 0 auto; font-size: 20px; }

/* ---------- Demo call to action ---------- */
.demo-cta { padding: 18px 60px; }
.demo-cta__box {
  padding: 26px 0 26px 59px;
  border-radius: 10px;
  background-color: #d6d3d3;
  background-image: url('../../img/soft-restaurant-10/demo-fondo.jpg');
  background-position: 0 0;
  box-shadow: 7px 7px 6px 0 #b9b9b9;
  overflow: hidden;
}
.demo-cta__overlay { border-radius: 10px; background-color: rgba(44, 33, 59, .8); }
.demo-cta__row { position: relative; z-index: 2; margin: 0; }
.demo-cta__title { margin: 0; font-size: 30px; line-height: 35px; font-weight: 700; color: #fff; text-transform: none; }
.demo-cta__btn {
  --bs-btn-padding-y: 20px;
  --bs-btn-padding-x: 50px;
  --bs-btn-font-size: 22px;
  --bs-btn-line-height: 1.6;
  --bs-btn-font-weight: 500;
  --bs-btn-color: #fff;
  --bs-btn-bg: #5a466b;
  --bs-btn-border-color: #5a466b;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #765194;
  --bs-btn-hover-border-color: #765194;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #765194;
  --bs-btn-active-border-color: #765194;
  white-space: normal;
}

/* ---------- Main functions ---------- */
.functions {
  padding: 117px 0 144px;
  color: #fff;
  background-color: #584469;
  /* The original pattern image (fondo-memo-patron.png) is a 404 on the live site, which shows the solid colour. */
  background-position: 0 0;
}
.functions__overlay { background-color: rgba(88, 68, 105, .64); }
.functions .section-heading__title { color: #fff; }
.sr-shape svg path { fill: #fff; }
.functions__shape-top svg,
.equipped__shape svg,
.addons__shape svg { height: 60px; }
.functions__shape-bottom svg { width: 125%; max-width: 125%; height: 97px; }

.function { margin-bottom: 10px; }
.function--last { margin-bottom: 30px; }
.function__title { margin: 0 0 .5rem; font-weight: 700; }
.function p { font-weight: 300; }
.function-divider {
  width: 35%;
  margin: 5px 0 15px;
  border: 0;
  border-bottom: 1px solid #ccc;
  opacity: 1;
}
.functions__note { margin-bottom: 30px; font-weight: 300; }

/* ---------- "Conoce todo…" + "¡Más equipado…!" ---------- */
.discover { padding: 50px 0; }
.discover__title {
  width: 70%;
  margin: 0 auto 20px;
  font-size: 40px;
  font-weight: 700;
  color: #3c3b44;
  text-transform: none;
}

.equipped { padding: 98px 0 13px; background-color: #ec6000; }
.equipped__title { width: 90%; margin: 0 auto 30px; color: #fff; }

/* Highlighted heading with animated SVG underline */
.highlight-heading { position: relative; display: inline-block; }
.highlight-heading__text { position: relative; z-index: 1; display: inline-block; padding: 5px 5px 10px; color: #fff; }
.highlight-heading svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  transform: translate(-50%, -50%);
  overflow: visible !important;
}
.highlight-heading svg path {
  fill: none;
  stroke: #5a466b;
  stroke-width: 10px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  animation: sr10Underline 10s 2;
}
@keyframes sr10Underline {
  0% { stroke-dasharray: 0 1500; }
  15% { stroke-dasharray: 1500 1500; }
  85% { opacity: 1; }
  90% { stroke-dasharray: 1500 1500; opacity: 0; }
  100% { stroke-dasharray: 0 1500; opacity: 0; }
}

/* ---------- New features carousel ---------- */
.news { padding: 0 0 32px; background-image: linear-gradient(0deg, #fff 50%, #ec6000 50%); }
.news-carousel {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
  background-color: #fff;
  border: 4px solid #ec6000;
  border-radius: 8px;
  box-shadow: 6px 6px 5px 0 rgba(43, 24, 43, .25);
}
.news-carousel .carousel-item { padding: 10px 40px; }
.news-carousel.carousel-fade .carousel-item { transition-duration: .6s; }
.news-carousel__title { margin: 0 0 20px; font-size: 30px; line-height: 36px; font-weight: 700; }
.news-carousel__text { margin: 0; font-size: 16px; }
.news-carousel__footnote { font-size: 10pt; }
.news-carousel__img {
  border: 3px solid #ffffffba;
  border-radius: 8px;
  box-shadow: 4px 6px 6px 0 #4c4c4c69;
}
.news-carousel__control {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #414141;
  font-size: 24px;
  opacity: .8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.news-carousel__control:hover, .news-carousel__control:focus-visible { opacity: .9; }
.news-carousel__control--prev { left: 0; }
.news-carousel__control--next { right: 0; }

/* ---------- Why Soft Restaurant ---------- */
.why { padding: 23px 0 10px; }
.why__row + .why__row { margin-top: 9px; }
.why-card {
  margin-bottom: 10px;
  padding: 25px 15px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  background-color: #ec6000;
  transition: background-color .3s;
}
.why__row--last .why-card { margin-bottom: 30px; }
.why-card:hover { background-color: #5a466b; }
.why-card__icon { display: block; width: 50px; margin: 0 auto; }
.why-card__title { margin: 0 0 .5rem; font-size: 20px; line-height: 25px; font-weight: 700; }
.why-card p { margin: 0; font-size: 14px; }

/* ---------- Add-ons ---------- */
.addons { padding: 94px 0 50px; background-color: #ecf0f5; }
.addons__title { margin-bottom: -50px; }
.addons .section-heading { margin-bottom: 50px; }
.addon-card { height: calc(100% - 30px); margin-bottom: 30px; background-color: #fff; }
.addon-card__img { display: block; width: 250px; max-width: 250px; margin: 0 auto; padding: 10px 10px 20px; box-sizing: content-box; }
.addon-card__body { margin: 0 20px 30px; }
.addon-card__title { margin: 0 0 1rem; color: #ec6000; }
.addon-card__footer { margin-bottom: 30px; padding: 20px; }
.addon-card__btn {
  --bs-btn-padding-y: 8px;
  --bs-btn-padding-x: 12px;
  --bs-btn-font-size: 16px;
  --bs-btn-line-height: 1.25;
  --bs-btn-border-radius: 4px;
  --bs-btn-color: #424e65;
  --bs-btn-bg: #ecf0f5;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #424e65;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #424e65;
  --bs-btn-active-border-color: transparent;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 60px 0 3px;
  background-color: #584469;
  background-image: url('../../img/shared/patron-bg.webp');
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
}
.pricing__overlay { background-color: rgba(88, 68, 105, .64); }
.pricing .section-heading__title { color: #fff; }

.pricing-card {
  text-align: center;
  background: #fff;
  border: 1px solid #cbd6e2;
  border-radius: 3px;
  transition: .3s ease;
}
.pricing-card__header {
  padding: 20px;
  border-radius: 3px;
  background: #d4d4d4;
  transition: .3s ease;
}
.pricing-card__title { margin: 0; padding: 0; font-size: 35px; font-weight: 300; }
.pricing-card__prices { margin-bottom: .5rem; }
.pricing-card__amount { margin: 0; font-size: 35px; font-weight: 500; line-height: 1.2; }
.pricing-card__symbol { line-height: 1.3; vertical-align: super; }
.pricing-card__offer s { color: #343a40; }
.pricing-card__select { max-width: 220px; margin: 0 auto; font-size: 14px; }
.pricing-card__buy {
  --bs-btn-color: #fff;
  --bs-btn-bg: #23cf5f;
  --bs-btn-border-color: #23cf5f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1fae51;
  --bs-btn-hover-border-color: #1fae51;
}
/* Quote button: in the original it was an addon pulled up into this header area */
.pricing-card__quote {
  --bs-btn-padding-y: 8px;
  --bs-btn-padding-x: 12px;
  --bs-btn-font-size: 16px;
  --bs-btn-line-height: 1.25;
  --bs-btn-border-radius: 4px;
  --bs-btn-color: #fff;
  --bs-btn-bg: #23cf5f;
  --bs-btn-border-color: #23cf5f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1fae51;
  --bs-btn-hover-border-color: #1fae51;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1fae51;
  --bs-btn-active-border-color: #1fae51;
  margin-top: 1rem;
}
.pricing-card__features { margin: 1.5rem 0 20px; padding: 0 15px; list-style: none; }
.pricing-card__features li { display: block; padding: 0; }
.pricing-card__features .fa-check { font-size: 80%; color: #28a745; }
.pricing-card__count { color: #dc3545; }

.pricing-details-btn {
  --bs-btn-padding-y: 8px;
  --bs-btn-padding-x: 12px;
  --bs-btn-font-size: 12px;
  --bs-btn-line-height: 1.25;
  --bs-btn-border-radius: 4px;
  --bs-btn-color: #010101;
  --bs-btn-bg: #eff1f4;
  --bs-btn-border-color: #eff1f4;
  --bs-btn-hover-color: #010101;
  --bs-btn-hover-bg: #d7dadd;
  --bs-btn-hover-border-color: #d7dadd;
  --bs-btn-active-color: #010101;
  --bs-btn-active-bg: #d7dadd;
  --bs-btn-active-border-color: #d7dadd;
  display: block;
  margin-bottom: 30px;
}
.pricing-details-btn i { margin-right: .25em; }

/* ---------- Requirements ---------- */
.requirements {
  padding: 56px 0 67px 4px;
  color: #fff;
  background-color: #514060;
  background-image: url('../../img/shared/patron-bg.webp');
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
}
.requirements__overlay { background-color: rgba(88, 68, 105, .64); }
.requirements__banner { margin: 0 0 30px; font-size: 20px; color: #fff; background-color: #ee6f23; }
.requirements__group-title { margin: 0 0 30px; color: #fff; }

.req-card {
  margin-bottom: 30px;
  padding: 25px 15px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  background-color: #3c3b44;
}
.req-card--alt { background-color: #4b3856; }
.req-card__icon {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px;
  border-radius: 50px;
  color: #ee6f23;
  font-size: 18px;
  line-height: 18px;
}
.req-card__icon i { width: 18px; height: 18px; }
.req-card__title { margin: -15px 0 .5rem; font-size: 20px; line-height: 25px; font-weight: 700; }
.req-card__title--sm { font-size: 19px; }
.req-card__text { font-size: 14px; }

.requirements__note { margin-bottom: 30px; }
.requirements__checker-title { color: #fff; }
.requirements__checker-text { margin-bottom: 30px; }
.requirements__buttons { margin: -5px -5px 25px; }
.requirements__btn {
  --bs-btn-padding-y: 8px;
  --bs-btn-padding-x: 12px;
  --bs-btn-font-size: 16px;
  --bs-btn-line-height: 1.25;
  --bs-btn-border-radius: 4px;
  --bs-btn-color: #fff;
  --bs-btn-bg: #ee6f23;
  --bs-btn-border-color: #ee6f23;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f5640e;
  --bs-btn-hover-border-color: #f5640e;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #f5640e;
  --bs-btn-active-border-color: #f5640e;
  margin: 5px;
}
.requirements__btn i { margin-right: 0; }

/* ---------- Modals (white popup blocks, max 760px) ---------- */
.sr10-modal .modal-dialog { max-width: 760px; }
.sr10-modal .modal-header { border-bottom: 1px solid #dee2e6; }
.sr10-modal .modal-header:has(.visually-hidden) { border-bottom: 0; padding-bottom: 0; }
.sr10-modal .modal-title { margin: 0; font-size: 26px; }
.plan-details { text-align: left; }

/* ==========================================================================
   Tablet (768px – 991px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sr10-hero { height: 350px; }

  .intro__text { padding: 0 15px; }
  .intro__title { margin-top: 30px; font-size: 35px; line-height: 40px; }
  .intro__lead { font-size: 18px; line-height: 22px; }

  .benefits { padding: 34px 0 28px; }
  .benefits__summary { margin-bottom: 30px; }

  .demo-cta { padding: 20px 50px; }
  .demo-cta__box { padding: 20px; }
  .demo-cta__title { margin-bottom: 20px; padding-top: 20px; }

  .functions { padding-bottom: 63px; }
  .functions__shape-bottom svg { width: 100%; max-width: 100%; }
  .function-divider { margin: 20px 0 30px; }

  .discover__title { width: 100%; margin-bottom: 20px; font-size: 35px; line-height: 40px; }

  .news { padding-bottom: 0; }
  .news-carousel { width: 100%; }
  .news-carousel .carousel-item { padding: 20px 40px; }

  .pricing { padding: 40px 0; }
  .pricing-details-btn { margin-bottom: 30px; }

  .requirements__btn { --bs-btn-padding-y: 10px; --bs-btn-padding-x: 20px; }

}

/* ==========================================================================
   Mobile (≤ 767px)
   ========================================================================== */
@media (max-width: 767.98px) {
  .sr10-hero { height: 300px; }
  .sr10-hero__title { font-size: 30px; line-height: 30px; }

  .section-nav { padding: 5px 0; }
  .section-nav__list a { font-size: 13px; }

  .intro { padding-top: 45px; }
  .intro__text { padding: 0 15px; }
  .intro__title { font-size: 35px; line-height: 40px; }
  .intro__image { margin-bottom: 30px; }

  .benefits { padding: 38px 0 18px; }
  .benefits__summary { margin-bottom: 30px; font-size: 18px; }

  .demo-cta { padding: 20px; }
  .demo-cta__box { padding: 20px; }
  .demo-cta__title { margin-bottom: 20px; }

  .functions { padding: 87px 0 130px; }
  .functions .section-heading__title { font-size: 25px; line-height: 25px; }
  .functions__shape-bottom svg { width: 100%; max-width: 100%; }
  .function-divider { margin: 10px 0 20px; }

  .discover__title { width: 91%; margin-bottom: 10px; font-size: 30px; line-height: 35px; }

  .equipped { padding-top: 73px; }
  .equipped__title { font-size: 25px; }
  .highlight-heading__text { font-size: 28px; }

  .news-carousel { width: 100%; }
  .news-carousel__title { font-size: 25px; line-height: 30px; }
  .news-carousel__text { margin-bottom: 20px; }

  .why { padding-top: 58px; }
  .why .section-heading__title { font-size: 30px; line-height: 30px; }
  .why-card, .why__row--last .why-card { margin-bottom: 10px; }
  .why__row--last .col-md-4:last-child .why-card { margin-bottom: 30px; }

  .addons .section-heading__title { font-size: 30px; line-height: 30px; }

  .pricing { padding: 60px 0 20px; }
  .pricing .section-heading__title { font-size: 35px; line-height: 35px; }
  .pricing-details-btn { margin-bottom: 20px; }

  .req-card { margin-bottom: 10px; }

}
