/**
 * sections.css - Netlify page sections, warm palette
 * Loaded on PHP template pages only (portugal-landing, property-portugal, etc.)
 */

:root {
  --rs-sand: #fff4e6;
  --rs-sand-dark: #fbf6ef;
  --rs-sand-border: #e5ddd5;
  --rs-orange: #b95732;
  --rs-orange-light: rgba(185, 87, 50, 0.10);
  --rs-orange-dark: #8f3c24;
  --rs-charcoal: #231a15;
  --rs-charcoal-mid: #3d3029;
  --rs-muted: #4a3f38;
  --rs-muted-light: #b8b4ae;
  --rs-serif: 'Cormorant Garamond', Georgia, serif;
  --rs-sans: 'DM Sans', sans-serif;
}

/* ══════════════════════════════════════════
   BASE RESET for PHP-template pages
   ══════════════════════════════════════════ */
body.rs-php-page {
  background: var(--rs-sand);
  color: var(--rs-charcoal);
  font-family: var(--rs-sans);
  font-size: 16px;
  line-height: 1.7;
}
body.rs-portugal-landing {
  background: #fffdf9;
}
body.rs-portugal-landing main {
  background: #fffdf9;
}
body.rs-page-white {
  background: #ffffff;
}
body.rs-page-white main {
  background: #ffffff;
}

/* ══════════════════════════════════════════
   SECTION BASICS
   ══════════════════════════════════════════ */
.rs-section { padding: 100px 48px; }
body.rs-portugal-landing .rs-section-main {
  background: #fffdf9;
  padding: 82px 48px;
}
body.rs-portugal-landing .rs-section-soft {
  background: var(--rs-sand-dark);
  padding: 82px 48px;
}
body.rs-portugal-landing .rs-section-lisbon {
  padding-top: 74px;
  padding-bottom: 78px;
}
.rs-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-orange);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rs-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--rs-orange);
}
.rs-section-title {
  font-family: var(--rs-serif);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--rs-charcoal);
}
.rs-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
}
body.rs-portugal-landing .rs-section-header {
  margin-bottom: 38px;
}
.rs-section-link {
  color: var(--rs-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--rs-sand-border);
  padding: 4px 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.rs-section-link:hover { color: var(--rs-charcoal); border-color: var(--rs-charcoal); }

/* ══════════════════════════════════════════
   PORTUGAL HERO (slideshow)
   ══════════════════════════════════════════ */
.rs-hero {
  width: 100%;
  min-height: 88vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  overflow: hidden;
}
.rs-hero-slides {
  position: absolute;
  inset: 0;
  background: #1a1410;
}
.rs-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1410;
  opacity: 0;
  animation: rs-hero-slideshow 24s infinite;
}
/* 4 slides, each visible for 6s with 1s crossfade */
.rs-hero-slide:nth-child(1) { animation-delay: 0s; }
.rs-hero-slide:nth-child(2) { animation-delay: 6s; }
.rs-hero-slide:nth-child(3) { animation-delay: 12s; }
.rs-hero-slide:nth-child(4) { animation-delay: 18s; }
@keyframes rs-hero-slideshow {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  25%  { opacity: 1; }
  29%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-hero-slide { animation: none; opacity: 0; }
  .rs-hero-slide:nth-child(1) { opacity: 1; }
  .rs-hero-indicator { animation: none; opacity: 0; }
  .rs-hero-indicator:nth-child(1) { opacity: 1; }
}
.rs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.55) 55%, rgba(20,18,16,0.3) 100%);
  z-index: 1;
}
.rs-hero-content {
  position: relative;
  z-index: 2;
  padding: 28px 48px 56px;
  max-width: 620px;
}
.rs-hero-indicators {
  position: absolute;
  right: 48px;
  bottom: 44px;
  z-index: 2;
  width: min(280px, calc(100vw - 96px));
  pointer-events: none;
}
.rs-hero-indicator {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  animation: rs-hero-indicator 24s infinite;
}
.rs-hero-indicator:nth-child(1) { animation-delay: 0s; }
.rs-hero-indicator:nth-child(2) { animation-delay: 6s; }
.rs-hero-indicator:nth-child(3) { animation-delay: 12s; }
.rs-hero-indicator:nth-child(4) { animation-delay: 18s; }
@keyframes rs-hero-indicator {
  0%   { opacity: 0; transform: translateY(4px); }
  4%   { opacity: 1; transform: translateY(0); }
  25%  { opacity: 1; transform: translateY(0); }
  29%  { opacity: 0; transform: translateY(4px); }
  100% { opacity: 0; transform: translateY(4px); }
}
.rs-hero-property-name {
  font-family: var(--rs-serif);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.1;
}
.rs-hero-property-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  text-align: right;
}
.rs-hero-dots {
  display: flex;
  gap: 16px;
}
.rs-hero-dot {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.34);
}
.rs-hero-dot.is-active {
  background: var(--rs-orange);
}
.rs-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rs-orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rs-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--rs-orange);
}
.rs-hero-title {
  font-family: var(--rs-serif);
  font-size: clamp(52px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.rs-hero-title em {
  font-style: italic;
  color: var(--rs-orange);
}
.rs-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 32px;
}
.rs-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 0;
}
.rs-btn-primary {
  background: var(--rs-orange);
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.rs-btn-primary:hover { background: var(--rs-orange-dark); transform: translateY(-1px); }
.rs-btn-ghost {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.rs-btn-ghost:hover { color: #fff; }
.rs-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.rs-stat-num {
  font-family: var(--rs-serif);
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.rs-stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ══════════════════════════════════════════
   BOOK BAND
   ══════════════════════════════════════════ */
.rs-book-band {
  background: var(--rs-charcoal);
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 56px);
  flex-wrap: wrap;
}
.rs-band-item { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.rs-band-icon {
  width: 32px;
  height: 32px;
  background: var(--rs-orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rs-band-icon svg { width: 16px; height: 16px; stroke: var(--rs-orange); fill: none; stroke-width: 1.5; }
.rs-band-label { font-weight: 500; color: #fff; font-size: 14px; }
.rs-band-sub { color: rgba(255,255,255,0.75); font-size: 13px; }
.rs-band-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.12); }

/* ══════════════════════════════════════════
   PROPERTY CARDS (carousel style)
   ══════════════════════════════════════════ */
.rs-prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.rs-prop-grid--compact {
  gap: 14px;
}
.rs-prop-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(35,26,21,0.07);
  border: 1px solid rgba(229,221,213,0.6);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}
.rs-prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(35,26,21,0.13);
}
.rs-prop-img { position: relative; line-height: 0; }
.rs-prop-img img { width: 100%; display: block; aspect-ratio: auto; object-fit: cover; }
.rs-prop-grid--compact .rs-prop-img img {
  aspect-ratio: 1.38 / 1;
}
.rs-prop-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--rs-orange);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}
.rs-prop-card-body {
  padding: 20px 22px 24px;
  background: #fff;
  border-top: 1px solid var(--rs-sand-border);
}
.rs-prop-grid--compact .rs-prop-card-body {
  padding: 18px 20px 20px;
}
.rs-prop-name {
  font-family: var(--rs-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--rs-charcoal);
  line-height: 1.2;
  margin-bottom: 7px;
}
.rs-prop-grid--compact .rs-prop-name {
  font-size: 22px;
}
.rs-prop-desc {
  font-size: 14px;
  color: var(--rs-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.rs-prop-grid--compact .rs-prop-desc {
  font-size: 13px;
  margin-bottom: 10px;
}
.rs-prop-meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--rs-muted-light);
}
.rs-prop-grid--compact .rs-prop-meta {
  font-size: 12px;
  gap: 8px;
}
.rs-prop-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-orange);
  font-weight: 500;
  margin-bottom: 18px;
}
.rs-prop-button {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #1f1f1f;
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.rs-prop-button span[aria-hidden="true"] {
  font-size: 18px;
  line-height: 1;
}

/* ══════════════════════════════════════════
   ABOUT SECTION (Portugal landing)
   ══════════════════════════════════════════ */
.rs-about {
  background: var(--rs-sand-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 48px;
}
.rs-about-img-wrap { position: relative; height: 520px; }
.rs-about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 80%;
  border-radius: 6px;
  overflow: hidden;
}
.rs-about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  overflow: hidden;
  border-radius: 8px;
  border: 6px solid var(--rs-sand-dark);
  box-shadow: 0 20px 52px rgba(35,26,21,0.28), 0 8px 20px rgba(35,26,21,0.16);
}
.rs-about-img-main img,
.rs-about-img-accent img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rs-about-quote {
  font-family: var(--rs-serif);
  font-size: 26px;
  font-weight: 300;
  font-style: italic;
  color: var(--rs-charcoal);
  line-height: 1.4;
  margin-bottom: 28px;
  padding-left: 24px;
  border-left: 2px solid var(--rs-orange);
}
.rs-about-text {
  font-size: 15px;
  color: var(--rs-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.rs-about-text strong { color: var(--rs-charcoal); font-weight: 500; }
.rs-btn-ghost-dark {
  color: var(--rs-orange);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.rs-btn-ghost-dark:hover { gap: 12px; }

/* ══════════════════════════════════════════
   NEIGHBOURHOOD STRIP
   ══════════════════════════════════════════ */
.rs-nb-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-radius: 8px;
  overflow: hidden;
}
.rs-nb-item {
  position: relative;
  height: 280px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.rs-nb-bg { width: 100%; height: 100%; position: absolute; inset: 0; }
.rs-nb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,26,21,0.7) 0%, transparent 60%);
}
.rs-nb-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
}
.rs-nb-name {
  font-family: var(--rs-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
}
.rs-nb-property {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.rs-nb-dot {
  width: 6px;
  height: 6px;
  background: var(--rs-orange);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
}

/* ══════════════════════════════════════════
   REVIEWS GRID
   ══════════════════════════════════════════ */
.rs-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rs-review-card {
  background: #fff;
  border: 1px solid var(--rs-sand-border);
  border-radius: 8px;
  padding: 28px;
}
.rs-review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.rs-review-stars span {
  width: 14px;
  height: 14px;
  background: var(--rs-orange);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  display: inline-block;
}
.rs-review-text {
  font-family: var(--rs-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--rs-charcoal);
  line-height: 1.6;
  margin-bottom: 20px;
}
.rs-review-author {
  font-size: 14px;
  font-weight: 500;
  color: var(--rs-charcoal);
}
.rs-review-meta {
  font-size: 13px;
  color: var(--rs-muted);
  margin-top: 2px;
}
.rs-review-property {
  display: inline-block;
  background: var(--rs-orange-light);
  color: var(--rs-orange-dark);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   NEWSLETTER OPT-IN
   ══════════════════════════════════════════ */
.rs-optin {
  background: #1c1c1c;
  padding: 76px 48px 68px;
  text-align: center;
}
.rs-optin-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rs-orange);
  margin-bottom: 14px;
}
.rs-optin-title {
  font-family: var(--rs-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}
.rs-optin-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}
.rs-optin .residentas-optin-form {
  margin-top: 0;
}
.rs-optin-note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.32);
}
.rs-optin-euro {
  color: #ff8a4f;
}
.rs-optin-title .rs-optin-euro {
  color: #ff8a4f;
  text-shadow: 0 0 24px rgba(255, 138, 79, 0.24);
}
.rs-optin-note strong {
  color: rgba(255,255,255,0.68);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   PAGE HERO (about/contact/guides/policies)
   ══════════════════════════════════════════ */
.rs-page-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) 24px clamp(24px, 4vw, 40px);
  text-align: center;
}
.rs-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rs-orange);
  margin-bottom: 18px;
  font-weight: 700;
}
.rs-page-eyebrow::before,
.rs-page-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--rs-orange);
  opacity: 0.7;
}
.rs-page-title {
  font-family: var(--rs-serif);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--rs-charcoal);
  margin-bottom: 18px;
}
.rs-page-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--rs-muted);
}
.rs-page-section-tight {
  padding-top: 24px;
  padding-bottom: 72px;
}

/* ══════════════════════════════════════════
   GENERIC CARD (contact/policies)
   ══════════════════════════════════════════ */
.rs-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.rs-card {
  background: #fff;
  border: 1px solid var(--rs-sand-border);
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(35,26,21,0.08), 0 1px 4px rgba(35,26,21,0.04);
}
.rs-card-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rs-orange);
  margin-bottom: 10px;
  font-weight: 700;
}
.rs-card-title {
  font-family: var(--rs-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--rs-charcoal);
  line-height: 1.25;
  margin-bottom: 10px;
}
.rs-card-copy { font-size: 14px; color: var(--rs-muted); line-height: 1.75; }
.rs-card-copy a { color: var(--rs-orange); text-decoration: none; border-bottom: 1px solid rgba(185,87,50,0.35); transition: color 0.2s, border-color 0.2s; }
.rs-card-copy a:hover { color: var(--rs-orange-dark); border-color: var(--rs-orange-dark); }
.rs-card-list { list-style: none; padding: 0; margin: 0; }
.rs-card-list li { margin-bottom: 8px; font-size: 14px; }
.rs-card-list a { color: var(--rs-charcoal); text-decoration: none; }
.rs-card-list a:hover { color: var(--rs-orange); }
.rs-card-list--bullets li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
}
.rs-card-list--bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-orange);
}
.rs-card h2 {
  font-family: var(--rs-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--rs-charcoal);
  margin-bottom: 10px;
}
.rs-card p { font-size: 14px; color: var(--rs-muted); line-height: 1.75; }
.rs-stack { display: flex; flex-direction: column; gap: 14px; }

/* Hero CTA row (contact page) */
.rs-hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.rs-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.rs-hero-cta-btn:hover { transform: translateY(-1px); }
.rs-hero-cta-btn svg { width: 16px; height: 16px; }
.rs-hero-cta-btn--primary { background: var(--rs-orange); color: #fff; }
.rs-hero-cta-btn--primary:hover { background: var(--rs-orange-dark); }
.rs-hero-cta-btn--ghost { border: 1px solid var(--rs-sand-border); color: var(--rs-charcoal); background: #fff; }
.rs-hero-cta-btn--ghost:hover { border-color: var(--rs-orange); color: var(--rs-orange); }

.rs-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rs-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.rs-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--rs-orange);
  flex-shrink: 0;
  margin-top: 3px;
}
.rs-contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.rs-contact-line strong {
  color: var(--rs-charcoal);
}
.rs-contact-grid .rs-card {
  padding: 28px 28px 30px;
}

/* Policies important note */
.rs-note {
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--rs-sand-dark);
  border-left: 3px solid var(--rs-orange);
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--rs-muted);
  line-height: 1.7;
}
.rs-note strong { color: var(--rs-charcoal); }

/* ══════════════════════════════════════════
   GUIDES GRID
   ══════════════════════════════════════════ */
.rs-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.rs-guide-card {
  background: #fff;
  border: 1px solid var(--rs-sand-border);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.rs-guide-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-orange);
  margin-bottom: 10px;
  font-weight: 700;
}
.rs-guide-title {
  font-family: var(--rs-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--rs-charcoal);
  margin-bottom: 6px;
}
.rs-guide-meta {
  font-size: 12px;
  color: var(--rs-muted-light);
  margin-bottom: 14px;
}
.rs-guide-copy {
  font-size: 14px;
  color: var(--rs-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.rs-guide-link {
  align-self: flex-start;
  background: var(--rs-orange);
  color: #fff;
  padding: 12px 22px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.rs-guide-link:hover { background: var(--rs-orange-dark); transform: translateY(-1px); }

.rs-guides-page .rs-page-sub,
.rs-about-page .rs-page-sub,
.rs-contact-page .rs-page-sub,
.rs-properties-page .rs-page-sub {
  max-width: 760px;
}

.rs-about-page .rs-photo-marquee {
  padding: clamp(8px, 2vw, 16px) 0 clamp(20px, 3vw, 32px);
}

.rs-about-page .rs-section-block {
  padding: clamp(24px, 3vw, 36px) 24px;
}

.rs-about-page .rs-section-block + .rs-section-block {
  padding-top: 12px;
}

.rs-properties-page .rs-page-hero {
  padding-bottom: 18px;
}
.rs-properties-page .rs-prop-grid--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1340px !important;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-card {
  border-radius: 24px;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-img img {
  aspect-ratio: 2 / 1;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-tag {
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 8px 14px 7px;
  font-size: 11px;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-card-body {
  display: flex;
  flex-direction: column;
  padding: 18px 24px 20px;
  min-height: 0;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-name {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  margin-bottom: 8px;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-desc {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 12px;
  color: #4f4b47;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-meta {
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #6d675f;
  margin-top: auto;
  margin-bottom: 14px;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-meta span:not(:first-child) {
  position: relative;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-meta span:not(:first-child)::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rs-orange);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-card:hover .rs-prop-button {
  background: var(--rs-orange);
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-label {
  font-size: 11px;
  margin-bottom: 8px;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-button {
  margin-top: 14px;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  border-radius: 10px;
}
.rs-properties-page .rs-prop-grid--detail .rs-prop-button span[aria-hidden="true"] {
  font-size: 16px;
}

.rs-policies-page .rs-page-hero {
  max-width: 860px;
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(18px, 3vw, 28px);
}

.rs-policies-page .rs-page-title {
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 14px;
}

.rs-policies-page .rs-page-sub {
  max-width: 700px;
  font-size: 15px;
  line-height: 1.65;
}

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

/* ══════════════════════════════════════════
   HOMEPAGE DESTINATIONS (dark)
   ══════════════════════════════════════════ */
body.rs-dark-home {
  background: #1C1C1C;
  color: #fff;
  --rs-orange: #E55F2C;
  --rs-orange-dark: #C04A18;
}
.residentas-dark-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}
.residentas-dark-brand-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(1.4) contrast(1.08);
}
.residentas-dark-brand-text {
  color: #fff;
  font-family: var(--rs-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rs-main-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: #1C1C1C;
  padding: 108px 48px 64px;
  min-height: 100vh;
  text-align: center;
}
.rs-dark-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rs-orange);
  margin-bottom: 28px;
}
.rs-dark-eyebrow::before,
.rs-dark-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--rs-orange);
  flex-shrink: 0;
}
.rs-dark-title {
  font-family: var(--rs-serif);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  color: rgba(255,255,255,0.98);
  margin-bottom: 20px;
}
.rs-dark-title em { font-style: italic; color: rgba(255,255,255,0.84); }
.rs-dark-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.rs-destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
  max-width: 820px;
  border-radius: 16px;
  overflow: hidden;
}
.rs-dest {
  position: relative;
  aspect-ratio: 3/2;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--rs-charcoal-mid);
}
.rs-dest-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.rs-dest:hover .rs-dest-bg { transform: scale(1.04); }
.rs-dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.92) 0%, rgba(10,8,6,0.6) 50%, rgba(10,8,6,0.35) 100%);
}
.rs-dest:hover .rs-dest-overlay {
  background: linear-gradient(to top, rgba(10,8,6,0.85) 0%, rgba(10,8,6,0.5) 50%, rgba(10,8,6,0.25) 100%);
}
.rs-dest-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px 18px;
  text-align: left;
}
.rs-dest-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.96);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-weight: 700;
  text-align: left;
}
.rs-dest-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--rs-orange);
  flex-shrink: 0;
}
.rs-dest-name {
  font-family: var(--rs-serif);
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.rs-dest-sub {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  margin-bottom: 8px;
}
.rs-dest-props {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.rs-dest-prop {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 500;
}
.rs-dest-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rs-orange);
  padding: 14px 18px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  margin-top: 2px;
}
.rs-dest:hover .rs-dest-cta {
  background: var(--rs-orange-dark);
  transform: translateY(-1px);
}

.residentas-header-dark {
  background: #1C1C1C !important;
  width: 100%;
  justify-content: space-between !important;
}

.residentas-header-dark > .wp-block-group:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.residentas-header-dark .residentas-brand-logo img {
  display: block;
  width: 36px !important;
  height: 36px !important;
  object-fit: contain;
  min-width: 36px;
  filter: brightness(0) invert(1);
}

.residentas-header-dark-title {
  font-weight: 700 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  letter-spacing: 0.1em !important;
}

.residentas-header-dark-meta {
  text-align: right;
  white-space: nowrap;
  color: rgba(255,255,255,0.88) !important;
  font-weight: 700 !important;
  margin-left: auto !important;
  padding-left: 24px;
}

/* ══════════════════════════════════════════
   BOOKING SECTION (white card + Guesty widget)
   ══════════════════════════════════════════ */
.rs-booking-section {
  position: relative;
  padding: clamp(56px, 7vw, 96px) clamp(22px, 4vw, 56px);
  background: var(--rs-sand-dark);
  border-top: 1px solid rgba(35, 26, 21, 0.06);
  scroll-margin-top: 100px;
}
.rs-booking-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(185, 87, 50, 0.10), transparent 60%),
    #ffffff;
  border: 1px solid rgba(35, 26, 21, 0.06);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(10, 8, 6, 0.10);
}
.rs-booking-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rs-orange);
}
.rs-booking-eyebrow::before,
.rs-booking-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--rs-orange);
  opacity: 0.65;
}
.rs-booking-title {
  margin: 0 auto 14px;
  max-width: 720px;
  font-family: var(--rs-serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--rs-charcoal);
}
.rs-booking-desc {
  margin: 0 auto 28px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rs-muted);
}

/* ── Guesty widget host ── */
.rs-book-widget {
  margin: 0 auto;
  max-width: 920px;
  text-align: left;
}
.rs-book-widget #search-widget_IO312PWQ,
.rs-guesty-host {
  --guesty-brand-primary: var(--rs-orange);
  width: 100%;
  background: #fff;
  border: 1px solid rgba(35, 26, 21, 0.10);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(35, 26, 21, 0.06);
  overflow: hidden;
}

/* Guesty internals - renders as real DOM, NOT iframe */
.rs-book-widget .guesty-widget__item,
.rs-book-widget [class*="guesty-search-bar"] .guesty-widget__item {
  border-right: 1px solid rgba(35, 26, 21, 0.08) !important;
  padding: 14px 20px !important;
  background: transparent !important;
}
.rs-book-widget .guesty-widget__item:last-child {
  border-right: none !important;
}
.rs-book-widget label,
.rs-book-widget [class*="guesty"] label {
  font-family: var(--rs-sans) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--rs-muted) !important;
  margin-bottom: 4px !important;
}
.rs-book-widget input,
.rs-book-widget [class*="guesty"] input {
  font-family: var(--rs-sans) !important;
  font-size: 15px !important;
  color: var(--rs-charcoal) !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 2px 0 !important;
}
.rs-book-widget input::placeholder,
.rs-book-widget [class*="guesty"] input::placeholder {
  color: rgba(35, 26, 21, 0.45) !important;
}
.rs-book-widget button,
.rs-book-widget [class*="guesty"] button[type="submit"],
.rs-book-widget [class*="guesty-search-submit"],
.rs-book-widget [class*="submit-btn"] {
  background: var(--rs-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--rs-sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  padding: 14px 32px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  min-height: 52px !important;
}
.rs-book-widget button:hover,
.rs-book-widget [class*="guesty-search-submit"]:hover {
  background: var(--rs-orange-dark) !important;
  transform: translateY(-1px) !important;
}

/* ── Trust bullets ── */
.rs-book-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 22px;
  font-size: 12px;
  color: var(--rs-muted);
}
.rs-book-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}
.rs-book-trust-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rs-orange);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 980px) {
  .rs-section { padding: 64px 24px; }
  body.rs-portugal-landing .rs-section-main,
  body.rs-portugal-landing .rs-section-soft,
  body.rs-portugal-landing .rs-section-lisbon {
    padding: 60px 24px;
  }
  .rs-about { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .rs-about-img-wrap { height: 400px; }
  .rs-nb-strip { grid-template-columns: repeat(2, 1fr); }
  .rs-reviews-grid { grid-template-columns: 1fr; }
  .rs-section-header { flex-direction: column; align-items: flex-start; }
  .rs-hero-content { padding: 60px 24px; }
  .rs-hero-indicators {
    right: 24px;
    bottom: 28px;
    width: min(220px, calc(100vw - 48px));
  }
  .rs-hero-dot {
    width: 32px;
  }
  .rs-book-band { padding: 20px 24px; gap: 24px; }
  .rs-band-divider { display: none; }
  .rs-destinations { grid-template-columns: 1fr; }
  .rs-booking-section { padding: 48px 20px; }
  .rs-booking-inner { padding: 28px 20px; border-radius: 14px; }
  .rs-booking-title { font-size: clamp(24px, 5vw, 36px); }
  .rs-book-widget .guesty-widget__item {
    border-right: none !important;
    border-bottom: 1px solid rgba(35,26,21,0.08) !important;
    padding: 14px 16px !important;
  }
  .rs-book-widget .guesty-widget__item:last-child { border-bottom: none !important; }
  .rs-book-widget button,
  .rs-book-widget [class*="guesty-search-submit"] {
    width: 100% !important;
    padding: 16px !important;
    border-radius: 8px !important;
  }
}
@media (max-width: 640px) {
  .rs-hero-stats { flex-wrap: wrap; gap: 24px; }
  .rs-nb-strip { grid-template-columns: 1fr; }
  .rs-main-dark { padding: 80px 24px 56px; }
  .rs-hero-indicators {
    position: static;
    width: auto;
    margin: 18px 24px 0;
  }
  .rs-hero-indicator {
    position: static;
    align-items: flex-start;
  }
  .rs-hero-property-sub {
    text-align: left;
  }
  .rs-hero-dots {
    gap: 10px;
  }
  .rs-hero-dot {
    width: 24px;
  }
}

/* ══════════════════════════════════════════
   SEARCH WIDGET (Guesty-style)
   ══════════════════════════════════════════ */
.rs-search-form {
  display: flex;
  align-items: flex-end;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 24px 28px;
  box-shadow: 0 8px 40px rgba(35,26,21,0.10), 0 2px 8px rgba(35,26,21,0.06);
  max-width: 720px;
  margin: 0 auto;
}
.rs-search-field { flex: 1; min-width: 0; }
.rs-search-dates-field { flex: 1.6; }
.rs-search-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--rs-charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.rs-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}
.rs-search-input-wrap:focus-within { border-color: var(--rs-orange); }
.rs-search-icon { color: #999; flex-shrink: 0; }
.rs-search-chevron { color: #999; flex-shrink: 0; margin-left: auto; }
.rs-search-input {
  border: none;
  outline: none;
  font-family: var(--rs-sans);
  font-size: 14px;
  color: var(--rs-charcoal);
  background: transparent;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.rs-search-input::placeholder { color: #999; }
.rs-search-select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--rs-sans);
  font-size: 14px;
  color: var(--rs-charcoal);
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.rs-search-select:focus { border-color: var(--rs-orange); outline: none; }
.rs-search-btn {
  flex-shrink: 0;
  border: none;
  color: #fff;
  font-family: var(--rs-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-left: 12px;
}
.rs-search-btn:hover { opacity: 0.9; transform: translateY(-1px); }

@media (max-width: 640px) {
  .rs-policies-grid {
    grid-template-columns: 1fr;
  }
  .rs-prop-grid {
    grid-template-columns: 1fr;
  }
  .rs-properties-page .rs-prop-grid--detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .rs-properties-page .rs-prop-grid--detail .rs-prop-card-body {
    min-height: 0;
    padding: 24px 22px 24px;
  }
  .rs-properties-page .rs-prop-grid--detail .rs-prop-name {
    font-size: 28px;
  }
  .rs-properties-page .rs-prop-grid--detail .rs-prop-desc {
    font-size: 15px;
  }
  .rs-search-form {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    align-items: stretch;
  }
  .rs-search-btn { margin-left: 0; width: 100%; padding: 14px; }
}
