/* =========================================================
   RidesGur Food Dominicana - theme
   Estilos locales de RidesGur
   ========================================================= */

:root {
  --rg-dark: #16151a;
  --rg-dark-soft: #201f25;
  --rg-orange: #f7941d;
  --rg-orange-dark: #e07b00;
  --rg-green: #2e9c3f;
  --rg-red: #c0272d;
  --rg-text-muted: #b7b6bc;
  --rg-white: #ffffff;
  --rg-radius: 10px;
}

html {
  font-size: 15px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--rg-white);
  color: #23222a;
}

a {
  text-decoration: none;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--rg-orange);
}

main {
  padding: 0 !important;
  max-width: none !important;
}

.container-nav, .container-rg {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Navbar ---------- */
.rg-navbar {
  background: var(--rg-dark);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.rg-navbar .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rg-logo {
  display: flex;
  align-items: flex-start;
  height: 100%;
}

.rg-logo img {
  height: 76px;
  width: auto;
  margin-top: -6px;
  margin-bottom: -10px;
}

@media (max-width: 767px) {
  .rg-logo img {
    height: 60px;
    margin-top: -4px;
    margin-bottom: -6px;
  }
}

.rg-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.rg-nav-links a {
  color: var(--rg-white);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.rg-nav-links a:hover,
.rg-nav-links a.active {
  color: var(--rg-orange);
}

.rg-nav-links .dropdown-menu {
  background: var(--rg-dark-soft);
  border: none;
  border-radius: 8px;
}

.rg-nav-links .dropdown-menu a {
  color: var(--rg-white);
  padding: 8px 18px;
  display: block;
  text-transform: none;
  font-weight: 600;
}

.rg-nav-links .dropdown-menu a:hover {
  color: var(--rg-orange);
  background: rgba(255,255,255,.05);
}

.rg-nav-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rg-nav-icons a, .rg-nav-icons .rg-account {
  color: var(--rg-orange);
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-account {
  background: #3a393f;
}

.rg-navbar-toggler {
  display: none;
  background: transparent;
  border: 1px solid var(--rg-orange);
  color: var(--rg-orange);
}

@media (max-width: 991px) {
  .rg-nav-links { display: none; width: 100%; order: 3; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 16px; }
  .rg-nav-links.show { display: flex; }
  .rg-navbar-toggler { display: block; }
  .rg-navbar .navbar-inner { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.rg-hero {
  background: linear-gradient(135deg, #4b3410 0%, #d97a12 45%, #f7941d 100%);
  color: var(--rg-white);
  position: relative;
  overflow: hidden;
  /*padding: 70px 0 40px;*/
}

.rg-hero .row {
  align-items: center;
}

.rg-hero-badge {
  background: var(--rg-green);
  color: var(--rg-white);
  font-weight: 700;
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.rg-hero h1 {
  font-weight: 800;
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.rg-hero-h1-lg {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.rg-hero p.rg-hero-sub {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.rg-hero-sub-centered {
  max-width: 620px;
  font-weight: 400;
}

.rg-hero-img {
  max-width: 100%;
  border-radius: var(--rg-radius);
}

/* ---------- Hero carousel ---------- */
.rg-hero-carousel .carousel-item {
  height: 716px;
  /*//padding: 10px 0 30px;*/
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.rg-hero-carousel .carousel-item.rg-slide-main,
.rg-hero-carousel .carousel-item.rg-slide-app {
  background-image: url('/images/ridesgur/fondo.jpg');
}

.rg-hero-carousel .carousel-item.rg-slide-photo {
  min-height: 640px;
  padding-top: 60px;
  padding-bottom: 0;
  background-image:
    linear-gradient(120deg, rgba(75,52,16,.6) 0%, rgba(217,122,18,.5) 45%, rgba(247,148,29,.4) 100%),
    url('/images/ridesgur/fondo-wellness.png');
}

.rg-hero-carousel .carousel-item.active.rg-slide-photo,
.rg-hero-carousel .carousel-item.carousel-item-next.rg-slide-photo,
.rg-hero-carousel .carousel-item.carousel-item-prev.rg-slide-photo {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.rg-hero-centered {
  position: relative;
  z-index: 2;
}

.rg-hero-media-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 20px;
  min-height: 420px;
  pointer-events: none;
}

.rg-hero-media-row .rg-hero-man,
.rg-hero-media-row .rg-hero-devices {
  max-width: 55%;
}

.rg-hero-man {
  height: clamp(220px, 46vh, 460px);
  width: auto;
  object-fit: contain;
  margin-left: 0;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.35));
}

.rg-hero-devices {
  height: clamp(170px, 34vh, 340px);
  width: auto;
  object-fit: contain;
  margin-right: 6%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.3));
}

@media (max-width: 991px) {
  .rg-hero-h1-lg {
    font-size: 2.1rem;
  }

  .rg-hero-carousel .carousel-item.rg-slide-photo {
    min-height: 0;
    padding-bottom: 30px;
  }

  .rg-hero-media-row {
    min-height: 0;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .rg-hero-man {
    height: 260px;
    margin-left: 0;
  }

  .rg-hero-devices {
    height: 200px;
    margin-right: 0;
  }
}

.rg-hero-media {
  position: relative;
  min-height: 320px;
}

.rg-hero-img-main {
  max-width: 78%;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.rg-hero-img-decor {
  max-width: 55%;
  position: absolute;
  left: -10px;
  bottom: -10px;
  z-index: 1;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}

.rg-hero-stores {
  max-width: 220px;
}

.rg-hero-carousel .carousel-control-prev,
.rg-hero-carousel .carousel-control-next {
  width: auto;
  height: auto;
  top: auto;
  bottom: 24px;
  opacity: 1;
}

.rg-hero-carousel .carousel-control-prev {
  left: 24px;
}

.rg-hero-carousel .carousel-control-next {
  right: 24px;
}

.rg-carousel-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: var(--rg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background .2s ease;
}

.rg-carousel-arrow:hover {
  background: rgba(0,0,0,.7);
}

@media (max-width: 991px) {
  .rg-hero-carousel .carousel-item {
    min-height: 0;
  }

  .rg-hero-media {
    min-height: 220px;
  }

  .rg-hero-img-main {
    max-width: 65%;
  }

  .rg-hero-img-decor {
    max-width: 45%;
  }
}

.btn-rg-primary {
  background: var(--rg-dark);
  color: var(--rg-white);
  border: 2px solid var(--rg-dark);
  border-radius: 30px;
  padding: 14px 34px;
  font-weight: 700;
  display: inline-block;
  margin-top: 20px;
  transition: all .2s ease;
}

.btn-rg-primary:hover {
  background: transparent;
  border-color: var(--rg-white);
  color: var(--rg-white);
}

.btn-rg-outline {
  background: transparent;
  color: var(--rg-white);
  border: 2px solid var(--rg-white);
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 700;
  display: inline-block;
}

.btn-rg-outline:hover {
  background: var(--rg-white);
  color: var(--rg-dark);
}

/* ---------- Feature strip ---------- */
.rg-feature-strip {
  background: var(--rg-dark-soft);
  border-radius: var(--rg-radius);
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.rg-feature-item {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.rg-feature-item:last-child { border-right: none; }

.rg-feature-item .rg-icon {
  color: var(--rg-orange);
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.rg-feature-item span {
  color: var(--rg-white);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ---------- Dark sections ---------- */
.rg-section-dark {
  background: var(--rg-dark);
  color: var(--rg-white);
  padding: 70px 0;
  margin-top: 50px;
}

.rg-section-dark h2, .rg-section-dark h3, .rg-section-dark h4 {
  color: var(--rg-white);
  font-weight: 800;
}

.rg-section-dark p, .rg-section-dark li {
  color: var(--rg-text-muted);
}

.rg-block-icon {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #2b2a31;
  color: var(--rg-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.rg-eyebrow {
  color: var(--rg-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .85rem;
}

.rg-eyebrow::before {
  content: "\2022";
  margin-right: 8px;
}

/* ---------- Steps / como funciona ---------- */
.rg-step {
  text-align: center;
  position: relative;
  padding-top: 20px;
}

.rg-step-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  font-size: 2.2rem;
  color: var(--rg-orange);
}

.rg-step-num {
  position: absolute;
  top: -10px;
  right: 0;
  background: var(--rg-red);
  color: var(--rg-white);
  font-weight: 700;
  font-size: .85rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--rg-dark);
}

.rg-step h4 {
  font-size: 1.05rem;
}

/* ---------- Servicios / cards ---------- */
.rg-card-light {
  background: var(--rg-white);
  border-radius: var(--rg-radius);
  padding: 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  height: 100%;
}

/* ---------- Noticias ---------- */
.rg-news-card {
  background: var(--rg-dark-soft);
  border-radius: var(--rg-radius);
  overflow: hidden;
  height: 100%;
}

.rg-news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.rg-news-card .rg-news-body {
  padding: 20px;
}

.rg-news-meta {
  color: var(--rg-text-muted);
  font-size: .85rem;
  margin-bottom: 10px;
}

.rg-news-card h4 a {
  color: var(--rg-white);
  font-weight: 700;
}

.rg-news-card h4 a:hover { color: var(--rg-orange); }

/* ---------- Light sections ---------- */
.rg-section-light {
  padding: 70px 0;
  background: var(--rg-white);
}

/* ---------- Acceso Digital (full-bleed background photo) ---------- */
.rg-acceso-digital {
  position: relative;
  padding: 90px 0;
  color: #23222a;
  overflow: hidden;
  isolation: isolate;
}

.rg-acceso-digital-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/wc-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.rg-acceso-digital-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.55) 100%);
  z-index: 1;
}

.rg-acceso-digital-content {
  position: relative;
  z-index: 2;
}

.rg-acceso-digital h2, .rg-acceso-digital h4 {
  color: #16151a;
  font-weight: 800;
}

@media (max-width: 767px) {
  .rg-acceso-digital-overlay {
    background: rgba(255,255,255,.92);
  }
}

/* ---------- Forms ---------- */
.rg-form-card {
  background: var(--rg-white);
  border-radius: var(--rg-radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  padding: 36px;
}

.rg-form-card label {
  font-weight: 600;
  margin-bottom: 6px;
}

.rg-form-card .form-text {
  font-size: .8rem;
}

.form-control, .form-select {
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid #d9d9dd;
}

.form-control:focus, .form-select:focus {
  border-color: var(--rg-orange);
}

.btn-rg-submit {
  background: var(--rg-orange);
  border: none;
  color: var(--rg-white);
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 36px;
}

.btn-rg-submit:hover { background: var(--rg-orange-dark); color: var(--rg-white); }

/* ---------- Contact ---------- */
.rg-contact-section {
  margin-bottom: 0;
  padding-bottom: 0;
}

.rg-contact-title {
  color: var(--rg-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.rg-contact-intro {
  color: #66656b;
  margin-bottom: 28px;
}

.rg-contact-details {
  display: grid;
  gap: 22px;
}

.rg-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.rg-contact-icon {
  align-items: center;
  background: var(--rg-orange);
  border-radius: 50%;
  color: var(--rg-white);
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 1.25rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.rg-contact-item h4 {
  color: var(--rg-dark);
  font-size: 1rem;
  font-weight: 800;
  margin: 2px 0 5px;
}

.rg-contact-item p {
  margin: 0;
}

.rg-contact-item a {
  color: var(--rg-orange-dark);
  font-weight: 600;
}

.rg-map-wrap {
  display: block;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  height: 760px;
  margin-top: 56px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 0px;
}

.rg-map-wrap iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

@media (max-width: 767px) {
  .rg-form-card {
    padding: 24px;
  }

  .rg-map-wrap {
    height: 360px;
    margin-top: 40px;
  }
}

/* ---------- Login ---------- */
.rg-login-wrap {
  background: var(--rg-dark);
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.rg-login-card {
  background: var(--rg-white);
  border-radius: var(--rg-radius);
  padding: 40px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}

/* ---------- Footer ---------- */
.rg-footer {
  background: #222227;
  color: var(--rg-text-muted);
  padding-top: 60px;
}

.rg-footer h5 {
  color: var(--rg-white);
  font-weight: 800;
  margin-bottom: 18px;
}

.rg-footer a {
  color: var(--rg-text-muted);
}

.rg-footer a:hover { color: var(--rg-orange); }

.rg-footer .rg-policy-links a {
  display: block;
  color: var(--rg-orange);
  margin-bottom: 8px;
}

.rg-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.rg-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rg-orange);
  color: var(--rg-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: .9rem;
}

/* ---------- Misc ---------- */
.rg-page-header {
    background: #D87B1C;
    color: var(--rg-white);
    padding: 50px 0;
    text-align: center;
}

.rg-page-header h1 {
  font-weight: 800;
  margin-bottom: 6px;
}



.alert-rg-success {
  background: rgba(46,156,63,.12);
  border: 1px solid var(--rg-green);
  color: #1d6b29;
  border-radius: 8px;
  padding: 14px 18px;
}


strong {
    color: #D87B1C
}