/* Cabo Verde Apartment — estilos */

:root {
  --primary-color: #274257;
  --primary-dark: #274257;
  --secondary-color: #caae99;
  --accent-color: #caae99;
  --sand-ink: #7d624b;   /* sand for text on light backgrounds, ~5.6:1 on white */
  --sand-deep: #a08268;  /* sand for icons and graphics on light backgrounds, ~3.6:1 on white */
  --accent-light: #d9c4b0;
  --text-dark: #1a2a35;
  --text-light: #5a6a74;
  --text-white: #ffffff;
  --bg-light: #f7f4f1;
  --bg-white: #ffffff;
  --primary-gradient: linear-gradient(135deg, #2f5068 0%, #22404f 100%);
  --line: #e5e7eb;
  --surface-muted: #f3f4f6;
  --ink-ghost: #d1d5db;
  --shadow-sm: 0 2px 8px rgba(39, 66, 87, 0.08);
  --shadow-md: 0 4px 16px rgba(39, 66, 87, 0.12);
  --shadow-lg: 0 8px 32px rgba(39, 66, 87, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  /* How wide a paragraph may be: about 70 characters of Poppins. */
  --measure: 60ch;
  --transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 2000;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus-visible {
  left: 0;
}

header a:focus-visible,
header button:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.contact-info a:focus-visible,
.lightbox button:focus-visible,
footer a:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--text-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
}

/* Not clickable yet (the calendar's button before dates are chosen; a form being sent): look it, and do not lift. */
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn:disabled:hover {
  transform: none;
}

.btn:disabled:hover::after {
  display: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.btn-primary:hover {
  background: var(--primary-gradient);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: var(--text-dark);
}

.btn-accent:hover {
  background: var(--accent-light);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-white);
  color: var(--text-white);
}

.btn-outline:hover {
  background: var(--text-white);
  color: var(--primary-color);
}

header {
  background: var(--primary-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  padding: 12px 0;
  background: var(--primary-color);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo a img {
  max-height: 60px;
  width: auto;
  display: block;
}

/* The menu: a panel that hangs from its button, opens with a short fade and slide, and marks the page you are on. */
.site-menu {
  display: contents;
}

#site-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  translate: calc(-50% - var(--menu-nudge, 0px)) 0;
  width: max-content;
  min-width: 232px;
  max-width: calc(100vw - 32px);
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 8px;
  z-index: 1000;
  /* Closed: out of sight, out of the tab order and out of the way of clicks. */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.25, 1, 0.5, 1), transform 0.18s cubic-bezier(0.25, 1, 0.5, 1), visibility 0s linear 0.18s;
}

#site-nav.open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

#site-nav ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2px;
}

#site-nav ul li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  white-space: nowrap;
}

#site-nav ul li a:hover,
#site-nav ul li a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

#site-nav ul li a[aria-current="page"] {
  color: var(--secondary-color);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
}

#site-nav ul li a::after {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  justify-content: center;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav ul li a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

nav ul li a:hover::after {
  width: 60%;
}

.hero {
  background: linear-gradient(135deg, rgba(39, 66, 87, 0.88) 0%, rgba(202, 174, 153, 0.55) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 217, 255, 0.75) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 5;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  z-index: 3;
}

.hero h1 {
  font-size: clamp(2rem, 1rem + 5vw, 4rem);
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero p {
  font-size: 1.375rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.hero-buttons .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.hero-buttons .btn:hover::after {
  transform: translateX(100%);
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  background: var(--primary-gradient);
}

.hero-buttons .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--text-white);
}

.hero-buttons .btn-outline:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(202, 174, 153, 0.2);
  border-color: var(--secondary-color);
  color: var(--text-white);
  box-shadow: 0 12px 32px rgba(202, 174, 153, 0.3), 0 0 0 1px rgba(202, 174, 153, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scroll Reveal ───────────────────────────────────────────── */

/* Doubled so a card's own transition (pricing cards) cannot replace it while it appears. */
.reveal.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll Indicator ────────────────────────────────────────── */

.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  animation: scroll-bounce 2.2s ease-in-out infinite;
  transition: opacity 0.4s ease, color 0.3s;
}

.scroll-indicator:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator.hidden,
.scroll-indicator:not(.placed) { /* stays hidden until the script has positioned it */
  opacity: 0;
  pointer-events: none;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@media (min-width: 769px) {
  .scroll-indicator {
    bottom: 70px;
  }
}

/* Hero Carousel Styles */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50);
}

.hero-carousel-slide.active {
  opacity: 1;
}

/* Carousel Arrows */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--text-white);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.hero-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel-prev {
  left: 20px;
}

.hero-carousel-next {
  right: 20px;
}

/* Pause / play (WCAG 2.2.2). Two bars while playing, a triangle once paused. */
.icon-play,
[aria-pressed="true"] > .icon-pause {
  display: none;
}

[aria-pressed="true"] > .icon-play {
  display: block;
}

.hero-carousel-pause {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 10;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(39, 66, 87, 0.55);
  color: var(--text-white);
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-pause:hover {
  background: rgba(39, 66, 87, 0.8);
}

.hero-carousel-pause svg,
.testimonials-carousel-pause svg {
  width: 18px;
  height: 18px;
}

.hero-carousel-pause[hidden],
.testimonials-carousel-pause[hidden] {
  display: none;
}

/* Carousel Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  position: relative;
  transition: var(--transition), width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel-dot::after,
.testimonials-carousel-dot::after {
  content: '';
  position: absolute;
  inset: -6px; /* 24px hit area (WCAG 2.5.8) without changing the dot */
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-carousel-dot.active {
  background: var(--text-white);
  border-color: var(--text-white);
  width: 14px;
  height: 14px;
}

/* Adjust hero content z-index */
.hero[data-carousel-enabled="true"] .container {
  position: relative;
  z-index: 5;
}

.section {
  /* 100px on a desktop, 60px on a phone, and everything in between */
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Heading + customizer edit button side-by-side */
.cvl-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.cvl-heading-wrap h1,
.cvl-heading-wrap h2,
.cvl-heading-wrap h3 {
  margin: 0;
}

.section-header h2 {
  font-size: clamp(1.75rem, 0.9rem + 3.4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(39, 66, 87, 0.08) 0%, rgba(202, 174, 153, 0.2) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1rem;
}

.gallery {
  background: var(--bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  /* It is a <button>, so the keyboard can open the photo; look like the tile it was. */
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

/* Every 7th item (start of a new visual block) also gets featured treatment */
.gallery-item:nth-child(7n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::before {
  opacity: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-white);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 3px solid var(--secondary-color);
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(202, 174, 153, 0.08) 100%);
}

.pricing-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--primary-dark);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--primary-color);
  margin: 24px 0;
  line-height: 1.2;
  word-break: break-word;
}

.pricing-price span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin: 32px 0;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
}

.contact {
  background: var(--bg-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contact-info,
.contact-form-wrapper {
  height: 100%;
  box-sizing: border-box;
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 32px;
  color: var(--text-white);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.contact-map {
  margin-top: 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  flex: 1;
  min-height: 180px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
}

.contact-form-wrapper {
  background: var(--bg-light);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
}

/* The region is always in the page so that a screen reader announces what appears in it. */
.form-feedback:empty {
  display: none;
}

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-feedback.success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-white);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(39, 66, 87, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
  pointer-events: none;
  transition: var(--transition), top 0.3s cubic-bezier(0.4, 0, 0.2, 1), font-size 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-white);
  padding: 0 8px;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
  top: 0;
  font-size: 0.875rem;
  color: var(--primary-color);
}

.testimonials {
  background: linear-gradient(135deg, rgba(39, 66, 87, 0.04) 0%, rgba(202, 174, 153, 0.08) 100%);
}

/* ── Testimonials Carousel ───────────────────────────────────── */

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding: 12px;
  margin: -12px;
}

.testimonials-track {
  display: flex;
  gap: 32px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc((100% - 64px) / 3);
  min-width: 0;
}

@media (max-width: 1024px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 calc((100% - 32px) / 2);
  }
}

@media (max-width: 640px) {
  .testimonials-track .testimonial-card {
    flex: 0 0 100%;
  }
}

.testimonials-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  padding: 5px;
}

.testimonials-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: var(--bg-white);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.testimonials-carousel-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
  transform: scale(1.08);
}

.testimonials-carousel-btn svg {
  width: 20px;
  height: 20px;
}

.testimonials-carousel-dots {
  display: flex;
  gap: 8px;
}

.testimonials-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  position: relative;
}

.testimonials-carousel-dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

.testimonial-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 48px;
  height: 48px;
  opacity: 0.1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
  overflow-wrap: break-word;
  word-break: break-word;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  margin: 0;
  font-weight: 600;
}

.testimonial-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.testimonial-rating svg {
  width: 16px;
  height: 16px;
  color: var(--sand-deep);
}

footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 60px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-white);
}

.footer-brand {
  text-align: center;
}

.footer-brand p {
  opacity: 0.8;
  line-height: 1.8;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--text-white);
}

.footer-section ul {
  list-style: none;
}

.footer-section--quick-links {
  text-align: center;
}

.footer-section--quick-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  margin: 0 auto;
  width: fit-content;
}

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition), padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section ul li a:hover {
  color: var(--accent-light);
  transform: translateX(8px);
  display: inline-block;
}

/* ── Cookie Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 16px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-banner__content p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
  flex: 1;
}

.cookie-banner__actions {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
}

.cookie-banner__accept {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 10px 24px;
  min-height: 44px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-banner__accept:hover {
  opacity: 0.85;
}

.cookie-banner__decline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--text-white);
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__accept {
    flex: 1;
    text-align: center;
  }
}

/* ── Footer Bottom ───────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  opacity: 0.6;
  font-size: 0.875rem;
}

/* ── Lightbox ────────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  animation: lb-fade-in 0.25s ease;
}

.lightbox.open {
  display: flex;
}

@keyframes lb-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  animation: lb-zoom-in 0.25s ease;
}

@keyframes lb-zoom-in {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.375rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(202, 174, 153, 0.5);
  border-color: var(--secondary-color);
  transform: translateY(0) scale(1.08);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 14px;
  border-radius: 20px;
}

/* Make gallery items show a cursor pointer */
.gallery-item {
  cursor: zoom-in;
}

/* ── Language Switcher ───────────────────────────────────────── */

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  position: relative;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-switcher a:hover {
  color: var(--text-white);
}

.lang-switcher a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
}

.lang-switcher span {
  color: rgba(255, 255, 255, 0.4);
  opacity: 0.4;
}

/* ── Mobile Menu ────────────────────────────────────────────── */

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Payment Status Page ─────────────────────────────────────── */

.payment-status-card {
  background: var(--status-bg, #f7f4f1);
  border: 1px solid rgba(0,0,0,0.07);
  border-top: 4px solid var(--status-color, var(--accent-color));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.payment-status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  color: var(--status-color, var(--accent-color));
}

.payment-status-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 600px) {
  .payment-status-card {
    padding: 40px 24px;
  }
  
}

/* ── Parcerias ───────────────────────────────────────────────── */

.parcerias {
  background: var(--bg-light);
  padding-top: 140px !important;
}

.parcerias .section-header p {
  margin-top: 24px;
}

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

.parceria-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.parceria-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.parceria-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.parceria-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.parceria-card:hover .parceria-img img {
  transform: scale(1.05);
}

.parceria-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.parceria-parceiro {
  display: flex;
  align-items: center;
  gap: 8px;
}

.parceria-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
}

.parceria-nome {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.parceria-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.parceria-num {
  color: var(--sand-ink);
  margin-right: 2px;
}

.parceria-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.btn-parceria {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 9px 20px;
  min-height: 44px;
  align-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  margin-top: 4px;
}

.btn-parceria:hover {
  background: var(--primary-gradient);
}

.parcerias-empty {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .parcerias-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .parcerias-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Stats Bar ───────────────────────────────────────────────── */

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: var(--bg-white);
  border-right: 1px solid rgba(39, 66, 87, 0.08);
  text-align: center;
}

.stats-bar-item:last-child {
  border-right: none;
}

.stats-bar-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stats-bar-label {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* ── Sticky CTA ──────────────────────────────────────────────── */

.sticky-cta-group {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 999;
  display: flex;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sticky-cta-group.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.sticky-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(39, 66, 87, 0.35);
  white-space: nowrap;
}

.sticky-cta--whatsapp {
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

@media (min-width: 769px) {
  .sticky-cta-group {
    display: none !important;
  }
}

/* ── Footer Social ───────────────────────────────────────────── */

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--secondary-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-logo {
  text-align: center;
}

.footer-logo a {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo img {
  max-height: 100px;
  width: auto;
  opacity: 1;
}

/* ── Single Post ─────────────────────────────────────────────── */

/* ── Page Template ─────────────────────────────────────────── */

.page-main {
  padding: 80px 0 100px;
  background: var(--bg-light);
}

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 56px 72px;
}

/* Content typography */
.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--primary-color);
  margin-top: 2rem;
}

.page-content h2 {
  font-size: 2rem;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--secondary-color);
  margin-bottom: 1.25rem;
}

.page-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.page-content p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.page-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.page-content a:hover {
  color: var(--sand-ink);
}

.page-content ul,
.page-content ol {
  color: var(--text-light);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.9;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content blockquote {
  border: 1px solid rgba(202, 174, 153, 0.55);
  background: rgba(202, 174, 153, 0.08);
  margin: 2rem 0;
  padding: 20px 28px;
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-light);
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

/* WordPress Classic Editor alignment classes */
.page-content .aligncenter {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  clear: both;
  text-align: center;
}

/* When the img itself has aligncenter */
.page-content img.aligncenter {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* When aligncenter is on a wrapper (figure, div, p) — center the img inside */
.page-content .aligncenter img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Legacy: <p style="text-align:center"><img> without aligncenter class */
.page-content p[style*="text-align:center"] img,
.page-content p[style*="text-align: center"] img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

.page-content .alignleft {
  float: left;
  margin: 0.25rem 2rem 1rem 0;
}

.page-content .alignright {
  float: right;
  margin: 0.25rem 0 1rem 2rem;
}

.page-content .alignnone {
  display: block;
  float: none;
}

.page-content figcaption {
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Clear floats */
.page-content::after {
  content: '';
  display: table;
  clear: both;
}

.page-content hr {
  border: none;
  border-top: 2px solid rgba(202, 174, 153, 0.3);
  margin: 2.5rem 0;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.page-content th {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.page-content td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-light);
}

.page-content tr:nth-child(even) td {
  background: rgba(202, 174, 153, 0.06);
}

@media (max-width: 768px) {
  .page-content {
    padding: 36px 24px;
  }

  
}

/* ── Sobre Apartamento ───────────────────────────────────────── */

.sobre-banner {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  position: relative;
}

.sobre-banner img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sobre-apartamento {
  padding-top: 64px;
}

.sobre-apartamento.section:first-child {
  padding-top: 140px;
}

.sobre-apartamento .section-header {
  margin-bottom: 48px;
}

.sobre-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.sobre-block h3 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.sobre-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.sobre-comodidades-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}

.sobre-comodidades-list li {
  font-size: 1rem;
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
}

.sobre-comodidades-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sand-deep);
}

@media (max-width: 768px) {
  .sobre-comodidades-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .sobre-comodidades-list {
    grid-template-columns: 1fr;
  }
}

/* ── End Page Template ──────────────────────────────────────── */

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:first-child,
  .gallery-item:nth-child(7n + 1) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    order: -1;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  /* Carousel responsive adjustments */
  .hero-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .hero-carousel-dots {
    bottom: 30px;
  }

  .hero-carousel-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 768px) {

  .hero p {
    font-size: 1.125rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item:first-child,
  .gallery-item:nth-child(7n + 1) {
    aspect-ratio: unset;
    grid-column: span 1;
    grid-row: span 1;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Carousel mobile adjustments */
  .hero-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-carousel-prev {
    left: 10px;
  }

  .hero-carousel-next {
    right: 10px;
  }

  .hero-carousel-dots {
    bottom: 25px;
    gap: 8px;
  }

  .hero-carousel-dot {
    width: 8px;
    height: 8px;
  }

  .hero-carousel-dot.active {
    width: 10px;
    height: 10px;
  }

  .footer-content {
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-section ul li a:hover {
    padding-left: 0;
  }

  .contact-item {
    justify-content: flex-start;
  }

  .section-header p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {

  .section {
    padding: 60px 0;
  }

  .feature-card {
    padding: 32px 24px;
  }

  /* Carousel small mobile adjustments */
  .hero-carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .hero-carousel-arrow svg {
    width: 16px;
    height: 16px;
  }

  .hero-carousel-prev {
    left: 8px;
  }

  .hero-carousel-next {
    right: 8px;
  }

  .hero-carousel-dots {
    bottom: 20px;
    gap: 6px;
  }

  .hero-carousel-dot {
    width: 6px;
    height: 6px;
  }

  .hero-carousel-dot.active {
    width: 8px;
    height: 8px;
  }
}

/* ── Availability Calendar ─────────────────────────────────────────────────── */

.availability {
  background: var(--bg-white);
}

.cal-wrap {
  max-width: 900px;
  margin: 0 auto;
}

/* Legend */
.cal-offer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0 0 16px;
}
.cal-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-light);
}
.cal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cal-dot--available { background: #d1fae5; border: 2px solid #34d399; }
.cal-dot--blocked   { background: var(--surface-muted); border: 2px solid var(--ink-ghost); }
.cal-dot--selected  { background: var(--primary-color); border: 2px solid var(--primary-color); }

/* Nav */
.cal-nav-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cal-arrow {
  flex-shrink: 0;
  margin-top: 12px;
  width: 44px;
  height: 44px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  background: transparent;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cal-arrow:hover:not(:disabled) {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.cal-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Months grid */
.cal-months {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.cal-month {}
.cal-month-name {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dh {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 4px 0;
}
.cal-dc {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  user-select: none;
}
.cal-dc { font-family: inherit; }
button.cal-dc { border: 0; padding: 0; cursor: pointer; }
button.cal-dc:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; position: relative; z-index: 1; }
.cal-dc.past {
  color: var(--ink-ghost);
}
.cal-dc.blocked {
  background: var(--surface-muted);
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cal-dc.avail {
  cursor: pointer;
  color: var(--text-dark);
  background: #f0fdf4;
}
.cal-dc.avail:hover {
  background: var(--secondary-color);
  color: #fff;
}
.cal-dc.ci,
.cal-dc.co {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
}
.cal-dc.inrange {
  background: rgba(39, 66, 87, 0.12);
  color: var(--primary-color);
  border-radius: 0;
}

/* Summary bar */
.cal-booking {
  margin-top: 32px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cal-book-wrap {
  padding: 4px 32px 28px;
  text-align: center;
}
.cal-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 32px 20px;
  flex-wrap: wrap;
}
.cal-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cal-summary-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}
.cal-summary-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  color: var(--text-dark);
  min-width: 160px;
  text-align: center;
}
.cal-summary-arrow {
  font-size: 1.5rem;
  color: var(--sand-deep);
}

/* Price simulation */
.cal-price {
  margin: 0 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.cal-price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-dark);
  padding: 6px 0;
}
.cal-price [hidden] { display: none; }
.cal-price-disc { color: #15803d; }
.cal-price-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
  align-items: baseline;
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-color);
}
.cal-price-total span:first-child {
  font-size: 1.125rem;
}
.cal-price-note {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

@media (min-width: 641px) {
  .cal-months {
    background: linear-gradient(to bottom, var(--line), var(--line)) center / 1px 100% no-repeat;
  }
}

/* Responsive */
@media (max-width: 640px) {
  .cal-months {
    grid-template-columns: 1fr;
  }
  /* One month fits the whole width; the arrows sit on the month's name row instead of squeezing the days. */
  .cal-nav-wrap {
    display: block;
    position: relative;
  }
  .cal-arrow {
    position: absolute;
    top: 0;
    margin: 0;
  }
  #cal-prev { left: 0; }
  #cal-next { right: 0; }
  .cal-month-name {
    line-height: 44px;
    margin-bottom: 4px;
    padding: 0 52px;
  }
  .cal-summary {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
  .cal-price {
    margin: 0 20px;
    padding: 16px 0;
  }
  .cal-book-wrap {
    padding: 4px 20px 24px;
  }
  .cal-price-total {
    font-size: 1.5rem;
  }
  .cal-summary-arrow {
    transform: rotate(90deg);
  }
}

/* ── FAQ Page ────────────────────────────────────────────────── */

.faq-page {
  padding-top: 140px !important;
}

.faq-wrap { max-width: 800px; margin: 0 auto; font-family: 'Poppins', sans-serif; }
.faq-section { margin-bottom: 2.5rem; }
.faq-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--sand-ink);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 4px;
  padding: 0 0 10px;
  border-bottom: 2px solid #caae99;
}
.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(39,66,87,0.1);
  padding: 16px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}
.faq-toggle:hover { background: rgba(202,174,153,0.08); }
.faq-q-text {
  font-size: 1rem;
  color: #1a2a35;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}
.faq-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--sand-deep);
  transition: transform .25s cubic-bezier(0.4,0,0.2,1);
}
.faq-arrow.open { transform: rotate(180deg); }
.faq-body {
  display: none;
  padding: 14px 6px 18px;
  border-bottom: 1px solid rgba(39,66,87,0.1);
}
.faq-body.open { display: block; }
.faq-body p {
  font-size: 0.875rem;
  color: #5a6a74;
  margin: 0;
  line-height: 1.8;
}

/* ── Typography ──────────────────────────────────────────────────────────
   Measure: prose stays near 70 characters a line (Poppins is wide, so 60ch).
   Numbers that add up line up in columns. Headings balance their lines, and
   paragraphs avoid a lone last word; browsers that do not know these ignore them. */
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
blockquote {
  text-wrap: pretty;
}

.page-content p,
.page-content li,
.page-content blockquote {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.faq-body p {
  max-width: var(--measure);
}

/* On a narrow screen a long Portuguese word is broken with a hyphen instead of overflowing
   or leaving a ragged gap; on a wide one the lines are long enough without. */
@media (max-width: 640px) {
  .page-content p,
  .page-content li,
  .faq-body p,
  .testimonial-text {
    hyphens: auto;
    overflow-wrap: break-word;
  }
}

.cal-price-row,
.cal-price-total,
.cal-summary-date,
.pricing-price,
.stats-bar-value {
  font-variant-numeric: tabular-nums;
}

/* Uppercase labels are opened up a little; the summary label already was. */
.cal-dh {
  letter-spacing: 0.06em;
}
