:root {
  --verde: #2e7d32;
  --verde-dark: #1b4332;
  --verde-light: #edf7ee;
  --verde-accent: #43a047;
  --texto: #222;
  --texto-muted: #666;
}

body {
  font-family: 'Poppins', sans-serif !important;
  color: var(--texto);
  background: #fff;
}

.bg-light {
  background-color: #fff !important;
}

/* TYPOGRAPHY */

.rd-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 10px;
}

.rd-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.2;
  margin-bottom: 15px;
}

.rd-accent {
  color: var(--verde);
  font-family: 'Alex Brush', cursive;
  font-size: 1.3em;
  font-weight: 400;
}

.rd-desc {
  color: var(--texto-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* BUTTONS */

.btn-rd-primary {
  display: inline-block;
  background: var(--verde);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn-rd-primary:hover {
  background: var(--verde-dark);
  color: #fff !important;
}

.btn-rd-outline {
  display: inline-block;
  background: transparent;
  color: var(--texto) !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border: 2px solid #ddd;
  transition: all 0.3s;
  margin-bottom: 10px;
}

.btn-rd-outline:hover {
  border-color: var(--verde);
  color: var(--verde) !important;
}

.btn-rd-pill {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid #ddd;
  border-radius: 50px;
  color: var(--texto) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.3s;
}

.btn-rd-pill:hover {
  border-color: var(--verde);
  color: var(--verde) !important;
}

.btn-rd-pill-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--verde);
  border-radius: 50px;
  color: var(--verde) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  background: transparent;
  transition: all 0.3s;
}

.btn-rd-pill-outline:hover {
  background: var(--verde);
  color: #fff !important;
}

/* NAVBAR */

.ftco-navbar-light {
  background: var(--verde) !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.15) !important;
  padding: 10px 0 !important;
}

.ftco-navbar-light.scrolled {
  background: var(--verde) !important;
}

.nav-logo {
  width: 60px;
  height: auto;
  border-radius: 50%;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 15px !important;
  font-family: 'Poppins', sans-serif !important;
}

.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
.ftco-navbar-light .navbar-nav > .nav-item.active > a {
  color: rgba(255,255,255,0.75) !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.cta > a {
  background: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 25px !important;
}

.ftco-navbar-light .navbar-nav > .nav-item.cta > a span {
  color: var(--verde) !important;
  font-size: 13px;
  font-weight: 600;
}

.ftco-navbar-light .navbar-nav > .nav-item.cta > a:hover {
  background: rgba(255,255,255,0.9) !important;
}

.ftco-navbar-light .navbar-toggler {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.5);
  font-size: 14px;
  padding: 8px 15px;
}

/* HERO */

.hero-section {
  padding: 120px 0 80px;
  background: #fff;
  overflow: hidden;
}

.hero-subtitle {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--verde);
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--verde);
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--texto);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--verde);
  font-family: 'Alex Brush', cursive;
  font-size: 1.15em;
  font-weight: 400;
}

.hero-desc {
  color: var(--texto-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 450px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-img-container {
  position: relative;
  display: inline-block;
}

.hero-img {
  width: 100%;
  max-width: 480px;
  height: 480px;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.hero-badge {
  position: absolute;
  bottom: 30px;
  right: -10px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-align: center;
}

.hero-badge-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--verde);
  line-height: 1;
}

.hero-badge-text {
  display: block;
  font-size: 12px;
  color: var(--texto-muted);
  margin-top: 5px;
}

@media (max-width: 991px) {
  .hero-title { font-size: 36px; }
  .hero-img { max-width: 340px; height: 340px; margin-top: 40px; }
  .hero-section { padding: 90px 0 50px; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 28px; }
  .hero-img { max-width: 260px; height: 260px; }
}

/* SECTIONS */

.rd-section {
  padding: 80px 0;
  background: #fff;
}

.rd-section-light {
  background: #fafafa;
}

/* SERVICES */

.service-card {
  background: var(--verde-light);
  border-radius: 16px;
  padding: 35px 30px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(46,125,50,0.12);
}

.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--texto-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--texto);
  font-weight: 500;
  padding-left: 22px;
  position: relative;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--verde);
  font-weight: 700;
}

/* PACKAGES — override cards from Elements.php */

#paquetes .destination .card {
  border: none !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

#paquetes .destination .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

#paquetes .destination .card .card-title {
  padding: 0 !important;
  margin: 0 !important;
}

#paquetes .destination .card .card-title img {
  height: 280px !important;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

#paquetes .destination .card .card-body {
  padding: 20px;
}

#paquetes .destination .card .rate .icon-star,
#paquetes .destination .card .rate .icon-star-o {
  color: #f5a623;
  font-size: 14px;
}

#paquetes .destination .card .bottom-area a {
  color: var(--verde) !important;
  font-weight: 600;
  font-size: 14px;
}

/* FACTS */

.fact-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.fact-card .number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--verde-dark);
  line-height: 1;
  margin-bottom: 8px;
}

.fact-card span {
  font-size: 12px;
  color: var(--texto-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* TESTIMONIALS — override owl items from Elements.php */

.testimony-wrap {
  background: #fff !important;
  border-radius: 16px !important;
  padding: 25px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.06) !important;
}

.testimony-wrap .user-img {
  border-radius: 50% !important;
  min-width: 60px !important;
  width: 60px !important;
  height: 60px !important;
  background-size: cover !important;
  background-position: center !important;
}

.testimony-wrap .user-img .quote {
  display: none !important;
}

.testimony-wrap .text .name {
  font-weight: 600 !important;
  color: var(--texto) !important;
}

.testimony-wrap .text .position {
  color: var(--texto-muted) !important;
  font-size: 13px;
}

.owl-carousel .owl-dots .owl-dot span {
  background: #ddd !important;
}

.owl-carousel .owl-dots .owl-dot.active span {
  background: var(--verde) !important;
}

/* BLOG — override cards from ServiceBlog.php */

#blog .col-lg-4 {
  padding: 0 15px;
}

.blog-card-link {
  text-decoration: none !important;
  display: block;
  height: 100%;
}

.single-latest-blog {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.single-latest-blog:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.blog-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 20px 20px 0 0;
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-desc {
  font-size: 14px;
  color: var(--texto-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-date {
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: auto;
}

/* NEWSLETTER */

.rd-newsletter {
  padding: 0 0 80px;
}

.newsletter-card {
  background: var(--verde-dark);
  border-radius: 24px;
  padding: 60px 50px;
  color: #fff;
}

.newsletter-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 10px;
}

.newsletter-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.newsletter-desc {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

.newsletter-form .form-control {
  border-radius: 50px 0 0 50px !important;
  border: none;
  padding: 14px 25px;
  font-size: 14px;
  height: auto;
}

.newsletter-form .btn-nl {
  background: var(--verde-accent);
  color: #fff;
  border-radius: 0 50px 50px 0;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
}

.newsletter-form .btn-nl:hover {
  background: var(--verde);
}

@media (max-width: 991px) {
  .newsletter-card { padding: 40px 25px; }
  .newsletter-title { font-size: 26px; }
  .newsletter-form { margin-top: 25px; }
}

/* FOOTER */

.rd-footer {
  background-color: #021a0f; /* Base dark color same as section-counter */
  background: linear-gradient(135deg, #021a0f 0%, #1f6b43 100%);
  padding: 70px 0 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #dcb14a; /* Gold/Beige matching section-counter subtitle */
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-widget p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}

.footer-social li {
  display: inline-block;
  margin-right: 12px;
}

.footer-social li a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff !important;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social li a:hover {
  background: #dcb14a; /* Gold hover */
  border-color: #dcb14a;
  color: #021a0f !important; /* Dark text on gold */
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links li a:hover {
  color: #dcb14a; /* Gold hover */
  transform: translateX(5px);
}

.footer-contact li {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact li i {
  color: #dcb14a; /* Gold icons */
  font-size: 18px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 40px;
}

.footer-bottom p,
.footer-bottom span,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 13px;
}

.footer-bottom a:hover {
  color: #dcb14a !important;
}

/* WHATSAPP & CHAT */

.social {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.social ul {
  list-style: none;
}

.social ul li a {
  display: inline-block;
  padding: 10px 15px;
  text-decoration: none;
  transition: all 0.3s;
}

.social ul li a:hover {
  padding: 10px 30px;
}

/* MODAL */

.modal-content {
  border-radius: 16px;
  border: none;
}

.modal-body .btn-secondary {
  background: var(--verde) !important;
  border-color: var(--verde) !important;
  border-radius: 50px;
  padding: 12px;
  font-weight: 600;
}

.modal-body .form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 12px 15px;
}

/* OVERRIDE OLD THEME */

.ftco-section {
  padding: 0 !important;
}

.heading-section .subheading {
  color: var(--verde) !important;
}

.btn-primary {
  background: var(--verde) !important;
  border-color: var(--verde) !important;
  border-radius: 50px !important;
}

.btn-primary:hover {
  background: var(--verde-dark) !important;
  border-color: var(--verde-dark) !important;
}

/* SECTION STATS NEW */
.rd-section-stats-new {
  background-color: #021a0f; /* Base dark color */
  background: linear-gradient(135deg, #021a0f 0%, #1f6b43 100%);
  padding: 120px 0;
  color: #fff;
  position: relative;
  z-index: 10; /* Ensure it stays above other elements if overlapped */
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content horizontally if needed */
  margin: 60px 0; /* Increased margin for separation */
  width: 100%;
  clear: both; /* Clear floats from previous sections */
}

.rd-section-stats-new .rd-subtitle {
  color: #dcb14a; /* Gold/Beige matching image */
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
}

.rd-section-stats-new .rd-title {
  color: #fff;
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 800;
}

.rd-section-stats-new .rd-accent {
  color: #fff;
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
}

.rd-section-stats-new .rd-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  font-size: 15px;
  max-width: 480px;
  line-height: 1.6;
}

.rd-section-stats-new .hero-btn-primary {
  background-color: #2e7d32;
  color: #fff !important;
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.rd-section-stats-new .hero-btn-primary:hover {
  background-color: #388e3c;
  transform: translateY(-2px);
}

/* FACT CARD NEW */
.fact-card-new {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fact-card-new:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.fact-card-new .number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #dcb14a; /* Gold/Beige matching image */
  line-height: 1.2;
  margin-bottom: 8px;
}

.fact-card-new span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* RESPONSIVE STYLES FOR STATS SECTION */
@media (max-width: 991px) {
  .rd-section-stats-new {
    padding: 80px 0;
    text-align: center;
    margin: 60px 0; /* Increased margin to avoid overlap */
    display: block; /* Use block display on mobile for better flow */
    min-height: auto; /* Allow content to dictate height */
    height: auto;
  }

  .rd-section-stats-new .rd-title {
    font-size: 32px;
  }
  
  .rd-section-stats-new .rd-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .rd-section-stats-new .hero-btn-primary {
    margin-bottom: 40px; /* Space between button and cards */
    display: inline-block;
  }
}

@media (max-width: 576px) {
  .fact-card-new {
    padding: 20px 10px;
  }

  .fact-card-new .number {
    font-size: 32px;
  }

  .fact-card-new span {
    font-size: 10px;
    letter-spacing: 1px;
  }
}
