@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Rubik:wght@500;600;700&display=swap");

:root {
  --rs-dark: #0a1c1f;
  --rs-ink: #1f3438;
  --rs-muted: #777;
  --rs-line: #eef1f2;
  --rs-soft: #f7f8f9;
  --rs-green: #2db838;
  --rs-gold: #f2b241;
  --rs-white: #fff;
}

body {
  color: var(--rs-muted);
  font-family: "Poppins", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  background: #fff;
}

h1, h2, h3, h4, h5, h6, .widget-title, .page-title {
  color: var(--rs-dark);
  font-family: "Rubik", "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: var(--rs-dark); }
a:hover, a:focus { color: var(--rs-green); }

.correal-header {
  position: relative;
  z-index: 100;
  background: var(--rs-white);
  box-shadow: 0 12px 35px rgba(10, 28, 31, 0.08);
}

.correal-topbar {
  background: var(--rs-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.correal-topbar-inner, .navbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.correal-topbar-inner { min-height: 42px; }
.correal-contact-list, .correal-social-list, .correal-main-nav .navbar-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.correal-contact-list li, .correal-social-list li {
  display: inline-block;
  margin-right: 18px;
}

.correal-social-list li {
  margin-right: 0;
  margin-left: 16px;
}

.correal-contact-list a, .correal-social-list a { color: rgba(255, 255, 255, 0.82); }
.correal-contact-list i, .correal-social-list i {
  color: var(--rs-gold);
  margin-right: 7px;
}
.correal-contact-list a:hover, .correal-social-list a:hover { color: var(--rs-white); }

.correal-header .navbar-default {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--rs-white);
}

.correal-header .navbar-flex { min-height: 92px; }
.correal-header .navbar-header { float: none; }
.correal-header .navbar-brand {
  display: block;
  height: auto;
  padding: 0;
}

.correal-mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rs-line);
  border-radius: 4px;
  background: var(--rs-white);
  color: var(--rs-dark);
  font-size: 22px;
  line-height: 1;
}
.correal-header .navbar-brand img {
  width: auto;
  max-height: 74px;
}

.correal-main-nav {
  flex: 1 1 auto;
  text-align: right;
}
.correal-main-nav .navbar-nav {
  float: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.correal-main-nav .navbar-nav > li {
  float: none;
  position: relative;
  display: inline-block;
}
.correal-main-nav .navbar-nav > li > a {
  display: block;
  padding: 34px 11px;
  color: var(--rs-ink);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  background: transparent;
}
.correal-main-nav .navbar-nav > li:hover > a,
.correal-main-nav .navbar-nav > li.active > a,
.correal-main-nav .navbar-nav > li.current-menu-item > a {
  color: var(--rs-green);
  background: transparent;
}

.correal-main-nav .dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% - 10px);
  left: 0;
  min-width: 245px;
  padding: 10px 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  border: 0;
  border-radius: 0;
  background: var(--rs-white);
  box-shadow: 0 18px 45px rgba(10, 28, 31, 0.14);
  transition: all 0.22s ease;
}
.correal-main-nav .submenu:hover > .dropdown-menu,
.correal-main-nav .dropdown:hover > .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.correal-main-nav .dropdown-menu li {
  display: block;
  float: none;
  border-bottom: 1px solid var(--rs-line);
}
.correal-main-nav .dropdown-menu li:last-child { border-bottom: 0; }
.correal-main-nav .dropdown-menu a {
  display: block;
  padding: 11px 18px;
  color: var(--rs-dark);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
.correal-main-nav .dropdown-menu a i {
  width: 18px;
  color: var(--rs-green);
}
.correal-main-nav .dropdown-menu a:hover,
.correal-main-nav .dropdown-menu .active a {
  color: var(--rs-white);
  background: var(--rs-green);
}
.correal-main-nav .dropdown-menu a:hover i,
.correal-main-nav .dropdown-menu .active a i { color: var(--rs-white); }

.correal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.correal-ref-search {
  display: flex;
  align-items: center;
  width: 178px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--rs-line);
  border-radius: 4px;
  background: var(--rs-soft);
}
.correal-ref-search input {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--rs-dark);
  font-size: 13px;
}
.correal-ref-search button {
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--rs-green);
  color: var(--rs-white);
}

.nir-btn, .btn-base, .button, button,
input[type="submit"], input[type="button"], input[type="reset"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 0;
  border-radius: 4px;
  background: var(--rs-green);
  color: var(--rs-white) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 12px 25px rgba(45, 184, 56, 0.22);
}
.nir-btn:hover, .btn-base:hover, .button:hover, button:hover,
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover {
  background: var(--rs-gold);
  color: var(--rs-dark) !important;
}

.page-heading, .col-md-12[style*="heading.png"] {
  position: relative;
  margin-bottom: 34px;
  padding: 44px 0 !important;
  background: linear-gradient(135deg, rgba(10, 28, 31, 0.96), rgba(31, 52, 56, 0.9)) !important;
}
.page-heading:after, .col-md-12[style*="heading.png"]:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(45, 184, 56, 0.28), rgba(242, 178, 65, 0.18));
}
.page-heading .container, .col-md-12[style*="heading.png"] > * {
  position: relative;
  z-index: 1;
}
.page-heading .page-title, .page-heading h1, .page-heading h2 { color: var(--rs-white); }

.widget { margin-bottom: 34px; }
.widget-title {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 14px;
  font-size: 28px;
  text-transform: none;
}
.widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--rs-green);
}
.widget-title span { color: var(--rs-green); }

.pisos-lista .item {
  display: flex;
  gap: 0;
  clear: both;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 14px 35px rgba(10, 28, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pisos-lista .item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(10, 28, 31, 0.13);
}
.pisos-lista .item:before, .pisos-lista .item:after { display: none; }
.pisos-lista .item .imagen {
  width: 30%;
  padding: 0;
  float: none;
}
.pisos-lista .item .imagen img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.pisos-lista .item > .col-md-9 {
  width: 70%;
  padding: 24px 26px;
  float: none;
  color: var(--rs-muted);
}
.pisos-lista .item > .col-md-9 > a {
  display: block;
  color: var(--rs-dark);
  font-family: "Rubik", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.pisos-lista .item [itemprop="offers"] {
  color: var(--rs-green);
  font-family: "Rubik", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.pisos-lista .item [itemprop="description"] b {
  display: inline-block;
  margin: 14px 0 8px;
  color: var(--rs-dark);
}

.latest-posts ul, .onepixel {
  margin-left: -8px;
  margin-right: -8px;
}
.latest-posts li { padding: 8px !important; }
.latest-posts img {
  width: 100%;
  aspect-ratio: 1 / 0.75;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(10, 28, 31, 0.11);
}

input, select, textarea {
  min-height: 44px;
  border: 1px solid var(--rs-line);
  border-radius: 4px;
  background: #fff;
  color: var(--rs-dark);
  font-family: "Poppins", "Open Sans", Helvetica, Arial, sans-serif;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--rs-green);
  box-shadow: 0 0 0 3px rgba(45, 184, 56, 0.1);
}
.caja-formulario, .contact-form, .formulario, .sidebar .widget {
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 14px 35px rgba(10, 28, 31, 0.07);
}

#footer.correal-footer {
  margin-top: 58px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--rs-dark);
}
.correal-footer .footer-widget {
  padding: 58px 0 42px;
  background: var(--rs-dark);
}
.correal-footer .widget-title {
  color: var(--rs-white);
  font-size: 21px;
}
.correal-footer .widget-title:after { background: var(--rs-gold); }
.correal-footer .widget-title span { color: var(--rs-gold); }
.correal-footer a { color: var(--rs-white); }
.correal-footer a:hover { color: var(--rs-gold); }
.correal-footer-brand img { margin-bottom: 18px; }
.correal-footer-brand h4 { color: var(--rs-white); }
.correal-footer-posts li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.correal-footer .post-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--rs-green);
  color: var(--rs-white);
}
.correal-footer .post-content h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.correal-footer .footer-credits { background: #071416; }
.correal-footer .footer-credits-inner {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1199px) {
  .correal-header .navbar-flex {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 18px 0;
  }
  .correal-main-nav {
    order: 3;
    width: 100%;
    flex-basis: 100%;
    text-align: left;
  }
  .correal-main-nav .navbar-nav { flex-wrap: wrap; }
  .correal-main-nav .navbar-nav > li > a { padding: 12px 10px; }
}

@media (max-width: 767px) {
  .correal-topbar-inner, .navbar-flex, .correal-actions, .pisos-lista .item { display: block; }
  .correal-topbar { padding: 10px 0; }
  .correal-contact-list li, .correal-social-list li {
    display: block;
    margin: 4px 0;
  }
  
  .correal-header .navbar-brand img { max-height: 62px; }
  .correal-main-nav .navbar-nav {
    display: block;
    margin-top: 16px;
  }
  .correal-main-nav .navbar-nav > li { display: block; }
  .correal-main-nav .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: var(--rs-soft);
  }
  .correal-ref-search {
    width: 100%;
    margin: 12px 0;
  }
  .nir-btn { width: 100%; }
  .pisos-lista .item .imagen, .pisos-lista .item > .col-md-9 { width: 100%; }
  .pisos-lista .item .imagen img { min-height: 190px; }
  .pisos-lista .item [itemprop="offers"] {
    float: none !important;
    display: block;
    margin-top: 10px;
  }
  .widget-title { font-size: 24px; }
}

/* Realshield property listings */
.correal-results-toolbar-wrap {
  margin: 34px 0 22px;
}

.correal-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 12px 30px rgba(10, 28, 31, 0.06);
}

.correal-results-count {
  color: var(--rs-dark);
  font-family: "Rubik", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 17px;
}

.correal-results-count b {
  color: var(--rs-green);
}

.correal-results-order form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.correal-results-order label {
  margin: 0;
  color: var(--rs-muted);
  font-weight: 500;
}

.correal-results-order select {
  min-width: 142px;
  margin: 0;
  background: var(--rs-soft);
}

.correal-listing-wrap {
  padding-bottom: 24px;
}

.correal-listing-list {
  display: grid;
  gap: 26px;
}

.correal-property-card {
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 16px 40px rgba(10, 28, 31, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.correal-property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(10, 28, 31, 0.14);
}

.correal-property-row {
  display: flex;
  align-items: stretch;
  margin: 0;
}

.correal-property-row > [class*="col-"] {
  padding: 0;
}

.correal-property-media,
.correal-property-body {
  float: none;
}

.correal-property-image {
  position: relative;
  height: 100%;
  min-height: 285px;
  overflow: hidden;
  background: var(--rs-soft);
}

.correal-property-image a {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 285px;
  background-position: center;
  background-size: cover;
}

.correal-property-image a:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 28, 31, 0.02), rgba(10, 28, 31, 0.32));
  opacity: 0.8;
}

.correal-property-image img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  opacity: 0;
}

.correal-property-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 4px;
  background: var(--rs-green);
  color: var(--rs-white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(45, 184, 56, 0.28);
}

.correal-property-content {
  height: 100%;
  padding: 28px 30px;
}

.correal-property-heading {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 15px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--rs-line);
}

.correal-property-type {
  display: inline-flex;
  margin: 0 0 7px;
  padding: 0;
  border: 0;
  color: var(--rs-green);
  font-size: 15px;
  text-transform: uppercase;
}

.correal-property-content h4 {
  margin: 0 0 8px;
  font-size: 24px;
}

.correal-property-location {
  margin: 0;
  color: var(--rs-muted);
  font-size: 14px;
}

.correal-property-location i {
  color: var(--rs-gold);
  margin-right: 6px;
}

.correal-property-price {
  flex: 0 0 185px;
  color: var(--rs-muted);
  font-size: 13px;
  text-align: right;
}

.correal-property-price span:first-child {
  display: block;
  margin-bottom: 4px;
}

.correal-property-price strong {
  display: block;
  color: var(--rs-green);
  font-family: "Rubik", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

.correal-property-description {
  display: -webkit-box;
  min-height: 48px;
  margin-bottom: 18px;
  overflow: hidden;
  color: var(--rs-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.correal-property-features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 4px;
  background: var(--rs-soft);
  list-style: none;
}

.correal-property-features li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rs-dark);
  font-size: 14px;
  font-weight: 500;
}

.correal-property-features i {
  color: var(--rs-green);
}

.correal-property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.correal-property-ref {
  color: var(--rs-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.correal-property-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.correal-virtual-link {
  color: var(--rs-green);
  font-weight: 600;
  white-space: nowrap;
}

.correal-property-btn {
  min-height: 42px;
  padding: 11px 16px;
  box-shadow: none;
  white-space: nowrap;
}

.correal-empty-results {
  margin: 36px 0 52px;
  padding: 34px;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-soft);
  color: var(--rs-muted);
  text-align: center;
}

@media (max-width: 991px) {
  .correal-property-row {
    display: block;
  }

  .correal-property-heading,
  .correal-property-footer,
  .correal-results-toolbar {
    display: block;
  }

  .correal-property-price {
    margin-top: 14px;
    text-align: left;
  }

  .correal-results-order {
    margin-top: 14px;
  }

  .correal-results-order form {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .correal-property-content {
    padding: 22px;
  }

  .correal-property-content h4 {
    font-size: 21px;
  }

  .correal-property-features,
  .correal-property-links {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .correal-property-features li {
    display: flex;
  }

  .correal-property-btn {
    width: 100%;
  }

  .correal-results-order select {
    width: 100%;
  }
}

/* Realshield home */
.correal-home-page .correal-header {
  box-shadow: 0 10px 34px rgba(10, 28, 31, 0.11);
}

.correal-home-hero {
  position: relative;
  padding: 0;
  background: var(--rs-dark);
}

.correal-hero-slider,
.correal-hero-slider .slides,
.correal-hero-slider .slides > li {
  margin: 0;
  padding: 0;
}

.correal-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 650px;
  background-position: center;
  background-size: cover;
}

.correal-hero-slide:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 28, 31, 0.88), rgba(10, 28, 31, 0.52) 52%, rgba(10, 28, 31, 0.22));
}
.correal-hero-slide {
  overflow: hidden;
  isolation: isolate;
}

.correal-hero-photo {
  position: absolute;
  inset: -8%;
  z-index: 0;
  display: block;
  background-position: center;
  background-size: cover;
  animation: correal-hero-photo-drift 14s ease-in-out infinite alternate;
  will-change: transform;
}

.correal-hero-slider .slides > li:nth-child(2n) .correal-hero-photo {
  animation-name: correal-hero-photo-drift-alt;
}

.correal-hero-slider .slides > li:nth-child(3n) .correal-hero-photo {
  animation-duration: 18s;
}

@keyframes correal-hero-photo-drift {
  0% {
    transform: scale(1.04) translate3d(-2.2%, -1.4%, 0);
  }
  100% {
    transform: scale(1.16) translate3d(2.6%, 1.8%, 0);
  }
}

@keyframes correal-hero-photo-drift-alt {
  0% {
    transform: scale(1.05) translate3d(2%, -1.7%, 0);
  }
  100% {
    transform: scale(1.17) translate3d(-2.8%, 2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .correal-hero-photo {
    animation: none;
  }
}

.correal-hero-fallback {
  background: radial-gradient(circle at top right, rgba(45, 184, 56, 0.32), transparent 34%), linear-gradient(135deg, #0a1c1f, #1f3438);
}

.correal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0 142px;
  color: var(--rs-white);
}

.correal-hero-kicker,
.correal-section-title span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--rs-green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.correal-hero-content h1 {
  margin-bottom: 18px;
  color: var(--rs-white);
  font-size: 58px;
  line-height: 1.08;
  text-transform: none;
}

.correal-hero-content p {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.correal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.correal-btn-light {
  background: var(--rs-white) !important;
  color: var(--rs-dark) !important;
  box-shadow: none;
}

.correal-btn-light:hover {
  background: var(--rs-gold) !important;
}

.correal-hero-slider .flex-direction-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--rs-white);
  text-shadow: none;
}

.correal-hero-slider .flex-direction-nav a:hover {
  background: var(--rs-green);
}

.correal-home-search {
  position: relative;
  z-index: 4;
  margin-top: -82px;
  padding-bottom: 64px;
}

.correal-search-card {
  padding: 30px;
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 22px 60px rgba(10, 28, 31, 0.16);
}

.correal-section-title {
  margin-bottom: 34px;
}

.correal-section-title.compact {
  margin-bottom: 22px;
}

.correal-section-title h2 {
  margin: 0;
  color: var(--rs-dark);
  font-size: 42px;
  line-height: 1.18;
  text-transform: none;
}

.correal-section-title.compact h2 {
  font-size: 30px;
}

.correal-search-card form .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-left: -8px;
  margin-right: -8px;
}

.correal-search-card form [class*="col-md-"] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 14px;
  color: var(--rs-dark);
  font-weight: 600;
  text-transform: capitalize;
}

.correal-search-card select,
.correal-search-card input[type="text"] {
  margin-top: 7px;
  background: var(--rs-soft);
}

.correal-search-card .boton-filtrar {
  margin-left: auto;
  padding-top: 0 !important;
}

.correal-search-card #Submit {
  width: 100%;
}

.correal-home-categories,
.correal-featured-section,
.correal-home-latest,
.correal-home-gallery {
  padding: 76px 0;
}

.correal-home-categories {
  padding-top: 18px;
}

.correal-category-card {
  display: block;
  min-height: 205px;
  margin-bottom: 24px;
  padding: 34px 22px;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  color: var(--rs-dark);
  text-align: center;
  box-shadow: 0 14px 35px rgba(10, 28, 31, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.correal-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 184, 56, 0.35);
  box-shadow: 0 22px 50px rgba(10, 28, 31, 0.13);
}

.correal-category-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(45, 184, 56, 0.1);
  color: var(--rs-green);
  font-size: 26px;
}

.correal-category-card h4 {
  margin-bottom: 7px;
  font-size: 22px;
}

.correal-category-card span {
  color: var(--rs-muted);
}

.correal-featured-section {
  background: var(--rs-soft);
}

.correal-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.correal-home-property {
  overflow: hidden;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 16px 38px rgba(10, 28, 31, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.correal-home-property:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(10, 28, 31, 0.14);
}

.correal-featured-slider {
  position: relative;
  width: 80vw;
  margin-left: calc(50% - 40vw);
  padding: 34px 56px 46px;
  overflow: hidden;
  box-sizing: border-box;
  transform: none;
}

.correal-featured-slider .caroufredsel_wrapper {
  width: 100% !important;
  overflow: hidden !important;
}

.correal-featured-slider .correal-featured-grid {
  display: block;
  gap: 0;
  white-space: nowrap;
}

.correal-featured-slider .correal-home-property {
  display: inline-block;
  width: 320px;
  margin: 0 10px 28px;
  vertical-align: top;
  white-space: normal;
}

.correal-featured-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 18px;
  margin-top: 28px;
}

.correal-featured-slider-dots a {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--rs-green);
  border-radius: 50%;
  background: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.correal-featured-slider-dots a:hover,
.correal-featured-slider-dots a.selected {
  background: var(--rs-green);
  transform: scale(1.2);
}

.correal-home-property .trend-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.correal-home-property .trend-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.correal-home-property:hover .trend-image img {
  transform: scale(1.06);
}

.correal-home-property-content {
  padding: 24px;
}

.correal-home-property-content h4 {
  min-height: 58px;
  margin-bottom: 9px;
  font-size: 21px;
  text-transform: none;
}

.correal-home-price {
  margin: 16px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rs-line);
  color: var(--rs-green);
  font-family: "Rubik", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.correal-home-property .correal-property-features {
  margin-bottom: 16px;
  padding: 12px;
}

.correal-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--rs-muted);
  font-size: 13px;
  font-weight: 600;
}

.correal-card-footer a {
  color: var(--rs-green);
  text-transform: uppercase;
}

.correal-home-latest {
  background: var(--rs-white);
}

.correal-news-list {
  display: grid;
  gap: 16px;
}

.correal-news-item {
  padding: 22px 24px;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 14px 35px rgba(10, 28, 31, 0.06);
}

.correal-news-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--rs-green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.correal-news-item h4 {
  margin: 0;
  font-size: 21px;
  text-transform: none;
}

.correal-home-cta {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--rs-dark);
  box-shadow: 0 18px 45px rgba(10, 28, 31, 0.14);
}

.correal-home-cta video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.correal-home-cta:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 28, 31, 0.08), rgba(10, 28, 31, 0.86));
}

.correal-home-cta-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 32px;
  color: var(--rs-white);
}

.correal-home-cta-content h3 {
  color: var(--rs-white);
  font-size: 30px;
  text-transform: none;
}

.correal-home-cta-content p {
  color: rgba(255, 255, 255, 0.82);
}

.correal-home-gallery {
  padding-top: 0;
}

.correal-latest-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}

.correal-latest-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--rs-soft);
}

.correal-latest-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.correal-latest-grid a:hover img {
  transform: scale(1.08);
}

@media (max-width: 1199px) {
  .correal-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .correal-latest-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .correal-hero-slide {
    min-height: 560px;
  }

  .correal-hero-content h1 {
    font-size: 44px;
  }

  .correal-home-search {
    margin-top: -52px;
  }

  .correal-section-title h2 {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .correal-hero-slide {
    min-height: 520px;
  }

  .correal-hero-content {
    padding: 58px 0 118px;
  }

  .correal-hero-content h1 {
    font-size: 34px;
  }

  .correal-hero-content p {
    font-size: 16px;
  }

  .correal-hero-actions,
  .correal-card-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .correal-search-card {
    padding: 22px;
  }

  .correal-search-card form .row {
    display: block;
  }

  .correal-featured-grid,
  .correal-latest-grid {
    grid-template-columns: 1fr;
  }

  .correal-home-categories,
  .correal-featured-section,
  .correal-home-latest,
  .correal-home-gallery {
    padding: 52px 0;
  }
}

/* Grid density for property listing pages */
.correal-listing-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.correal-listing-list .correal-property-card {
  height: 100%;
}

.correal-listing-list .correal-property-row {
  display: block;
  height: 100%;
}

.correal-listing-list .correal-property-row > [class*="col-"] {
  width: 100%;
  float: none;
}

.correal-listing-list .correal-property-image,
.correal-listing-list .correal-property-image a,
.correal-listing-list .correal-property-image img {
  min-height: 230px;
  height: 230px;
}

.correal-listing-list .correal-property-content {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 22px;
}

.correal-listing-list .correal-property-heading {
  display: block;
  padding-bottom: 14px;
}

.correal-listing-list .correal-property-content h4 {
  min-height: 58px;
  font-size: 21px;
}

.correal-listing-list .correal-property-price {
  margin-top: 12px;
  text-align: left;
}

.correal-listing-list .correal-property-description {
  min-height: 52px;
  margin-bottom: 16px;
}

.correal-listing-list .correal-property-features {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: auto;
}

.correal-listing-list .correal-property-footer {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.correal-listing-list .correal-property-links {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: stretch;
}

.correal-listing-list .correal-property-btn {
  width: 100%;
}

@media (max-width: 1199px) {
  .correal-listing-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .correal-listing-list {
    grid-template-columns: 1fr;
  }
}

/* Full-width featured property hero */
.correal-featured-hero {
  width: 100%;
}

.correal-featured-hero-slide {
  min-height: 720px;
  background-position: center;
  background-size: cover;
}

.correal-featured-hero-slide:before {
  background: linear-gradient(90deg, rgba(10, 28, 31, 0.88), rgba(10, 28, 31, 0.56) 46%, rgba(10, 28, 31, 0.14));
}

.correal-featured-hero-content {
  max-width: 760px;
  padding-bottom: 170px;
}

.correal-featured-hero-location {
  margin-bottom: 14px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 17px !important;
}

.correal-featured-hero-location i {
  color: var(--rs-gold);
  margin-right: 8px;
}

.correal-featured-hero-price {
  display: inline-block;
  margin: 0 0 18px;
  padding: 13px 18px;
  border-left: 4px solid var(--rs-green);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rs-green);
  font-family: "Rubik", "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.correal-featured-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.correal-featured-hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--rs-white);
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.correal-featured-hero-features i {
  color: var(--rs-gold);
}

@media (max-width: 991px) {
  .correal-featured-hero-slide {
    min-height: 620px;
  }

  .correal-featured-hero-price {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .correal-featured-hero-slide {
    min-height: 580px;
  }

  .correal-featured-hero-content {
    padding-bottom: 135px;
  }

  .correal-featured-hero-price {
    font-size: 19px;
  }

  .correal-featured-hero-features {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Listing cards now share the home property-card structure */
.correal-listing-list .correal-listing-property {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.correal-listing-list .correal-listing-property .trend-image {
  flex: 0 0 auto;
}

.correal-listing-list .correal-listing-property .correal-home-property-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.correal-listing-list .correal-listing-property .correal-property-description {
  margin-bottom: 16px;
}

.correal-listing-list .correal-listing-property .correal-property-features {
  margin-top: auto;
}

.correal-card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.correal-listing-property .correal-virtual-link {
  font-size: 13px;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .correal-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

/* Make the featured hero visible before Flexslider initializes */
.correal-featured-hero-slider .slides > li:first-child {
  display: block;
}

.correal-featured-hero-slider.flexslider .slides img {
  display: none;
}

/* Simplified search forms */
.correal-search-form {
  margin: 0;
}

.correal-search-form .row {
  margin-left: -8px;
  margin-right: -8px;
}

.correal-search-field {
  margin-bottom: 14px;
  padding-left: 8px;
  padding-right: 8px;
}

.correal-search-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--rs-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.correal-search-field select,
.correal-search-field input[type="text"] {
  width: 100%;
  margin: 0;
  background: var(--rs-soft);
}

.correal-search-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.correal-advanced-toggle {
  min-height: 44px;
  box-shadow: none;
  background: var(--rs-dark);
}

.correal-advanced-toggle:hover {
  background: var(--rs-gold);
}

.correal-search-advanced {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rs-line);
}

.correal-search-advanced.is-open {
  display: block;
}

.correal-search-form.advanced-open .correal-advanced-toggle {
  background: var(--rs-gold);
  color: var(--rs-dark) !important;
}

.correal-search-form.advanced-open .correal-advanced-toggle i {
  color: var(--rs-dark);
}

.correal-search-card form.correal-search-form .row {
  display: block;
}

.correal-search-card form.correal-search-form .correal-search-basic {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.correal-search-card form.correal-search-form .correal-search-field {
  color: inherit;
  font-weight: inherit;
  text-transform: none;
}

.correal-search-card form.correal-search-form .correal-search-actions #Submit {
  width: auto;
}

@media (max-width: 767px) {
  .correal-search-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .correal-search-actions input,
  .correal-search-actions button {
    width: 100%;
  }

  .correal-search-card form.correal-search-form .correal-search-basic {
    display: block;
  }
}

/* Black footer override */
#footer.correal-footer,
.correal-footer .footer-widget,
.correal-footer .footer-credits {
  background: #000 !important;
}

/* Hero search overlap and contact panel */
.correal-featured-hero {
  position: relative;
  overflow: visible !important;
}

.correal-home-search.form-main {
  margin-top: -145px;
  padding-top: 0;
  padding-bottom: 72px;
  background: transparent !important;
}

.correal-home-search .container {
  position: relative;
  z-index: 6;
}

.correal-search-card {
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.correal-featured-hero-content {
  max-width: 640px;
  padding-right: 0;
  padding-bottom: 205px;
}

.correal-hero-contact-panel {
  position: absolute;
  top: 145px;
  right: calc((100% - 1170px) / 2);
  z-index: 5;
  width: 360px;
  max-width: calc(100% - 40px);
}

.correal-hero-contact-form {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  color: var(--rs-dark);
}

.correal-hero-contact-form > span {
  display: block;
  margin-bottom: 6px;
  color: var(--rs-green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.correal-hero-contact-form h3 {
  margin: 0 0 16px;
  color: var(--rs-dark);
  font-size: 24px;
  line-height: 1.2;
}

.correal-hero-contact-form input[type="text"],
.correal-hero-contact-form input[type="email"],
.correal-hero-contact-form textarea {
  width: 100%;
  margin: 0 0 10px;
  border: 1px solid var(--rs-line);
  background: var(--rs-soft);
  color: var(--rs-dark);
}

.correal-hero-contact-form textarea {
  resize: vertical;
}

.correal-hero-captcha {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.correal-hero-captcha img {
  width: 110px;
  height: 38px;
  object-fit: cover;
  border: 1px solid var(--rs-line);
  background: #fff;
}

.correal-hero-captcha input[type="text"] {
  margin: 0;
}

.correal-hero-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 16px;
  color: var(--rs-muted);
  font-size: 12px;
  line-height: 1.35;
}

.correal-hero-privacy input {
  margin-top: 1px;
}

.correal-hero-contact-form .nir-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Property favorites and visited states */
.correal-home-property .trend-image {
  position: relative;
}

.correal-property-tools {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.correal-favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--rs-green);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}

.correal-favorite-toggle:hover,
.correal-home-property.is-favorite .correal-favorite-toggle {
  background: var(--rs-gold);
  color: var(--rs-dark);
}

.correal-visited-badge {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 28, 31, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.correal-home-property.is-visited .correal-visited-badge {
  display: inline-flex;
}

.correal-home-property.is-visited .trend-image img {
  filter: saturate(0.72) brightness(0.86);
}

.correal-home-property.is-visited .trend-content {
  background: linear-gradient(0deg, rgba(19, 116, 84, 0.04), rgba(19, 116, 84, 0.04)), #fff;
}

@media (max-width: 1199px) {
  .correal-hero-contact-panel {
    right: 30px;
  }

  .correal-featured-hero-content {
    padding-right: 380px;
  }
}

@media (max-width: 991px) {
  .correal-home-search.form-main {
    margin-top: -92px;
  }

  .correal-featured-hero-content {
    max-width: 100%;
    padding-right: 0;
    padding-bottom: 185px;
  }

  .correal-hero-contact-panel {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: -150px 30px 34px;
  }
}

@media (max-width: 767px) {
  .correal-home-search.form-main {
    margin-top: -54px;
    padding-bottom: 46px;
  }

  .correal-featured-hero-content {
    padding-bottom: 120px;
  }

  .correal-hero-contact-panel {
    margin: -72px 15px 24px;
  }

  .correal-hero-contact-form {
    padding: 20px;
  }

  .correal-hero-captcha {
    grid-template-columns: 1fr;
  }
}


/* Card footer tools and tighter hero/search overlap refinements */
.correal-home-page .correal-featured-hero,
.correal-home-page .correal-featured-hero .flexslider,
.correal-home-page .correal-featured-hero .slides,
.correal-home-page .correal-featured-hero .slides > li {
  background: transparent !important;
}

.correal-home-search.form-main {
  margin-top: -68px;
  padding-bottom: 56px;
}

.correal-featured-hero-content {
  padding-bottom: 145px;
}

.correal-hero-contact-panel {
  top: 118px;
}

.correal-card-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.correal-card-actions .correal-property-tools {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.correal-card-actions .correal-favorite-toggle {
  width: 32px;
  height: 32px;
  box-shadow: none;
  border: 1px solid var(--rs-line);
  background: var(--rs-soft);
  color: var(--rs-green);
  font-size: 13px;
}

.correal-card-actions .correal-favorite-toggle:hover,
.correal-home-property.is-favorite .correal-card-actions .correal-favorite-toggle {
  border-color: var(--rs-gold);
  background: var(--rs-gold);
  color: var(--rs-dark);
}

.correal-card-actions .correal-visited-badge {
  min-height: 32px;
  padding: 7px 9px;
  border: 1px solid rgba(19, 116, 84, 0.18);
  border-radius: 4px;
  background: rgba(19, 116, 84, 0.08);
  color: var(--rs-green);
  font-size: 11px;
  line-height: 1;
}

.correal-listing-list .correal-listing-property .correal-property-features,
.correal-listing-list .correal-home-property .correal-property-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  grid-template-columns: none;
}

.correal-listing-list .correal-listing-property .correal-property-features li,
.correal-listing-list .correal-home-property .correal-property-features li {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
}

@media (max-width: 1199px) {
  .correal-featured-hero-content {
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  .correal-home-search.form-main {
    margin-top: -42px;
  }

  .correal-featured-hero-content {
    padding-bottom: 115px;
  }

  .correal-hero-contact-panel {
    margin: 20px 30px 34px;
  }
}

@media (max-width: 767px) {
  .correal-home-search.form-main {
    margin-top: -22px;
  }

  .correal-featured-hero-content {
    padding-bottom: 84px;
  }

  .correal-hero-contact-panel {
    margin: 18px 15px 24px;
  }

  .correal-card-footer,
  .correal-card-actions {
    align-items: flex-start;
  }
}

/* Final hero/search background correction */
body.correal-home-page,
body.correal-home-page #wrap,
body.correal-home-page .main-inner-content {
  background: #fff;
}

.correal-home-page .correal-featured-hero-slider,
.correal-home-page .correal-featured-hero-slider .flex-viewport {
  background: transparent !important;
}

.correal-home-search.form-main {
  background: linear-gradient(to bottom, transparent 0, transparent 68px, #fff 68px, #fff 100%) !important;
}

@media (max-width: 991px) {
  .correal-home-search.form-main {
    background: #fff !important;
  }
}

/* Flat property state icons */
.correal-card-actions .correal-property-tools {
  gap: 11px;
}

.correal-card-actions .correal-favorite-toggle,
.correal-card-actions .correal-visited-badge {
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #9aa3a5;
  font-size: 18px;
  line-height: 1;
}

.correal-card-actions .correal-favorite-toggle,
.correal-card-actions .correal-favorite-toggle i {
  color: var(--rs-green) !important;
}

.correal-card-actions .correal-favorite-toggle i {
  font-size: 16px;
}

.correal-card-actions .correal-favorite-toggle:hover,
.correal-home-property.is-favorite .correal-card-actions .correal-favorite-toggle,
.correal-home-property.is-visited .correal-card-actions .correal-visited-badge {
  background: transparent;
  color: var(--rs-green);
}

.correal-card-actions .correal-visited-badge,
.correal-home-property.is-visited .correal-card-actions .correal-visited-badge {
  display: inline-flex;
}

.correal-card-actions .correal-favorite-toggle i,
.correal-card-actions .correal-visited-badge i {
  margin: 0;
}

/* Home extended sections */
.correal-why-section,
.correal-testimonials-section {
  padding: 72px 0;
}

.correal-why-section {
  background: var(--rs-white);
}

.correal-testimonials-section {
  background: var(--rs-soft);
}

.correal-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.correal-why-media {
  overflow: hidden;
  border-radius: 6px;
  background: var(--rs-line);
}

.correal-why-media img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.correal-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.correal-why-item {
  min-height: 220px;
  padding: 28px 24px;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  background: var(--rs-white);
  box-shadow: 0 14px 34px rgba(10, 28, 31, 0.07);
  text-align: center;
}

.correal-why-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(45, 184, 56, 0.1);
  color: var(--rs-green);
  font-size: 24px;
}

.correal-why-item h4,
.correal-review-card .author-title h4 {
  text-transform: none;
}

.correal-home-action-section {
  padding: 0;
  background: var(--rs-white);
}

.correal-home-action-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(10, 28, 31, 0.96), rgba(31, 52, 56, 0.92));
  color: var(--rs-white);
}

.correal-home-action-banner span {
  display: block;
  margin-bottom: 8px;
  color: var(--rs-gold);
  font-weight: 700;
  text-transform: uppercase;
}

.correal-home-action-banner h2 {
  max-width: 720px;
  margin: 0;
  color: var(--rs-white);
  font-size: 34px;
  text-transform: none;
}

.correal-home-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.correal-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.correal-load-more-wrap {
  margin-top: 34px;
  text-align: center;
}

.correal-load-more-wrap .nir-btn.is-loading {
  pointer-events: none;
  opacity: 0.72;
}
.correal-testimonials-section {
  background-color: var(--rs-soft);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 249, 247, 0.92));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.correal-testimonial-title h2 {
  color: var(--rs-dark);
  text-transform: none;
}

.correal-testimonial-title h2 span {
  color: var(--rs-green);
}

.correal-testimonial-title p {
  margin: 12px auto 0;
  color: var(--rs-muted);
}

.correal-testimonial-carousel {
  width: 100%;
  overflow: hidden;
}

.correal-testimonial-carousel .caroufredsel_wrapper {
  width: 100% !important;
  overflow: hidden !important;
}

.correal-review-slider {
  display: block;
  width: 100%;
  margin: 0;
  white-space: nowrap;
}

.correal-review-slider .item {
  display: inline-block;
  width: 540px;
  float: none;
  padding: 0;
  vertical-align: top;
  white-space: normal;
}

.testimonial .testimonial-item1.correal-review-card {
  position: relative;
  min-height: 330px;
  margin: 2.5rem 2rem 3rem;
  padding: 30px;
  text-align: center;
}

.testimonial .testimonial-item1.correal-review-card::before,
.testimonial .testimonial-item1.correal-review-card::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 10px 30px 0 rgba(9, 0, 49, 0.05);
  z-index: -1;
}

.testimonial .testimonial-item1.correal-review-card::before {
  top: 0;
  left: 0;
}

.testimonial .testimonial-item1.correal-review-card::after {
  top: 15px;
  left: 15px;
  z-index: -2;
}

.testimonial .testimonial-item1.correal-review-card .details {
  position: relative;
}

.testimonial .testimonial-item1.correal-review-card .details p {
  color: var(--rs-ink);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial .testimonial-item1.correal-review-card a {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.testimonial .testimonial-item1.correal-review-card a img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial .testimonial-item1.correal-review-card .author-info {
  position: relative;
}

.testimonial .testimonial-item1.correal-review-card .author-title h4 {
  color: var(--rs-green);
  font-size: 18px;
  text-transform: none;
}

.testimonial .testimonial-item1.correal-review-card .author-title span {
  color: var(--rs-muted);
  font-size: 13px;
}

.testimonial .testimonial-item1.correal-review-card .rating-inner {
  margin-top: 10px;
  color: var(--rs-gold);
}

.testimonial .testimonial-item1.correal-review-card > .fa-quote-left {
  position: absolute;
  right: -20px;
  top: -20px;
  padding: 15px;
  background: #fff;
  color: var(--rs-green);
  box-shadow: 0 0 15px #cccccc37;
  font-size: 40px;
}

@media (max-width: 991px) {
  .correal-why-layout,
  .correal-more-grid {
    grid-template-columns: 1fr;
  }

  .correal-home-action-banner {
    display: block;
  }

  .correal-home-action-buttons {
    justify-content: flex-start;
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .correal-why-section,
  .correal-testimonials-section {
    padding: 52px 0;
  }

  .correal-why-grid {
    grid-template-columns: 1fr;
  }

  .correal-why-media img {
    height: 360px;
  }

  .correal-home-action-banner {
    padding: 28px 22px;
  }

  .correal-home-action-banner h2 {
    font-size: 25px;
  }
  .correal-review-card {
    min-height: auto;
    padding: 28px 22px;
  }
}













@media (max-width: 991px) {
  .correal-header .navbar-flex {
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .correal-header .navbar-header {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .correal-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .correal-main-nav,
  .correal-actions {
    display: none;
    width: 100%;
    flex-basis: 100%;
  }

  .header_menu.correal-mobile-open .correal-main-nav,
  .header_menu.correal-mobile-open .correal-actions {
    display: block;
  }

  .correal-main-nav {
    order: 2;
    margin-top: 14px;
    text-align: left;
  }

  .correal-main-nav .navbar-nav {
    display: block;
    width: 100%;
    margin: 0;
  }

  .correal-main-nav .navbar-nav > li {
    display: block;
    border-top: 1px solid var(--rs-line);
  }

  .correal-main-nav .navbar-nav > li > a {
    padding: 13px 0;
  }

  .correal-main-nav .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    min-width: 0;
    padding: 0 0 10px 14px;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .correal-actions {
    order: 3;
    margin-top: 14px;
  }

  .correal-actions .nir-btn,
  .correal-ref-search {
    width: 100%;
  }
}







/* Mobile header and hero refinements */
@media (max-width: 991px) {
  .correal-topbar-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px 14px;
    flex-wrap: wrap;
    min-height: 0;
  }

  .correal-contact-list,
  .correal-social-list {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .correal-contact-list li,
  .correal-social-list li {
    display: inline-flex;
    margin: 0;
  }

  .correal-hero-slider .flex-control-nav {
    display: none !important;
  }

  .correal-hero-slider .flex-direction-nav,
  .correal-hero-slider .flex-direction-nav li,
  .correal-hero-slider .flex-direction-nav a {
    display: block !important;
  }

  .correal-hero-slider .flex-direction-nav a {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }

  .correal-hero-slider .flex-direction-nav .flex-prev {
    left: 12px !important;
  }

  .correal-hero-slider .flex-direction-nav .flex-next {
    right: 12px !important;
  }

  .correal-hero-contact-panel {
    margin-top: 0;
  }
}





/* Index-2 testimonial section parity */
.correal-testimonials-section.testimonial {
  padding-top: 90px;
  padding-bottom: 60px;
  background-color: var(--rs-soft);
  background-image: url('/imagenes/testimonial.png') !important;
  background-position: bottom;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow: hidden;
}

.correal-testimonials-section .section-title {
  margin-bottom: 2.5rem;
}

.correal-review-slider {
  display: block;
  width: 100%;
  margin: 0;
  white-space: normal;
}

.correal-review-slider .slick-list {
  overflow: hidden;
  margin: 0 -15px;
  padding: 0 0 8px;
}

.correal-review-slider .slick-track {
  display: flex;
  align-items: stretch;
}

.correal-review-slider .slick-slide {
  float: none;
  height: auto;
}

.correal-review-slider .item,
.correal-review-slider.slick-initialized .item {
  display: block;
  width: auto;
  padding: 0 15px;
  white-space: normal;
}

.testimonial .testimonial-item1.correal-review-card {
  position: relative;
  min-height: 330px;
  margin: 2.5rem 2rem 3rem;
  padding: 30px;
  text-align: center;
  isolation: isolate;
}

.testimonial .testimonial-item1.correal-review-card::before,
.testimonial .testimonial-item1.correal-review-card::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 10px 30px 0 rgba(9, 0, 49, 0.05);
  z-index: -1;
}

.testimonial .testimonial-item1.correal-review-card::before {
  top: 0;
  left: 0;
}

.testimonial .testimonial-item1.correal-review-card::after {
  top: 15px;
  left: 15px;
  z-index: -2;
}

.testimonial .testimonial-item1.correal-review-card .details {
  position: relative;
}

.testimonial .testimonial-item1.correal-review-card .details p {
  color: var(--rs-ink);
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial .testimonial-item1.correal-review-card a {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.testimonial .testimonial-item1.correal-review-card a img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial .testimonial-item1.correal-review-card .author-info {
  position: relative;
}

.testimonial .testimonial-item1.correal-review-card .author-title h4 {
  color: var(--rs-green);
  font-size: 18px;
  text-transform: none;
}

.testimonial .testimonial-item1.correal-review-card .author-title span {
  color: var(--rs-muted);
  font-size: 13px;
}

.testimonial .testimonial-item1.correal-review-card .rating-inner {
  margin-top: 10px;
  color: var(--rs-gold);
}

.testimonial .testimonial-item1.correal-review-card > .fa-quote-left {
  position: absolute;
  right: -20px;
  top: -20px;
  padding: 15px;
  background: #fff;
  color: var(--rs-green);
  box-shadow: 0 0 15px #cccccc37;
  font-size: 40px;
}

@media (max-width: 735px) {
  .testimonial .testimonial-item1.correal-review-card {
    margin: 2.5rem 0 3rem;
  }

  .testimonial .testimonial-item1.correal-review-card > .fa-quote-left {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 15px;
  }

  .testimonial .testimonial-item1.correal-review-card::after {
    left: 0;
  }
}

/* Self-contained home testimonial slider */
.correal-review-slider.correal-review-ready {
  overflow: hidden;
  margin-left: 0;
  margin-right: 0;
}

.correal-review-slider .correal-review-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.8s ease;
  will-change: transform;
}

.correal-review-slider.correal-review-ready .item {
  float: none;
  display: block;
  width: auto;
  padding: 0 15px;
}
