:root {
  --ink: #16252b;
  --muted: #5c6c72;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --teal: #0d6f76;
  --teal-dark: #08474c;
  --coral: #d86f4d;
  --leaf: #6f8f57;
  --sand: #e8dfcc;
  --line: rgba(22, 37, 43, 0.14);
  --shadow: 0 18px 52px rgba(10, 35, 40, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.no-scroll,
body.nav-open {
  overflow: hidden;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(6, 28, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px clamp(16px, 4vw, 42px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 8px 10px 8px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(6, 28, 32, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 92px;
}

.brand img {
  width: 96px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 26px);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.nav-links a {
  white-space: nowrap;
}

.nav-links a:not(.nav-cta) {
  padding: 8px 0;
}

.nav-cta {
  padding: 11px 16px;
  color: #ffffff;
  background: var(--teal);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--teal);
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  cursor: pointer;
  z-index: 70;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 25, 30, 0.84), rgba(5, 25, 30, 0.48) 48%, rgba(5, 25, 30, 0.18)),
    url("assets/images/hero-familia-praia.png");
  background-position: center 54%;
  background-size: cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 146px 0 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffbe9f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 10vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 16px 32px rgba(13, 111, 118, 0.28);
}

.button.secondary {
  color: var(--teal-dark);
  background: #ffffff;
  border-color: rgba(8, 71, 76, 0.18);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 32px));
  margin: -32px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--line);
}

.quick-facts article {
  min-height: 118px;
  padding: 24px;
  background: #ffffff;
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.quick-facts span {
  color: var(--muted);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.property {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: stretch;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 42px;
}

.property.feature-right {
  grid-template-columns: minmax(340px, 0.94fr) minmax(0, 1.06fr);
}

.property.feature-right .property-media {
  order: 2;
}

.property-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-slider {
  position: absolute;
  inset: 0;
}

.property-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  .property-track {
    transition: none;
  }
}

.property-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.property-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  color: #ffffff;
  background: rgba(8, 35, 39, 0.55);
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.property-arrow:hover {
  background: rgba(8, 35, 39, 0.82);
}

.property-arrow.prev {
  left: 12px;
}

.property-arrow.next {
  right: 12px;
}

.property-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 14px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
}

.property-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 160ms ease, width 160ms ease;
}

.property-dot.is-active {
  width: 22px;
  background: #ffffff;
  border-radius: 5px;
}

.property-copy {
  align-self: center;
}

.property-title-link {
  color: inherit;
  transition: color 160ms ease;
}

.property-title-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

.property-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list,
.compact-list {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li,
.compact-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--ink);
}

.check-list li::before,
.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--leaf);
  border-radius: 50%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.amenities {
  width: 100%;
  background: #ffffff;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  padding-right: max(16px, calc((100% - var(--max)) / 2));
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.amenity-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 42, 48, 0.08);
}

.amenity-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.amenity-card div {
  padding: 18px;
}

.amenity-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.amenity-card h3 {
  font-size: 1.1rem;
}

.amenity-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
}

.amenity-list-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
  padding: 28px;
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: var(--radius);
}

.amenity-list-panel h3 {
  color: #ffffff;
}

.amenity-list-panel .compact-list {
  margin-bottom: 0;
}

.amenity-list-panel .compact-list li {
  color: rgba(255, 255, 255, 0.88);
}

.amenity-list-panel .compact-list li::before {
  background: #ffbe9f;
}

.stay-info {
  width: 100%;
  background: #e6f0ee;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  padding-right: max(16px, calc((100% - var(--max)) / 2));
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-grid article,
.rule-list article,
.mission-grid article,
.contact-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-grid h3,
.rule-list h3,
.mission-grid h3 {
  color: var(--teal-dark);
  font-size: 1.16rem;
}

.info-grid p,
.rule-list p,
.mission-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.rules-layout {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: 24px;
}

.rule-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.rule-highlight {
  min-height: 100%;
  padding: 30px;
  color: #ffffff;
  background: var(--coral);
  border-radius: var(--radius);
}

.rule-highlight p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.gallery-section {
  width: 100%;
  background: #ffffff;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  padding-right: max(16px, calc((100% - var(--max)) / 2));
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-controls button {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--teal-dark);
  background: #edf5f3;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.gallery-controls button.active {
  color: #ffffff;
  background: var(--teal);
}

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

.gallery-item {
  position: relative;
  min-height: 180px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #dce7e4;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

figure.gallery-item {
  cursor: default;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(8, 35, 39, 0.72);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
}

.about-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.contact-card {
  position: sticky;
  top: 112px;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 2.1rem;
}

.contact-card p:not(.eyebrow) {
  color: var(--muted);
}

.contact-card .button {
  width: 100%;
}

.policy {
  max-width: 820px;
}

.policy h3 {
  margin-top: 32px;
  color: var(--teal-dark);
}

.policy h3:first-child {
  margin-top: 0;
}

.policy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.lightbox {
  width: min(980px, calc(100% - 28px));
  padding: 0;
  color: #ffffff;
  background: #071d21;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

.lightbox::backdrop {
  background: rgba(2, 12, 15, 0.78);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #06181b;
}

.lightbox p {
  margin: 0;
  padding: 14px 18px 18px;
  color: rgba(255, 255, 255, 0.84);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.56);
  border: 0;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.lightbox-nav:hover {
  background: rgba(0, 0, 0, 0.74);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

@media (max-width: 760px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }
}

.error-hero .detail-hero-content {
  max-width: 760px;
}

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

.glossary-section {
  background: #ffffff;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.glossary-column {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.glossary-column h3 {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 1rem;
  line-height: 1.2;
}

.glossary-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glossary-term {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.glossary-term::before {
  content: "#";
  margin-right: 4px;
  color: var(--coral);
}

.glossary-term:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.site-footer {
  padding: 46px clamp(16px, 5vw, 72px) 18px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--teal-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr 0.9fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand img {
  width: 142px;
  height: auto;
  margin-bottom: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.footer-brand p,
.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand p {
  max-width: 360px;
}

.site-footer h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: 24px;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-weight: 900;
  transition: background 160ms ease;
}

.footer-social .social-button {
  margin-top: 0;
}

.social-button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.contact-line {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px !important;
}

.site-footer .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer .contact-item:hover {
  color: #ffffff;
}

.contact-item svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.contact-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  background: #ffbe9f;
  border-radius: 50%;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr 1fr;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 26px;
  font-size: 0.84rem;
}

.footer-credit {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit a {
  display: inline;
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-bar {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  width: min(var(--max), calc(100% - 28px));
  padding: 18px 22px;
  color: #ffffff;
  background: var(--teal-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(4, 24, 27, 0.42);
  opacity: 0;
  transform: translateX(-50%) translateY(22px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-bar.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-text {
  flex: 1 1 320px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.cookie-link {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.cookie-accept {
  min-height: 44px;
  padding: 11px 26px;
  color: var(--teal-dark);
  background: #ffffff;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease;
}

.cookie-accept:hover {
  background: #eef5f3;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-bar {
    transition: none;
  }
}

@media (max-width: 760px) {
  .cookie-bar {
    bottom: 10px;
    padding: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-accept {
    width: 100%;
  }
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item[open] summary {
  color: var(--teal-dark);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 1.02rem;
}

.faq-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.faq-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
  color: #ffffff;
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.faq-aside .eyebrow {
  margin: 0;
  color: #ffbe9f;
}

.faq-aside h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.1;
}

.faq-aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.faq-aside-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 22px;
  color: var(--teal-dark);
  background: #ffffff;
  border-radius: var(--radius);
  font-weight: 850;
  transition: background 160ms ease;
}

.faq-aside-cta:hover {
  background: #eef5f3;
}

.faq-card .faq-list {
  max-width: none;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.faq-card .faq-item {
  border-color: rgba(22, 37, 43, 0.1);
}

@media (max-width: 900px) {
  .faq-card {
    grid-template-columns: 1fr;
  }
}

.reserva-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.reserva-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 4vw, 46px);
  color: #ffffff;
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.reserva-aside .eyebrow {
  margin: 0;
  color: #ffbe9f;
}

.reserva-aside h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.1;
}

.reserva-points {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.reserva-points li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.92);
}

.reserva-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--teal-dark);
  background: #ffffff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.reserva-aside-note {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.reserva-form {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(26px, 4vw, 46px);
}

.reserva-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.reserva-form select,
.reserva-form input,
.reserva-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reserva-form select:focus,
.reserva-form input:focus,
.reserva-form textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.reserva-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 14px;
}

.reserva-form .button {
  justify-self: start;
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  color: #8a2b1d;
  background: #fbeae6;
  border: 1px solid #f0c3b8;
  border-radius: var(--radius);
  font-weight: 700;
}

@media (max-width: 900px) {
  .reserva-card {
    grid-template-columns: 1fr;
  }
}

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

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

.tips-group {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tips-group h3 {
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 1.16rem;
}

.tips-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.tips-group li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.tips-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.tips-group li strong {
  color: var(--ink);
  font-weight: 800;
}

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

.detail-page {
  background: #ffffff;
}

.detail-hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  padding: 150px max(18px, calc((100% - var(--max)) / 2)) 64px;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(5, 25, 30, 0.84) 0%, rgba(5, 25, 30, 0.52) 42%, rgba(5, 25, 30, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 25, 30, 0.55) 0%, rgba(5, 25, 30, 0) 40%),
    var(--detail-image);
  background-position: center;
  background-size: cover;
}

.detail-hero-content {
  width: min(100%, 800px);
  max-width: 800px;
  min-width: 0;
}

.detail-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 8vw, 6.3rem);
}

.detail-hero p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.detail-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: start;
}

.detail-image-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-panel p {
  color: var(--muted);
}

.review-grid,
.amenity-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card,
.amenity-mini-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(15, 42, 48, 0.06);
}

.review-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  gap: 16px;
}

.review-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: cover;
  border-radius: 50%;
  background: #f2f2f2;
}

.review-card-head strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.review-card-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.93rem;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.93rem;
}

.stars {
  display: inline-block;
  color: #ff385c;
  letter-spacing: 0;
  line-height: 1;
}

.review-dot {
  color: #8a9694;
}

.review-card blockquote {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
}

.review-source img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.rules-detail {
  background: #e6f0ee;
}

.rules-detail .detail-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.rule-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rule-detail-grid article {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rule-detail-grid h3 {
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.rule-detail-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.amenity-mini-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: center;
}

.amenity-mini-card img {
  width: 90px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
}

.amenity-mini-card span {
  display: block;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.amenity-mini-card strong {
  display: block;
  margin-top: 4px;
  color: var(--teal-dark);
}

@media (max-width: 1040px) {
  .quick-facts,
  .amenity-grid,
  .info-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property,
  .property.feature-right,
  .rules-layout,
  .about-contact,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom,
  .review-grid,
  .amenity-link-grid,
  .rule-detail-grid,
  .glossary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property.feature-right .property-media {
    order: 0;
  }

  .property-media {
    min-height: 420px;
  }

  .contact-card {
    position: static;
  }
}

@media (min-width: 761px) {
  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 12px;
  }

  .nav {
    align-items: flex-start;
    min-height: 66px;
    /* Remove o backdrop-filter no mobile: ele criava um bloco de contenção
       que prendia o menu lateral (position: fixed) dentro da barra do topo. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .brand img {
    width: 82px;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    transform: translateY(-50%);
    box-shadow: 0 8px 20px rgba(13, 111, 118, 0.22);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: min(82vw, 320px);
    padding: 92px 22px 28px;
    background: #ffffff;
    box-shadow: -18px 0 44px rgba(6, 28, 32, 0.24);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    overflow-y: auto;
    z-index: 60;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a:not(.nav-cta) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-media {
    background-position: center;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding: 124px 0 52px;
  }

  .quick-facts,
  .amenity-grid,
  .amenity-list-panel,
  .info-grid,
  .rule-list,
  .gallery-grid,
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    margin-top: 14px;
  }

  .quick-facts article {
    min-height: auto;
    padding: 20px;
  }

  .section {
    width: min(100% - 28px, var(--max));
    padding: 40px 0;
  }

  .amenities,
  .stay-info,
  .gallery-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .property {
    margin-top: 30px;
  }

  .property-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .amenity-list-panel {
    padding: 22px;
  }

  .gallery-item {
    min-height: 220px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-grid,
  .footer-bottom,
  .review-grid,
  .amenity-link-grid,
  .rule-detail-grid,
  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .error-actions .button {
    width: 100%;
    justify-content: center;
  }

  .glossary-column {
    padding: 20px;
  }

  .site-footer {
    padding: 38px 18px 18px;
  }

  .detail-hero {
    min-height: 62vh;
    padding: 124px 16px 50px;
  }

  .detail-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.65rem);
    overflow-wrap: break-word;
  }

  .detail-hero p:not(.eyebrow) {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .detail-section {
    width: min(100% - 28px, var(--max));
    padding: 40px 0;
  }

  .detail-panel {
    padding: 22px;
  }
}
