/* Shared interior pages for Tan-Ik */
.content-page {
  color: #173d38;
  background: #f7f5ef;
}
.content-page .site-header {
  position: sticky;
  top: 0;
}
.content-page .nav .lang {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.content-hero {
  background: #e9e8df;
  padding: 0;
}
.content-hero .container {
  max-width: 1320px;
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}
.content-hero h1 {
  max-width: 1000px;
  margin: 0 0 1.5rem;
  color: #173d38;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.7rem, 6.8vw, 6.5rem);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.065em;
}
.content-hero .lead {
  max-width: 850px;
  margin: 0;
  color: #5d6d68;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.9;
}
.content-heading {
  margin-bottom: 1.25rem;
  color: #173d38;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.05em;
}
.content-heading em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.about-photo {
  min-height: 360px;
  max-height: 650px;
  object-fit: cover;
}
.amenity-card {
  border: 1px solid rgba(23, 61, 56, .14);
  background: rgba(255, 255, 255, .38);
}
.amenity-number, .legal-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: #5d9995;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}
.amenity-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.turtle-panel {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: #e9e8df;
}
.turtle-symbol {
  display: inline-block;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
}
.condo-card {
  overflow: hidden;
  border: 1px solid rgba(23, 61, 56, .13);
  background: #fffefa;
  box-shadow: 0 12px 35px rgba(23, 61, 56, .045);
}
.condo-card-image {
  position: relative;
  display: block;
  height: 270px;
  overflow: hidden;
  background: #e9e8df;
}
.condo-card-image img {
  transition: transform .5s ease;
}
.condo-card-image:hover img {
  transform: scale(1.035);
}
.condo-card-number {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: .55rem .75rem;
  color: #173d38;
  background: #f7f5ef;
  font-size: .7rem;
  letter-spacing: .12em;
}
.condo-card .badge {
  border: 1px solid #e1e2d9;
  color: #45625b !important;
  font-weight: 500;
  padding: .55rem .75rem;
}
.room-modal {
  border: 0;
  border-radius: 0;
  background: #f7f5ef;
}
.room-modal-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.gallery-page-item {
  position: relative;
  display: block;
  height: clamp(180px, 24vw, 340px);
  overflow: hidden;
  background: #e9e8df;
  text-align: left;
}
.gallery-page-item img {
  transition: transform .45s ease;
}
.gallery-page-item:hover img {
  transform: scale(1.04);
}
.gallery-page-item span {
  position: absolute;
  inset: auto 0 0;
  padding: 2.75rem 1rem .9rem;
  color: white;
  background: linear-gradient(transparent, rgba(12, 36, 33, .78));
  font-size: .75rem;
  letter-spacing: .04em;
}
#galleryLightboxImage {
  max-height: 82vh;
  object-fit: contain;
}
.legal-content {
  min-height: 50vh;
}
.legal-section {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(23, 61, 56, .13);
}
.legal-section h2 {
  margin-bottom: .7rem;
  color: #173d38;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
}
.legal-section p {
  margin: 0;
  color: #64716d;
  line-height: 1.9;
}
.legal-number {
  margin: 0;
}
.legal-disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  color: #66726e;
  background: #e9e8df;
  font-size: .85rem;
  line-height: 1.75;
}
.content-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem 1.35rem;
  margin: 1.5rem auto;
}
.content-footer-links a,
.content-social a {
  color: #45625b;
  font-size: .78rem;
  text-decoration: none;
}
.content-footer-links a:hover,
.content-social a:hover {
  color: #173d38;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.content-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .9rem;
  margin: 1.5rem auto;
}
.content-social span {
  color: #8a9690;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.content-page .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
}
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}
.whatsapp-float svg {
  display: block;
  flex: 0 0 34px;
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  margin: 0;
  fill: #fff;
}
.whatsapp-float svg path {
  fill: #fff;
}
@media (max-width: 767.98px) {
  .content-page .site-header {
    padding-left: 5%;
    padding-right: 5%;
  }
  .content-hero .container {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .condo-card-image {
    height: 230px;
  }
  .room-modal-photo {
    height: 150px;
  }
  .content-page .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }
  .whatsapp-float svg {
    flex-basis: 32px;
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }
}

/* Home intro: tighter vertical rhythm and copy vertically centered against its photo. */
.intro.section-wrap.row {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center !important;
}
.intro.section-wrap.row > .intro-label {
  align-self: start;
  margin-bottom: -.4rem;
}
.intro.section-wrap.row > .intro-copy {
  align-self: center;
}
.intro.section-wrap.row > .intro-photo {
  align-self: center;
  padding-top: 0;
}
.intro-photo img {
  aspect-ratio: 1.42 / 1;
}
@media (max-width: 991.98px) {
  .intro.section-wrap.row {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .intro.section-wrap.row > .intro-copy {
    align-self: start;
  }
}


/* Original legal wording copied from the three official Tan-Ik pages. */
.original-legal-text { color: var(--ink, #173e39); }
.original-legal-text h2 { margin: 2rem 0 .75rem; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.4; font-weight: 700; }
.original-legal-text h2:first-child { margin-top: 0; }
.original-legal-text p { margin: 0 0 1rem; font-size: .96rem; line-height: 1.85; white-space: normal; overflow-wrap: anywhere; }
.original-legal-text a { overflow-wrap: anywhere; }


/* Tipografía ampliada para páginas interiores: títulos +3px y párrafos +2px. */
.content-hero h1 {
  font-size: clamp(calc(2.7rem + 3px), calc(6.8vw + 3px), calc(6.5rem + 3px));
}

.content-heading {
  font-size: clamp(calc(2rem + 3px), calc(4vw + 3px), calc(3.7rem + 3px));
}

.content-hero .lead {
  font-size: clamp(calc(1.05rem + 2px), calc(1.5vw + 2px), calc(1.25rem + 2px));
}

.content-page p:not(.eyebrow) {
  font-size: calc(1rem + 2px);
}

.legal-section h2 {
  font-size: clamp(calc(1.1rem + 3px), calc(2vw + 3px), calc(1.4rem + 3px));
}

.amenity-card h3 {
  font-size: calc(1.05rem + 3px);
}

.legal-disclaimer {
  font-size: calc(.85rem + 2px);
}

@media (max-width: 575.98px) {
  .content-hero h1 {
    font-size: clamp(calc(2.3rem + 3px), calc(9vw + 3px), calc(3.4rem + 3px));
  }

  .content-heading {
    font-size: clamp(calc(1.8rem + 3px), calc(7vw + 3px), calc(2.7rem + 3px));
  }
}
