/* Real Estate Plus static property catalogue
   Local, cPanel-friendly HTML/CSS/vanilla JS presentation layer. */
:root {
  --rep-blue: #004f96;
  --rep-blue-700: #003a73;
  --rep-blue-50: #edf6ff;
  --rep-red: #ff140d;
  --rep-red-700: #cf0f09;
  --rep-navy: #071b33;
  --rep-ink: #162033;
  --rep-muted: #667085;
  --rep-line: #dbe6f2;
  --rep-bg: #f5f8fc;
  --rep-soft: #fffaf7;
  --rep-card: #ffffff;
  --rep-white: #ffffff;
  --rep-shadow: 0 24px 70px rgba(7, 27, 51, 0.14);
  --rep-shadow-soft: 0 14px 34px rgba(7, 27, 51, 0.1);
  --rep-radius-lg: 30px;
  --rep-radius: 22px;
  --rep-radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.rep-site {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 79, 150, 0.09), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--rep-bg) 45%, #ffffff 100%);
  color: var(--rep-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.rep-site img {
  max-width: 100%;
}

.rep-site a {
  color: var(--rep-blue);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rep-site p {
  margin: 0 0 1rem;
}

.rep-site h1,
.rep-site h2,
.rep-site h3 {
  color: var(--rep-navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
}

.rep-wrap {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.rep-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 230, 242, 0.9);
  box-shadow: 0 10px 28px rgba(7, 27, 51, 0.06);
  backdrop-filter: saturate(160%) blur(18px);
}

.rep-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  min-height: 84px;
}

.rep-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.rep-brand img {
  display: block;
  width: min(216px, 44vw);
  max-height: 56px;
  object-fit: contain;
}

.rep-brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rep-nav nav {
  margin-left: auto;
}

.rep-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rep-nav a {
  text-decoration: none;
}

.rep-nav nav a {
  display: block;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--rep-navy);
  font-size: 0.95rem;
  font-weight: 750;
}

.rep-nav .active a,
.rep-nav nav a:hover,
.rep-nav nav a:focus-visible {
  background: var(--rep-blue-50);
  color: var(--rep-blue);
}

.rep-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 79, 150, 0.18);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 79, 150, 0.08);
  color: var(--rep-blue);
  font-weight: 800;
  white-space: nowrap;
}

.rep-phone:hover,
.rep-phone:focus-visible {
  background: var(--rep-blue);
  color: #ffffff;
}

.rep-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 8vw, 120px) 0;
  color: #ffffff;
  background:
    linear-gradient(130deg, rgba(7, 27, 51, 0.96), rgba(0, 79, 150, 0.9)),
    radial-gradient(circle at 82% 20%, rgba(255, 20, 13, 0.32), transparent 26rem),
    var(--rep-navy);
}

.rep-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

.rep-hero::after {
  content: "";
  position: absolute;
  right: -11rem;
  bottom: -16rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  border: 5.5rem solid rgba(255, 20, 13, 0.16);
  z-index: -1;
}

.rep-hero-small {
  padding: clamp(52px, 6vw, 82px) 0;
}

.rep-hero-detail {
  padding: clamp(44px, 5vw, 72px) 0;
}

.rep-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.rep-hero h1 {
  max-width: 940px;
  color: #ffffff;
  font-size: clamp(2.55rem, 6vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 1.25rem;
}

.rep-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.rep-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  color: var(--rep-blue) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rep-eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--rep-red);
}

.rep-hero .rep-eyebrow {
  color: rgba(255, 255, 255, 0.92) !important;
}

.rep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.rep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid var(--rep-red);
  border-radius: 999px;
  background: var(--rep-red);
  color: #ffffff !important;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(255, 20, 13, 0.2);
}

.rep-btn:hover,
.rep-btn:focus-visible {
  transform: translateY(-2px);
  background: var(--rep-red-700);
  border-color: var(--rep-red-700);
  box-shadow: 0 20px 38px rgba(255, 20, 13, 0.26);
}

.rep-btn-light {
  background: #ffffff;
  border-color: rgba(0, 79, 150, 0.18);
  color: var(--rep-blue) !important;
  box-shadow: 0 14px 30px rgba(7, 27, 51, 0.08);
}

.rep-btn-light:hover,
.rep-btn-light:focus-visible {
  background: var(--rep-blue);
  border-color: var(--rep-blue);
  color: #ffffff !important;
}

.rep-hero .rep-btn-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  box-shadow: none;
}

.rep-hero .rep-btn-light:hover,
.rep-hero .rep-btn-light:focus-visible {
  background: #ffffff;
  color: var(--rep-blue) !important;
}

.rep-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 34px;
}

.rep-stats-strip span {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.rep-stats-strip strong {
  color: #ffffff;
  font-size: 1.72rem;
  line-height: 1;
}

.rep-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--rep-radius);
  background: rgba(255, 255, 255, 0.1);
}

.rep-stats strong {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.rep-stats span {
  color: rgba(255, 255, 255, 0.82);
}

.rep-hero-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--rep-radius-lg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.rep-carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 14px;
  scrollbar-width: thin;
}

.rep-carousel-slide {
  position: relative;
  flex: 0 0 min(100%, 480px);
  min-height: 530px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--rep-radius-lg);
  background: #0b2038;
  box-shadow: var(--rep-shadow);
}

.rep-carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.rep-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 51, 0.05) 0%, rgba(7, 27, 51, 0.38) 36%, rgba(7, 27, 51, 0.93) 100%);
}

.rep-carousel-info {
  position: absolute;
  inset-inline: 28px;
  bottom: 28px;
  z-index: 1;
}

.rep-carousel-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--rep-red);
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rep-carousel-info h2 {
  max-width: 94%;
  color: #ffffff;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  letter-spacing: -0.045em;
  margin-bottom: 12px;
}

.rep-carousel-price {
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 900;
}

.rep-carousel-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: #ffffff !important;
  font-weight: 850;
  text-decoration: none;
}

.rep-carousel-link::after {
  content: "→";
  margin-left: 8px;
}

.rep-carousel-controls {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
  gap: 8px;
}

.rep-carousel-ready .rep-carousel-track {
  display: block;
  overflow: hidden;
  padding: 0;
}

.rep-carousel-ready .rep-carousel-slide {
  display: none;
  min-height: clamp(420px, 43vw, 540px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.rep-carousel-ready .rep-carousel-slide.is-active {
  display: block;
  opacity: 1;
}

.rep-carousel-ready .rep-carousel-controls {
  display: flex;
}

.rep-carousel-controls button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(7, 27, 51, 0.38);
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.rep-carousel-controls svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rep-carousel-controls button:hover,
.rep-carousel-controls button:focus-visible {
  background: #ffffff;
  color: var(--rep-blue);
}

.rep-section {
  padding: clamp(58px, 7vw, 96px) 0;
}

.rep-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.rep-section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.rep-section-head a,
.rep-link {
  color: var(--rep-blue);
  font-weight: 850;
  text-decoration: none;
}

.rep-section-head a:hover,
.rep-link:hover,
.rep-section-head a:focus-visible,
.rep-link:focus-visible {
  color: var(--rep-red);
}

.rep-filter-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: clamp(18px, 3vw, 28px);
  padding: 18px;
  border: 1px solid rgba(0, 79, 150, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--rep-shadow-soft);
}

.rep-filter-band strong {
  color: var(--rep-navy);
  font-size: 0.95rem;
}

.rep-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rep-filter-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 79, 150, 0.16);
  border-radius: 999px;
  background: var(--rep-blue-50);
  color: var(--rep-blue);
  font-weight: 800;
  text-decoration: none;
}

.rep-filter-links a:hover,
.rep-filter-links a:focus-visible,
.rep-filter-links a[aria-current="page"] {
  background: var(--rep-blue);
  border-color: var(--rep-blue);
  color: #ffffff;
}

.rep-count {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px !important;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--rep-blue);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(7, 27, 51, 0.07);
}

.rep-count::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rep-red);
}

.rep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

.rep-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: var(--rep-radius-lg);
  background: var(--rep-card);
  box-shadow: 0 16px 38px rgba(7, 27, 51, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rep-card:hover,
.rep-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(0, 79, 150, 0.26);
  box-shadow: var(--rep-shadow);
}

.rep-card::before {
  content: attr(data-operation);
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--rep-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 12px 22px rgba(255, 20, 13, 0.24);
}

.rep-card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dce8f5;
}

.rep-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 51, 0.02), rgba(7, 27, 51, 0.2));
}

.rep-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rep-card:hover .rep-card-image img,
.rep-card:focus-within .rep-card-image img {
  transform: scale(1.055);
}

.rep-card-body {
  padding: 23px;
}

.rep-kicker {
  margin-bottom: 10px !important;
  color: var(--rep-blue) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rep-card h2 {
  min-height: 3.5em;
  margin-bottom: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.rep-card h2 a {
  color: var(--rep-navy);
  text-decoration: none;
}

.rep-card h2 a:hover,
.rep-card h2 a:focus-visible {
  color: var(--rep-blue);
}

.rep-price {
  color: var(--rep-navy) !important;
  font-size: 1.35rem !important;
  font-weight: 950;
  line-height: 1.2;
}

.rep-price span {
  display: block;
  margin-top: 4px;
  color: var(--rep-muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.rep-price-large {
  color: #ffffff !important;
  font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
  margin-top: 12px !important;
}

.rep-price-large span {
  color: rgba(255, 255, 255, 0.72);
}

.rep-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px !important;
}

.rep-card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--rep-blue-50);
  color: #3b4b62;
  font-size: 0.78rem;
  font-weight: 780;
}

.rep-card-specs strong {
  color: var(--rep-blue);
}

.rep-detail {
  padding: clamp(34px, 5vw, 74px) 0 clamp(66px, 7vw, 110px);
}

.rep-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.rep-gallery img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(7, 27, 51, 0.08);
}

.rep-gallery-main {
  grid-column: span 2;
  grid-row: span 2;
  height: 452px !important;
  border-radius: var(--rep-radius-lg) !important;
}

.rep-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.rep-detail-layout article {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: var(--rep-radius-lg);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(7, 27, 51, 0.08);
}

.rep-detail-layout article h2 {
  margin-top: 2.15rem;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
}

.rep-detail-layout article h2:first-child {
  margin-top: 0;
}

.rep-detail-layout article p {
  color: #435066;
  font-size: 1.02rem;
}

.rep-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.rep-spec-list div {
  padding: 14px;
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: 16px;
  background: #f9fbfe;
}

.rep-spec-list dt {
  margin-bottom: 4px;
  color: var(--rep-muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rep-spec-list dd {
  margin: 0;
  color: var(--rep-navy);
  font-weight: 850;
}

.rep-pill-list,
.rep-clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rep-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rep-pill-list li {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--rep-blue-50);
  color: var(--rep-blue-700);
  font-weight: 800;
}

.rep-clean-list li {
  margin-bottom: 10px;
  color: #435066;
}

.rep-columns {
  columns: 2;
  column-gap: 28px;
}

.rep-sidebar {
  position: sticky;
  top: 108px;
  padding: 28px;
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: var(--rep-radius-lg);
  background:
    linear-gradient(180deg, rgba(237, 246, 255, 0.72), #ffffff 48%),
    #ffffff;
  box-shadow: var(--rep-shadow-soft);
}

.rep-sidebar h2 {
  font-size: 1.9rem;
}

.rep-sidebar p {
  color: #41506a;
}

.rep-sidebar .rep-btn {
  width: 100%;
  margin-top: 10px;
}

.rep-sidebar hr {
  height: 1px;
  margin: 22px 0;
  border: 0;
  background: var(--rep-line);
}

.rep-sidebar-meta {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(0, 79, 150, 0.1);
  border-radius: 18px;
  background: rgba(237, 246, 255, 0.72);
}

.rep-sidebar-meta p:last-child {
  margin-bottom: 0;
}

.rep-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: stretch;
}

.rep-contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: var(--rep-radius-lg);
  background: #ffffff;
  box-shadow: var(--rep-shadow-soft);
}

.rep-contact-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 20, 13, 0.12), transparent 68%);
}

.rep-contact-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.rep-contact-card .rep-btn {
  margin-right: 10px;
  margin-top: 12px;
}

.rep-footer {
  padding: 34px 0;
  background: var(--rep-navy);
  color: rgba(255, 255, 255, 0.78);
}

.rep-footer p {
  margin: 0;
}

.rep-footer strong,
.rep-footer a {
  color: #ffffff;
}

.rep-whatsapp-fab {
  position: fixed;
  right: clamp(14px, 2.4vw, 24px);
  bottom: clamp(14px, 2.4vw, 24px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(18, 140, 76, 0.3);
}

.rep-whatsapp-icon {
  display: block;
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.rep-whatsapp-fab strong {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rep-whatsapp-fab:hover,
.rep-whatsapp-fab:focus-visible {
  transform: translateY(-2px);
  background: #1fc05b;
  color: #ffffff !important;
}

@media (max-width: 1040px) {
  .rep-hero-layout,
  .rep-detail-layout,
  .rep-contact {
    grid-template-columns: 1fr;
  }

  .rep-hero-carousel {
    max-width: 620px;
  }

  .rep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rep-sidebar {
    position: static;
  }
}

@media (max-width: 780px) {
  .rep-wrap {
    width: min(100% - 28px, 1180px);
  }

  .rep-header {
    position: static;
  }

  .rep-nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .rep-brand img {
    width: min(190px, 66vw);
  }

  .rep-nav nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .rep-nav ul {
    width: max-content;
  }

  .rep-phone {
    margin-left: auto;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .rep-hero {
    padding: 58px 0;
  }

  .rep-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.8rem);
  }

  .rep-stats-strip,
  .rep-spec-list,
  .rep-grid {
    grid-template-columns: 1fr;
  }

  .rep-filter-band,
  .rep-section-head {
    align-items: flex-start;
    border-radius: var(--rep-radius);
    flex-direction: column;
  }

  .rep-carousel-slide,
  .rep-carousel-ready .rep-carousel-slide {
    min-height: 420px;
  }

  .rep-carousel-info {
    inset-inline: 22px;
    bottom: 22px;
  }

  .rep-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .rep-gallery-main {
    grid-column: 1 / -1;
    height: 360px !important;
  }

  .rep-gallery img {
    height: 170px;
  }

  .rep-columns {
    columns: 1;
  }

  .rep-whatsapp-fab strong {
    display: none;
  }

  .rep-whatsapp-fab {
    width: 58px;
    height: 58px;
    justify-content: center;
    padding: 0;
  }
}

/* ===== About (Quiénes Somos) page ===== */
.rep-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

.rep-about-intro-text {
  font-size: 1.08rem;
  color: #435066;
}

.rep-about-intro-text p:last-child {
  margin-bottom: 0;
}

.rep-about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rep-about-stat {
  padding: 28px 20px;
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: var(--rep-radius);
  background: #ffffff;
  box-shadow: var(--rep-shadow-soft);
  text-align: center;
}

.rep-about-stat strong {
  display: block;
  color: var(--rep-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}

.rep-about-stat span {
  color: var(--rep-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.rep-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

.rep-pillar {
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(219, 230, 242, 0.95);
  border-radius: var(--rep-radius-lg);
  background: #ffffff;
  box-shadow: var(--rep-shadow-soft);
}

.rep-pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--rep-blue-50);
  color: var(--rep-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.rep-pillar h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.rep-pillar p {
  color: #435066;
  margin-bottom: 0;
}

.rep-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.rep-value-card {
  padding: 26px;
  border-radius: var(--rep-radius);
  background: linear-gradient(180deg, rgba(237, 246, 255, 0.6), #ffffff 50%), #ffffff;
  border: 1px solid rgba(0, 79, 150, 0.1);
}

.rep-value-card h3 {
  font-size: 1.18rem;
  color: var(--rep-blue);
  margin-bottom: 8px;
}

.rep-value-card p {
  color: #435066;
  margin-bottom: 0;
  font-size: 0.96rem;
}

/* ===== Foreign property badges ===== */
.rep-badge-foreign {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--rep-navy);
  backdrop-filter: blur(6px);
  color: #ffffff !important;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(7, 27, 51, 0.25);
}

.rep-badge-foreign-large {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rep-card-foreign .rep-kicker {
  color: var(--rep-navy) !important;
}

@media (max-width: 1040px) {
  .rep-about-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .rep-pillars,
  .rep-values,
  .rep-about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .rep-hero-small,
  .rep-hero-detail {
    padding: 42px 0;
  }

  .rep-actions,
  .rep-filter-links {
    width: 100%;
  }

  .rep-actions .rep-btn,
  .rep-filter-links a,
  .rep-contact-card .rep-btn {
    width: 100%;
  }

  .rep-card-body,
  .rep-sidebar,
  .rep-detail-layout article,
  .rep-contact-card {
    padding: 22px;
  }
}
